﻿/* Mobile Breakpoint */
@media (max-width: 575px) {
    body {
        font-size: 12px;
    }

    .card {
        padding: 20px 14px;
        gap: 16px;
        width: 100%;
        max-width: 300px;
    }

    form {
        gap: 8px;
    }

    input {
        padding: 8px 12px;
    }

    .card-logo {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .expanded-textbox-message-wrapper .field-validation-error {
        margin-top: 4px;
        display: block;
        width: 100%;
        word-break: break-word;
        white-space: normal;
    }

    .checkbox-wrapper {
        font-size: 10px;
    }

    footer {
        display: flex;
        flex-direction: column;
        font-size: 8px;
    }

    footer span {
        align-self: start;
    }
}

/* Tablet Breakpoint */
@media (min-width: 575px) and (max-width: 768px) {
    body {
        font-size: 12px;
    }

    .card {
        padding: 24px 16px;
        gap: 24px;
        width: 400px;
    }

    .card-logo {
        height: 48px;
    }

    form {
        gap: 10px;
    }

    input {
        padding: 10px 14px;
    }

    .checkbox-wrapper {
        font-size: 10px;
    }

    .expanded-textbox-message-wrapper .field-validation-error {
        margin-top: 4px;
        display: block;
    }

    footer {
        font-size: 10px;
    }
}

/* Desktop/Widescreen Breakpoint */
@media (min-width: 769px) {
    .card {
        padding: 30px 20px;
        gap: 32px;
    }

    body {
        font-size: 16px;
    }

    .card-logo {
        height: 48px;
        padding: 0px 12px;
    }

    form {
        gap: 12px;
    }

    input {
        padding: 12px 16px;
    }

    .checkbox-wrapper {
        font-size: 12px;
    }

    .expanded-textbox-message-wrapper .field-validation-error {
        margin-top: 8px;
        display: block;
    }

    footer {
        font-size: 12px;
    }
}

@font-face {
    font-family: 'Matter';
    src: url('/fonts/Matter/Matter-Regular.ttf');
    src: url('/fonts/Matter/Matter-Regular.woff2');
    font-weight: normal;
    font-style: normal;
}

html, body {
    font-family: 'Matter', sans-serif;
}

body {
    background: linear-gradient(#112846EE, #112846EE), url(/images/shared/_externallayout/login-background.jpg);
    background-size: cover;
    display: grid;
    grid-template-rows: 1fr auto;
    width: 100%;
    min-height: 100vh;
    padding: 12px;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: inherit;
}

main {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    flex-direction: column;
}

.card {
    background: #FAFAFA !important;
    box-shadow: 0px 0px 8px white !important;
    overflow: hidden;
    border-radius: 20px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    display: flex;
}

form {
    align-self: stretch;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    display: flex;
}

input {
    align-self: stretch;
    background: white !important;
    border-radius: 8px;
    border: 1px #6D6B73 solid !important;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    display: inline-flex;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    width: 100%;
}

.expanded-textbox-message-wrapper {
    align-self: stretch;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

label {
    font-family: inherit;
    font-size: inherit;
    font-weight: 350;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px #6D6B73 solid;
    align-self: center;
}

button[type="submit"] {
    align-self: stretch;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    background: #EEB92C !important;
    border-radius: 8px;
    border: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: inline-flex;
    font-family: inherit;
    font-size: inherit;
}

footer {
    height: min-content;
    align-self: stretch;
    justify-content: space-between;
    align-items: flex-end;
    display: inline-flex;
    color: white;
}