/* Custom CSS ------------------------------------------------------------- */
:root {
    --font-size: 16;
    --font-unit: px;
    --font-small: 0.88rem;
    --font-medium: 1.125rem;
    --font-large: 1.563rem;
    --font-xlarge: 2.5rem;
    --primary-color: #0251C5;
    --secondary-color: #6c757d;
    --btn-hover-color: #0247ad;
    --light-gray: #ededed;
    --dark-gray: #454545;
    --dark: #272727;
    --red: #B30000;
    --white: #fff;
    --purple: #4E2683;
    --valid-green: #108910;
    --alert-orange: #F4633A;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: calc(var(--font-size) * var(--font-unit));
    line-height: calc(1em + 0.5rem);
    -webkit-font-smoothing: antialiased;
    color: var(--dark-gray);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

.psc-frame {
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    padding-top: 3rem;
    position: relative;
    display: grid;
    align-items: start;
}

.psc-main-content {
    position: relative;
    margin: 0 auto;
    padding: 20px;
}

.psc-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    height: calc(100% - 50%);
    min-height: 35.8rem;
    width: 100%;
    overflow: hidden;

    .custom-bg {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.psc-gird-system {
    background-color: var(--white);
    width: 100%;
    max-width: 1420px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    column-gap: 5rem;
    padding: 1.25rem 4.813rem 5rem;
}

.psc-grid-item {
    grid-row: 1/2;
    grid-column: auto;
    &:nth-child(1) {
        padding-top: 1rem;
    }
}

.psc-fieldset {
    padding-bottom: 0.4rem;
}

.psc-input-label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
    padding-bottom: 0.2rem;
}

.psc-input {
    width: 100%;
    height: 100%;
    min-height: calc(3.125rem - 0.5rem);
    padding: 0.5rem;
    border: 2px solid var(--dark-gray);
    border-radius: 0;
    box-sizing: border-box;
    font-size: 1rem !important;
}

.psc-required-message {
    font-size: var(--font-small);
    font-weight: 600;
    line-height: 1;
}

.psc-start-btn {
    width: auto;
    height: 2.87rem;
    padding: 0.5rem 4.2rem;
    margin-top: 1rem;
    border: none;
    border-radius: 0;
    background-color: var(--dark-gray);
    color: var(--white);
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

.external-client-logo {
    width: auto;
    height: auto;
    max-height: 6rem;
    margin-right: auto;
}

.psc-welcome-title {
    font-size: var(--font-xlarge);
    font-weight: bold;
    line-height: 1.25;
    color: var(--dark-gray);
    padding: 2.5rem 0 1rem;
}

.psc-team-message {
    font-size: var(--font-medium);
    font-weight: 400;
    line-height: 1.25;
    color: var(--dark-gray);
    padding: 1rem 0 2rem;
}

.psc-support-message {
    font-size: var(--font-medium);
    font-weight: bold;
    line-height: 1.25;
    color: var(--dark-gray);
    padding: 1rem 0;
}

.psc-response-box {
    max-width: 622px;

    .submitText {
        background: #EDEDED 0% 0% no-repeat padding-box;
        box-shadow: 0px 8px 17px #00000033;
        border-radius: 5px;
        opacity: 1;
        margin-top: 4rem;
        padding: 1.25rem 2.4rem;
    }
}

.psc-response-title {
    color: var(--dark-gray);
    font-size: 1.5rem;
    font-weight: bold;
    padding-bottom: 1.4rem;
}

.psc-response-message {
    font-size: var(--font-medium);
    font-weight: 400;
    line-height: 1.25;
    color: var(--dark-gray);
}

.psc-input-error {
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
}

.psc-form:has(:invalid) .psc-start-btn {
    background-color: var(--dark-gray);
}

/* Media queries -------------------------- */

@media only screen and (max-width: 768px) {
    .psc-gird-system {
        grid-template-columns: 1fr;
        padding: 0 1rem 5rem;
    }

    .psc-bg-container {
        position: relative;
        overflow: visible;
        height: 100%;
        min-height: fit-content;
    }

    .psc-grid-item {
        grid-row: auto;
        padding-bottom: 1rem;
    }

    .psc-frame {
        padding-top: 0;
        grid-auto-rows: minmax(1rem, 6rem) auto;
    }

    .psc-start-btn {
        background-color: var(--primary-color);
        width: 100%;
    }

    .psc-response-box {
        .submitText {
            margin-top: 2rem;
        }
    }
}

@media only screen and (max-width: 600px) {
    .external-client-logo {
        margin: 0 auto;
    }

    .psc-welcome-title {
        font-size: 1.5rem;
    }

    .psc-team-message {
        padding: 0.5rem 0 0.99rem;
    }

    .psc-fieldset {
        padding-bottom: 1rem;
    }
}

/* End custom CSS ------------------------------------------------ */