﻿/* =============================================
   NAVBAR
   ============================================= */
.navbar-top {
    background: #5B2C91;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-logo {
    height: 55px;
    margin-right: 15px;
}

.navbar-brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.navbar-year {
    color: white;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* =============================================
   BASE
   ============================================= */
body {
    padding-top: 70px;
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =============================================
   SIDEBAR NAVIGATION
   ============================================= */
.sidebar {
    position: fixed;
    top: 70px;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 0;
    padding-top: 20px;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    border-right: 1px solid #e0e0e0;
}

.sidebar-heading-section {
    background: #5B2C91;
    padding: 20px 15px;
    margin-bottom: 20px;
}

.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    margin: 0;
}

.sidebar-nav-content {
    padding-top: 15px;
}

.sidebar .nav {
    margin-top: 0;
    padding: 0 10px;
}

.sidebar .nav-item {
    margin-bottom: 8px;
    padding: 0;
}

.nav-form {
    margin: 0;
    padding: 0;
    width: 100%;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #2c2c2c;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    background: white;
    text-align: left;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

    .sidebar .nav-link .nav-icon {
        margin-right: 10px;
        font-size: 1.1rem;
        display: inline-block;
    }

    .sidebar .nav-link:hover {
        background: #F5F3F8;
        border-color: #d0d0d0;
    }

    .sidebar .nav-link.active {
        color: #2c2c2c;
        background: #B8A4D9;
        font-weight: 600;
        border-color: #B8A4D9;
    }

/* =============================================
   MAIN CONTENT
   ============================================= */
main {
    padding-top: 20px;
    min-height: 100vh;
}

/* =============================================
   REPORT CONTAINER
   ============================================= */
.report-container {
    background: white;
    padding: 50px 70px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    margin-bottom: 30px;
}

/* =============================================
   REPORT HEADER
   ============================================= */
.report-header {
    margin-bottom: 45px;
}

.report-info-box {
    background: linear-gradient(135deg, #f3f0ff 0%, #e8e3ff 100%);
    border-left: 6px solid #5B2C91;
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 6px rgba(91, 44, 145, 0.15);
}

.report-info {
    margin: 10px 0;
    font-size: 18px;
    color: #5B2C91;
    font-weight: 700;
}

.header-divider {
    border: 0;
    border-top: 3px solid #5B2C91;
    margin: 25px 0 35px 0;
}

/* =============================================
   PRIOR AUTH DOWNLOAD LINK
   ============================================= */
.prior-auth-top-link {
    text-align: right;
    margin-bottom: 12px;
}

.prior-auth-link {
    color: #5B2C91;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

    .prior-auth-link:hover {
        color: #4a2278;
        border-bottom-color: #4a2278;
        text-decoration: none;
    }

/* =============================================
   SECTION TITLES
   ============================================= */
.section-title {
    font-size: 18px;
    color: #5B2C91;
    font-weight: 700;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8e3ff;
}

/* =============================================
   REPORT TABLES
   ============================================= */
.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

    .report-table thead {
        background: #5B2C91;
    }

    .report-table th.col-header {
        background: transparent;
        color: white;
        padding: 14px 15px;
        font-weight: 600;
        text-align: left;
        border: 1px solid #5d3587;
        font-size: 14px;
    }

    .report-table th.text-right {
        text-align: right;
    }

    .report-table th.text-center {
        text-align: center;
    }

    .report-table tbody tr {
        border-bottom: 1px solid #e0e0e0;
        transition: background-color 0.2s;
    }

        .report-table tbody tr:nth-child(even) {
            background-color: #fafafa;
        }

        .report-table tbody tr:hover {
            background-color: #f3f0ff;
        }

    .report-table tbody td {
        padding: 12px 15px;
        color: #333;
        font-size: 14px;
        border-left: 1px solid #e8e8e8;
        border-right: 1px solid #e8e8e8;
    }

    .report-table tbody tr:last-child td {
        border-bottom: 1px solid #e0e0e0;
    }

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

/* =============================================
   TABLE NOTE
   ============================================= */
.table-note {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin: 10px 0 25px 0;
    padding-left: 5px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 767.98px) {
    .sidebar {
        position: relative;
    }
}
