/* Multi-Step Signup Form Styles */

.signup-card {
    max-width: 600px;
    padding: 32px;
}

/* Plan Type Toggle */
.plan-type-toggle {
    display: flex;
    background: #f1f3f4;
    border-radius: 25px;
    padding: 4px;
    margin-bottom: 20px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
}

.plan-type-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.plan-type-btn:hover {
    color: #368BC1;
}

.plan-type-btn.active {
    background: white;
    color: #368BC1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive: stack buttons on small screens */
@media (max-width: 480px) {
    .plan-type-toggle {
        border-radius: 12px;
        padding: 6px;
        gap: 4px;
    }

    .plan-type-btn {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 8px;
    }
}

/* Plan Badge */
.plan-badge {
    background: linear-gradient(135deg, #368BC1 0%, #2c6fa0 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(54, 139, 193, 0.2);
    flex-wrap: wrap;
}

.plan-badge--monthly {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.badge-cancel-anytime {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-left: 4px;
}

/* Promo Badge Styles */
.plan-badge--promo {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.badge-promo-discount {
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-left: 4px;
}

.plan-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-badge strong {
    font-weight: 600;
}

/* Progress Indicator */
.progress-container {
    margin-bottom: 40px;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    transition: color 0.3s ease;
}

.progress-step.active .step-circle {
    background: #368BC1;
    border-color: #368BC1;
    color: white;
    box-shadow: 0 4px 12px rgba(54, 139, 193, 0.3);
}

.progress-step.active .step-label {
    color: #368BC1;
}

.progress-step.completed .step-circle {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.progress-step.completed .step-circle::before {
    content: '✓';
    font-size: 16px;
}

.progress-step.completed .step-label {
    color: #28a745;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: #dee2e6;
    margin: 0 8px;
    position: relative;
    top: -20px;
    transition: background 0.3s ease;
}

.progress-line.completed {
    background: #28a745;
}

/* Form Steps */
.multistep-form {
    position: relative;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 8px 0;
}

.step-description {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0 0 24px 0;
}

/* Input Labels */
.input-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #495057;
    margin-bottom: 6px;
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: #368BC1;
    color: white;
}

.btn-primary:hover {
    background: #2c6fa0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(54, 139, 193, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.btn-secondary:hover {
    background: #e9ecef;
}

/* Review Summary */
.review-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e9ecef;
}

.summary-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 16px 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-label {
    font-size: 12px;
    font-weight: 500;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 15px;
    color: #212529;
    font-weight: 500;
}

.edit-info-btn {
    width: 100%;
    padding: 10px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #368BC1;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.edit-info-btn:hover {
    background: #f8f9fa;
    border-color: #368BC1;
}

/* Payment Info */
.payment-info {
    margin-top: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .signup-card {
        padding: 24px;
    }

    .login-logo-section img {
        height: 80px !important;
    }

    .progress-steps {
        padding: 0 8px;
    }

    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .step-label {
        font-size: 10px;
    }

    .progress-line {
        margin: 0 4px;
    }

    .step-title {
        font-size: 20px;
    }

    .form-navigation {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }
}
