/* =========================================================
   REGISTER PAGE
========================================================= */

html,
body{
    margin:0 !important;
    padding:0 !important;
}

.page-content{
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
}


/* =========================================================
   MAIN BACKGROUND
========================================================= */

.register-page{
    min-height:calc(100vh - 76px);

    display:flex;
    align-items:center;
    justify-content:center;

    margin:0 !important;

    padding:25px 18px 50px !important;

    box-sizing:border-box;

    position:relative;

    background:#0b1120;

    overflow:hidden;
}


/* BACKGROUND GLOW */

.register-page::before{
    content:"";

    position:absolute;

    width:430px;
    height:430px;

    top:-180px;
    left:-150px;

    border-radius:50%;

    background:rgba(37,99,235,.12);

    filter:blur(8px);

    pointer-events:none;
}

.register-page::after{
    content:"";

    position:absolute;

    width:430px;
    height:430px;

    right:-160px;
    bottom:-190px;

    border-radius:50%;

    background:rgba(79,70,229,.10);

    filter:blur(8px);

    pointer-events:none;
}


/* =========================================================
   REGISTER CARD
========================================================= */

.register-box{
    position:relative;

    z-index:2;

    width:100%;

    max-width:480px;

    padding:32px;

    box-sizing:border-box;

    border:1px solid rgba(255,255,255,.75);

    border-radius:22px;

    background:rgba(255,255,255,.93);

    box-shadow:
        0 25px 70px rgba(15,23,42,.18),
        0 5px 20px rgba(15,23,42,.06);

    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    transform:translateY(15px);
}


/* =========================================================
   BRAND
========================================================= */

.register-brand{
    display:flex;

    align-items:center;

    justify-content:center;

    gap:11px;

    margin-bottom:23px;

    text-decoration:none;
}

.register-brand-logo{
    width:46px;
    height:46px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:13px;

    background:#f1f5f9;

    border:1px solid #e2e8f0;

    overflow:hidden;
}

.register-brand-logo img{
    width:38px;
    height:38px;

    object-fit:contain;
}

.register-brand-name{
    color:#0f172a;

    font-size:20px;

    line-height:1.2;

    font-weight:800;

    letter-spacing:-.3px;
}


/* =========================================================
   HEADER
========================================================= */

.register-header{
    text-align:center;

    margin-bottom:23px;
}

.register-icon{
    width:48px;
    height:48px;

    display:flex;

    align-items:center;
    justify-content:center;

    margin:0 auto 12px;

    border-radius:14px;

    color:#fff;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5
        );

    box-shadow:
        0 10px 25px rgba(37,99,235,.25);

    font-size:19px;
}

.register-header h1{
    margin:0;

    color:#0f172a;

    font-size:27px;

    line-height:1.2;

    font-weight:800;

    letter-spacing:-.5px;
}

.register-subtext{
    margin:8px auto 0;

    max-width:350px;

    color:#64748b;

    font-size:13px;

    line-height:1.6;
}


/* =========================================================
   ALERT
========================================================= */

.register-alert{
    display:flex;

    align-items:flex-start;

    gap:10px;

    padding:12px 14px;

    margin-bottom:18px;

    border-radius:11px;

    font-size:13px;

    line-height:1.5;
}

.register-alert i{
    margin-top:1px;

    font-size:16px;
}

.register-alert.error{
    color:#b91c1c;

    background:#fef2f2;

    border:1px solid #fecaca;
}

.register-alert.success{
    color:#166534;

    background:#f0fdf4;

    border:1px solid #bbf7d0;
}


/* =========================================================
   FORM
========================================================= */

.register-form-group{
    margin-bottom:16px;
}

.register-form-group label{
    display:block;

    margin-bottom:7px;

    color:#334155;

    font-size:13px;

    font-weight:700;
}


/* =========================================================
   INPUT
========================================================= */

.register-input{
    position:relative;
}

.register-input > i{
    position:absolute;

    left:14px;

    top:50%;

    transform:translateY(-50%);

    color:#94a3b8;

    font-size:15px;

    pointer-events:none;

    transition:.2s ease;
}

.register-input input{
    width:100%;

    height:47px;

    box-sizing:border-box;

    padding:0 15px 0 42px;

    border:1px solid #dbe2ea;

    border-radius:11px;

    outline:none;

    background:#f8fafc;

    color:#0f172a;

    font-family:inherit;

    font-size:14px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.register-input input::placeholder{
    color:#94a3b8;
}

.register-input input:focus{
    background:#fff;

    border-color:#60a5fa;

    box-shadow:
        0 0 0 4px rgba(59,130,246,.10);
}

.register-input:focus-within > i{
    color:#2563eb;
}


/* =========================================================
   SELECT
========================================================= */

.register-select{
    width:100%;

    height:47px;

    box-sizing:border-box;

    padding:0 40px 0 14px;

    border:1px solid #dbe2ea;

    border-radius:11px;

    outline:none;

    background:#f8fafc;

    color:#334155;

    font-family:inherit;

    font-size:14px;

    cursor:pointer;

    transition:.2s ease;
}

.register-select:focus{
    background:#fff;

    border-color:#60a5fa;

    box-shadow:
        0 0 0 4px rgba(59,130,246,.10);
}


/* =========================================================
   TERMS
========================================================= */

.register-terms{
    display:flex !important;

    align-items:flex-start;

    gap:9px;

    margin-top:4px;

    margin-bottom:17px !important;

    color:#64748b !important;

    font-size:12.5px !important;

    font-weight:500 !important;

    line-height:1.5;
}

.register-terms input{
    width:16px;

    height:16px;

    margin:1px 0 0;

    accent-color:#2563eb;

    cursor:pointer;

    flex-shrink:0;
}

.register-terms a{
    color:#2563eb;

    font-weight:700;

    text-decoration:none;
}

.register-terms a:hover{
    text-decoration:underline;
}


/* =========================================================
   CAPTCHA
========================================================= */

.register-captcha{
    margin:17px 0;

    display:flex;

    justify-content:center;

    overflow:hidden;
}


/* =========================================================
   REGISTER BUTTON
========================================================= */

.register-submit{
    width:100%;

    min-height:49px;

    margin-top:3px;

    border:0;

    border-radius:11px;

    color:#fff;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5
        );

    box-shadow:
        0 10px 25px rgba(37,99,235,.25);

    font-family:inherit;

    font-size:14px;

    font-weight:750;

    cursor:pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.register-submit:hover{
    transform:translateY(-2px);

    box-shadow:
        0 14px 32px rgba(37,99,235,.32);
}

.register-submit:active{
    transform:translateY(0);
}


/* =========================================================
   BOTTOM LINK
========================================================= */

.register-links{
    margin-top:20px;

    text-align:center;
}

.register-links p{
    margin:0;

    color:#64748b;

    font-size:13px;
}

.register-links a{
    color:#2563eb;

    font-weight:700;

    text-decoration:none;
}

.register-links a:hover{
    text-decoration:underline;
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:600px){

    .register-page{
        min-height:calc(100vh - 68px);

        padding:25px 14px 40px !important;
    }

    .register-box{
        padding:25px 20px;

        border-radius:18px;

        transform:translateY(10px);
    }

    .register-brand{
        margin-bottom:20px;
    }

    .register-brand-logo{
        width:42px;
        height:42px;
    }

    .register-brand-logo img{
        width:34px;
        height:34px;
    }

    .register-brand-name{
        font-size:18px;
    }

    .register-header h1{
        font-size:24px;
    }

    .register-subtext{
        font-size:12px;
    }

}