/* TeraHaber Toast Notifications */
.tera-toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.tera-toast {
    pointer-events: auto;
    min-width: 320px;
    max-width: 450px;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.tera-toast.active {
    transform: translateX(0);
}

.tera-toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--p-blue, #3b82f6);
}

.tera-toast.success::before {
    background: #10b981;
}

.tera-toast.error::before {
    background: #ef4444;
}

.tera-toast.info::before {
    background: #3b82f6;
}

.tera-toast.badge::before {
    background: #f59e0b;
}

.toast-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    font-size: 1rem;
}

.toast-message {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.4;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.toast-progress-fill {
    height: 100%;
    background: currentColor;
    width: 100%;
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}