/*****
 * Global styles shared amongst all signup pages
 ****/

/*
Add Fonts.
*/

.font-sans {
    font-family: Inter,Quicksand,sans-serif;
    color: rgb(75 85 99);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*
1. Prevent padding and border from affecting element width.
2. Allow adding a border to an element by just adding a border-width.
*/

*,
::before,
::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-size: 16px;
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
    margin: 0;
    line-height: inherit;
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
    color: inherit;
    text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
    font-weight: bolder;
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

input:read-only,
textarea:read-only {
    background-color: #F2F1F1;
    cursor: not-allowed;
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
    text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
    outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox.
*/

:-moz-ui-invalid {
    box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
    vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
    -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
    margin: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

legend {
    padding: 0;
}

ol,
ul,
menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
    resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox.
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: #a3a3a3;
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
    cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
    cursor: default;
}

/*
1. Make replaced elements `display: block` by default.
2. Add `vertical-align: middle` to align replaced elements more sensibly by default.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    vertical-align: middle;
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio.
*/

img,
video {
    max-width: 100%;
    height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden],
.hidden
{
    display: none !important;
}

#logo-link {
    display: flex;
    justify-content: center;
    margin-left: -5vw;
}

#logo {
    width: 100%;
}

.signup-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    min-height: 100vh;
    background: rgb(243, 245, 251);
    color: #4B5563;
    position: relative;
}

.inner-container {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
    padding: 0 15px;
}

.primary-title {
    width: 100%;
    font-size: 2rem;
    margin: 15px 0;
    line-height: 2.35rem;
    text-align: center;
    color: #3c3d59;
    font-weight: 800;
}

div.auth-section-header .primary-title {
    font-size: 30px;
    line-height: 30px;
    text-align: center;
}

.sign-up-select-plan-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sign-up-select-plan-header #logo-link {
    margin-left: 25px;
}

#logo-link img {
    height: 40px;
}

.secondary-title {
    font-size: 22px;
    font-weight: 200;
    text-align: center;
    width: 100%;
    color: #4c4d6d;
    margin-bottom: 15px;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 27px;
    margin: 10px 0;
    background-color: #1a92ce;
    border-radius: 30px;
    font-weight: 600;
    font-size: large;
    color: #ffffff;
    text-align: center;
    text-transform: capitalize;
    box-shadow: 0 0 0 4px rgba(039, 86, 245, 0.23);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.main-btn:hover {
    box-shadow: 0 0 0 6px rgba(039, 86, 245, 0.23);
}

.field {
    display: flex;
    width: 100%;
    padding: 0.875rem;
    margin-top: 1rem;
    color: #212121;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgb(0, 0, 0, .05);
    transition: all .2s ease-in-out;
}

.field:focus {
    border-color: #42b0e2;
    outline: #42B0E2;
}

.error-message {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #DC2626;
}

.de-emphasized-link {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 5px;
    text-align: center;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 200;
    color: #4b5563;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.de-emphasized-link.mb-50 {
    margin-bottom: 50px;
}

.de-emphasized-link:hover {
    color: #4d82c0;
}

.continue-container {
    flex-flow: row wrap;
    display: flex;
    width: 100%;
    margin-top: 20px;
    justify-content: center;
}

.selected.choice {
    border: 3px solid #4f63e7;
    background-color: white;
}

.choice:hover:not(.selected) {
    border-color: #4f63e7;
    cursor: pointer;
}

.auth-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    width: 100%;
}

.logout-form {
    position: absolute;
    bottom: 0;
    margin: 0 auto 20px;
}

/* overrides for tablet device size and up */
@media (min-width: 481px) {

    #logo-link {
        margin-left: -2vw;
    }

    div.auth-section-header #logo-link {
        margin-left: 0;
    }

    div.auth-section-header .primary-title {
        line-height: 30px;
    }

    .secondary-title {
        font-size: 26px;
    }

    .sign-up-select-plan-header #logo-link {
        margin-left: 0;
    }

}

/* overrides for laptop device size and up */
@media (min-width: 769px) {

    html #logo-link {      /* html is used to force an     */
        margin-left: 1vw;  /* explicit html page override  */
    }                      /* e.g. 'html.login #logo-link' */

    #logo {
        width: 25vw;
        margin-left: -2vw;
        min-width: 326px;
    }

    div.auth-section-header #logo {
        width: auto;
        margin-left: 0;
        min-width: auto;
    }

    .primary-title {
        font-size: 3vw;
        line-height: 3vw;
        margin: 15px 0 10px;
    }

    div.auth-section-header .primary-title {
        font-size: 30px;
        line-height: 30px;
        margin: 10px 0;
    }

    .secondary-title {
        font-size: 26px;
    }

    #create-account-container #logo-link {
        margin-left: 0;
    }

    #create-account-container .field {
        width: 48%;
        justify-content: space-between;
    }

    .sign-up-select-plan-header #logo-link {
        margin-left: 25px;
    }

    .logout-form {
        right: 20px;
        top: 20px;
    }

}
