* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f3f6fb;
    font-family: Arial, sans-serif;
    color: #1f2937;
}

.page {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 8px;
}

.subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 30px;
}

section {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

h2 {
    margin-top: 0;
    color: #0f766e;
}

h3 {
    margin-top: 24px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #0f766e;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.repeat-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.checks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.checks label,
.confirm {
    flex-direction: row;
    align-items: center;
    font-weight: 400;
}

.checks input,
.confirm input {
    width: auto;
}

button {
    border: 0;
    border-radius: 12px;
    padding: 11px 18px;
    background: #e0f2f1;
    color: #0f766e;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: #ccfbf1;
}

.submit {
    width: 100%;
    background: #0f766e;
    color: white;
    font-size: 18px;
    padding: 16px;
}

.date {
    color: #6b7280;
}

@media (max-width: 800px) {
    body {
        background: #ffffff;
    }

    .page {
        width: 100%;
        margin: 0;
        padding: 12px;
    }

    h1 {
        font-size: 24px;
        line-height: 1.25;
        text-align: left;
    }

    .subtitle {
        text-align: left;
        font-size: 15px;
    }

    section {
        padding: 18px 14px;
        border-radius: 14px;
        margin-bottom: 16px;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    }

    h2 {
        font-size: 19px;
        line-height: 1.3;
    }

    h3 {
        font-size: 16px;
    }

    .grid,
    .repeat-row,
    .checks {
        grid-template-columns: 1fr;
    }

    .repeat-row {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        padding: 12px;
        margin-bottom: 12px;
    }

    input,
    select,
    textarea {
        font-size: 16px;
        padding: 13px 14px;
        border-radius: 12px;
    }

    textarea {
        min-height: 130px;
    }

    button {
        width: 100%;
        padding: 14px;
        font-size: 15px;
        margin-top: 6px;
    }

    .submit {
        position: sticky;
        bottom: 10px;
        z-index: 20;
        box-shadow: 0 8px 25px rgba(15, 118, 110, 0.35);
    }

    .checks {
        gap: 8px;
    }

    .checks label {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        padding: 12px;
        border-radius: 12px;
    }
}
}