/* Main page — в стиле verification */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: BlinkMacSystemFont, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f5f5f5;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Header: как verification */
.page-header {
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
    padding: 20px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.page-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.page-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0;
    flex-shrink: 0;
}

/* Прогресс-бар: те же этапы, как на verification — всегда виден */
.progress-wrapper {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    flex-wrap: nowrap;
    min-width: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.step-indicator {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #d0d0d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #6b6b6b;
    transition: all 0.3s ease;
}

.progress-step.active .step-indicator {
    background: #126de1;
    border-color: #126de1;
    color: #fff;
}

.step-label {
    font-size: 13px;
    font-weight: 500;
    color: #6b6b6b;
    white-space: nowrap;
}

.progress-step.active .step-label {
    color: #1a1a1a;
    font-weight: 600;
}

.progress-line {
    height: 2px;
    min-height: 2px;
    width: 80px;
    min-width: 24px;
    background: #e7e7e7;
    margin: 0 16px;
    margin-bottom: 28px;
    flex-shrink: 0;
    align-self: center;
}

/* Main: по центру в пузыре */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.main-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.08);
    width: 100%;
    max-width: 520px;
}

.main-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.main-steps {
    font-size: 15px;
    color: #474747;
    line-height: 1.6;
    margin: 0 0 24px 0;
    padding-left: 20px;
}

.main-steps li {
    margin-bottom: 8px;
}

.main-steps li:last-child {
    margin-bottom: 0;
}

.main-form-wrap {
    margin-bottom: 20px;
}

.main-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.main-error {
    color: #d32f2f;
    font-size: 13px;
    margin: 0 0 8px 0;
}

.main-input {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-size: 15px;
    color: #1a1a1a;
    background: #fff;
    transition: all 0.2s ease;
    font-family: inherit;
}

.main-input:focus {
    outline: none;
    border-color: #126de1;
    box-shadow: 0 0 0 3px rgba(18, 109, 225, 0.1);
}

.main-input::placeholder {
    color: #aaa;
}

/* Кнопка: как Verify Now, полноценно видна */
.main-btn-wrap {
    display: block;
    text-decoration: none;
    margin-top: 24px;
}

.main-btn {
    width: 100%;
    height: 56px;
    background: #126de1;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
}

.main-btn:hover:not(:disabled) {
    background: #0d5bb5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(18, 109, 225, 0.3);
}

.main-btn:active:not(:disabled) {
    transform: translateY(0);
}

.main-btn:disabled {
    background: #d0d0d0;
    cursor: not-allowed;
    opacity: 0.6;
}

.main-btn-icon {
    flex-shrink: 0;
}

/* Текст внизу: не жирный */
.main-tip {
    font-size: 13px;
    color: #6b6b6b;
    line-height: 1.5;
    margin: 24px 0 0 0;
}

/* Desktop: заголовок как Verification, прогресс inline */
@media (min-width: 1025px) {
    .page-header {
        padding: 10px 16px;
    }
    .page-title {
        font-size: 24px;
    }
    .progress-step {
        flex-direction: row;
        gap: 6px;
    }
    .step-indicator {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }
    .progress-step .step-indicator svg {
        width: 12px;
        height: 12px;
    }
    .step-label {
        font-size: 12px;
    }
    .progress-line {
        margin-bottom: 0;
        width: 60px;
        margin-left: 8px;
        margin-right: 8px;
    }
    .main-container {
        padding: 40px 16px;
    }
    .main-card {
        padding: 40px;
    }
    .main-card-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
}

/* Mobile — в одну строку: заголовок слева, прогресс справа без подписей */
@media (max-width: 768px) {
    .page-header {
        padding: 14px 12px;
    }
    .page-header-content {
        flex-direction: row;
        gap: 16px;
    }
    .page-title {
        font-size: 16px;
        text-align: left;
    }
    .progress-wrapper {
        justify-content: flex-end;
        flex-shrink: 1;
    }
    .progress-step {
        flex-direction: column;
        gap: 0;
    }
    .step-indicator {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .step-label {
        display: none;
    }
    .progress-line {
        width: 30px;
        margin: 0 8px;
        margin-bottom: 0;
    }
    .main-container {
        padding: 20px 16px;
    }
    .main-card {
        padding: 24px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(26, 26, 26, 0.08);
    }
    .main-card-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    .main-steps {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .main-input {
        max-width: 100%;
    }
    .main-btn-wrap {
        display: block;
    }
    .main-btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: 12px;
    }
    .page-title {
        font-size: 15px;
    }
    .step-indicator {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .progress-step .step-indicator svg {
        width: 14px;
        height: 14px;
    }
    .progress-line {
        width: 24px;
        margin: 0 6px;
    }
    .main-container {
        padding: 20px 16px;
    }
    .main-card {
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(26, 26, 26, 0.08);
    }
}
