/* ----------------------------------------
   Base & General Styling
   ---------------------------------------- */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 20px;
}
.v-datalist-container.components-list {
  max-width: 960px;
  margin: 0 auto;
}


.tasks-heading {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #444;
}

/* ----------------------------------------
   Unified Tab Navigation
   ---------------------------------------- */
.v-tabs ul {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    list-style: none;
    padding: 0;
    margin: 0 3%;
    border-bottom: 1px solid #ddd;
}
.v-tabs li {
    display: inline-block;
    margin: 0;
}
.v-tabs a {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}
.v-tabs li.active > a {
    color: #3273dc;
    border-bottom: 3px solid #3273dc;
}
.v-tabs a:hover {
    background-color: #f0f0f0;
    border-radius: 4px;
}

/* ----------------------------------------
   Subheading & Main Container
   ---------------------------------------- */
.subheading-box {
    background-color: #f7fdf7;
    border-left: 4px solid #3c763d;
    padding: 0.75rem 1rem;
    margin: 1rem 3% 1.5rem 3%;
    border-radius: 4px;
}
.subheading-box .title {
    color: #3c763d;
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
}

/* Main container for the experiment section */
.v-datalist-container.components-list {
    border: 2px solid #8dc63f;
    border-radius: 8px;
    padding: 1rem 1rem 10px 1rem;
    background-color: #fafafa;
}
.v-datalist-title {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

/* ----------------------------------------
   Standardized Content Panel (for charts, observations, etc.)
   ---------------------------------------- */
.white-boxed-panel {
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}
.white-boxed-panel:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------
   Controls: Sliders & Buttons
   ---------------------------------------- */
.controls-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0.5rem 0;
}
.field {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    margin-bottom: 1rem;
}
.label {
    display: block;
    text-align: center;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.value-display {
    display: block;
    text-align: center;
    font-weight: bold;
    margin-top: 0.3rem;
    color: #3273dc;
}
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3273dc;
    cursor: pointer;
}
.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3273dc;
    cursor: pointer;
}

.buttons.has-addons .button.is-primary {
    background-color: #3273dc;
    color: #ffffff;
    border-color: #3273dc;
}
.buttons.has-addons .button {
    border: 1px solid #ddd;
}
.buttons.has-addons .button:hover:not(.is-primary) { 
    background-color: #f0f0f0;
    color: #333;
}

/* ----------------------------------------
   Chart & Animation Styling
   ---------------------------------------- */
.chart-wrapper { 
    position: relative;
    width: 100%;
    min-height: 250px; /* Minimum height for smaller charts */
}
#lineChart, #histogramChart, #combinedChart {
    width: 100% !important;
    height: 100% !important;
}

#observations p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
