/* =========================================
   BASE GLASS STYLE
========================================= */
.e-toast-container {
    right: 2.5rem !important;
    top: 4rem !important;
}

.custom-toast.e-toast {
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    /* ✅ GLASS EFFECT */
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    /* ✅ DEPTH */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden !important;
    padding: 0 !important;
    min-width: 15rem !important;
}

    /* =========================================
   INNER CONTENT
========================================= */
    .custom-toast.e-toast .e-toast-message {
        padding: 8px 9px !important;
        min-width: 150px !important;
        max-width: 200px !important;
    }

    /* =========================================
   TITLE (Glass Typography)
========================================= */
    .custom-toast.e-toast .e-toast-title {
        display: flex !important;
        flex-direction: column;
        gap: 4px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        color: rgba(0,0,0,0.85) !important;
    }

/* Title row */
.custom-title {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
}

    /* Icon */
    .custom-title i {
        font-size: 16px !important;
        margin-top: 2px !important;
        font-weight: 400 !important;
    }

/* =========================================
   CONTENT TEXT
========================================= */
.custom-toast.e-toast .e-toast-content {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: rgba(0,0,0,0.75) !important;
}

/* =========================================
   CLOSE BUTTON
========================================= */
.custom-toast.e-toast .e-toast-close-icon {
    opacity: 0.6 !important;
    color: #000 !important;
}

    .custom-toast.e-toast .e-toast-close-icon:hover {
        opacity: 1 !important;
    }

/* =========================================
   PROGRESS BAR (Glass Style)
========================================= */
.custom-toast.e-toast .e-toast-progress {
    height: 3px !important;
    opacity: 0.8 !important;
}

/* =========================================
   ✅ VARIANTS (GLASS COLORS)
========================================= */

/* SUCCESS */
.custom-toast.e-toast:is(.custom-success, .custom-toast-success) {
    rgba(16, 185, 129, 0.35)
    border-left: 4px solid #10b981 !important;
}

    .custom-toast.e-toast:is(.custom-success, .custom-toast-success) .e-toast-progress {
        background: #10b981 !important;
    }

    .custom-toast.e-toast:is(.custom-success, .custom-toast-success) :is(.custom-title, .custom-toast-title) i {
        color: #10b981 !important;
    }

/* ERROR */
.custom-toast.e-toast:is(.custom-error, .custom-toast-error) {
    rgba(239, 68, 68, 0.35)
    border-left: 4px solid #ef4444 !important;
}

    .custom-toast.e-toast:is(.custom-error, .custom-toast-error) .e-toast-progress {
        background: #ef4444 !important;
    }

    .custom-toast.e-toast:is(.custom-error, .custom-toast-error) :is(.custom-title, .custom-toast-title) i {
        color: #ef4444 !important;
    }

/* WARNING */
.custom-toast.e-toast:is(.custom-warning, .custom-toast-warning) {
    rgba(245, 158, 11, 0.38)
    border-left: 4px solid #f59e0b !important;
}

    .custom-toast.e-toast:is(.custom-warning, .custom-toast-warning) .e-toast-progress {
        background: #f59e0b !important;
    }

    .custom-toast.e-toast:is(.custom-warning, .custom-toast-warning) :is(.custom-title, .custom-toast-title) i {
        color: #f59e0b !important;
    }

/* INFO */
.custom-toast.e-toast:is(.custom-info, .custom-toast-info) {
    rgba(59, 130, 246, 0.35)
    border-left: 4px solid #3b82f6 !important;
}

    .custom-toast.e-toast:is(.custom-info, .custom-toast-info) .e-toast-progress {
        background: #3b82f6 !important;
    }

    .custom-toast.e-toast:is(.custom-info, .custom-toast-info) :is(.custom-title, .custom-toast-title) i {
        color: #3b82f6 !important;
    }

/* =========================================
   GLASS HIGHLIGHT EFFECT
========================================= */
.custom-toast.e-toast::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient( to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.05) ) !important;
    pointer-events: none !important;
}

/* =========================================
   ANIMATION (SUBTLE)
========================================= */
.custom-toast.e-toast {
    transition: all 0.25s ease !important;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 480px) {
    .custom-toast.e-toast {
        width: 90vw !important;
    }
}


.e-toast-container .e-toast .e-toast-message .e-toast-title {
    font-weight: 500 !important;
    letter-spacing: .5px !important;
    border-bottom: 1px solid #b5b6b6 !important;
}
