/**
 * Signup Page Styles
 * 
 * Requires: common.css, header.css, forms.css
 */

/* ============================================================================
   PAGE LAYOUT
   ============================================================================ */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* ============================================================================
   SIGNUP CONTAINER
   ============================================================================ */

.signup-container {
    max-width: 600px;
    width: 100%;
    background: var(--bg-white, white);
    border-radius: 4px;
    padding: 3rem;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.1));
}

.signup-container h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 0.5rem;
    text-align: center;
}

.signup-container .subtitle {
    color: var(--text-secondary, #666);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

/* Full-width inputs in signup container */
.signup-container input[type="email"],
.signup-container input[type="password"],
.signup-container input[type="text"] {
    max-width: none;
}

/* ============================================================================
   STEP INDICATOR
   ============================================================================ */

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e5e5;
    color: var(--text-secondary, #666);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.step-number.active {
    background: var(--brand-primary, #c41e3a);
    color: white;
}

.step-number.completed {
    background: #28a745;
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: var(--text-secondary, #666);
}

.step-label.active {
    color: var(--text-primary, #333);
    font-weight: 500;
}

/* ============================================================================
   STEP CONTENT
   ============================================================================ */

.step-content {
    display: none;
}

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

/* ============================================================================
   VERIFICATION STEP
   ============================================================================ */

.verification-message {
    text-align: center;
    margin-bottom: 2rem;
}

.verification-message p {
    margin-bottom: 0.5rem;
}

.verification-message .subtitle {
    color: var(--text-secondary, #666);
    margin-bottom: 0;
}

#verificationCode {
    font-family: 'Courier New', monospace;
}

.resend-code {
    text-align: center;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.resend-code a {
    color: var(--brand-primary, #c41e3a);
    text-decoration: none;
}

.resend-code a:hover {
    text-decoration: underline;
}

/* ============================================================================
   PAYMENT OPTIONS
   ============================================================================ */

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: var(--brand-primary, #c41e3a);
    background: var(--bg-gray, #fafafa);
}

.payment-option.selected {
    border-color: var(--brand-primary, #c41e3a);
    background: #fff5f7;
}

.payment-option input[type="radio"] {
    margin-right: 1rem;
}

.option-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.option-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary, #333);
}

.option-description {
    color: var(--text-secondary, #666);
    font-size: 0.9rem;
    margin-left: 2rem;
}

.code-input-group {
    margin-top: 1rem;
    display: none;
}

.code-input-group.show {
    display: block;
}

/* ============================================================================
   NOT IMPLEMENTED NOTICE
   ============================================================================ */

.not-implemented {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 1rem;
    border-radius: 3px;
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .signup-container {
        padding: 2rem 1.5rem;
    }

    .signup-container h1 {
        font-size: 1.5rem;
    }

    .signup-container .subtitle {
        font-size: 0.9rem;
    }

    .step-indicator {
        flex-direction: column;
        align-items: center;
    }
}
