/* Custom styles for the Acute Cholecystitis Assessment Tool */

/* Main layout */
body {
    padding-bottom: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.form-section h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bs-gray-700);
}

/* Form elements */
.form-check {
    margin-bottom: 0.5rem;
}

.form-label {
    font-weight: 500;
}

.form-text {
    font-style: italic;
}

/* Results section */
#results-container {
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

#results-container h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bs-gray-700);
}

.results-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: var(--bs-gray-800);
}

.results-text {
    font-family: monospace;
    white-space: pre-wrap;
    padding: 1rem;
    border-radius: 0.25rem;
    background-color: var(--bs-gray-900);
    margin-bottom: 0.5rem;
}

/* Toast container */
#toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1050;
}

/* Sticky footer */
html {
    position: relative;
    min-height: 100%;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: var(--bs-gray-900);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-section, #results-container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}
