﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: 'Source Sans 3', sans-serif;
    background: #eef4ff;
    overflow: hidden;
}

.page {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.fs-left {
    flex: 0 0 50%;
    width: 50%;
    min-width: 50%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 36px 44px;
    background: radial-gradient(ellipse at 20% 20%, rgba(14,165,255,.22) 0%, transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(37,99,235,.20) 0%, transparent 50%), linear-gradient(150deg, #021022 0%, #042251 50%, #020d1e 100%);
}

.fs-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 44px 44px;
}

.glow-1, .glow-2, .glow-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .28;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.glow-1 {
    width: 280px;
    height: 280px;
    background: #0ea5ff;
    top: -80px;
    left: -60px;
}

.glow-2 {
    width: 220px;
    height: 220px;
    background: #2563eb;
    bottom: -80px;
    right: -60px;
    animation-delay: 2s;
}

.glow-3 {
    width: 160px;
    height: 160px;
    background: #60a5fa;
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.glow-3 {
    animation-name: float3;
}

@keyframes float3 {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

.left-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-box {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 28px rgba(0,0,0,.30), 0 0 0 1px rgba(255,255,255,.12);
    overflow: hidden;
    flex-shrink: 0;
}

.logo-box img {
    width: 88%;
    height: 88%;
    object-fit: contain;
}

.logo-title {
    color: white;
}

.logo-title h1 {
    font-size: 32px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-title p {
    margin-top: 4px;
    color: rgba(255,255,255,.6);
    letter-spacing: 5px;
    font-size: 11px;
    font-weight: 600;
}

.info-card {
    padding: 28px 26px;
    border-radius: 20px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(16px);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(88,166,255,.18);
    border: 1px solid rgba(88,166,255,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 22px;
}

.info-card h2 {
    font-size: 21px;
    line-height: 1.25;
    color: white;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    font-weight: 700;
}

.info-card p {
    color: rgba(255,255,255,.72);
    line-height: 1.7;
    font-size: 13.5px;
}

.right {
    flex: 0 0 50%;
    width: 50%;
    min-width: 50%;
    background: white;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.right::before {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.07) 30%, rgba(0,0,0,.07) 70%, transparent);
}

.right-inner {
    width: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px 40px;
}

.form-box {
    width: 100%;
    max-width: 380px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    margin-bottom: 20px;
}

.badge-blue {
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    color: #1D4ED8;
}

h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0A1628;
    letter-spacing: -.02em;
    margin-bottom: 8px;
}

.sub {
    font-size: 14px;
    color: #94A3B8;
    margin-bottom: 28px;
    line-height: 1.5;
}

.field-wrap {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748B;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.input-group {
    position: relative;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'] {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    border: 1.5px solid #E2E8F0;
    background: #F8FAFC;
    padding: 0 14px;
    font-size: 15px;
    color: #0A1628;
    outline: none;
    transition: border .15s, background .15s, box-shadow .15s;
    font-family: 'Source Sans 3', sans-serif;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='tel']:focus,
input[type='password']:focus {
    border-color: #2563EB;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

input.input-error {
    border-color: #EF4444 !important;
    background: #FFF5F5;
    box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.error-msg {
    font-size: 11px;
    color: #EF4444;
    margin-top: 5px;
    display: none;
    align-items: center;
    gap: 4px;
}

.error-msg.visible {
    display: flex;
}

.otp-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 6px;
    width: 100%;
}

.otp-input {
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 1;
    border-radius: 8px;
    border: 1.5px solid #E2E8F0;
    background: #F8FAFC;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #0A1628;
    outline: none;
    transition: border .15s, background .15s, box-shadow .15s;
    font-family: 'Montserrat', sans-serif;
    padding: 0;
    box-sizing: border-box;
}

.otp-input:focus {
    border-color: #2563EB;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.otp-input.filled {
    border-color: #22C55E;
    background: #F0FDF4;
    color: #15803D;
}

.otp-input.input-error {
    border-color: #EF4444 !important;
    background: #FFF5F5;
    box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.primary-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #0A1E52, #1144aa);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    transition: .3s;
    margin-top: 12px;
    box-shadow: 0 10px 22px rgba(17,68,170,.22);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Source Sans 3', sans-serif;
}

.primary-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(17,68,170,.32);
}

.primary-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #94A3B8;
    text-decoration: none;
    margin-top: 18px;
    justify-content: center;
    cursor: pointer;
}

.back-link:hover {
    color: #1144aa;
}

.back-link svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.strength-bar {
    display: flex;
    gap: 4px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.strength-seg {
flex: 1;
height: 3px;
border-radius: 2px;
background: #E2E8F0;
transition: background .3s;
}

.strength-label {
    font-size: 11px;
    color: #94A3B8;
    text-align: right;
    transition: color .3s;
}

@media (max-width: 1100px) {
    .fs-left {
        display: none;
    }

    .right {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
    }
}
