/* ============================================================ */
/* GENERAL                                                      */
/* ============================================================ */
body {
    background-color: #FFFFFF;
    color: #000000;
    text-align: center;
    font-size: 24px;
    font-family: system-ui;
    margin: 60px 30px;
    text-size-adjust: 100%;
}

h1 {
    font-weight: bold;
    font-size: 30px;
    margin: 0 30px;
}

h2 {
    font-size: 26px;
    font-weight: bold;
    margin: 0 0 30px;
    color: #000000;
}

/* ============================================================ */
/* LINKS                                                        */
/* ============================================================ */
a {
    font-weight: bold;
    text-decoration: none;
    color: #0066CC;
}

/* Used on land.php: the clinic address heading. */
/* Looks like body text, not a clickable link. */
.black-link,
.black-link:visited {
    color: #000000;
    text-decoration: none;
}

/* Used in middle.php and input.php for highlighted appointment times */
.blue {
    color: #0066CC;
}

/* ============================================================ */
/* SECTION GROUPING (input.php)                                 */
/* ============================================================ */
.title-block {
    margin-bottom: 100px;
}

section {
    max-width: 800px;
    margin: 0 auto 60px;
    padding-top: 30px;
    border-top: 1px solid #CCCCCC;
}

    section:first-of-type {
        border-top: none;
    }

.appointment-header {
    margin-bottom: 20px;
    padding-bottom: 40px;
}

/* ============================================================ */
/* APPOINTMENT TABLE (land.php)                                 */
/* ============================================================ */
table {
    table-layout: fixed;
    width: 100%;
}

th, td {
    border: 1px solid #CCCCCC;
    font-size: 24px;
    height: 40px;
}

th {
    font-weight: bold;
}

.table-spacing {
    margin-bottom: 60px;
}

.underline {
    text-decoration: underline;
}

/* ============================================================ */
/* FORM INPUTS                                                  */
/* ============================================================ */
label {
    display: block;
    font-size: 24px;
    margin: 20px auto 10px;
    max-width: 700px;
    text-align: left;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    font-size: 24px;
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #CCCCCC;
    padding: 8px;
    font-family: system-ui;
    box-sizing: border-box;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

    input[type="text"]:focus,
    input[type="tel"]:focus,
    input[type="email"]:focus,
    input[type="date"]:focus,
    textarea:focus {
        outline: none;
        border-color: #0066CC;
    }

input.smallinput {
    display: block;
    width: 100%;
    max-width: 700px;
    font-size: 24px;
    box-sizing: border-box;
    margin: 0 auto;
}

textarea.biginput {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    max-width: 700px;
    min-height: 70px;
    resize: none;
    overflow: hidden;
    font-size: 24px;
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #CCCCCC;
    padding: 8px;
    font-family: system-ui;
    box-sizing: border-box;
    margin: 0 auto;
}

::placeholder {
    color: #999999;
}

/* ============================================================ */
/* CHIP ROW (input.php)                                         */
/* ============================================================ */
.chip-row {
    display: grid;
    gap: 10px;
    max-width: 800px;
    margin: 15px auto 5px;
}

    .chip-row.cols-1 {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .chip-row.cols-2 {
        grid-template-columns: 1fr 1fr;
        max-width: 500px;
    }

.chip {
    appearance: none;
    width: 100%;
    box-sizing: border-box;
    font-family: system-ui;
    font-size: 18px;
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #CCCCCC;
    border-radius: 999px;
    padding: 10px 18px;
    min-height: 44px;
    cursor: pointer;
}

    .chip:hover {
        border-color: #0066CC;
    }

    .chip.selected {
        background-color: #0066CC;
        color: #FFFFFF;
        border-color: #0066CC;
    }

.clear-row {
    max-width: 800px;
    margin: 0 auto;
    text-align: right;
}

    .clear-row a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-family: system-ui;
        font-size: 18px;
        color: #0066CC;
        border: 1px solid #CCCCCC;
        border-radius: 999px;
        padding: 10px 18px;
        height: 44px;
        box-sizing: border-box;
        cursor: pointer;
    }

        .clear-row a:hover {
            border-color: #0066CC;
        }

/* ============================================================ */
/* BUTTONS                                                      */
/* ============================================================ */

/* .button2 */
.button2 {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-family: system-ui;
    font-size: 30px;
    font-weight: bold;
    background-color: #FFFFFF;
    color: #0066CC;
    border: 2px solid #0066CC;
    padding: 10px;
    margin: 20px;
    width: 300px;
    height: 100px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

    .button2:hover {
        background-color: #F5F5F5;
    }
