/* Specific logic for view switching */
.hidden {
    display: none !important;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f4f4f4;
    font-size: 18px;
}

.container {
    background: #ffffff;
    padding: 40px;
    border: 1px solid #000;
    max-width: 600px;
    width: 90%;
}

/* Enlarge Headings */
h1.company-name {
    font-size: 32px !important;
    text-align: left;
    margin-bottom: 15px !important;
}

/* Enlarge Footer Note (Description) */
.footer-note {
    font-size: 18px !important;
    line-height: 1.4;
    margin-bottom: 25px;
    color: #000;
}

.settings-grid {
    margin: 25px 0;
}

.option {
    margin-bottom: 25px;
    font-size: 20px;
}

/* Enlarge Range Text */
.link-date {
    display: block;
    font-size: 16px !important;
    color: #333 !important;
    margin-top: 5px;
    font-weight: normal;
}

input[type="number"] {
    font-size: 16px;
    padding: 2px 5px;
    width: 55px;
    font-family: "Times New Roman", serif;
}

input[type="checkbox"] {
    transform: scale(1.4);
    margin-right: 10px;
    vertical-align: middle;
}

select {
    font-size: 18px;
    padding: 4px;
    font-family: "Times New Roman", serif;
}

/* Shared button style for Start/Recap */
.action-btn {
    font-family: "Times New Roman", serif;
    font-size: 20px;
    padding: 8px 20px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #000;
}

.action-btn:hover {
    background: #f0f0f0;
}

/* GAME UI */
#game-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    z-index: 999;
}

.stats-bar {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

.problem-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 64px;
}

#answer-input {
    font-size: 64px;
    width: 180px;
    margin-left: 20px;
    border: 2px solid #000;
    padding: 5px;
    font-family: "Times New Roman", serif;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.final-score {
    font-size: 48px;
    margin: 30px 0;
    font-weight: bold;
    color: #000080;
}
