body {
    background-color: #f8f9fa;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1rem;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

#searchResults {
    margin-top: 2rem;
}

#resultsContent {
    max-height: 500px;
    overflow-y: auto;
}

.table {
    margin-bottom: 0;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.nested-table {
    margin: 10px 0;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.nested-table .nested-table {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
}

.nested-table table {
    margin-bottom: 0;
}

.nested-table strong {
    color: #0d6efd;
    font-weight: 600;
}

.table td strong {
    color: #0d6efd;
    font-weight: 600;
}

.table-responsive {
    margin-bottom: 1rem;
}

#resultsContent .table {
    margin-bottom: 0;
}

#resultsContent h4 {
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.table-sm td {
    padding: 0.5rem;
    vertical-align: middle;
}

.nested-table .table-sm {
    background-color: #ffffff;
}

/* Results Styling */
.results-container {
    max-width: 100%;
    margin: 0 auto;
}

.result-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.result-header {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.result-header h4 {
    color: #0d6efd;
    margin: 0;
    font-size: 1.25rem;
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.result-key {
    min-width: 200px;
    font-weight: 600;
    color: #0d6efd;
}

.result-value {
    flex: 1;
    min-width: 200px;
}

/* Nested Content Styling */
.nested-table {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    margin: 10px 0;
}

.nested-item {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.nested-header {
    margin-bottom: 10px;
}

.nested-header h5 {
    color: #495057;
    margin: 0;
    font-size: 1.1rem;
}

.nested-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nested-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.nested-key {
    min-width: 150px;
    font-weight: 600;
    color: #0d6efd;
}

.nested-value {
    flex: 1;
    min-width: 150px;
}

/* Alert Styling */
.alert {
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-info {
    background-color: #e7f5ff;
    border-color: #b8daff;
    color: #004085;
}

/* Text Styling */
.text-muted {
    color: #6c757d !important;
    font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .result-row,
    .nested-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .result-key,
    .nested-key {
        min-width: 100%;
    }
    
    .result-value,
    .nested-value {
        min-width: 100%;
    }
}

/* Data Table Styling */
.data-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.data-table-container table {
    width: 100%;
    margin-bottom: 0;
}

.data-table-container th {
    background-color: #f8f9fa;
    color: #0d6efd;
    font-weight: 600;
    white-space: nowrap;
    padding: 12px 15px;
    border-bottom: 2px solid #dee2e6;
}

.data-table-container td {
    padding: 10px 15px;
    vertical-align: middle;
    border: 1px solid #dee2e6;
}

.data-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.data-section h5 {
    color: #0d6efd;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.dependents-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.dependents-section h6 {
    color: #495057;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Responsive Table */
@media (max-width: 768px) {
    .data-table-container {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .data-section {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .data-table-container th,
    .data-table-container td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
} 