.max-w-5xl {
background: #DDDDDD;
border-radius: 16px;
}

.sub-header {
color: #64748b;
font-size: 1rem;
}

/* Unit Toggle */
.unit-toggle-container {
display: inline-flex;
background-color: #e2e8f0;
padding: 4px;
border-radius: 12px;
margin-top: 24px;
margin-bottom: 12px;
}

.toggle-btn {
border: none;
padding: 8px 24px;
font-size: 14px;
font-weight: 600;
border-radius: 8px;
cursor: pointer;
transition: all 0.2s;
background: transparent;
color: #64748b;
}

.toggle-btn.active {
background-color: #ffffff;
color: #059669;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.glass-card {
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 16px;
padding: 12px;
box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

/* Forms & Inputs */
.section-title {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 24px;
display: flex;
align-items: center;
gap: 6px;
color: #1e293b;
}

.input-group {
margin-bottom: 16px;
}

label {
display: block;
text-transform: uppercase;
font-size: 10px;
font-weight: 700;
color: #94a3b8;
margin-bottom: 6px;
letter-spacing: 0.05em;
}

input[type="number"], select {
width: 100%;
height: 56px;
height: 40px;
padding: 0 8px;
font-size: 16px;
font-weight: 500;
border: 1px solid #cbd5e1;
border-radius: 12px;
background-color: #ffffff !important; /* Forces white background */
color: #1e293b;
box-sizing: border-box;
transition: border-color 0.2s;
appearance: none; /* Removes browser-default shading/styling */
-webkit-appearance: none;
-moz-appearance: none;
}

/* Custom Arrow for select boxes to keep them flat and white */
select {
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right 1rem center;
background-size: 1.1em;
padding-right: 40px !important;
}

input[type="number"]:focus, select:focus {
outline: none;
border-color: #059669;
}

/* Main Panel Specifics */
.main-panel-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 32px;
}

.mode-toggle {
background-color: #f1f5f9;
padding: 4px;
border-radius: 12px;
display: flex;
}

.mode-btn {
border: none;
padding: 6px 24px;
font-size: 14px;
font-weight: 600;
border-radius: 8px;
cursor: pointer;
background: transparent;
color: #64748b;
}


.mode-btn.active {
background-color: #ffffff;
color: #059669;
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.activity-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px;
}

.full-width {
grid-column: span 2;
}

/* Results Dashboard */
.results-row {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 6px;
}

.result-card {
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 16px;
padding: 3px;
text-align: center;
border-bottom-width: 4px;
border-bottom-style: solid;
}

.res-time { border-bottom-color: #10b981; }
.res-cals { border-bottom-color: #3b82f6; }
.res-conv { border-bottom-color: #64748b; }
.res-eff { border-bottom-color: #f97316; }

.result-label {
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
color: #94a3b8;
letter-spacing: 0.1em;
margin-bottom: 8px;
}

.result-val {
font-size: 12pt;
font-weight: 700;
color: #0f172a;
margin: 0;
letter-spacing: -0.025em;
}

.res-total-burn {
font-size: 12px;
color: #1e293b;
margin-top: 8px;
font-weight: 700;
background-color: #eff6ff;
padding: 4px 8px;
border-radius: 99px;
display: inline-block;
}

/* Bottom Disclaimer Area */
.disclaimer-box {
margin-top: 24px;
background-color: #f8fafc;
border: 1px solid #f1f5f9;
border-radius: 16px;
padding: 16px;
text-align: center;
}

.disclaimer-text {
color: #475569;
font-style: italic;
font-weight: 500;
font-size: 11px;
line-height: 1.2;
margin: 0 auto;
max-width: 500px;
}

.footer-note {
color: #475569;
font-size: 11px;
line-height: 1.2;
margin-top: 8px;
}

.footer-credit {
margin-top: 20px;
text-align: center;
font-size: 12px;
}

.hidden { display: none !important; }
