:root {
    --primary-color: #0066ff;
    --primary-hover: #0052cc;
    --text-color: #1d1d1f;
    --text-secondary: #86868b;
    --bg-color: #ffffff;
    --accent-bg: #f5f5f7;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    height: 100vh;
    overflow: hidden;
}

.split-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Left Side: Visual */
.visual-side {
    flex: 1;
    background: linear-gradient(135deg, #0066ff 0%, #0044cc 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.visual-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    background: white;
    width: 320px;
    border-radius: 32px;
    padding: 24px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    color: var(--text-color);
    animation: float 6s ease-in-out infinite;
}

.mockup-header {
    margin-bottom: 24px;
}

.mockup-title {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.stats-card {
    background: #f8f8f9;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.stats-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.stats-value {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trend {
    font-size: 12px;
    color: #34c759;
}

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.pay-icon {
    width: 32px;
    height: 32px;
    background: #e1f7e8;
    color: #34c759;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.pay-info {
    flex-grow: 1;
}

.pay-title {
    font-size: 12px;
    font-weight: 700;
}

.pay-order {
    font-size: 10px;
    color: var(--text-secondary);
}

.pay-amount {
    font-size: 12px;
    font-weight: 700;
}

.visual-footer {
    font-size: 13px;
    opacity: 0.7;
    color: white;
}

/* Right Side: Form */
.form-side {
    flex: 1.2;
    background: white;
    padding: 40px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.form-header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.back-link,
.login-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-link {
    color: var(--primary-color);
}

.form-wrapper {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.form-wrapper h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.phone-input-group {
    display: flex;
    gap: 0;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    overflow: hidden;
    height: 56px;
    margin-bottom: 32px;
}

.country-select {
    background: #f8f8f9;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 1px solid #e5e5ea;
    cursor: pointer;
    font-weight: 600;
}

.country-select img {
    width: 20px;
}

.phone-input-group input {
    flex-grow: 1;
    border: none;
    padding: 0 16px;
    font-size: 16px;
    outline: none;
}

.btn-next {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 32px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-next:hover {
    background: var(--primary-hover);
}

.btn-next:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.divider {
    text-align: center;
    position: relative;
    margin-bottom: 32px;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e5e5ea;
}

.divider span {
    position: relative;
    background: white;
    padding: 0 16px;
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.id-login-box {
    background: #f8f8f9;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: center;
}

.id-info {
    flex-grow: 1;
}

.id-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.id-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-sber-id {
    background: #21a038;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.id-visual {
    font-size: 64px;
    color: #e5e5ea;
}

/* Success View */
.success-wrapper {
    text-align: center;
}

.success-icon {
    font-size: 80px;
    color: #34c759;
    margin-bottom: 24px;
}

.success-wrapper .btn {
    margin-top: 32px;
    width: auto;
    padding: 14px 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    text-decoration: none;
    color: inherit;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 1024px) {
    .visual-side {
        display: none;
    }

    .form-side {
        padding: 40px;
    }
}

@media (max-width: 480px) {
    .phone-input-group {
        flex-direction: column;
        height: auto;
        border: none;
    }

    .country-select,
    .phone-input-group input,
    .btn-next {
        height: 56px;
        border: 1px solid #e5e5ea;
        border-radius: 12px;
        width: 100%;
    }

    .btn-next {
        margin-top: 12px;
    }

    .id-login-box {
        flex-direction: column;
        text-align: center;
    }
}