﻿body.unity-body {
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: var(--Brand-Colors-Seashell, #FFF7EC);
    background-image: url('../App_Themes/Default/images/swirl-background-transparent.svg');
    background-position: 50%;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

    body.unity-body form {
        display: flex;
        justify-content: center;
        align-items: center;
    }

.unity-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 500px;
    padding: 64px;
    border-radius: 12px;
    gap: 24px;
    background: #fff;
    z-index: 100;
    box-shadow: 5px 7px 28px 5px #0000000D;
}

    .unity-container .unity-item {
        width: 100%;
        text-align: center;
    }

        .unity-container .unity-item .unityradio-button {
            width: 100%;
        }

        .unity-container .unity-item img.unity-logo {
            width: 260px;
            height: 63.5px;
        }

    .unity-container .separator-h4 {
        height: 4px;
    }

    .unity-container .separator-h8 {
        height: 8px;
    }

    .unity-container h4.red-hat-text-700 {
        margin-bottom: 0px;
        color: #363636;
    }

    .unity-container p.red-hat-text-600 {
        margin-bottom: 0px;
        color: #363636;
    }

    .unity-container .btn-primary {
        width: 100%;
        height: 40px;
        background: #1968D7;
        color: #fff;
    }

        .unity-container .btn-primary:disabled {
            background: #1863cc;
        }

    .unity-container .btn-separator {
        width: 100%;
        margin: 14px 0;
    }

    .unity-container .btn-secondary {
        width: 100%;
        height: 40px;
        background: #fff;
        color: #6b6b6b;
    }

    .unity-container .lnk-upgraded {
        cursor: pointer;
        color: #1863CC;
        text-decoration: none;
    }

        .unity-container .lnk-upgraded:hover {
            text-decoration: underline;
        }

    .unity-container .ministryid-button {
        background: url('../images/MinistryID/mb-logo.png'); 
        background-size: 25px 25px;
        background-repeat: no-repeat;
        background-position: 18px 7px;
    }

    .unity-container .form-field {
        display: flex;
        flex-direction: column;
        position: relative;
    }

        .unity-container .form-field .form-val-error {
            color: #C54443 !important;
            text-align: left !important;
            margin: 0px 12px;
        }

        .unity-container .form-field .form-label {
            position: absolute;
            font-size: 16px;
            background: #fff;
            line-height: 24px;
            padding: 0;
            margin: 0;
            top: 10px;
            left: 13px;
            transition: 0.2s ease all;
            pointer-events: none;
        }

        .unity-container .form-field .form-input:focus + .form-label,
        .unity-container .form-field .form-input:not(:placeholder-shown) + .form-label {
            padding: 0px 4px;
            top: -8px;
            left: 9px;
            font-size: 12px;
        }

        .unity-container .form-field .form-label.red-hat-text-400 {
            font-size: 12px;
            font-weight: 400;
            line-height: 16px;
        }

        .unity-container .form-field .form-input {
            width: 100%;
            padding: 8px 12px;
            border-radius: 4px;
            border: 1px solid var(--stroke-input-default, #B5B5B5);
            font-weight: 400;
        }

        .unity-container .form-field input:focus {
            border: 2px solid #0f3e80;
        }

        .unity-container .form-field .form-input.red-hat-text-400 {
            font-size: 16px;
            font-weight: 400;
            line-height: 24px;
        }

    .unity-container .red-hat-text-700 {
        font-size: 20px;
        font-weight: 700;
        line-height: 28px;
    }

    .unity-container .red-hat-text-600 {
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
    }

    .unity-container .red-hat-text-400 {
        font-size: 12px;
        font-weight: 400;
        line-height: 20px;
    }

.sub-header {
    margin-bottom: 10px !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: black !important
}

.dynamicEmail {
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #1968D7;
}

.red-border-imp {
    border-color: #C54443 !important;
    outline-color: #C54443 !important;
}

/* Highlight the label in red if a validation error is visible */
.form-field:has(.red-border-imp:not([style*="display: none"])) .form-label {
    color: #C54443;
}

.label-error {
    color: #C54443;
    font-size: 14px;
}


table input[type="radio"] {
    margin-right: 10px;
    vertical-align: middle;
}

table input[type="radio"] {
    margin-right: 10px;
    vertical-align: middle;
}

table label {
    font-size: 16px;
    vertical-align: middle;
}


body.migration-body {
    background-image: none;
}

    body.migration-body form {
        display: block !important;
    }

.migration-container {
    width: 435px !important;
    padding: 56px 52px !important;
    margin: 164px auto 20px;
    position: relative;
}

.ministry-logo {
    height: auto;
    position: absolute;
    left: -125px;
    right: 0;
    top: 0;
    padding-right: 264px;
    margin: auto;
    width: 100%;
    z-index: -1;
}

    .ministry-logo .logo-container {
        display: block;
        margin: auto;
        max-width: 600px;
    }

.migration-container .unity-logo {
    width: 203px !important;
    height: auto !important;
}

.image-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

.border-top {
    border-top: 1px solid var(--text-base-dim-disabled, #EDEDED)
}

.text-left {
    text-align: left !important;
}

table .email-options [type="radio"][disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.email-options label {
    cursor: pointer;
    display: inline-block;
}

.email-options input[type="radio"] {
    accent-color: #1968D7 !important;
}


@media (max-height: 800px) {
    body.migration-body {
        min-height: 817.5px;
    }
}

@media (max-height: 700px) {
    body.minheight-body {
        min-height: 727.5px;
    }

        body.minheight-body .unity-container {
            margin: 20px 0 20px;
        }
}

@media screen and (max-height: 1100px) {
    body.unity-body {
        background-size: cover;
    }
}
