/* =========================================
   NOTIFICATION & MODAL SYSTEM (GLOBAL)
   ========================================= */
.notif-container {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid #222;
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 20px 30px;
    min-width: 300px;
    max-width: 450px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: translateX(120%);
    transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.toast.active {
    transform: translateX(0);
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #fff;
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-success::before {
    background: #22c55e;
}

.toast-success .toast-icon {
    color: #22c55e;
}

.toast-error::before {
    background: #ef4444;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-info::before {
    background: #3b82f6;
}

.toast-info .toast-icon {
    color: #3b82f6;
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
    display: block;
    font-weight: 700;
}

.toast-msg {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.4;
}

.toast-close {
    cursor: pointer;
    font-size: 0.8rem;
    color: #444;
    transition: 0.3s;
}

.toast-close:hover {
    color: #fff;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 50px;
    max-width: 500px;
    width: 100%;
    transform: translateY(20px);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;
}

.modal-msg {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.modal-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.modal-btn {
    padding: 15px 40px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 2px;
    border: 1px solid #333;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.modal-btn-confirm {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.modal-btn:hover {
    border-color: #fff;
}

@media (max-width: 768px) {
    .notif-container {
        top: 20px;
        right: 20px;
        left: 20px;
    }

    .toast {
        min-width: unset;
        width: 100%;
        padding: 15px 20px;
    }
}