﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
    --border-color: #e1e1e1;
    --bg-color: #f1f1f1;
    --primary: #fb0a12;
    --text-color: #222;
}

html {
    box-sizing: border-box;
    font-size: 16px;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

ol,
ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.header {
    border-bottom: 2px solid var(--border-color);
    width: 100%;
    height: 80px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 64px;
}

    .header img {
        width: 160px;
        height: 40px;
        display: block;
    }

body {
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

main {
    width: 540px;
    border: 1px solid var(--border-color);
    background-color: white;
    border-radius: 8px;
    margin-bottom: 100px;
}

.text-primary {
    color: var(--primary);
}

.main-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

h1 {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.6px;
    color: var(--text-color);
}

p {
    /* WEB/Body/Medium */

    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.2px;
    color: var(--text-color);
}

.main-body {
    padding: 32px 20px 40px 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    position: relative;
}

    .input-group .input-icon {
        position: absolute;
        right: 0;
        top: 36px;
        right: 16px;
    }

    .input-group label {
        font-family: "Inter";
        font-style: normal;
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: -0.2px;
        color: var(--text-color);
        margin-bottom: 4px;
    }

    .input-group input {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 12px 16px;
        gap: 10px;
        border: none;
        height: 48px;
        background: #f1f1f1;
        border-radius: 2px;
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
    }

        .input-group input::placeholder {
            /* Chrome, Firefox, Opera, Safari 10.1+ */
            color: #929292;
        }

.validation-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.validation {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #676767;
    letter-spacing: -0.2px;
}

a.button {
    color: var(--text-color);
}

.button {
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 8px;
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

    .button img {
        margin-right: 10px;
    }

.button-primary {
    background-color: var(--primary);
    text-align: center;
    letter-spacing: -0.4px;
    color: #f7f7f7;
}

.button-ghost {
    background-color: transparent;
    color: var(--text-color);
    text-decoration: underline;
}

.button-outline {
    background: white;
    border: 1px solid var(--text-color);
}

.or-container {
    display: flex;
    align-items: center;
}

.line {
    flex: 1;
    height: 1px;
    background-color: var(--border-color);
}

.or {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    letter-spacing: -0.2px;
    margin-left: 16px;
    margin-right: 16px;
    color: var(--text-color);
}

.provider-container {
    padding-top: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.non-member {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    letter-spacing: -0.4px;
    color: var(--primary);
    display: block;
    margin: 0 auto;
}

    .non-member a {
        color: var(--primary);
        text-decoration: none;
    }

@media only screen and (max-width: 768px) {
    .header {
        margin-bottom: 0px;
    }

    main {
        width: 100%;
        border-radius: 0px;
        border: none;
        margin-bottom: 0px;
    }

    .main-header {
        border: none;
        padding-bottom: 0px;
    }
}

.body-container {
    margin-top: 60px;
    padding-bottom: 40px;
}

.welcome-page li {
    list-style: none;
    padding: 4px;
}

.logged-out-page iframe {
    display: none;
    width: 0;
    height: 0;
}

.grants-page .card {
    margin-top: 20px;
    border-bottom: 1px solid lightgray;
}

    .grants-page .card .card-title {
        font-size: 120%;
        font-weight: bold;
    }

        .grants-page .card .card-title img {
            width: 100px;
            height: 100px;
        }

    .grants-page .card label {
        font-weight: bold;
    }
