/* --- General --- */
body {
    background-color: var(--neutral-900);
    color: var(--white);
    position: relative;
    height: fit-content;
    min-height: 100%;
}

main {
    padding: 24px;
    margin: 0 auto;
    transition: max-width 0.25s ease-in-out;
}

main.medium {
    max-width: 656px;
}

main.large {
    max-width: 900px;
}

h1 {
    font-family: 'Gilroy';
    font-size: 32px;
    margin-top: 24px;
    line-height: 40px;
}

.page-subtitle {
    margin-top: 24px;
    font-size: 18px;
    line-height: 28px;
}

a {
    color: var(--lightBlue);
    font-weight: 600;
}

a:hover {
    color: var(--lightBlue);
}

input[type='checkbox'] {
    transform: scale(1.4);
    margin-right: 8px;
    accent-color: var(--lightBlue);
}

button[type="submit"], .proceed-to-login-button {
    padding: 16px 32px;
    font-size: 16px;
}

form {
    margin-top: 24px;
}

form > div:not(.company-info-container) {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

label {
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: var(--white);
    margin-bottom: 4px;
}

input {
    padding: 8px 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    background-color: var(--white);
    border: 2px solid transparent;
    border-radius: 5px;
    color: var(--black);
}

input.error {
    border-color: var(--red);
}

input[readonly] {
    background-color: var(--neutral-200);
}

.just-validate-error-label {
    color: var(--red) !important;
}

.selectize-input {
    padding-block: 12px !important;
    box-shadow: none !important;
}

.checkbox-container, input[type="checkbox"] {
    cursor: pointer;
}

/* --- Horizontal separator --- */
.horizontal-separator {
    margin: 0px;
}

.horizontal-separator p {
    color: var(--neutral-600);
}

.horizontal-separator span {
    background-color: var(--neutral-600);
}

/* --- Social login --- */
.social-login-container {
    margin-top: 24px;
}

.social-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 60px;
    border-radius: 5px;
    background-color: var(--neutral-800);
    color: var(--white);
}

.social-login-button img {
    width: 24px;
}

/* --- Lights --- */
.lights {
    position: absolute;
    height: 320px;
    z-index: -1;
}

.lights.top-left {
    top: 0;
    left: 0;
}

.lights.top-right {
    top: 0;
    right: 0;
}   

.lights.bottom-left {
    bottom: 0;
    left: 0;
}

.lights.bottom-right {
    bottom: 0;
    right: 0;
}

/* --- Password --- */
.password-container {
    position: relative;
}

.password-container input {
    width: 100%;
    padding-right: 56px;
}

.password-container button {
    position: absolute;
    right: 16px;
    top: 24px;
    transform: translateY(-50%);
    background-color: transparent;
    padding: 8px;
}

@media screen and (min-width: 768px) {
    main {
        padding: 48px;
    }

    h1 {
        font-size: 48px;
        margin-top: 32px;
        line-height: 60px;
    }

    .page-subtitle {
        margin-top: 32px;
    }

    form {
        margin-top: 32px;
    }

    input {
        padding: 14px 16px;
        font-size: 20px;
    }

    .selectize-input {
        padding-block: 16px !important;
    }

    .lights {
        height: 400px;
    }

    .password-container button {
        top: 32px;
    }
}