/* General Body Styles */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
background-color: #f4f7f9;
color: #333;
display: flex;
justify-content: center;
padding: 2rem;
line-height: 1.6;
}
.container {
max-width: 700px;
width: 100%;
}
/* Header Styles */
header {
text-align: center;
margin-bottom: 2rem;
}
h1 {
font-size: 1.8rem;
font-weight: 600;
color: #2c3e50;
margin: 0;
}
.subtitle {
font-size: 1rem;
color: #555;
margin-top: 0.5rem;
}
/* Main Card Styles */
.card {
background-color: #ffffff;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
border: 1px solid #e0e0e0;
}
/* Scenario Selector Styles */
.scenario-selector {
border: 1px solid #e0e0e0;
border-radius: 6px;
padding: 1rem 1.5rem;
margin-bottom: 2rem;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 1rem 2rem;
}
.scenario-selector legend {
font-size: 0.9rem;
font-weight: 500;
padding: 0 0.5rem;
color: #444;
}
.scenario-selector div {
display: flex;
align-items: center;
}
.scenario-selector label {
margin-left: 0.5rem;
cursor: pointer;
}
.scenario-selector input[type="radio"] {
cursor: pointer;
}
/* Input Grid Layout */
.input-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
margin-bottom: 2rem;
}
.input-group {
display: flex;
flex-direction: column;
}
/* Hidden class for inputs */
.input-group.hidden {
display: none;
}
.input-group label {
font-size: 0.9rem;
font-weight: 500;
margin-bottom: 0.5rem;
color: #444;
}
.input-group input {
padding: 0.75rem;
font-size: 1rem;
border: 1px solid #ccc;
border-radius: 4px;
width: 100%;
box-sizing: border-box; /* Important for consistent sizing */
transition: border-color 0.2s;
}
.input-group input:focus {
outline: none;
border-color: #3498db;
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}
/* Button Styles */

.button-container {
    display: flex;
    gap: 12px;     /* Sets the space between the buttons */
    margin-top: 2rem; /* Consistent margin with your input grid */
}

#predict-button, 
#reset-button {
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;

    flex-basis: 0; /* Start width from 0 */
    flex-grow: 1;  /* Allow growing (this will be overridden below) */
}

#predict-button {
    background-color: #3498db; /* Your original button color */
    flex-grow: 1.618;          /* Golden Ratio part 1 */
}

#predict-button:hover {
    background-color: #2980b9;
}

#predict-button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

#reset-button {
    background-color: #6c757d; /* A neutral, secondary color */
    flex-grow: 1;              /* Golden Ratio part 2 */
}

#reset-button:hover {
    background-color: #5a6268;
}

/* Result and Status Message Styles */
#status-message {
margin-top: 1.5rem;
padding: 1rem;
text-align: center;
font-size: 0.9rem;
color: #555;
background-color: #f9f9f9;
border: 1px solid #eee;
border-radius: 4px;
}
#result-container {
margin-top: 2rem;
border-top: 1px solid #eee;
padding-top: 1.5rem;
}
#result-container.hidden {
display: none;
}
#result-container h2 {
font-size: 1.2rem;
font-weight: 600;
margin-top: 0;
margin-bottom: 1rem;
color: #2c3e50;
}
#result-text {
background-color: #fdfdfd;
padding: 1rem;
border-radius: 4px;
border: 1px solid #e0e0e0;
font-family: "SF Mono", "Consolas", "Menlo", monospace;
font-size: 0.85rem;
white-space: pre-wrap;
word-wrap: break-word;
color: #333;
}
/* Footer Styles */
footer {
text-align: center;
margin-top: 2rem;
font-size: 0.85rem;
color: #777;
}
footer a {
color: #3498db;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
