﻿.welcome-page .logo {
    width: 64px;
}

.icon-banner {
    width: 32px;
}



.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;
    }

.responsive-logo {
    display: block;
    max-width: 80px;
    max-height: 40px;
    width: auto;
    height: auto;
}


body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    font-size: 14px;
    background-image: url('/images/dots_left.svg'), url('/images/dot_right.svg');
    background-position: left -30px bottom -50px, right -30px bottom -30px; /* Add 50px margin from the top */
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
    background-size: auto, contain;
    background-color: #f1f5f9;
    /*background: #eae3d9 url('/images/bg-transparent.png') top center no-repeat;*/
    color: #023047;
    /*background-attachment: fixed !important;
    background-size: cover !important;*/
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 100px);
}

.login-card {
    width: 580px;
    height: auto;
    padding: 2rem;
    background: #ffffff;
    background-size: cover !important;
    border: 0;
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.05);
    /*box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.05);*/
}

.login-card__header {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .login-card__header h1 {
        font-weight: 400;
        font-size: 46px;
        margin: 2rem 0;
    }

.login-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-card__sign-in {
    width: 332px;
    height: 53px;
    cursor: pointer;
    background: #f5f6fa;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 2.55px;
    line-height: 17px;
    border-radius: 8px;
    color: #023047;
}

.login-card__separator {
    display: flex;
    align-items: center;
    text-align: center;
    width: 30%;
    margin: 22px;
    font-weight: 400;
    font-size: 15px;
    line-height: 15px;
    letter-spacing: -0.38px;
}

    .login-card__separator::before,
    .login-card__separator::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #486484;
        opacity: 0.08;
    }

    .login-card__separator::before {
        margin-right: 10px;
    }

    .login-card__separator::after {
        margin-left: 10px;
    }

.form-group {
    position: relative;
    margin-bottom: 14px;
}

.form-control {
    width: 332px;
    height: 53px;
    background: #f5f6fa;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    padding: 0 14px;
    box-sizing: border-box;
    color: #7f8192;
    font-size: 14px;
    line-height: 17px;
}

    .form-control::placeholder {
        color: #7f8192;
        font-size: 14px;
        line-height: 17px;
        font-weight: 500;
    }

    .form-control:focus {
        outline: 1.5px solid #023047;
        outline-color: #023047;
        box-shadow: 0 0 10px rgba(2, 48, 71, 0.5);
    }

.form-group__toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

    .form-group__toggle-password img {
        width: 22px;
        height: 22px;
    }

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
    position: relative;
}

.form-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.form-actions__forgot-password {
    color: #f23000;
    font-weight: 400;
    font-size: 13px;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

    .form-actions__forgot-password::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 1px;
        width: 100%;
        background-color: #f23000;
    }

.form-actions__login-btn {
    width: 100%;
    color: white;
    background-color: #023047;
    border-radius: 8px;
    padding: 16px;
    font-weight: 600;
    font-size: 18px;
    margin: 34px 0;
    cursor: pointer;
}

.form-actions__no-account {
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    color: #151940;
    cursor: pointer;
}

@media only screen and (max-width: 768px) {
    .login-card {
        width: 380px;
        height: auto;
    }

    .login-card__sign-in {
        width: 232px;
        height: 33px;
        font-size: 13px;
        line-height: 13px;
        border-radius: 4px;
    }

    .login-card__header h1 {
        font-weight: 400;
        font-size: 36px;
    }

    .login-card__separator {
        width: 30%;
        margin: 12px;
        font-weight: 400;
        font-size: 12px;
        line-height: 12px;
        letter-spacing: -0.38px;
    }

    .form-control {
        width: 232px;
        height: 33px;
        border-radius: 4px;
        padding: 0 8px;
        font-size: 12px;
        line-height: 15px;
    }

    .form-group {
        margin-bottom: 8px;
    }

    .form-group__toggle-password {
        right: 5px;
    }

        .form-group__toggle-password img {
            width: 16px;
            height: 16px;
        }

    .form-actions__forgot-password {
        font-size: 11px;
    }

    .form-control::placeholder {
        font-size: 12px;
        line-height: 13px;
    }

    .form-actions__login-btn {
        border-radius: 4px;
        padding: 8px;
        font-size: 14px;
        margin: 20px 0;
    }

    .form-actions__no-account {
        font-size: 12px;
    }
}

@media only screen and (min-width: 2880px) {
    .login-card {
        width: 880px;
        height: 880px;
    }

    .login-card__header h1 {
        font-size: 66px;
    }

    .login-card__sign-in {
        width: 632px;
        height: 83px;
        font-size: 22px;
        line-height: 20px;
        border-radius: 17px;
    }

    .login-card__separator {
        width: 30%;
        margin: 52px;
        font-size: 22px;
        line-height: 18px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-control {
        width: 632px;
        height: 83px;
        border-radius: 17px;
        padding: 0 20px;
        font-size: 22px;
        line-height: 20px;
    }

    .form-group__toggle-password img {
        width: 27px;
        height: 27px;
    }

    .form-actions__login-btn {
        border-radius: 17px;
        padding: 19px;
        font-size: 25px;
        margin: 54px 0;
    }

    .form-actions__no-account {
        font-size: 22px;
    }

    .form-control::placeholder {
        font-size: 22px;
        line-height: 23px;
    }

    .form-actions__forgot-password {
        font-size: 22px;
    }
}


.btn {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
}

.btn-primary {
    background-color: #023047;
    color: white;
    border: #023047;
}

    .btn-primary:hover {
        background-color: #021f2a;
    }

/* Policy links footer styling */
.login-card__footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.policy-links {
    font-size: 12px;
    color: #7f8192;
}

.policy-text {
    font-size: 12px;
    color: #7f8192;
    margin-bottom: 8px;
    font-weight: 400;
}

.policy-link {
    color: #7f8192;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

    .policy-link:hover {
        color: #023047;
        text-decoration: underline;
    }

.policy-separator {
    margin: 0 8px;
    color: #7f8192;
}

@media only screen and (max-width: 768px) {
    .policy-links {
        font-size: 11px;
    }

    .policy-text {
        font-size: 11px;
    }

    .policy-separator {
        margin: 0 6px;
    }
}

@media only screen and (min-width: 2880px) {
    .login-card__footer {
        margin-top: 30px;
        padding-top: 30px;
    }

    .policy-links {
        font-size: 18px;
    }

    .policy-text {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .policy-separator {
        margin: 0 12px;
    }
}
