/* public/css/dashboard.css */
:root {
    --deep-blue: #002366;
    --light-blue: #1e88e5;
    --cream: #fff8e1;
    --gold: #ffd700;
    --white: #ffffff;
    --gray: #f8f9fa;
    --dark-gray: #212529;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
    --glass-bg: rgba(255, 255, 255, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--gray);
    color: var(--dark-gray);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Luxury Dashboard Container */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Presidential Profile Header */
.user-profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, var(--glass-bg), var(--white));
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.6s ease-out forwards;
}

.user-profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--deep-blue));
    z-index: 1;
}

.user-profile-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent 70%);
    z-index: 0;
}

.profile-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.profile-picture:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.user-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.user-info h2 {
    color: var(--deep-blue);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.user-info p {
    color: #555;
    font-size: 1rem;
    opacity: 0.9;
}

.logout-btn {
    background: linear-gradient(135deg, var(--deep-blue), var(--light-blue));
    color: var(--white);
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 35, 102, 0.2);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.logout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 35, 102, 0.3);
    background: linear-gradient(135deg, #001a4d, var(--deep-blue));
}

.logout-btn i {
    transition: transform 0.3s ease;
}

.logout-btn:hover i {
    transform: translateX(3px);
}

/* Luxury Status Cards */
.status-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.6s ease-out forwards;
}

.status-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), transparent);
    border-radius: 0 0 0 100%;
    pointer-events: none;
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.status-card h3 {
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.status-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--gold), transparent);
    border-radius: 2px;
}

.status-card h3 i {
    color: var(--gold);
    font-size: 1.5rem;
}

.status-card p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

.status-card p strong {
    color: var(--deep-blue);
    font-weight: 600;
}

.status-badge {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.15);
    color: var(--warning);
}

.status-approved {
    background-color: rgba(40, 167, 69, 0.15);
    color: var(--success);
}

.status-badge.status-rejected {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #dc3545;
}

.hostel-selection {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

.hostel-selection::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--gold), var(--deep-blue));
}

.hostel-selection h3 {
    color: var(--deep-blue);
    margin-bottom: 2rem;
    font-size: 1.6rem;
    position: relative;
    display: inline-block;
}

.hostel-selection h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--gold), transparent);
    border-radius: 2px;
}

.hostel-blocks {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hostel-block-btn {
    padding: 0.8rem 1.8rem;
    background: var(--gray);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.hostel-block-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--deep-blue), var(--light-blue));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
    border-radius: 50px;
}

.hostel-block-btn:hover,
.hostel-block-btn.active {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 35, 102, 0.2);
}

.hostel-block-btn:hover::before,
.hostel-block-btn.active::before {
    opacity: 1;
}

/* Luxury Room Cards */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.block-rooms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.room-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.8rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 35, 102, 0.15);
    border-color: var(--gold);
}

.room-card h4 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.room-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.room-card p i {
    color: var(--gold);
    width: 20px;
    text-align: center;
}

.room-card .slots {
    font-weight: 700;
    color: var(--deep-blue);
    background: rgba(0, 35, 102, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.room-card .book-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--deep-blue), var(--light-blue));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: auto;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 35, 102, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.room-card .book-btn:hover {
    background: linear-gradient(135deg, #001a4d, var(--deep-blue));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 35, 102, 0.3);
}

.room-card .book-btn:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.room-card .book-btn i {
    transition: transform 0.3s ease;
}

.room-card .book-btn:hover i {
    transform: translateX(3px);
}

/* Premium Quick Actions */
.quick-actions {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: 0.3s;
    position: relative;
    overflow: hidden;
}

.quick-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--deep-blue));
}

.quick-actions h3 {
    color: var(--deep-blue);
    margin-bottom: 2rem;
    font-size: 1.6rem;
    position: relative;
    display: inline-block;
}

.quick-actions h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--gold), transparent);
    border-radius: 2px;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--dark-gray);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--deep-blue));
    transition: var(--transition);
}

.action-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 35, 102, 0.15);
    color: var(--deep-blue);
}

.action-btn:hover::before {
    width: 8px;
}

.action-btn i {
    font-size: 1.5rem;
    color: var(--gold);
    transition: var(--transition);
    min-width: 30px;
}

.action-btn:hover i {
    transform: scale(1.2);
}

.badge {
    background: var(--danger);
    color: var(--white);
    border-radius: 50px;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: auto;
}

/* Add to your styles.css */
.action-btn.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    position: relative;
}

.action-btn.disabled:hover {
    background-color: #cccccc;
    transform: none;
    box-shadow: none;
}

.action-btn.disabled::after {
    content: "Available after booking approval";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}

.action-btn.disabled:hover::after {
    opacity: 1;
}


/* Presidential Notice Section */
.payment-notice {
    background: linear-gradient(135deg, rgba(255, 248, 225, 0.5), var(--white));
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--gold);
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: 0.4s;
    position: relative;
    overflow: hidden;
}

.payment-notice::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent 70%);
    z-index: 0;
}

.payment-notice h4 {
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.payment-notice h4 i {
    color: var(--gold);
}

.payment-notice ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    z-index: 1;
}

.payment-notice li {
    margin-bottom: 1rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

.payment-notice li::marker {
    color: var(--gold);
}

.payment-notice p.note {
    font-style: italic;
    color: #666;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}

/* Luxury Damage Status Section */
.damage-status {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--gold);
    animation: fadeIn 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.damage-status::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent 70%);
    z-index: 0;
}

.damage-status h3 {
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.damage-status h3 i {
    color: var(--gold);
}

.no-damages {
    text-align: center;
    padding: 3rem;
    color: var(--success);
    position: relative;
    z-index: 1;
}

.no-damages i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--success);
}

.no-damages p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 500px;
    margin: 0 auto;
}

.damage-summary {
    position: relative;
    z-index: 1;
}

.damage-summary p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

.damage-summary strong {
    color: var(--deep-blue);
    font-weight: 700;
}

.damage-summary ul {
    list-style: none;
    margin: 2rem 0;
}

.damage-summary li {
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    background: var(--gray);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 3px solid var(--gold);
}

.damage-summary li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.damage-type {
    font-weight: 700;
    color: var(--deep-blue);
    flex: 1;
    min-width: 200px;
    font-size: 1.05rem;
}

.damage-status-badge {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.status-reported {
    background-color: rgba(255, 193, 7, 0.15);
    color: var(--warning);
}

.status-assessed {
    background-color: rgba(23, 162, 184, 0.15);
    color: var(--info);
}

.status-repaired {
    background-color: rgba(40, 167, 69, 0.15);
    color: var(--success);
}

.status-paid {
    background-color: rgba(102, 58, 182, 0.15);
    color: #663ab6;
}

.damage-cost {
    font-weight: 700;
    color: var(--deep-blue);
    background: rgba(0, 35, 102, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.view-details {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--deep-blue);
    font-weight: 700;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
    margin-top: 1rem;
    background: rgba(0, 35, 102, 0.05);
    border: 1px solid rgba(0, 35, 102, 0.1);
}

.view-details:hover {
    background: rgba(0, 35, 102, 0.1);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 35, 102, 0.1);
}

.view-details i {
    transition: var(--transition);
}

.view-details:hover i {
    transform: translateX(5px);
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--deep-blue), var(--light-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 35, 102, 0.3);
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
    border: none;
}

.fab:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 35, 102, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .rooms-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .action-buttons {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 992px) {
    .dashboard-container {
        padding: 1.5rem;
    }

    .user-profile-header {
        padding: 2rem;
    }

    .profile-picture {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .user-profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .logout-btn {
        margin-top: 1rem;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .hostel-blocks {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .dashboard-container {
        padding: 1rem;
    }

    .status-card,
    .hostel-selection,
    .quick-actions,
    .payment-notice,
    .damage-status {
        padding: 1.5rem;
    }

    .profile-picture {
        width: 80px;
        height: 80px;
    }

    .user-info h2 {
        font-size: 1.6rem;
    }

    .fab {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--deep-blue), var(--light-blue));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--deep-blue);
}

/* Luxury Damage Reports Section */
.damage-reports {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out forwards;
}

.damage-reports::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent 70%);
    z-index: 0;
}

.damage-reports h2 {
    color: var(--deep-blue);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.damage-reports h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--gold), transparent);
    border-radius: 2px;
}

/* No Records State */
.no-records {
    text-align: center;
    padding: 3rem;
    color: var(--success);
    position: relative;
    z-index: 1;
}

.no-records i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--success);
}

.no-records h3 {
    color: var(--deep-blue);
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.no-records p {
    color: var(--dark-gray);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Presidential Damage Card */
.damage-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--gold);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out forwards;
}

.damage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.damage-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent 70%);
    z-index: 0;
}

.damage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.damage-header h3 {
    color: var(--deep-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.damage-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.damage-meta span {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.damage-meta i {
    color: var(--gold);
    width: 18px;
    text-align: center;
}

.damage-description {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.damage-description h4 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.damage-description h4 i {
    color: var(--gold);
}

.damage-description p {
    line-height: 1.8;
    color: var(--dark-gray);
    padding-left: 1.8rem;
}

.damage-photo {
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.damage-photo h4 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.damage-photo h4 i {
    color: var(--gold);
}

.damage-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--gold);
}

.damage-image:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.cost-details {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(248, 249, 250, 0.7);
    border-radius: var(--border-radius);
    border-left: 5px solid var(--deep-blue);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
}

.cost-details h4 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.cost-details h4 i {
    color: var(--gold);
}

.cost-details p {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 1rem;
    line-height: 1.7;
}

.cost-details strong {
    min-width: 120px;
    color: var(--deep-blue);
}

.payment-status {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-image-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

/* Responsive Design for damage reports */
@media (max-width: 768px) {
    .damage-meta {
        gap: 1rem;
    }

    .damage-meta span {
        font-size: 0.85rem;
    }

    .cost-details p {
        flex-direction: column;
        gap: 0.3rem;
    }

    .cost-details strong {
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .damage-reports {
        padding: 1.5rem;
    }
}

/* Add these to your existing dashboard.css file */

/* Luxury Complaint Form */
.complaint-form {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.6s ease-out forwards;
}

.complaint-form::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), transparent);
    border-radius: 0 0 0 100%;
    pointer-events: none;
}

.complaint-form h2 {
    color: var(--deep-blue);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.complaint-form h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--gold), transparent);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--deep-blue);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.file-upload {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.file-upload-preview {
    max-width: 300px;
    max-height: 300px;
    margin-top: 1rem;
    display: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid var(--gold);
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-preview:hover {
    transform: scale(1.02);
}

.submit-btn {
    background: linear-gradient(135deg, var(--deep-blue), var(--light-blue));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 35, 102, 0.2);
    margin-top: 1rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #001a4d, var(--deep-blue));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 35, 102, 0.3);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Luxury Complaints List */
.complaints-list {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

.complaints-list h2 {
    color: var(--deep-blue);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.complaints-list h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--gold), transparent);
    border-radius: 2px;
}

.no-complaints {
    text-align: center;
    padding: 3rem;
    color: var(--info);
}

.no-complaints i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--info);
}

.no-complaints p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 500px;
    margin: 0 auto;
}

/* Presidential Complaint Card */
.complaint-card {
    padding: 2rem;
    margin-bottom: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--gold);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.complaint-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.complaint-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent 70%);
    z-index: 0;
}

.complaint-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.complaint-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-electrical {
    background-color: rgba(255, 235, 59, 0.2);
    color: #fbc02d;
    border: 1px solid rgba(255, 235, 59, 0.3);
}

.category-plumbing {
    background-color: rgba(33, 150, 243, 0.2);
    color: #1976d2;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.category-furniture {
    background-color: rgba(121, 85, 72, 0.2);
    color: #5d4037;
    border: 1px solid rgba(121, 85, 72, 0.3);
}

.category-water {
    background-color: rgba(0, 188, 212, 0.2);
    color: #00838f;
    border: 1px solid rgba(0, 188, 212, 0.3);
}

.category-other {
    background-color: rgba(158, 158, 158, 0.2);
    color: #424242;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

.complaint-location {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.8rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 35, 102, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.complaint-location i {
    color: var(--deep-blue);
}

.complaint-status {
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.15);
    color: var(--warning);
}

.status-in_progress {
    background-color: rgba(23, 162, 184, 0.15);
    color: var(--info);
}

.status-resolved {
    background-color: rgba(40, 167, 69, 0.15);
    color: var(--success);
}

.complaint-title {
    color: var(--deep-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.complaint-description {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.complaint-image {
    max-width: 100%;
    max-height: 300px;
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--gold);
}

.complaint-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Luxury Admin Response */
.admin-response {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(248, 249, 250, 0.7);
    border-radius: var(--border-radius);
    border-left: 5px solid var(--gold);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
}

.response-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--deep-blue);
    font-weight: 700;
}

.response-header i {
    color: var(--gold);
    font-size: 1.2rem;
}

.response-date {
    font-size: 0.85rem;
    color: #666;
    margin-left: auto;
}

.response-content {
    line-height: 1.8;
    color: var(--dark-gray);
}

.complaint-date {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #666;
    text-align: right;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.complaint-date i {
    color: var(--gold);
}

/* Notification Styles */
.notification {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: fadeIn 0.5s ease-out;
}

.notification.success {
    background-color: rgba(40, 167, 69, 0.15);
    color: var(--success);
    border-left: 4px solid var(--success);
}

.notification.error {
    background-color: rgba(220, 53, 69, 0.15);
    color: var(--danger);
    border-left: 4px solid var(--danger);
}

/* Responsive Design for complaints page */
@media (max-width: 768px) {
    .complaint-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .complaint-status {
        margin-left: 0;
    }

    .file-upload-preview {
        max-width: 100%;
    }
}

/* Enhanced Profile Page Styles */
.profile-container {
    background: var(--glass-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.6s ease-out forwards;
    margin-top: 1.5rem;
}

.profile-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--deep-blue));
}

.profile-container::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent 70%);
    z-index: 0;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.profile-picture-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    margin-right: 2rem;
    position: relative;
    z-index: 2;
}

.profile-picture-large:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.profile-info h3 {
    color: var(--deep-blue);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.profile-info p {
    color: #555;
    font-size: 1rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-info p i {
    color: var(--gold);
}

.profile-details {
    position: relative;
    z-index: 2;
}

.detail-row {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.detail-row:hover {
    transform: translateX(5px);
}

.detail-label {
    width: 220px;
    font-weight: 600;
    color: var(--deep-blue);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.detail-label i {
    width: 24px;
    text-align: center;
    color: var(--gold);
}

.detail-value {
    flex: 1;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--deep-blue);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.form-group label i {
    color: var(--gold);
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    background: var(--white);
}

select.form-control {
    height: auto;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23002366' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

.btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--deep-blue), var(--light-blue));
    color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 35, 102, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #001a4d, var(--deep-blue));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 35, 102, 0.3);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(3px);
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: -1;
}

.alert-success {
    border-left-color: var(--success);
    color: var(--success);
}

.alert-error {
    border-left-color: var(--danger);
    color: var(--danger);
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    border-radius: 50px;
}

.file-input-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, var(--deep-blue), var(--light-blue));
    color: var(--white);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 35, 102, 0.2);
}

.file-input-btn:hover {
    background: linear-gradient(135deg, #001a4d, var(--deep-blue));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 35, 102, 0.3);
}

.file-name {
    margin-left: 1rem;
    font-size: 0.95rem;
    color: var(--dark-gray);
    transition: var(--transition);
}

.notice {
    font-size: 0.95rem;
    color: var(--warning);
    background-color: rgba(255, 193, 7, 0.15);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
    border-left: 3px solid var(--warning);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Verification Badge */
.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-left: 0.8rem;
}

.verified {
    background-color: rgba(40, 167, 69, 0.15);
    color: var(--success);
}

.not-verified {
    background-color: rgba(220, 53, 69, 0.15);
    color: var(--danger);
}

/* Profile Stats */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-card h4 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.stat-card p {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0;
}

.medical-reports-container {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.medical-reports-container h2 {
    font-family: 'Poppins', sans-serif;
    color: #002366;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.no-reports {
    font-family: 'Poppins', sans-serif;
    color: #666;
    font-size: 1rem;
    text-align: center;
    padding: 1rem;
}

.reports-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.reports-table th,
.reports-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.reports-table th {
    background: #f3f4f6;
    color: #1e3a8a;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.reports-table tr:nth-child(even) {
    background: #f9fafb;
}

.reports-table tr:hover {
    background: #f0f0ff;
}

@media screen and (max-width: 768px) {
    .medical-reports-container {
        padding: 1rem;
        /* Reduced padding for mobile */
        overflow-x: auto;
        /* Enable horizontal scrolling for table */
    }

    .reports-table {
        min-width: 600px;
        /* Minimum width to prevent excessive shrinking */
    }

    .reports-table th,
    .reports-table td {
        padding: 0.75rem;
        /* Smaller padding on mobile */
        font-size: 0.85rem;
        /* Smaller font size for mobile */
    }

    /* Optional: Stack table rows on very small screens */
    @media screen and (max-width: 480px) {
        .reports-table {
            display: block;
            /* Change table to block for stacking */
        }

        .reports-table thead {
            display: none;
            /* Hide headers for stacked layout */
        }

        .reports-table tbody,
        .reports-table tr,
        .reports-table td {
            display: block;
            width: 100%;
        }

        .reports-table tr {
            margin-bottom: 1rem;
            border-bottom: 2px solid #e5e7eb;
        }

        .reports-table td {
            position: relative;
            padding-left: 40%;
            /* Space for pseudo-label */
            padding-bottom: 0.5rem;
            text-align: right;
            /* Align content to the right */
            border-bottom: none;
        }

        /* Add pseudo-elements for column labels */
        .reports-table td:before {
            content: attr(data-label);
            position: absolute;
            left: 0.75rem;
            width: 35%;
            font-weight: 600;
            color: #1e3a8a;
            font-family: 'Poppins', sans-serif;
            text-align: left;
        }

        /* Assign data-labels for each column */
        .reports-table td:nth-child(1):before {
            content: "Name";
        }

        .reports-table td:nth-child(2):before {
            content: "Index Number";
        }

        .reports-table td:nth-child(3):before {
            content: "Academic Year";
        }

        .reports-table td:nth-child(4):before {
            content: "Semester";
        }

        .reports-table td:nth-child(5):before {
            content: "Date Created";
        }

        .reports-table td:nth-child(6):before {
            content: "Actions";
        }

        .reports-table td:last-child {
            padding-bottom: 1rem;
            /* Extra spacing for actions */
        }
    }
}

.document-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 10px;
    transition: background 0.2s ease;
}

.document-link.view {
    background: #e0f2fe;
    color: #0369a1;
}

.document-link.download {
    background: #dcfce7;
    color: #15803d;
}

.document-link:hover {
    opacity: 0.9;
}

.documents-container {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.documents-container h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.document-group {
    margin-bottom: 20px;
}

.document-group h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.document-preview img,
.document-preview embed {
    max-width: 200px;
    max-height: 200px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.document-links a {
    margin-right: 10px;
    color: #002366;
    text-decoration: none;
}

.document-links a:hover {
    text-decoration: underline;
}

.file-input-wrapper {
    margin-top: 10px;
}

.file-input-btn {
    background-color: #002366;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.file-input-btn:hover {
    background-color: #001a4d;
}

.file-name {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    display: block;
}

.alert {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success {
    background-color: #dff0d8;
    color: #3c763d;
}

.alert-error {
    background-color: #f2dede;
    color: #a94442;
}

@media (max-width: 600px) {

    .reports-table th,
    .reports-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .document-link {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-picture-large {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .detail-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .detail-label {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .profile-container {
        padding: 1.5rem;
    }

    .profile-picture-large {
        width: 120px;
        height: 120px;
    }
}