/* Modern Dark Theme Toast Notifications */
.iziToast-wrapper {
    gap: 10px;
    z-index: 99999 !important;
}

.iziToast {
    background: linear-gradient(135deg, #1a1f35 0%, #0f1424 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    border-radius: 14px !important;
    overflow: hidden;
    padding: 18px 50px 18px 0 !important;
    min-width: 320px;
    max-width: 400px;
}

.iziToast > .iziToast-body {
    position: unset;
    padding: unset;
    height: unset;
    min-height: unset;
    margin: unset;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding-left: 18px !important;
}

.iziToast:after {
    box-shadow: none !important;
    display: none !important;
}

.iziToast > .iziToast-body .iziToast-icon {
    position: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    line-height: 1;
    margin-top: unset;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    border-radius: 12px;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Success Toast */
.iziToast.iziToast-color-green {
    border-left: 4px solid #2ecc71 !important;
}

.iziToast.iziToast-color-green .iziToast-icon {
    background: rgba(46, 204, 113, 0.15) !important;
    color: #2ecc71 !important;
}

/* Error Toast */
.iziToast.iziToast-color-red {
    border-left: 4px solid #ef4444 !important;
}

.iziToast.iziToast-color-red .iziToast-icon {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
}

/* Info Toast */
.iziToast.iziToast-color-blue {
    border-left: 4px solid #a855f7 !important;
}

.iziToast.iziToast-color-blue .iziToast-icon {
    background: rgba(168, 85, 247, 0.15) !important;
    color: #a855f7 !important;
}

/* Warning Toast */
.iziToast.iziToast-color-orange {
    border-left: 4px solid #f59e0b !important;
}

.iziToast.iziToast-color-orange .iziToast-icon {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #f59e0b !important;
}

/* Text Styles */
.iziToast > .iziToast-body .iziToast-texts {
    margin: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 1 !important;
    visibility: visible !important;
}

.iziToast > .iziToast-body .iziToast-title {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #ffffff !important;
    letter-spacing: 0.3px;
    opacity: 1 !important;
    visibility: visible !important;
}

.iziToast > .iziToast-body .iziToast-message {
    margin: 0;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.4;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Close Button */
.iziToast > .iziToast-close {
    font-family: 'Line Awesome Free';
    font-weight: 900;
    background: unset !important;
    width: 40px !important;
    height: 40px !important;
    right: 5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iziToast > .iziToast-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1) !important;
}

.iziToast > .iziToast-close::before {
    content: "\f00d";
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Progress Bar */
.iziToast > .iziToast-progressbar {
    background: rgba(255, 255, 255, 0.05) !important;
    bottom: 0;
}

.iziToast > .iziToast-progressbar > div {
    height: 3px !important;
    border-radius: 0 !important;
}

/* Responsive */
@media (max-width: 576px) {
    .iziToast {
        min-width: calc(100vw - 30px) !important;
        max-width: calc(100vw - 30px) !important;
        margin: 0 15px !important;
    }

    .iziToast-wrapper-topRight,
    .iziToast-wrapper-topLeft,
    .iziToast-wrapper-topCenter {
        top: 15px !important;
        left: 0 !important;
        right: 0 !important;
    }
}
