/* Register page-specific styles */

/* Override: body padding & allow scroll for long form */
body { padding: 40px 0; overflow: auto; }

.register-container {
    width: 100%;
    max-width: 680px;
    padding: 0 20px;
}

.register-logo {
    text-align: center;
    margin-bottom: 24px;
}

.register-logo img {
    width: 240px;
    height: auto;
}

.register-logo p {
    font-size: 14px;
    color: #6b7280;
    margin-top: 10px;
}

/* Progress bar */
.progress-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.progress-step {
    flex: 1;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    transition: background-color 0.3s;
}

.progress-step.active {
    background: #FF8C00;
}

.progress-step.completed {
    background: #10b981;
}

.step-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.step-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.step-label.active {
    color: #FF8C00;
}

.step-label.completed {
    color: #10b981;
}

.register-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 32px;
}

.register-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.register-card .step-desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 24px;
}

/* Password strength */
.password-strength {
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: width 0.3s, background 0.3s;
}

/* Button row */
.btn-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-back {
    padding: 11px 24px;
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-back:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-next, .btn-submit {
    flex: 1;
    padding: 11px 24px;
    background: #FF8C00;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-next:hover, .btn-submit:hover {
    background: #E07B00;
}

.btn-next:disabled, .btn-submit:disabled {
    background: #FFB84D;
    cursor: not-allowed;
}

/* Step sections */
.step-section {
    display: none;
}

.step-section.active {
    display: block;
}

.register-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #6b7280;
}

.register-footer a {
    color: #FF8C00;
    text-decoration: none;
    font-weight: 500;
}

.register-footer a:hover {
    text-decoration: underline;
}

/* Step 3: Verification code */
.verification-icon {
    width: 64px;
    height: 64px;
    background: #FFF7ED;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.verification-icon svg {
    width: 32px;
    height: 32px;
    color: #FF8C00;
}

.verification-text {
    text-align: center;
    margin-bottom: 24px;
}

.verification-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.verification-text p {
    font-size: 14px;
    color: #6b7280;
}

.verification-text .verify-email-display {
    font-weight: 600;
    color: #1a1a1a;
}

.code-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.code-inputs input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    font-family: 'SF Mono', 'Courier New', monospace;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

.code-inputs input:focus {
    border-color: #FF8C00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
}

.code-inputs input.filled {
    border-color: #FF8C00;
}

.code-inputs input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.resend-row {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #6b7280;
}

.resend-link {
    color: #FF8C00;
    cursor: pointer;
    font-weight: 500;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 13px;
}

.resend-link:hover {
    text-decoration: underline;
}

.resend-link:disabled {
    color: #9ca3af;
    cursor: not-allowed;
    text-decoration: none;
}

/* Step 4: Success */
.success-icon {
    width: 64px;
    height: 64px;
    background: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #10b981;
}

.success-text {
    text-align: center;
}

.success-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.success-text p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

.btn-dashboard {
    display: inline-block;
    padding: 11px 48px;
    background: #FF8C00;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-dashboard:hover {
    background: #E07B00;
}

/* Tablet: stack form rows */
@media (max-width: 768px) {
    .register-container {
        max-width: 100%;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
