/* --- Notification Styles --- */
#notification-container {
    position: fixed;
    top: 40px; /* Below the top bar */
    right: 20px;
    z-index: 2000;
    /* removed display:flex because it's not needed and might cause issues */
    /* removed flex-direction and gap */
    width: 320px;
}

.notification {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    color: #333;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-icon {
    font-size: 20px;
}

.notification-message {
    flex-grow: 1;
    font-size: 14px;
}

.notification.success {
    border-left: 4px solid #34c759;
}
.notification.success .notification-icon { color: #34c759; }

.notification.error {
    border-left: 4px solid #ff3b30;
}
.notification.error .notification-icon { color: #ff3b30; }

.notification.info {
    border-left: 4px solid #007aff;
}
.notification.info .notification-icon { color: #007aff; }

/* --- Custom Confirm Modal --- */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirm-overlay.show {
    opacity: 1;
}

.confirm-modal {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.confirm-overlay.show .confirm-modal {
    transform: scale(1);
}

.confirm-modal h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.confirm-modal p {
    margin-bottom: 25px;
    color: #606770;
    font-size: 15px;
    line-height: 1.6;
}

.confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.confirm-btn {
    border: none;
    padding: 10px 25px;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Vazirmatn', sans-serif;
}

.confirm-btn-yes {
    background-color: #007aff;
    color: white;
}
.confirm-btn-yes:hover {
    background-color: #0056b3;
}

.confirm-btn-no {
    background-color: #e9e9ed;
    color: #333;
}
.confirm-btn-no:hover {
    background-color: #dfe1e5;
}
