/* Signup Wizard Styles */

.signup-wizard-card {
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.time-estimate {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
}

/* Progress Bar */
.progress-container {
    position: relative;
    margin: 2rem 0;
}

.progress-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    width: 16.67%;
    transition: width 0.4s ease;
    border-radius: 2px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    position: relative;
}

.step-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.step-indicator.active {
    background: #007bff;
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.step-indicator.completed {
    background: #28a745;
}

/* Wizard Steps */
.wizard-container {
    min-height: 300px;
    position: relative;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.4s ease;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
}

.wizard-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

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

.step-content {
    padding: 1rem 0;
}

.step-label {
    display: block;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #212529;
    line-height: 1.5;
}

.step-input {
    font-size: 1.05rem;
    padding: 1rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.step-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    outline: none;
}

.step-input.valid {
    border-color: #28a745;
}

.step-input.invalid {
    border-color: #dc3545;
}

.step-input:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

/* Validation Messages */
.validation-message {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    min-height: 1.5rem;
    transition: all 0.3s ease;
}

.validation-message.checking {
    color: #6c757d;
}

.validation-message.success {
    color: #28a745;
    font-weight: 500;
}

.validation-message.error {
    color: #dc3545;
    font-weight: 500;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1.5rem;
    display: none;
}

.error-message.show {
    display: block;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Step Actions */
.step-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.step-button,
.step-button-back {
    flex: 1;
    padding: 0.75rem 1.5rem;
    font-size: 1.05rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.step-button {
    background: #007bff;
    color: white;
}

.step-button:hover:not(:disabled) {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.step-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.step-button-back {
    background: white;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.step-button-back:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Checkmark */
.success-check {
    display: inline-block;
    color: #28a745;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Responsive */
@media only screen and (max-width: 767px) {
    .signup-wizard-card {
        border: none;
        box-shadow: none;
    }
    
    .step-label {
        font-size: 1.05rem;
    }
    
    .step-input {
        font-size: 1rem;
        padding: 0.9rem 1rem;
    }
    
    .step-button,
    .step-button-back {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }
    
    .progress-steps {
        margin-top: 0.3rem;
    }
    
    .step-indicator {
        width: 8px;
        height: 8px;
    }
}

