/* Notification Detail Modal Styles */
.notification-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    font-family: 'Poppins', sans-serif;
}

.notification-detail-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.notification-detail-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideUpModal 0.3s ease;
}

@keyframes slideUpModal {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notification-detail-header {
    background: #A3866A;
    color: white;
    padding: 25px 30px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-detail-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-detail-header i {
    font-size: 22px;
}

.notification-detail-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.notification-detail-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.notification-detail-body {
    padding: 30px;
}

.notification-detail-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f2e6da;
    flex-wrap: wrap;
}

.notification-detail-type {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.notification-type-appointment_status {
    background: #e3f2fd;
    color: #1976d2;
}

.notification-type-payment_status {
    background: #f3e5f5;
    color: #7b1fa2;
}

.notification-type-general {
    background: #e8f5e9;
    color: #388e3c;
}

.notification-type-appointment_expired {
    background: #ffebee;
    color: #c62828;
}

.notification-detail-time {
    color: #7a6b63;
    font-size: 13px;
    font-weight: 500;
}

.notification-detail-message {
    color: #1f1f1f;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.notification-detail-footer {
    padding: 20px 30px;
    border-top: 2px solid #f2e6da;
    display: flex;
    justify-content: flex-end;
}

.notification-detail-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #A3866A;
    color: white;
}

.notification-detail-btn:hover {
    background: #2e1c12;
    transform: translateY(-2px);
}

/* Make notification items clickable with cursor pointer */
.notification-item {
    cursor: pointer;
    transition: all 0.2s ease;
}

.notification-item:hover {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .notification-detail-content {
        width: 95%;
        max-height: 90vh;
    }

    .notification-detail-header {
        padding: 20px;
    }

    .notification-detail-header h3 {
        font-size: 18px;
    }

    .notification-detail-body {
        padding: 20px;
    }

    .notification-detail-message {
        font-size: 15px;
    }

    .notification-detail-footer {
        padding: 15px 20px;
    }
}
