/* ==========================================================================
   LeanextERP - Modern Minimalist Crisp Toast Card System (Stripe / Vercel Theme)
   Reusable across all pages and upcoming modules
   ========================================================================== */

#toast-container {
    z-index: 999999 !important;
    top: 24px !important;
    right: 24px !important;
}

#toast-container > div {
    opacity: 1 !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #0f172a !important;
    border-radius: 12px !important;
    padding: 14px 18px 14px 54px !important;
    width: 360px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

#toast-container > div:hover {
    box-shadow: 0 14px 35px -5px rgba(15, 23, 42, 0.18), 0 6px 16px -2px rgba(15, 23, 42, 0.1) !important;
    transform: translateY(-2px);
}

/* Success Toast */
#toast-container > .toast-success {
    border-left: 5px solid #10b981 !important;
}

#toast-container > .toast-success:before {
    content: "\eb7b";
    font-family: "boxicons" !important;
    position: absolute;
    left: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
    background-color: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #059669;
}

/* Warning Toast */
#toast-container > .toast-warning {
    border-left: 5px solid #f59e0b !important;
}

#toast-container > .toast-warning:before {
    content: "\ec4f";
    font-family: "boxicons" !important;
    position: absolute;
    left: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
    background-color: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #d97706;
}

/* Error / Danger Toast */
#toast-container > .toast-error {
    border-left: 5px solid #ef4444 !important;
}

#toast-container > .toast-error:before {
    content: "\eb44";
    font-family: "boxicons" !important;
    position: absolute;
    left: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
    background-color: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #dc2626;
}

/* Info Toast */
#toast-container > .toast-info {
    border-left: 5px solid #06b6d4 !important;
}

#toast-container > .toast-info:before {
    content: "\eb6d";
    font-family: "boxicons" !important;
    position: absolute;
    left: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
    background-color: #e0f2fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #0284c7;
}

.toast-title {
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #0f172a !important;
    margin-bottom: 2px !important;
}

.toast-message {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    line-height: 1.45 !important;
}

#toast-container > div > .toast-progress {
    height: 3px !important;
    opacity: 0.9 !important;
    border-radius: 0 0 12px 12px;
}

#toast-container > .toast-success .toast-progress { background-color: #10b981 !important; }
#toast-container > .toast-warning .toast-progress { background-color: #f59e0b !important; }
#toast-container > .toast-error .toast-progress { background-color: #ef4444 !important; }
#toast-container > .toast-info .toast-progress { background-color: #06b6d4 !important; }

/* Close button positioning & styling */
#toast-container > div > .toast-close-button {
    top: 10px !important;
    right: 12px !important;
    color: #94a3b8 !important;
    text-shadow: none !important;
    opacity: 0.7 !important;
    font-size: 16px !important;
    transition: color 0.15s ease, opacity 0.15s ease !important;
}

#toast-container > div > .toast-close-button:hover {
    color: #0f172a !important;
    opacity: 1 !important;
}
