/* ===== HEADER STYLES (FROM SkillMatrix.css) ===== */

/* Fixed Header */
.content-header {
    background: #CC0000 !important;
    border-bottom: 1px solid #a00000 !important;
    padding: 10px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1001 !important;
    box-shadow: 0 3px 9px rgb(0 0 0 / 62%) !important;
    min-height: 60px !important;
    max-height: 60px !important;
}

/* ===== LEFT LOGO SECTION ===== */
.header-left-logo {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.header-logo-container {
    position: relative;
    padding: 6px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    min-width: 180px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.header-no-decor {
    text-decoration: none;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    position: relative;
    z-index: 3;
}

.header-hal-logodiv {
    height: 20px !important;
    width: 160px !important;
    background-image: url(/images/hal_logo.png);
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center center !important;
    margin: 0 auto 4px !important;
    filter: brightness(1.2) !important;
}

.header-hal-logo-underline {
    width: 100% !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    margin: 0 auto 4px !important;
    position: relative;
    z-index: 3;
}

.header-logo-text {
    position: relative;
    z-index: 3;
    text-align: center !important;
    width: 100% !important;
}

.header-hal-plant {
    color: #FFFFFF !important;
    font-weight: 500 !important;
    font-size: 10px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    letter-spacing: 0.3px;
    opacity: 0.95;
    line-height: 1.2;
    display: block !important;
    text-align: center !important;
}

/* ===== CENTER APPLICATION NAME ===== */
.header-center-title {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

    .header-center-title i {
        font-size: 22px !important;
        color: #FFFFFF !important;
        text-shadow: 0 1px 10px rgb(0 0 0 / 62%);
    }

    .header-center-title .brand-text {
        font-size: 22px !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        color: #FFFFFF !important;
        text-shadow: 0 1px 10px rgb(0 0 0 / 75%);
        white-space: nowrap !important;
    }

/* ===== RIGHT USER INFO SECTION ===== */
.header-right {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: auto !important;
}

.user-info {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer;
    padding: 0px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

    .user-info:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.user-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #CC0000 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
}

.user-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    line-height: 1.2 !important;
    text-shadow: 0 0px 5px rgb(0 0 0 / 75%);
}

.user-role {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.2 !important;
}

/* ===== NOTIFICATION BUTTON ===== */
.header-notification-btn {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    margin-left: 4px;
}

    .header-notification-btn:hover {
        background: rgba(204, 0, 0, 0.1);
    }

    .header-notification-btn i {
        font-size: 18px;
        color: white;
    }

.header-notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 2px solid #1a1a1a;
    line-height: 1;
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ===== USER PROFILE POPUP ===== */
.user-profile-popup {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: rgba(250, 250, 252, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgb(0 0 0 / 52%);
    border: 1px solid rgb(0 0 0 / 38%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    overflow: hidden;
}

    .user-profile-popup.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

/* ===== APP CONTAINER OFFSET (TO PREVENT OVERLAP) ===== */
.app-container {
    display: flex !important;
    margin-top: 60px !important;
    min-height: calc(100vh - 60px) !important;
    position: relative !important;
}

/* ===== USER PROFILE POPUP STYLES ===== */
.user-profile-popup {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: rgba(250, 250, 252, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgb(0 0 0 / 52%), 0 4px 16px rgba(204, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgb(0 0 0 / 38%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    overflow: hidden;
}

    .user-profile-popup.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    /* Glass effect triangle pointer */
    .user-profile-popup::before {
        content: '';
        position: absolute;
        top: -8px;
        right: 20px;
        width: 16px;
        height: 16px;
        background: rgba(250, 250, 252, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(204, 0, 0, 0.25);
        border-bottom: none;
        border-right: none;
        transform: rotate(45deg);
    }

/* Compact Body */
.user-profile-body-compact {
    padding: 16px;
}

/* Compact Stats */
.user-profile-stats-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(204, 0, 0, 0.2);
}

.user-stat-item-compact {
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.12) 0%, rgba(204, 0, 0, 0.08) 100%);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 8px;
    border: 2px solid rgba(204, 0, 0, 0.25);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(204, 0, 0, 0.15);
}

    .user-stat-item-compact:hover {
        background: linear-gradient(135deg, rgba(204, 0, 0, 0.18) 0%, rgba(204, 0, 0, 0.12) 100%);
        border-color: rgba(204, 0, 0, 0.4);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(204, 0, 0, 0.25);
    }

.user-stat-value-compact {
    font-size: 22px;
    font-weight: 800;
    color: #CC0000;
    margin: 0 0 4px 0;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(204, 0, 0, 0.2);
}

.user-stat-label-compact {
    font-size: 9px;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin: 0;
}

/* Skills/Reportees Breakdown */
.skills-breakdown,
.reportees-breakdown {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(204, 0, 0, 0.1);
}

.skill-item,
.reportee-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #6c757d;
    font-weight: 500;
}

    .skill-item i,
    .reportee-item i {
        font-size: 10px;
        color: #CC0000;
        min-width: 12px;
    }

.skill-label,
.reportee-label {
    color: #495057;
    font-weight: 600;
}

.skill-count,
.reportee-count {
    color: #CC0000;
    font-weight: 700;
    margin-left: auto;
}

/* User Details Grid */
.user-profile-details-compact {
    background: rgba(255, 245, 245, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid rgba(204, 0, 0, 0.15);
    box-shadow: 0 1px 5px rgb(0 0 0 / 51%);
}

.user-detail-item-compact {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(204, 0, 0, 0.1);
    gap: 12px;
}

    .user-detail-item-compact:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .user-detail-item-compact:first-child {
        padding-top: 0;
    }

.user-detail-label-compact {
    font-size: 10px;
    font-weight: 700;
    color: #CC0000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 80px;
    flex-shrink: 0;
}

.user-detail-value-compact {
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: left;
    flex: 1;
}

/* Footer with Button Group */
.user-profile-footer-compact {
    padding: 0;
    background: #000000;
    border-top: none;
    display: flex;
    overflow: hidden;
}

.footer-button-group {
    display: flex;
    width: 100%;
    border-top: 2px solid rgba(204, 0, 0, 0.15);
}

.footer-group-btn {
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: linear-gradient(135deg, rgba(250, 250, 252, 0.95) 0%, rgba(240, 240, 245, 0.95) 100%);
    color: #333;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    backdrop-filter: blur(10px);
}

    .footer-group-btn i {
        font-size: 16px;
        transition: all 0.3s ease;
    }

    /* Divider between buttons */
    .footer-group-btn:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background: linear-gradient(180deg, transparent, rgba(204, 0, 0, 0.3), transparent);
    }

    /* Settings Button */
    .footer-group-btn.settings-btn {
        border-bottom-left-radius: 12px;
    }

        .footer-group-btn.settings-btn:hover {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        }

            .footer-group-btn.settings-btn:hover i {
                transform: rotate(90deg);
            }

    /* Logout Button */
    .footer-group-btn.logout-btn {
        border-bottom-right-radius: 12px;
    }

        .footer-group-btn.logout-btn:hover {
            background: linear-gradient(135deg, #CC0000 0%, #a00000 100%);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(204, 0, 0, 0.4);
        }

            .footer-group-btn.logout-btn:hover i {
                transform: translateX(3px);
            }

    /* Active state */
    .footer-group-btn:active {
        transform: translateY(0);
    }

/* Responsive */
@media (max-width: 768px) {
    .user-profile-popup {
        width: calc(100vw - 32px);
        right: 16px;
        left: 16px;
    }

        .user-profile-popup::before {
            right: 50%;
            transform: translateX(50%) rotate(45deg);
        }

    .footer-group-btn {
        padding: 12px 14px;
        font-size: 12px;
    }

        .footer-group-btn i {
            font-size: 14px;
        }
}

/* ===== NOTIFICATIONS MODAL STYLES - COMPLETE VERSION ===== */

/* Modal Container */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

    .modal.show {
        display: flex;
    }

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 1200px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Notifications Modal Specific */
.notifications-modal-content {
    max-width: 1000px !important;
    width: 90% !important;
    max-height: 85vh !important;
}

/* Modal Header */
.modal-header {
    background: #CC0000;
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

    .modal-title i {
        font-size: 20px;
    }

/* Notification Count Badge in Title */
.notification-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 12px;
    font-weight: 700;
    min-width: 24px;
    height: 24px;
    border-radius: 12px;
    padding: 0 8px;
    margin-left: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .modal-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

/* Modal Body */
.modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Notification Filter Tabs */
.notification-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e9ecef;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.notification-filter-btn {
    padding: 8px 16px;
    border: 1px solid #e9ecef;
    background: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
}

    .notification-filter-btn:hover {
        background: #f8f9fa;
        border-color: #CC0000;
        color: #CC0000;
    }

    .notification-filter-btn.active {
        background: #CC0000;
        color: white;
        border-color: #CC0000;
    }

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    padding: 0 6px;
}

.notification-filter-btn:not(.active) .filter-count {
    background: #e9ecef;
    color: #6c757d;
}

/* Notifications List Container */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 8px;
    flex: 1;
}

    /* Custom Scrollbar for Notifications List */
    .notifications-list::-webkit-scrollbar {
        width: 6px;
    }

    .notifications-list::-webkit-scrollbar-track {
        background: #f8f9fa;
        border-radius: 3px;
    }

    .notifications-list::-webkit-scrollbar-thumb {
        background: #CC0000;
        border-radius: 3px;
    }

        .notifications-list::-webkit-scrollbar-thumb:hover {
            background: #a00000;
        }

/* Firefox Scrollbar */
.notifications-list {
    scrollbar-width: thin;
    scrollbar-color: #CC0000 #f8f9fa;
}

/* Individual Notification Item */
.notification-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

    .notification-item:hover {
        border-color: #CC0000;
        box-shadow: 0 4px 12px rgba(204, 0, 0, 0.15);
        transform: translateY(-2px);
    }

    /* Status-based Border Colors */
    .notification-item.pending {
        border-left: 4px solid #ffc107;
    }

    .notification-item.approved {
        border-left: 4px solid #28a745;
    }

    .notification-item.rejected {
        border-left: 4px solid #dc3545;
    }

/* Notification Header Section */
.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.notification-info {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .notification-title i {
        font-size: 14px;
        color: #CC0000;
    }

.notification-subtitle {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .notification-subtitle i {
        font-size: 11px;
    }

.notification-time {
    font-size: 11px;
    color: #6c757d;
    white-space: nowrap;
}

/* Notification Status Badge */
.notification-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

    .notification-status-badge.pending {
        background: rgba(255, 193, 7, 0.1);
        color: #ffc107;
        border: 1px solid rgba(255, 193, 7, 0.3);
    }

    .notification-status-badge.approved {
        background: rgba(40, 167, 69, 0.1);
        color: #28a745;
        border: 1px solid rgba(40, 167, 69, 0.3);
    }

    .notification-status-badge.rejected {
        background: rgba(220, 53, 69, 0.1);
        color: #dc3545;
        border: 1px solid rgba(220, 53, 69, 0.3);
    }

    .notification-status-badge i {
        font-size: 10px;
    }

/* Notification Summary Section */
.notification-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-label {
    font-size: 10px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

    .summary-value.text-danger {
        color: #dc3545;
    }

/* Required Skills List */
.required-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(204, 0, 0, 0.1);
    color: #CC0000;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(204, 0, 0, 0.2);
}

    .skill-tag i {
        font-size: 10px;
    }

/* Notification Action Buttons */
.notification-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.notification-action-btn {
    flex: 1;
    min-width: 100px;
    padding: 8px 16px;
    border: 1px solid;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.approve-btn {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

    .approve-btn:hover {
        background: #218838;
        border-color: #218838;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }

.reject-btn {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

    .reject-btn:hover {
        background: #c82333;
        border-color: #c82333;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    }

.expand-btn {
    background: white;
    color: #007bff;
    border-color: #007bff;
}

    .expand-btn:hover {
        background: #007bff;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    }

    .expand-btn.expanded {
        background: #007bff;
        color: white;
    }

/* Notification Details (Expandable Section) */
.notification-details {
    display: none;
    padding: 16px;
    margin-top: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-top: 2px solid #e9ecef;
}

    .notification-details.show {
        display: block;
        animation: slideDown 0.3s ease;
    }

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 1000px;
    }
}

/* Details Sections */
.details-section {
    margin-bottom: 16px;
}

    .details-section:last-child {
        margin-bottom: 0;
    }

.details-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .details-section-title i {
        font-size: 13px;
        color: #CC0000;
    }

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.justification-text {
    padding: 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    font-size: 13px;
    color: #333;
    line-height: 1.6;
}

/* Empty State */
.notifications-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

    .notifications-empty i {
        font-size: 48px;
        color: #dee2e6;
        margin-bottom: 16px;
        display: block;
    }

    .notifications-empty h3 {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
    }

    .notifications-empty p {
        font-size: 13px;
        color: #6c757d;
    }

/* Animation for notification items */
@keyframes slideInNotification {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-item {
    animation: slideInNotification 0.3s ease forwards;
}

    .notification-item:nth-child(1) {
        animation-delay: 0.05s;
    }

    .notification-item:nth-child(2) {
        animation-delay: 0.1s;
    }

    .notification-item:nth-child(3) {
        animation-delay: 0.15s;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .notifications-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .modal-header {
        padding: 16px 20px;
    }

    .modal-title {
        font-size: 16px;
    }

    .modal-body {
        padding: 20px;
    }

    .notification-filters {
        gap: 6px;
        padding-bottom: 12px;
    }

    .notification-filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .notification-item {
        padding: 12px;
    }

    .notification-summary {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
    }

    .notification-actions {
        flex-direction: column;
    }

    .notification-action-btn {
        min-width: 100%;
    }

    .notification-header {
        flex-direction: column;
        gap: 8px;
    }

    .notification-time {
        align-self: flex-start;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .notifications-modal-content {
        width: 98%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 12px 16px;
    }

    .modal-title {
        font-size: 14px;
    }

    .modal-body {
        padding: 16px;
    }

    .notification-title {
        font-size: 13px;
    }

    .notification-subtitle {
        font-size: 11px;
        flex-direction: column;
        align-items: flex-start;
    }

    .summary-label,
    .detail-label {
        font-size: 9px;
    }

    .summary-value,
    .detail-value {
        font-size: 12px;
    }
}
