/* ----------------------------------------
   Base & General Styling
   ---------------------------------------- */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 20px;
}

.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;
}

.v-datalist-container.components-list {
    border: 2px solid #8dc63f;
    border-radius: 8px;
    padding: 1rem;
    background-color: #fafafa;
}

.v-datalist-title{
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.v-datalist-subtitle {
    text-align: center;
    font-weight: 600;
    color: #363636;
    margin-bottom: 1rem;
}

/* ----------------------------------------
   Standardized Content Panel
   ---------------------------------------- */
.white-boxed-panel {
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* ----------------------------------------
   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: 250px;
    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: #e6e6e6;
    outline: none;
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3273dc;
    cursor: pointer;
}

#toggleModeBtn {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ----------------------------------------
   Chart & Animation Styling
   ---------------------------------------- */
.chart-wrapper { 
    position: relative;
    width: 100%;
    min-height: 250px; /* Minimum height for smaller charts */
}

.nucleus-img {
    position: absolute;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    transition: all 400ms ease-in-out;
}

#animationContainer {
    position: relative;
    width: 100%;
    height: 624px; /* Match height of right panel */
    background-color: #fdfdfd;
    border-radius: 4px;
    border: 1px dashed #ccc;
    overflow: hidden;
}

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