* {
    box-sizing: border-box;
}

:root {
    --form-bg: rgb(237, 243, 247);
    --card: #ffffff;
    --text: #202124;
    --muted: #5f6368;
    --border: #dadce0;
    --purple: #673ab7;
    --purple-dark: #5a31a3;
    --error: #db372d;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: var(--form-bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}


/* =========================
   PAGE
   ========================= */

.form-page {
    width: min(100% - 32px, 640px);
    margin: 0px auto 40px;
}


/* =========================
   MAIN CARD
   ========================= */

.form-card {
    background: var(--card);
    border: 1px solid #dadce0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 3px rgba(60, 64, 67, 0.08);
    margin-top: 12px;
    margin-bottom: 12px;
}


/* =========================
   LOGO
   ========================= */

.form-logo {
    padding: 0px;
    background: #ffffff;
}

.form-logo img {
    display: block;
    width: 100%;
    max-width: 640px;
    max-height: 170px;
    object-fit: contain;
    object-position: left center;
}


/* =========================
   HEADER
   ========================= */

.form-header {
    padding: 24px;
    margin-bottom: 14px;
}

.form-header h1 {
    margin: 0 0 14px;

    font-size: 32px;
    font-weight: 400;

    line-height: 1.25;
    letter-spacing: 0;
}

.form-header p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}


/* =========================
   QUESTION
   ========================= */

.question {
    padding: 24px;

    border-top: 2px solid #eeeeee;
}

.question label {
    display: block;

    margin-bottom: 6px;

    font-size: 16px;
    font-weight: 400;
}

.question label span {
    color: var(--error);
    margin-left: 3px;
}

.help {
    margin: 0 0 22px;

    color: var(--muted);

    font-size: 13px;
}


/* =========================
   DROPDOWN
   ========================= */

.select-wrap {
    position: relative;

    width: 100%;
}

.select-wrap::after {
    content: "";

    position: absolute;

    right: 16px;
    top: 50%;

    width: 8px;
    height: 8px;

    margin-top: -5px;

    border-right: 2px solid #5f6368;
    border-bottom: 2px solid #5f6368;

    transform: rotate(45deg);

    pointer-events: none;
}

select {
    appearance: none;
    -webkit-appearance: none;

    width: 100%;
    min-height: 52px;

    padding: 14px 48px 14px 16px;

    border: 1px solid var(--border);
    border-radius: 4px;

    background: #ffffff;

    color: var(--text);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;

    cursor: pointer;

    outline: none;
}

select:focus {
    border-color: var(--form-bg);

    box-shadow:
        0 0 0 1px var(--form-bg);
}

select:invalid {
    color: var(--muted);
}


/* =========================
   BUTTON
   ========================= */

.actions {
    padding: 0 0px 20px;
}

button {
    min-width: 92px;

    padding: 11px 24px;

    border: 1px solid #dadce0;
    border-radius: 4px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    position: relative;
    color: rgb(56, 126, 160);

    background: var(--card);

    box-shadow: 0 2px 3px rgba(60, 64, 67, 0.08);

}

button:hover {
    background: var(--form-bg);

    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.15);
}

button:active {
    box-shadow: none;
}


/* =========================
   REQUIRED NOTE
   ========================= */

.required-note {
    margin: 0;

    padding: 0 24px 24px;

    color: var(--error);

    font-size: 13px;
}


/* =========================
   FOOTER
   ========================= */

footer {
    display: flex;
    justify-content: space-between;

    gap: 16px;

    margin-top: 14px;
    padding: 0 4px;

    color: #5f6368;

    font-size: 11px;
}


.content-separator {
    background-color: rgb(165, 195, 216);
    color: rgba(0, 0, 0, 1);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    height: 10px;
    left: -1px;
    top: -1px;
    width: calc(100% + 2px);
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {

    .form-page {
        width: 100%;

        margin: 0 auto 32px;
    }

    .form-card {
        border-left: 0;
        border-right: 0;

        border-radius: 0;
    }

    .form-logo {
        padding: 22px 24px 0;
    }

    .form-header {
        padding: 22px 24px 26px;
    }

    .form-header h1 {
        font-size: 27px;
    }

    .question {
        padding: 26px 24px 30px;
    }

    .actions {
        padding: 0 24px 20px;
    }

    .required-note {
        padding: 0 24px 26px;
    }

    footer {
        padding: 0 16px;
    }
}