﻿html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    min-height: 100% !important;
    background: white !important;
}

.auth-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0eaf7;
    padding: 24px;
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    box-sizing: border-box;
}

.auth-split {
    display: flex;
    width: 100%;
    max-width: 1000px;
    min-height: 480px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}


.auth-split__logo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: auto;
    z-index: 2;
}

.auth-split__video {
    flex: 1 1 50%;
    position: relative;
    overflow: hidden;
}

    .auth-split__video video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 50%;
        box-shadow: 0 10px 40px rgba(219, 207, 235, 0.7);
    }


.auth-split__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 52px;
    padding-bottom:30px;
    background: linear-gradient(to top, rgb(0 0 0 / 98%), rgba(0, 0, 50, 0));
    color: white;
}

.auth-split__quote {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.auth-split__subquote {
    font-size: 13px;
    opacity: 0.85;
    margin: 0;
}

.auth-split__form {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(219, 207, 235, 0.7);
}

.auth-split__form-inner {
    width: 100%;
    max-width: 380px;
}

.auth-split__title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.auth-split__desc {
    font-size: 14px;
    color: #767676;
    margin: 0 0 28px 0;
    line-height: 1.5;
}

.auth-split__validation {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
}

.auth-field {
    margin-bottom: 20px;
}

.auth-field__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 6px;
}

.auth-field__input {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    color: black;
    background: #f0eaf7 !important;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

    .auth-field__input:focus {
        border-color: #8960bd;
        background: #f2f7eb;
    }

    .auth-field__input::placeholder {
        color: #f0eaf7;
    }

    .auth-field__input:-webkit-autofill,
    .auth-field__input:-webkit-autofill:hover,
    .auth-field__input:-webkit-autofill:focus {
        -webkit-text-fill-color: black;
        
        
        transition: background-color 5000s ease-in-out 0s;
    }

.auth-split__submit {
    width: 100%;
    padding: 13px 0;
    margin-top: 10px;
    background: #211431;
    color: white;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease;
}

    .auth-split__submit:hover {
        background: #2a1a3f;
    }

.auth-split__footer {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    margin-bottom: 0px;
}

    .auth-split__footer a {
        color: #002244;
        text-decoration: none;
        font-weight: 600;
    }

        .auth-split__footer a:hover {
            text-decoration: underline;
        }


@media (max-width: 768px) {
    .auth-page {
        padding: 0;
        align-items: flex-start;
    }

    .auth-split {
        flex-direction: column;
        max-width: 100%;
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }

    .auth-split__video {
        flex: 0 0 220px;
        min-height: 220px;
    }

    .auth-split__logo {
        width: 80px;
        top: 14px;
        right: 14px;
    }

    .auth-split__overlay {
        padding: 24px 20px;
        padding-bottom: 18px;
    }

    .auth-split__quote {
        font-size: 18px;
    }

    .auth-split__subquote {
        font-size: 12px;
    }

    .auth-split__form {
        flex: 1 1 auto;
        padding: 32px 24px;
        box-shadow: none;
    }

    .auth-split__form-inner {
        max-width: 100%;
    }

    .auth-split__title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .auth-split__video {
        flex: 0 0 160px;
        min-height: 160px;
    }

    .auth-split__logo {
        display: none;
    }

    .auth-split__overlay {
        padding: 16px 16px 12px;
    }

    .auth-split__quote {
        font-size: 15px;
    }

    .auth-split__subquote {
        font-size: 11px;
    }

    .auth-split__form {
        padding: 20px 18px;
    }

    .auth-split__form-inner {
        max-width: 100%;
    }

    .auth-split__title {
        font-size: 19px;
        margin-bottom: 4px;
        text-align: center;
    }

    .auth-split__desc {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .auth-field {
        margin-bottom: 14px;
    }

    .auth-split__video {
        flex: 0 0 220px;
        min-height: 220px;
    }

    .auth-field__input {
        padding: 10px 12px;
        font-size: 13px;
    }

    .auth-split__form {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 24px 18px 12px;
    }
    .auth-page {
        align-items: center;
        padding: 0;
        background-color: #f0eaf7;
    }

    .auth-split {
        min-height: auto;
    }
    .auth-split__video video {
        object-position: 50% 80%;
    }

    .auth-split__submit {
        padding: 11px 0;
        font-size: 14px;
    }
}