/* Height and Weight Standards Page Styles */

/* General Styles */
.calculator-section {
    margin-bottom: 2rem;
}

.card {
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.card-header {
    border-radius: 0.5rem 0.5rem 0 0 !important;
    font-weight: 600;
}

/* Calculator Form */
.calculator-form {
    padding: 1rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    padding: 0.5rem;
}

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

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 1rem;
}

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

.table th {
    background-color: #343a40;
    color: white;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
}

.table td {
    text-align: center;
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* List Group Styles */
.list-group-item {
    border-left: none;
    border-right: none;
    padding: 0.75rem 1rem;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

.badge {
    font-size: 0.9rem;
    padding: 0.5em 0.75em;
}

/* Alert Styles */
.alert {
    border-radius: 0.25rem;
    margin-bottom: 0;
}

.alert-info {
    background-color: #e7f1ff;
    border-color: #b8daff;
    color: #0c5460;
}

/* FAQ Section */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 0.5rem;
}

.accordion-button {
    padding: 1rem;
    font-size: 1.05rem;
    color: #343a40;
    background-color: #f8f9fa;
}

.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0d6efd;
}

.accordion-body {
    padding: 1.25rem;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-header h2 {
        font-size: 1.1rem;
    }
    
    .table th, 
    .table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .accordion-button {
        font-size: 1rem;
        padding: 0.75rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .accordion-button {
        display: none;
    }
    
    .table {
        border: 1px solid #dee2e6;
    }
    
    .table th,
    .table td {
        border: 1px solid #dee2e6;
    }
    
    .card {
        border: 1px solid #dee2e6;
        box-shadow: none;
    }
    
    .card-header {
        background-color: #f8f9fa !important;
        color: #343a40 !important;
    }
} 