/* Notification Modal Styling */
#notificationModal .modal-dialog {
    max-width: 600px;
}

#notificationModal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

#notificationModal .modal-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    border: none;
    padding: 25px 30px;
    position: relative;
}

#notificationModal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

#notificationModal .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

#notificationModal .modal-title::before {
    content: '🔔';
    margin-right: 12px;
    font-size: 1.8rem;
    animation: bellRing 2s ease-in-out infinite;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(10deg); }
    20%, 40%, 60%, 80% { transform: rotate(-10deg); }
}

#notificationModal .btn-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

#notificationModal .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#notificationModal .btn-close::before {
    content: '×';
    color: white;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
}

#notificationModal .modal-body {
    padding: 30px;
    background: #f8f9fa;
    max-height: 400px;
    overflow-y: auto;
}

#notificationModal .modal-body::-webkit-scrollbar {
    width: 6px;
}

#notificationModal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#notificationModal .modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#notificationModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

#notificationContent {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #ff6b6b;
}

#notificationContent h1, #notificationContent h2, #notificationContent h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

#notificationContent p {
    margin-bottom: 15px;
}

#notificationContent ul, #notificationContent ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

#notificationContent li {
    margin-bottom: 8px;
}

#notificationContent strong {
    color: #ff6b6b;
    font-weight: 600;
}

#notificationModal .modal-footer {
    background: #f8f9fa;
    border: none;
    padding: 20px 30px;
    border-top: 1px solid #e9ecef;
}

#notificationModal .btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

#notificationModal .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Loading animation */
#notificationModal .loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #667eea;
}

#notificationModal .loading-spinner i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error state */
#notificationModal .alert-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    border: none;
    border-radius: 10px;
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    #notificationModal .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    #notificationModal .modal-header {
        padding: 20px;
    }
    
    #notificationModal .modal-title {
        font-size: 1.3rem;
    }
    
    #notificationModal .modal-body {
        padding: 20px;
    }
    
    #notificationContent {
        padding: 20px;
    }
    
    #notificationModal .modal-footer {
        padding: 15px 20px;
    }
}

/* Animation for modal appearance */
#notificationModal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
}

#notificationModal.show .modal-dialog {
    transform: scale(1);
}

/* Success animation */
#notificationModal .success-checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #28a745;
    margin-right: 10px;
    position: relative;
}

#notificationModal .success-checkmark::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
}
