/* css/style.css */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    overflow: hidden;
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.header {
    text-align: center;
    padding: 10px 0;
    color: #8e8e93;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.question-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.question-text {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #1c1c1e;
}

.options-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}

.option-item {
    flex: 1;
    cursor: pointer;
}

.option-item input {
    display: none;
}

.option-card {
    background-color: #f2f2f7;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    padding: 5px;
}

.option-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3a3a3c;
    text-align: center;
}

.option-item input:checked + .option-card {
    background-color: #ffffff;
    border-color: #007aff;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
}

.option-item input:checked + .option-card .option-label {
    color: #007aff;
}

.footer-actions {
    padding-bottom: 30px;
}

#submit-btn {
    width: 100%;
    height: 60px;
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 8px 15px rgba(0, 122, 255, 0.2);
    transition: transform 0.1s;
}

#submit-btn:active {
    transform: scale(0.96);
}

#msg {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    min-height: 1.2rem;
}