.container
{
    background-color: #F2EEE4;
    padding: 64px 0 160px 0;
}

.content
{
    margin: 0 auto;
    background-color: #FFFFFF;
    max-width: 900px;
    position: relative;
    box-shadow: 0 0 16px rgba(39, 14, 0, 0.2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 64px 112px;
    box-sizing: border-box;
    text-align: left;
    font-family: 'Work Sans', serif;
}

.content-title
{
    font-size: 42px;
    line-height: 48px;
    color: #943524;
    text-align: left;
    font-family: 'Work Sans', serif;
    font-weight: 700;
    margin-bottom: 16px;
}

.content-header,
.content-text
{
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 16px;
}

.content-subheader
{
    margin-bottom: 16px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

.infobox
{
    padding: 8px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    background-color: #FEFDFC;
    border: 1px solid #F1EBE2;
}

.infobox-title,
.infobox-content
{
    display: flex;
    gap: 6px;
    justify-content: flex-start;
}

.infobox-title-text
{
    font-size: 14px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
}

.infobox-icon
{
    color: #943524;
}

.infobox-content-text
{
    font-size: 14px;
    font-family: 'Work Sans', sans-serif;
}

.profession-title
{
    font-size: 28px;
    line-height: 34px;
    font-family: 'Work Sans', serif;
    color: #943524;
    font-weight: 700;
    margin-bottom: 16px;
}

.profession-selector
{
    font-family: 'Work Sans', sans-serif;
    width: 100%;
}

.cards
{
    width: 100%;
}

.profession-selector input[type="radio"]
{
    display: none;
}

.profession-selector .cards
{
    display: flex;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.profession-selector .card
{
    flex: 1;
    padding: 20px 24px;
    border: 2px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: border-color .2s, background .2s;
    background: #9F9485;
}

.profession-selector .card.selected
{
    background: #A7AA7D;
    z-index: 1;
    position: relative;
}

.profession-selector .card.selected::after {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 4px solid #943524;
    border-radius: 8px;
    pointer-events: none;
    z-index: -1;
}


.profession-icon
{
    font-size: 50px;
    color: #fff;
    margin-bottom: 12px;
}

.profession-card-content
{
    font-size: 20px;
    line-height: 24px;
    color: #FFFFFF;
}

.profession-selector .panel
{
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.sub-selector
{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sub-card
{
    position: relative;
    display: flex;
    align-items: center;
    background: #FAF8F4;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    z-index: 1;
    padding: 0 12px 0 0;
}

.sub-card.selected
{
    background: #E8E8DB;
}

.sub-card.selected::after
{
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 4px solid #7e816e;
    border-radius: 12px;
    pointer-events: none;
    z-index: -1;
}

.sub-img
{
    width: 104px;
    height: 104px;
    object-fit: cover;
    margin-right: 1rem;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
}

.sub-content
{
    display: flex;
    gap: 12px;
    align-items: center;
}

.sub-text
{
    flex: 1;
    margin: 0 1rem;
}

.sub-text strong
{
    display: block;
    font-family: 'Work Sans', serif;
    color: #191A16;
    font-size: 20px;
}

.sub-text p
{
    font-size: 20px;
    padding: 0;
    margin: 0;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    min-width: 24px;
    height: 24px;
    border: 2px solid #E3D6C5;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin: 0;
}

input[type="checkbox"]:checked {
    background: #fff;
}

input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 4px; left: 8px;
    width: 4px; height: 8px;
    border: solid #191A16;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sub-placeholder {
    margin-top: .5rem;
}

.extra-inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.extra-inputs input {
    flex: 1;
    border: 1px solid #ccc;
    box-shadow: 0 2px 3px rgba(39, 14, 0, 0.15) inset;
    border-radius: 8px;
    background-color: #faf8f4;
    box-sizing: border-box;
    font-size: 16px;
    color: #81796e;
}

.location-inputs
{
    display: flex;
    flex-direction: row;
    gap: 24px;
    box-sizing: border-box;
}

.location-inputs .floating:first-child {
    flex: 0 0 30%;
}

.location-inputs .floating:last-child {
    flex: 1;
}

.checkbox-list
{
    display: flex;
    gap: 24px;
}

.checkbox-list-side
{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-list-side-title
{
    text-transform: uppercase;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.outer-label
{
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
}

/* Upload field wrapper */
.upload-input
{
    margin-top: 8px;
    position: relative;
    width: 100%;
}

.upload-box
{
    width: 100%;
    display: inline-block;
    position: relative;
    border: 3px dashed #ccc;
    border-radius: 8px;
    background-color: #faf8f4;
    cursor: pointer;
    padding: 16px;
    text-align: center;
    transition: border-color .2s, background-color .2s;
    box-sizing: border-box;
}

.upload-box .upload-content.empty
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: #81796e;
    font-size: 1rem;
}

/* Upload icon */
.upload-box .upload-content i.upload-icon
{
    font-size: 1.5rem;
    color: #943524;
}

/* When a file is present */
.upload-box .upload-content.uploaded
{
    display: flex;
    justify-content: space-between;
    color: #191a16;
}

.upload-box .upload-content.uploaded .file-info
{
    display: flex;
    align-items: center;
    gap: 8px;
}

.upload-box .upload-content.uploaded .file-info i
{
    font-size: 24px;
    color: #191a16;
}

.upload-box .upload-content.uploaded .remove-file
{
    cursor: pointer;
    color: #943524;
    font-size: 24px;
}

.upload-text,
.file-info-text
{
    display: flex;
    flex-direction: column;
    align-items: start;
}

#extra-text-container
{
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.extra-text-arrow
{
    display: flex;
    align-items: center;
    font-size: 22px;
}

.extra-text-arrow i
{
    transform: rotate(90deg);
}

#extra-text-container .floating
{
    flex: 1;
}


.form-buttons {
    display: flex;
    width: 100%;
    gap: 16px;
}

.form-button {
    flex: 1;
    padding: 24px 7px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    border: 2px solid #943524;
    border-radius: 8px;
    background-color: transparent;
    color: #943524;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
}

.form-button-filled {
    background-color: #943524;
    color: #ffffff;
    outline: none;
    padding: 12px 24px;
}

.form-button:hover:not(:disabled)
{
    background-color: #943524;
    color: #ffffff;
    outline: none;
}

.form-button:disabled {
    border-color: #E6E4E2;
    background-color: #E6E4E2;
    color: #676158;
    cursor: not-allowed;
}

.footer
{
    height: 200px;
    background-color: #943524;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 72px;
}

.footer-links
{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-text
{
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-link
{
    color: #FFFFFF;
    font-size: 14px;
    font-family: 'Work Sans', sans-serif;
    text-decoration: underline;
}

.footer-logo
{
    height: 80px;
}

@media screen and (max-width: 480px)
{
    .content
    {
        padding: 48px 16px;
    }

    .cards
    {
        flex-direction: column;
        gap: 24px;
    }

    .checkbox-list
    {
        flex-direction: column;
    }

    .form-buttons
    {
        flex-direction: column;
    }

    .form-button:first-child
    {
        order: 2;
    }

    .form-button:last-child
    {
        order: 1;
    }

    .sub-card
    {
        flex-direction: column;
        padding: 0;
    }

    .sub-card img
    {
        width: 100%;
        margin: 0;
        border-radius: 8px 8px 0 0;
    }

    .sub-card .sub-content
    {
        padding: 12px 8px;
        display: flex;
    }

    .sub-card .sub-content .sub-text{
        order: 2;
        flex: 1;
        margin: 0;
    }

    .footer
    {
        align-items: flex-start;
        padding: 40px 8px;
        gap: 40px;
        flex-direction: column;
        height: 300px;
    }

}


/*                 Success Page              */
.success-text
{
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-family: 'Work Sans', sans-serif;
}

.success-text-title
{
    display: flex;
    font-size: 42px;
    font-weight: 700;
    color: #943524;
    gap: 16px;
}

.success-text-content
{
    font-family: 'Source Sans Pro', sans-serif;
    max-width: 500px;
    text-align: center;
    font-size: 20px;
}

.success-ovosplay
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    min-height: 650px;
    background: url('../images/success-background.png') no-repeat center center;
    background-size: cover;
    padding: 5%;
    box-sizing: border-box;
}

.success-ovosplay-left
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.success-ovosplay-left-title
{
    font-size: 40px;
    font-weight: 600;
    color: #943524;
    font-family: 'Work Sans', sans-serif;
}

.success-ovosplay-left-content
{
    font-size: 20px;
    font-family: 'Source Sans Pro', sans-serif;
}

.get-app-buttons
{
    width: 100%;
    display: flex;
    gap: 16px;
}

.get-app-button
{
    flex: 1 0;
    height: 40px;
}

.success-ovosplay-right img
{
    width: 100%;
    max-width: 600px;
}


@media screen and (max-width: 768px) and (min-width: 501px)
{
    .success-ovosplay
    {
        padding: 2%;
    }

    .success-ovosplay-left-title {
        font-size: 32px;
    }
}

@media screen and (max-width: 500px)
{
    .success-text-title
    {
        align-items: center;
        align-content: center;
        text-align: center;
        flex-direction: column;
    }

    .success-text
    {
        box-sizing: border-box;
        padding: 0 24px;
    }
    .success-ovosplay
    {
        flex-direction: column;
        gap: 40px;
        padding: 2%;
    }

    .success-ovosplay-left-title
    {
        font-size: 24px;
    }

    .success-ovosplay-left-content
    {
        font-size: 16px;
    }
}

