/* Marketplace User Registration — shared styles */

.signup-wrapper {
    display: flex;
    min-height: 80vh;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.signup-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 520px;
    width: 100%;
    padding: 2.5rem 2rem;
}

.signup-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.signup-header h2 {
    font-weight: 700;
    font-size: 1.75rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.signup-header p {
    color: #6c757d;
    font-size: 0.95rem;
}

    .signup-header .icon-circle {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: #C45C26;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }

.signup-header .icon-circle i {
    font-size: 1.5rem;
    color: #fff;
}

/* Step progress indicator */
.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 0.5rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #adb5bd;
    transition: all 0.3s;
}

.step-item.active .step-circle {
    background: #C45C26;
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.step-item.completed .step-circle {
    background: #20c997;
    color: #fff;
}

.step-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.step-item.active .step-label {
    color: #667eea;
}

.step-item.completed .step-label {
    color: #20c997;
}

.step-line {
    width: 48px;
    height: 3px;
    background: #e9ecef;
    border-radius: 2px;
    margin: 0 0.5rem;
    margin-bottom: 1.2rem;
    transition: background 0.3s;
}

.step-line.completed {
    background: #20c997;
}

/* Form floating inputs */
.form-floating {
    margin-bottom: 1rem;
}

.form-floating .form-control {
    border-radius: 10px;
    border: 1.5px solid #dee2e6;
    padding: 1rem 0.75rem 0.25rem;
    height: calc(3.5rem + 2px);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-floating .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.form-floating label {
    padding: 1rem 0.75rem;
    color: #6c757d;
}

.name-row {
    display: flex;
    gap: 1rem;
}

.name-row .form-floating {
    flex: 1;
}

/* Submit button */
.btn-signup {
    width: 100%;
    padding: 0.85rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    background: #C45C26;
    border: none;
    color: #fff;
    transition: opacity 0.2s, transform 0.15s;
    margin-top: 0.5rem;
}

.btn-signup:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: #fff;
}

.btn-signup:active {
    transform: translateY(0);
}

/* Terms checkbox */
.terms-check {
    margin: 1rem 0 0.25rem;
}

.terms-check .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.terms-check label {
    font-size: 0.85rem;
    color: #6c757d;
}

.terms-check label a {
    color: #667eea;
    text-decoration: none;
}

.terms-check label a:hover {
    text-decoration: underline;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #adb5bd;
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider span {
    padding: 0 0.75rem;
}

/* Footer links */
.signup-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.signup-footer a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.signup-footer a:hover {
    text-decoration: underline;
}

/* OTP input */
.otp-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: 700;
}

/* Resend section */
.resend-section {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.resend-section p {
    margin-bottom: 0.25rem;
}

.resend-btn {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    padding: 0;
}

    .resend-btn:hover {
        text-decoration: underline;
        color: #C45C26;
    }

/* Password strength bar */
.password-strength {
    height: 4px;
    border-radius: 2px;
    background: #e9ecef;
    margin-top: 0.35rem;
    overflow: hidden;
}

.password-strength .bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s, background 0.3s;
}

/* Validation errors */
.field-validation-error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}
