
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background-color: #ffffff;
}

.logo img {
    height: 60px;
}

.logo-text {
    display: none;
    font-size: 22px;
    font-weight: bold;
    color: #0056b3;
}

.logo img[style*="display: none"] + .logo-text {
    display: inline;
}

.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #0056b3;
}

.btn-restricted {
    color: #0056b3 !important;
    font-weight: bold !important;
}

.main-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.search-message {
    font-size: 18px;
    color: #555555;
    margin-bottom: 30px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 30px;
}

.search-box {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 14px;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.login-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    border-top: 4px solid #0056b3;
}

.login-card h2 {
    margin-bottom: 25px;
    color: #0056b3;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 14px;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background-color: #004085;
}

.report-container {
    max-width: 1400px;
    margin: 30px auto 60px;
    padding: 0 20px;
}

.report-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0056b3;
}

.report-logo img {
    height: 70px;
}

.report-company h1 {
    font-size: 18px;
    color: #0056b3;
    margin-bottom: 4px;
}

.report-company p {
    font-size: 13px;
    color: #0056b3;
    line-height: 1.5;
}

.report-title {
    text-align: center;
    font-size: 16px;
    margin: 20px 0 25px;
    color: #222;
}

.controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.filters {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

.filter-group input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-action {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.btn-filter { background: #0056b3; color: white; }
.btn-filter:hover { background: #004085; }
.btn-export { background: #28a745; color: white; }
.btn-export:hover { background: #218838; }

.table-responsive {
    overflow-x: auto;
    margin-bottom: 30px;
}

.table-main {
    width: 100%;
}

.hidden {
    display: none;
}

.totals-row td {
    background-color: #c8c8c8 !important;
}

.total-label,
.totals-row .total-label {
    font-weight: 700;
    color: #000;
}

.summary-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.extra-totals {
    margin-top: 10px;
}

.extra-totals .table-responsive {
    width: fit-content;
    max-width: 100%;
}

.extra-totals table {
    width: auto;
    min-width: 320px;
    max-width: 420px;
}

.summary-section .table-responsive {
    width: fit-content;
    max-width: 100%;
}

.summary-section table {
    width: auto;
    min-width: 320px;
    max-width: 420px;
}

.totals-row td:last-child {
    text-align: center;
    width: 28%;
}

.report-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.report-container th,
.report-container td {
    border: 1px solid #bbb;
    padding: 8px 10px;
    text-align: left;
}

.report-container th {
    background-color: #0056b3;
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

.report-container tbody tr:nth-child(even) {
    background-color: #f0f4f8;
}

.report-container tbody tr:hover {
    background-color: #e3ecf7;
}

.summary-section {
    margin-top: 30px;
}

.summary-section h3 {
    font-size: 14px;
    color: #0056b3;
    margin-bottom: 10px;
}
