/* AI Generated CSS */

:root {
    --bg-color: #fcf9f2; /* Soft, warm off-white */
    --text-main: #333;
    --center-petal: #fbd63c; /* Bright yellow/gold */
    --outer-petal: #f2b5d4; /* Soft blossom pink */
    --button-bg: #4a90e2;
    --button-hover: #357abd;
    --warning: #e74c3c;
    --card-bg: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* --- Header & Status --- */
#header h1 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

#status {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    font-weight: 500;
}

#continue_button button {
    margin-top: 15px;
    background-color: #e67e22; /* Attention-grabbing orange for the data warning */
}

#input_warning {
    color: var(--warning);
    font-weight: bold;
    min-height: 24px; /* Prevents layout shift when warning appears/disappears */
    margin-bottom: 10px;
}

/* --- The Blossom Inputs --- */
#inputs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* General Dropdown Styling (Turning them into petals) */
select {
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid rgba(0,0,0,0.05);
    border-radius: 50%; /* Makes them perfectly round */
    width: 65px;
    height: 65px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    text-align: center;
    /* Center text nicely */
    text-align-last: center; 
}

select:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

select:focus {
    outline: none;
    border-color: #333;
}

/* Center Letter Petal */
#inputs > div:nth-child(1) select {
    background-color: var(--center-petal);
    width: 85px;
    height: 85px;
    font-size: 2rem;
}

/* Outer Letter Petals Container */
#inputs > div:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 260px; /* Forces them to cluster around the center visually */
}

/* Outer Letter Petals */
#inputs > div:nth-child(2) select {
    background-color: var(--outer-petal);
}

/* --- Buttons --- */
button {
    background-color: var(--button-bg);
    color: white;
    border: none;
    padding: 12px 35px;
    font-size: 1.2rem;
    border-radius: 25px; /* Pill shape */
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.2s, transform 0.1s;
}

button:hover {
    background-color: var(--button-hover);
}

button:active {
    transform: scale(0.95);
}

/* --- Outputs --- */
#outputs {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

#timing_output {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

#word_list_output {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
    max-height: 400px;
    overflow-y: auto; /* Allows scrolling if there are tons of words */
    column-count: 2; /* Splits the long list into 2 neat columns */
    column-gap: 20px;
    text-align: left;
    padding: 0 10px;
}

/* --- Footer --- */
#footer {
    margin-top: 30px;
    font-size: 0.9rem;
}

#footer a {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.2s;
}

#footer a:hover {
    color: #34495e;
    text-decoration: underline;
}

/* Custom Scrollbar for the word list to keep it sleek */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: #c1c1c1; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8; 
}