body {
    background-color: #f8f9fa;
}

.navbar-brand {
    letter-spacing: 0.5px;
}

#adminNav .nav-link {
    font-weight: 600;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
}

#adminNav .nav-link:hover {
    color: #fff;
}

#adminNav .text-light,
#adminNav .btn-outline-light {
    font-weight: 600;
}

.nav-link.active {
    font-weight: 700;
    color: #fff;
    border-bottom: 2px solid #fff;
}

.view {
    animation: fadeIn 0.15s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.card {
    border: none;
}

.table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
    font-size: 0.9rem;
}

.table .text-success { color: #198754 !important; font-weight: 500; }
.table .text-danger { color: #dc3545 !important; font-weight: 500; }

.table-hover tbody tr {
    cursor: default;
}

.table-hover tbody tr.clickable-row {
    cursor: pointer;
}

.table-hover tbody tr.clickable-row:hover {
    background-color: #e9ecef;
}

.badge {
    font-weight: 500;
}

#clientCompanyList .badge,
#holdingCompanyList .badge {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
}

.btn-group .btn-check:checked + .btn-outline-primary {
    color: #fff;
}
.btn-group .btn-check:checked + .btn-outline-success {
    color: #fff;
}
.btn-group .btn-check:checked + .btn-outline-danger {
    color: #fff;
}

.client-header {
    background: #0f766e;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.client-header .badge {
    font-size: 0.75rem;
}

.stat-card {
    border-left: 4px solid;
    transition: transform 0.15s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card.border-primary { border-left-color: #0d6efd; }
.stat-card.border-success { border-left-color: #198754; }
.stat-card.border-info { border-left-color: #0dcaf0; }

.company-card {
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    border-left: 4px solid #0d6efd;
}

.company-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1) !important;
}

.tx-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.tx-detail-row:last-child {
    border-bottom: none;
}

.tx-detail-label {
    font-weight: 600;
    color: #6c757d;
    min-width: 160px;
}

.tx-detail-value {
    text-align: right;
}

.filter-bar {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.8rem;
    }
    .client-header {
        padding: 1rem;
    }
    .filter-bar {
        flex-direction: column;
    }
}

.mobile-tx-row {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-tx-row:last-child {
    border-bottom: none;
}

.receipt-icon {
    color: #dc3545;
    cursor: pointer;
    font-size: 1.1rem;
}

.receipt-icon:hover {
    color: #a71d2a;
}

.form-section {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.form-section h6 {
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}
