﻿body {
    font-family: "Sarabun", sans-serif;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FEF3E2;
    user-select: none;
}

:where(.container, form, .input-field, header) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    background: #fff;
    padding: 30px 30px;
    margin: 30px 30px;
    border-radius: 12px;
    row-gap: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.container header img {
    width: 100px;
}

.container h4 {
    font-size: 1.25rem;
}

form .input-field {
    flex-direction: row;
    column-gap: 10px;
}

.input-field input {
    height: 45px;
    border-radius: 6px;
    outline: none;
    font-size: 1.125rem;
    text-align: center;
    border: 1px solid #ddd;
}

.input1 {
    width: 80px;
}

.input2 {
    width: 60px;
}

.input3 {
    width: 42px;
}

.input-field input:focus {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.input-field input::-webkit-inner-spin-button,
.input-field input::-webkit-outer-spin-button {
    display: none;
}

form button {
    margin-top: 25px;
    width: 100%;
    color: #837777;
    font-size: 1rem;
    border: none;
    padding: 9px 0;
    cursor: pointer;
    border-radius: 6px;
    pointer-events: none;
    background: #fadfb0;
    transition: all 0.2s ease;
}

form button.active {
    color: #fff;
    background: #f88e46;
    pointer-events: auto;
}

form button:hover {
    background: #ff6700;
}

.error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100svh;
}

.error img {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.error p {
    font-size: 20px;
    margin-bottom: 12px;
}