﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@font-face {
    font-family: 'Archivo';
    src: url('../font/Archivo-VariableFont_wdth,wght.ttf') format('truetype');
}

:root {
    --primary: #ee486f; /* pink */
    --primary-updated: #e51546; /* accessible pink */
    --dark-primary: #062844; /* dark blue */
    --secondary: #36368b; /* purple */
    --light-secondary: #b0b0e4; /* light purple */
    --medium-secondary: #6b6cb1;
    --accent: #6db9e7; /* light blue */
    --accent-2: #f4ae10; /* yellow */
    --text-default: #062844;
    --text-link: #062844;
    --error: #dc3545;
    --bg-default: #ffffff;
    /* new colors */
    --neutral: #565c61; /* medium gray */
    --neutral-accent-1: #fbfdfe;
    --neutral-accent-2: #f6f6fa;
    --success: #14761a;
    --light-success: #e1e6e1;
    --border: #cccccc;
}

/* Dark theme styles */
@media (prefers-color-scheme: dark) {
    :root {
        --primary: #f072a4; /* light pink for dark mode */
        --primary-updated: #ff6188; /* brighter pink */
        --dark-primary: #ffffff; /* white text for dark mode */
        --secondary: #f4ae10; /* lighter purple */
        --light-secondary: #dcd6f7; /* very light purple */
        --medium-secondary: #6b6cb1;
        --accent: #84cdfa; /* brighter light blue */
        --accent-2: #ffd966; /* brighter yellow */
        --text-default: #ffffff; /* white text */
        --text-link: #ffffff; /* white links */
        --error: #ff6b6b; /* lighter red */
        --bg-default: #041829; /* very dark grey background */
        --neutral: #cfd2d6; /* lighter gray */
        --neutral-accent-1: #2d2d2d; /* darker grey */
        --neutral-accent-2: #424242; /* mid grey */
        --success: #8ce99a; /* brighter green */
        --light-success: #8ce99a; /* light green */
        --border: #757575; /* grey border */
        --universal-blue: #062844; /* light blue */
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Archivo', sans-serif;
    background: var(--bg-default);
    color: var(--dark-primary);
}

    body::before {
        z-index: -1;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1095" height="2164" viewBox="0 0 1095 2164" fill="none"><path opacity="0.1" d="M457.684 1500.32C427.564 1256.88 363.423 1054.11 325.82 871.89C286.698 669.335 239.351 449.24 399.125 295.785C515.961 180.441 714.417 190.481 856.597 257.274C1007.97 338.515 1092.09 469.391 994.562 733.466C1068.45 636.091 1106.37 515.177 1091.93 410.33C1045.97 77.7569 778.061 -1.68068 594.512 0.870846C418.992 3.40439 200.036 114.728 96.5716 329.053C25.8917 475.564 -3.03559 682.462 71.7142 1057.36C163.323 1516.37 125.759 1834.89 8.88889 2087.43C7.06729 2091.18 5.96644 2095.28 3.85654 2098.88C-1.55431 2108.55 -1.09116 2117.86 16.5831 2121.46C19.0256 2121.94 21.5422 2122.63 24.0588 2123.31C160.492 2157.2 297.61 2169.14 431.78 2161.12C435.615 2145.17 501.825 1856.07 457.824 1500.03L457.684 1500.32Z" fill="url(%23paint0_linear_2388_1132)"/><defs><linearGradient id="paint0_linear_2388_1132" x1="459.422" y1="41.4754" x2="192.952" y2="633.478" gradientUnits="userSpaceOnUse"><stop stop-color="%236DB9E7"/><stop offset="0.07" stop-color="%236CA2D7"/><stop offset="0.16" stop-color="%236B8AC6"/><stop offset="0.26" stop-color="%236B79BA"/><stop offset="0.37" stop-color="%236B6FB3"/><stop offset="0.5" stop-color="%236B6CB1"/><stop offset="1" stop-color="%23062844"/></linearGradient></defs></svg>');
        background-size: 100% 100%;
        position: fixed;
        top: 60vh;
        right: -60vw;
        display: inline-block;
        height: 1500px;
        width: 1500px;
        content: '';
    }

    body::after {
        z-index: -1;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1095" height="2164" viewBox="0 0 1095 2164" fill="none"><path opacity="0.1" d="M457.684 1500.32C427.564 1256.88 363.423 1054.11 325.82 871.89C286.698 669.335 239.351 449.24 399.125 295.785C515.961 180.441 714.417 190.481 856.597 257.274C1007.97 338.515 1092.09 469.391 994.562 733.466C1068.45 636.091 1106.37 515.177 1091.93 410.33C1045.97 77.7569 778.061 -1.68068 594.512 0.870846C418.992 3.40439 200.036 114.728 96.5716 329.053C25.8917 475.564 -3.03559 682.462 71.7142 1057.36C163.323 1516.37 125.759 1834.89 8.88889 2087.43C7.06729 2091.18 5.96644 2095.28 3.85654 2098.88C-1.55431 2108.55 -1.09116 2117.86 16.5831 2121.46C19.0256 2121.94 21.5422 2122.63 24.0588 2123.31C160.492 2157.2 297.61 2169.14 431.78 2161.12C435.615 2145.17 501.825 1856.07 457.824 1500.03L457.684 1500.32Z" fill="url(%23paint0_linear_2388_1132)"/><defs><linearGradient id="paint0_linear_2388_1132" x1="459.422" y1="41.4754" x2="192.952" y2="633.478" gradientUnits="userSpaceOnUse"><stop stop-color="%236DB9E7"/><stop offset="0.07" stop-color="%236CA2D7"/><stop offset="0.16" stop-color="%236B8AC6"/><stop offset="0.26" stop-color="%236B79BA"/><stop offset="0.37" stop-color="%236B6FB3"/><stop offset="0.5" stop-color="%236B6CB1"/><stop offset="1" stop-color="%23062844"/></linearGradient></defs></svg>');
        background-size: 100% 100%;
        transform: rotate(180deg);
        position: fixed;
        top: -1000px;
        left: -70vw;
        display: inline-block;
        height: 1500px;
        width: 1500px;
        content: '';
    }

.navbar-brand {
    display: inline-block;
    height: 60px;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('../image/full_logo.svg'); /* Light mode image */
}

p,
ul {
    color: var(--neutral);
}

/* Typography */
.display-large {
    font-size: 3.5rem;
    font-style: normal;
    font-weight: 900;
    line-height: 3.875rem; /* 110.714% */
    letter-spacing: -0.07rem;
}

.display-medium {
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 900;
    line-height: 2.875rem;
    letter-spacing: -0.07rem;
}

.display-small {
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 900;
    line-height: 2rem;
}

.page-title {
    margin-bottom: 32px;
}

.body-large {
    color: var(--neutral);
    font-size: 1.3125rem;
    font-weight: 400;
    line-height: 2rem; /* 152.381% */
}

.body-medium {
    color: var(--neutral);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 28px; /* 152.381% */
}

.label-small {
    color: var(--neutral);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.125rem;
}

.label-large {
    color: var(--dark-primary);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.5rem;
}

.tos-label {
    color: var(--neutral);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.125rem;
}

.primary-context {
    font-weight: 700;
}

/* Position */
.center {
    text-align: center;
}

/* Components */
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: var(--secondary);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
        color: var(--secondary);
    }

.btn-primary {
    min-width: 200px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 145%; /* 1.45rem */
    padding: 1.125rem 2.125rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.5rem;
    border: 1px solid var(--light-secondary);
    background: var(--dark-primary);
    background-image: linear-gradient(54deg, #062844 4.52%, #4b2b8e 59.43%, #ee486f 125.41%);
}

    .btn-primary:hover {
        border-radius: 0.5rem;
        border: 1px solid var(--medium-secondary);
        background: var(--dark-primary);
    }

.btn-secondary {
    min-width: 200px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 145%; /* 1.45rem */
    color: var(--dark-primary);
    display: flex;
    padding: 1.125rem 1.5rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    border: 1px solid var(--secondary);
    background: var(--bg-default);
}

    .btn-secondary:hover {
        color: var(--bg-default);
        border-radius: 0.5rem;
        border: 1px solid var(--me);
        background: var(--dark-primary);
    }

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Forms and Sign in cards */
.form-group {
    padding: 0.25rem;
    margin-bottom: 2rem;
}

.tight .form-group {
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    color: var(--dark-primary);
    border: 1px solid var(--light-secondary);
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 1.5rem */
}

    .form-control::placeholder,
    .form-select::placeholder {
        color: var(--neutral);
        font-weight: 300;
    }

.sign-in-card {
    align-self: center;
    flex: 1;
    padding: 2rem 2vw;
    margin: 4rem 0;
    max-width: 800px;
}

.sign-in-row,
confirm-row {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
}

.form-title {
    margin: 0 2rem;
}

.sign-in-form {
    display: flex;
    flex-direction: column;
    align-content: center;
    margin: 1.5rem 2rem 3rem 2rem;
}

.tight {
    margin: 0 1rem 3rem 1rem;
}

.sign-in-up-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--secondary);
    text-decoration: underline;
    background: none;
    border: none;
}

    .sign-in-up-link:hover {
        text-decoration: none;
    }

/* OTHER */

.hr {
    padding: 3rem;
    margin-top: 3rem;
}

.show {
    justify-content: center;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 16px;
}

.card-width {
    max-width: 800px;
}

.center-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
    min-height: fit-content;
}

.quote {
    margin-bottom: 1rem;
}

    .quote p {
        margin-bottom: 0;
    }

.bold {
    color: var(--dark-primary);
    font-weight: 700;
}

.italics {
    font-style: italic;
    font-weight: 300;
}


#passwordRequirements {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 1rem 0 0 0;
    column-gap: 1rem;
}

    #passwordRequirements .item {
        width: 40%;
        min-width: fit-content;
        font-size: 12px;
        margin-bottom: 0.5rem;
    }

.success {
    color: var(--success);
}

    .success:before {
        content: '✓'
    }

.error {
    color: var(--error);
}

    .error:before {
        content: '𐄂'
    }

/* Footer */
.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
}

.footer-wrap {
    display: flex;
    gap: 1rem;
}

.footer-link {
    color: var(--dark-primary);
}

    .footer-link:hover {
        text-decoration: underline;
        color: var(--secondary);
    }

.form-check {
    margin-left: 1.35rem;
    margin-top: 0.75rem;
}

    .form-check input {
        width: 1rem;
        height: 1rem;
        margin-left: -1.45rem; /*default is 1.25rem, but bigger size is better fit*/
    }

input[type='checkbox'] {
    accent-color: var(--secondary);
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.hide {
    display: none;
}

.show {
    display: flex;
}

.trial-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: 1rem 0;
}


.trial-form {
    width: 50%;
    min-width: 200px;
    height: fit-content;
    display: flex;
    flex-direction: column;
}

.trial-content {
    width: 50%;
    min-width: 200px;
    margin: 0 0 1rem 0;
    padding: 0 1rem 0 0;
}

.offset-content {
    margin: 5rem 0 1rem 0;
}

.sticky {
    height: fit-content;
    overflow: auto;
    position: -webkit-sticky;
    position: sticky;
    top: 1rem;
    padding: 0 1rem;
}

.trial-content-icon-list {
    list-style-type: none;
    margin-bottom: 1rem;
}

.list-none {
    list-style-type: none;
}

.sub-section {
    padding: 2rem 0;
}

.icon-align {
    display: flex;
    align-items: center;
    padding: 0 0 1rem 0;
}

/* icons */
.automatic:before {
    display: inline-block;
    content: ' ';
    background-image: url('../image/automatic-50.svg');
    background-size: 28px 28px;
    height: 28px;
    width: 28px;
    margin: 0 0.5rem 0 0;
}

.burst:before {
    display: inline-block;
    content: ' ';
    background-image: url('../image/bursts-50.svg');
    background-size: 28px 28px;
    height: 28px;
    width: 28px;
    margin: 0 0.5rem 0 0;
}

.seat:before {
    display: inline-block;
    content: ' ';
    background-image: url('../image/car-seat-50.svg');
    background-size: 28px 28px;
    height: 28px;
    width: 28px;
    margin: 0 0.5rem 0 0;
}

.law:before {
    display: inline-block;
    content: ' ';
    background-image: url('../image/law-50.svg');
    background-size: 28px 28px;
    height: 28px;
    width: 28px;
    margin: 0 0.5rem 0 0;
}

.learning:before {
    display: inline-block;
    content: ' ';
    background-image: url('../image/learning-50.svg');
    background-size: 28px 28px;
    height: 28px;
    width: 28px;
    margin: 0 0.5rem 0 0;
}

.money:before {
    display: inline-block;
    content: ' ';
    background-image: url('../image/money-circulation-50.svg');
    background-size: 28px 28px;
    height: 28px;
    width: 28px;
    margin: 0 0.5rem 0 0;
}

.credit:before {
    display: inline-block;
    content: ' ';
    background-image: url('../image/no-credit-cards-50.svg');
    background-size: 28px 28px;
    height: 28px;
    width: 28px;
    margin: 0 0.5rem 0 0;
}

.sell:before {
    display: inline-block;
    content: ' ';
    background-image: url('../image/sell-50.svg');
    background-size: 28px 28px;
    height: 28px;
    width: 28px;
    margin: 0 0.5rem 0 0;
}

.tollbooth:before {
    display: inline-block;
    content: ' ';
    background-image: url('../image/tollbooth-50.svg');
    background-size: 28px 28px;
    height: 28px;
    width: 28px;
    margin: 0 0.5rem 0 0;
}

.mail {
    display: block;
    content: ' ';
    background-image: url('../image/mail.svg');
    background-size: 200px 200px;
    height: 200px;
    width: 200px;
}

.oauth-provider-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 0;
}

.oauth-provider-list img {
    height: 42px;
    width: auto;
    cursor: pointer;
}

@media (prefers-color-scheme: dark) {
    .btn-primary {
        border: 1px solid var(--universal-blue);
        background: var(--secondary);
        color: var(--universal-blue);
    }

        .btn-primary:hover {
            color: var(--secondary);
            border: 1px solid var(--secondary);
            background: var(--bg-default);
        }

    .navbar-brand {
        background-image: url('../image/full_logo_white.svg'); /* Dark mode image */
    }

    .form-control,
    form-select {
        color: var(--universal-blue);
    }

    .automatic:before {
        background-image: url('../image/automatic-white.svg');
    }

    .burst:before {
        background-image: url('../image/bursts-white.svg');
    }

    .seat:before {
        background-image: url('../image/car-seat-white.svg');
    }

    .law:before {
        background-image: url('../image/law-white.svg');
    }

    .learning:before {
        background-image: url('../image/learning-white.svg');
    }

    .money:before {
        background-image: url('../image/money-circulation-white.svg');
    }

    .credit:before {
        background-image: url('../image/no-credit-cards-white.svg');
    }

    .sell:before {
        background-image: url('../image/sell-white.svg');
    }

    .tollbooth:before {
        background-image: url('../image/tollbooth-white.svg');
    }

    .mail {
        background-image: url('../image/mail-white.svg');
    }
}

@media only screen and (max-width: 768px) {
    .display-large {
        font-size: 3rem; /* Adjust the font size for smaller screens */
        line-height: 3.375rem; /* Adjust the line height accordingly */
    }

    .display-medium {
        font-size: 2rem;
        line-height: 2.25rem;
    }

    .body-large {
        font-size: 1rem; /* Adjust the font size for smaller screens */
        line-height: 1.5rem; /* Adjust the line height accordingly */
    }

    .label-small,
    .tos-label,
    .footer-link {
        font-size: 0.75rem; /* Adjust the font size for smaller screens */
        line-height: 1rem; /* Adjust the line height accordingly */
    }

    .form-group {
        margin-bottom: 1rem;
    }
}
