:root {
    --esu10-gold: #dbb400;
    --esu10-maroon: #7f0909;
    --esu10-purple: #302856;
    --esu10-gray: #2d2e2e;
}

/* =========================
   BASE ELEMENTS
========================= */
body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14.5px;
    line-height: 1.57143;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
    color: #6d6d6d;
}

h1,
h2 {
    margin-bottom: 0px;
    color: var(--esu10-gray);
}

hr {
    border-radius: 4px;
    border-top: 4px solid var(--esu10-gold);
}

/* =========================
   LINKS
========================= */
a {
    color: #31708F !important;
    font-weight: bold;
}

a:hover {
    color: #31708F;
    background-color: #E3F2F9;
    background: none !important;
}

a.link {
    color: var(--esu10-maroon);
    text-decoration: underline;
}

/* =========================
   FORM ELEMENTS
========================= */
label {
    display: block;
    margin: 6px 0px 0px 6px;
    font: 700 15px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--esu10-gray);
}

.formLabel {
    display: block;
}

small {
    display: block;
    margin-left: 6px;
    font-size: 13px;
    line-height: 1.4;
}

#error.error-text {
    color: #e33e3e;
}

/* Text inputs */
input[type="text"],
input[type="email"],
input[type="password"] {
    padding: 8px 12px;
    margin: 6px;

    font: 14px/20px "Open Sans", Helvetica, Arial, sans-serif;
    color: var(--esu10-gray);

    background-color: #fff;
    border: 2px solid var(--esu10-maroon);
    border-radius: 4px;

    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;

    box-sizing: border-box;
}

/* Input focus states */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: var(--esu10-gold);
    box-shadow: 0 0 0 3px rgba(219, 180, 0, 0.2);
}

/* =========================
   BUTTONS
========================= */
.site-button {
    display: inline-block;
    padding: 6px 12px;
    margin: 6px;
    min-width: 64px;

    font: 700 14px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--esu10-maroon);
    text-align: center;
    text-decoration: none;

    background: #fff;
    border: 2px solid var(--esu10-maroon);
    border-radius: 4px;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: all 0.3s ease;
}

.site-button:hover {
    background-color: var(--esu10-maroon);
    color: #fff;
}

input[type="submit"].site-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #eee;
    color: #777;
    border-color: #bbb;
    box-shadow: none;
}

.site-button.alt-colors {
    color: var(--esu10-gold);
    background: #fff;
    border: 2px solid var(--esu10-gold);
}

.site-button.alt-colors:hover {
    background-color: var(--esu10-gold);
    color: #fff;
}

.pure-button:hover,
.pure-button:focus {
    color: #31708F !important;
    background-color: #E6E6E6;
}

/* =========================
   LAYOUT COMPONENTS
========================= */
.container {
    align-items: center;
    background-color: #fff;
    padding: 16px;
    margin: 16px;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

#layout {
    min-height: 500px;
}

.mid {
    margin: auto;
    width: 400px;
}

.edge {
    line-height: 1.8em;
    width: 65%;
}

/* =========================
   HEADER & FOOTER
========================= */
.page-footer {
    background-color: #fff;
    padding: 24px 16px;
    margin: 16px;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--esu10-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.foot-imgs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
    /* flex-wrap: wrap; */
}

.foot-imgs img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 600px) {
    .page-footer {
        flex-direction: column;
        text-align: center;
    }

    .foot-imgs {
        flex-direction: column;
        gap: 16px;
        padding: 0 0;
    }

    .edge {
        line-height: 1.8em;
        width: 75%;
    }
}

@media (max-width: 380px) {
    h1 {
        font-size: 1.8em;
    }
}


#header {
    background: #E3F2F9;
    height: 100px;
}

#footer {
    background: #E3F2F9;
    color: #31708F;
    height: 200px;
}

.logo {
    height: 70px;
}

/* =========================
   ICONS & SPECIAL ELEMENTS
========================= */
.ph-eye {
    position: relative;
    right: 48px;
    top: 10px;
    cursor: pointer;
}

.ph-eye:before {
    content: url(./eye.svg)
}

.ph-eye-closed {
    position: relative;
    right: 48px;
    top: 10px;
    cursor: pointer;
}

.ph-eye-closed:before {
    content: url(./eye-closed.svg)
}