body {
    background-color: #f8f9fa; /* A light grey background */
}

.card {
    border: none; /* Removes the default card border for a cleaner look */
    margin-bottom: 20px; /* Add margin below cards */
}

/* Custom styling for the results card to make it stand out */
.results-card {
    border-left: 5px solid #066E8C; /* A blue left border for emphasis */
    animation: fadeIn 0.5s; /* A simple fade-in animation */
}

/* Specific styling for the new description list for better spacing */
.variant-details-list dt {
    font-weight: 500;
}
.variant-details-list dd {
    margin-bottom: 0.5rem;
}

/* Style for the functional studies table */
.studies-table {
    font-size: 0.9rem;
}

/* Highlighting for important studies, using a Bootstrap color variable */
.studies-table .table-highlight {
    background-color: var(--bs-primary-bg-subtle) !important;
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style for the "not found" alert */
.alert-warning {
    animation: fadeIn 0.5s;
}

/* Makes sure the Select2 search box matches the Bootstrap 5 theme */
.select2-container--bootstrap-5 .select2-selection {
    font-size: 1rem;
    padding: 0.375rem 0.75rem;
    min-height: calc(1.5em + 0.75rem + 2px);
}

/* --- NEW: Spacing for summary items --- */
.summary-item {
    margin-right: 1.5rem; /* Adds space between items in the summary line */
    padding: 0.25rem 0; /* Adds a little vertical padding */
}

/* Style for the "Click for more details" button */
.results-summary .btn {
    padding: 0.25rem 0.25rem; /* Smaller padding for a less prominent button */
    /* font-size: 0.875rem;  Smaller font size */ 
    color: #fff;
    line-height: 1.5; /* Adjust line height */
    border-radius: 0.25rem; /* Slightly smaller border-radius */
    background-color: #066E8C;
}

.results-summary .btn:hover {
    background-color: #066E8C;
}

/* Variant Classification Highlighting */
.acmg-pathogenic {
  background-color: #d9534f !important;
}

.acmg-likely-pathogenic {
  background-color: #f0ad4e !important;
}

.acmg-likely-benign {
  background-color: #a6d96a !important;
}

.acmg-vus {
  background-color: #5bc0de !important;
  color: black;
}

.acmg-benign {
  background-color: #1a9641 !important;
}

.acmg-conflicting {
    background-color: #0dcaf0;
    color: black;
}
