/* =========================================================
   EROPYA REGISTRATION PAGE
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    overflow: hidden;
}


/* =========================================================
   PAGE
   ========================================================= */

.register-page {
    width: 100%;
    height: 100vh;
    min-height: 560px;
}


.register-card {
    width: 100%;
    height: 100vh;
    display: flex;
    overflow: hidden;
    background: #ffffff;
}


/* =========================================================
   LEFT BRANDING - 45%
   ========================================================= */

.register-brand-side {
    flex: 0 0 45%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    color: #ffffff;
    background: linear-gradient( 135deg, #0f172a 0%, #172554 50%, #1e293b 100% );
}


    .register-brand-side .brand-content {
        width: 100%;
        max-width: 430px;
        text-align: center;
    }


/* =========================================================
   LOGO
   ========================================================= */

.brand-logo {
    width: 52px;
    height: 52px;
    margin: 0 auto 9px;
}


    .brand-logo svg {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: #ffffff;
        stroke-width: 1.3;
        stroke-linejoin: round;
    }


/* =========================================================
   BRAND NAME
   ========================================================= */

.brand-name {
    margin: 0;
    font-size: 31px;
    font-weight: 700;
    letter-spacing: 4px;
    color: white;
}


    .brand-name span {
        color: #22c55e;
    }


.brand-tagline {
    margin: 5px 0 14px;
    font-size: 12px;
    color: #cbd5e1;
}


.brand-divider {
    width: 42px;
    height: 2px;
    margin: 0 auto 14px;
    background: #22c55e;
}


.brand-description {
    max-width: 370px;
    margin: 0 auto 18px;
    font-size: 13px;
    line-height: 1.6;
    color: #e2e8f0;
}


/* =========================================================
   BRAND FEATURES
   ========================================================= */

.brand-features {
    display: flex;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}


.brand-feature {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    font-size: 10px;
    color: #e2e8f0;
}


/* =========================================================
   THEME
   ========================================================= */

.theme-container {
    margin-top: 22px;
}


.theme-content {
    min-height: 75px;
    transition: opacity .25s ease;
}


.theme-tagline {
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}


.theme-description {
    margin-bottom: 9px;
    font-size: 10px;
    line-height: 1.5;
    color: #cbd5e1;
}


.theme-features {
    display: flex;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}


    .theme-features span {
        font-size: 9px;
        color: #94a3b8;
    }


.theme-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}


    .theme-dots .dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: rgba(255,255,255,.3);
        cursor: pointer;
        transition: all .2s ease;
    }


        .theme-dots .dot.active {
            width: 15px;
            border-radius: 10px;
            background: #22c55e;
        }


/* =========================================================
   RIGHT FORM - 55%
   ========================================================= */

.register-form-side {
    flex: 0 0 55%;
    height: 100vh;
    display: block;
    padding: 25px 35px;
    background: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}


.fields-container {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.form-header {
    margin-bottom: 13px;
}


    .form-header h2 {
        margin: 0 0 3px;
        font-size: 22px;
        font-weight: 700;
        color: #111827;
    }


    .form-header p {
        margin: 0;
        font-size: 11px;
        color: #6b7280;
    }


/* =========================================================
   FORM
   ========================================================= */

.register-form {
    width: 100%;
}


.form-group {
    margin-bottom: 6px;
}


    .form-group label {
        display: block;
        margin-bottom: 2px;
        font-size: 11px;
        font-weight: 600;
        color: #374151;
    }


.input-icon {
    margin-right: 3px;
}


/* =========================================================
   INPUTS
   ========================================================= */

.form-control {
    display: block;
    width: 100%;
    height: 32px;
    padding: 5px 9px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    background: #ffffff;
    font-size: 11px;
    color: #111827;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}


    .form-control:focus {
        border-color: #22c55e;
        box-shadow: 0 0 0 2px rgba(34,197,94,.08);
    }


    .form-control::placeholder {
        color: #9ca3af;
    }


/* =========================================================
   SELECT
   ========================================================= */

select.form-control {
    cursor: pointer;
}


/* =========================================================
   HINT
   ========================================================= */

.form-hint {
    margin-top: 1px;
    font-size: 8px;
    color: #9ca3af;
}


/* =========================================================
   VALIDATION
   ========================================================= */

.validation-message {
    margin-bottom: 5px;
    font-size: 10px;
    color: #dc2626;
}


.field-validation {
    display: block;
    margin-top: 1px;
    font-size: 9px;
    color: #dc2626;
}


/* =========================================================
   REGISTER BUTTON
   ========================================================= */

.btn-register {
    display: block;
    width: 100%;
    height: 36px;
    margin-top: 7px;
    border: 0;
    border-radius: 5px;
    background: #16a34a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
}


    .btn-register:hover {
        background: #15803d;
    }


/* =========================================================
   DIVIDER
   ========================================================= */

.form-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 9px 0 6px;
    color: #9ca3af;
    font-size: 9px;
}


    .form-divider::before,
    .form-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #e5e7eb;
    }


/* =========================================================
   LOGIN LINK
   ========================================================= */

.form-links {
    text-align: center;
}


.login-link {
    color: #16a34a;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}


    .login-link:hover {
        text-decoration: underline;
    }


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 992px) {

    body {
        overflow: auto;
    }

    .register-page {
        width: 100%;
        height: auto;
        min-height: 100vh;
    }

    .register-card {
        width: 100%;
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        overflow: visible;
    }

    /* =========================================
       BRAND
    ========================================= */

    .register-brand-side {
        flex: none;
        width: 100%;
        height: auto;
        min-height: 240px;
        padding: 25px 20px;
    }

        .register-brand-side .brand-content {
            max-width: 600px;
        }

    .brand-logo {
        width: 45px;
        height: 45px;
        margin-bottom: 8px;
    }

    .brand-name {
        font-size: 27px;
        letter-spacing: 3px;
    }

    .brand-tagline {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .brand-divider {
        margin-bottom: 12px;
    }

    .brand-description {
        max-width: 500px;
        font-size: 11px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .brand-features {
        gap: 5px;
    }

    .brand-feature {
        padding: 5px 9px;
        font-size: 9px;
    }

    /* =========================================
       THEME
    ========================================= */

    .theme-container {
        margin-top: 14px;
    }

    .theme-content {
        min-height: 60px;
    }

    .theme-tagline {
        font-size: 11px;
    }

    .theme-description {
        font-size: 9px;
        margin-bottom: 6px;
    }

    .theme-features {
        gap: 6px;
    }

        .theme-features span {
            font-size: 8px;
        }

    .theme-dots {
        margin-top: 8px;
    }


    /* =========================================
       FORM
    ========================================= */

    .register-form-side {
        flex: none;
        width: 100%;
        height: auto;
        min-height: 0;
        display: block;
        padding: 25px 25px 35px;
        background: #ffffff;
        overflow: visible;
    }

    .fields-container {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        max-height: none;
    }


    /* =========================================
       FORM HEADER
    ========================================= */

    .form-header {
        margin-bottom: 15px;
    }

        .form-header h2 {
            font-size: 21px;
        }

        .form-header p {
            font-size: 11px;
        }


    /* =========================================
       FORM FIELDS
    ========================================= */

    .form-group {
        margin-bottom: 8px;
    }

        .form-group label {
            font-size: 11px;
            margin-bottom: 3px;
        }

    .form-control {
        width: 100%;
        height: 36px;
        font-size: 12px;
        padding: 6px 9px;
    }

    .form-hint {
        font-size: 8px;
    }


    /* =========================================
       BUTTON
    ========================================= */

    .btn-register {
        height: 38px;
        margin-top: 8px;
        font-size: 12px;
    }


    /* =========================================
       VALIDATION
    ========================================= */

    .validation-message {
        font-size: 10px;
    }

    .field-validation {
        font-size: 9px;
    }


    /* =========================================
       LINKS
    ========================================= */

    .form-divider {
        margin: 11px 0 7px;
        font-size: 9px;
    }

    .login-link {
        font-size: 11px;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 576px) {

    .register-brand-side {
        min-height: 225px;
        padding: 20px 15px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .brand-description {
        font-size: 10px;
    }

    .register-form-side {
        padding: 22px 16px 30px;
    }

    .fields-container {
        max-width: 100%;
    }

    .form-header h2 {
        font-size: 20px;
    }

    .form-header p {
        font-size: 10px;
    }

    .form-control {
        height: 35px;
        font-size: 11px;
    }

    .form-group label {
        font-size: 10px;
    }

    .btn-register {
        height: 37px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

    .register-brand-side {
        min-height: 215px;
        padding: 17px 12px;
    }

    .brand-logo {
        width: 36px;
        height: 36px;
        margin-bottom: 5px;
    }

    .brand-name {
        font-size: 22px;
    }

    .brand-tagline {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .brand-description {
        font-size: 9px;
        margin-bottom: 9px;
    }

    .brand-feature {
        padding: 4px 7px;
        font-size: 8px;
    }

    .theme-container {
        margin-top: 9px;
    }

    .theme-content {
        min-height: 48px;
    }

    .theme-tagline {
        font-size: 10px;
    }

    .theme-description {
        font-size: 8px;
    }

    .theme-features span {
        font-size: 7px;
    }

    .register-form-side {
        padding: 20px 13px 25px;
    }

    .form-header {
        margin-bottom: 12px;
    }

        .form-header h2 {
            font-size: 18px;
        }

        .form-header p {
            font-size: 9px;
        }

    .form-group {
        margin-bottom: 7px;
    }

    .form-control {
        height: 33px;
        font-size: 10px;
    }

    .form-group label {
        font-size: 9px;
    }

    .btn-register {
        height: 35px;
        font-size: 11px;
    }
}