/* Wizard Signup Styles */

.wizard-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    transform: translateY(-50%);
    z-index: 1;
}

.wizard-progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background: var(--main-bg, #007bff);
    transform: translateY(-50%);
    z-index: 2;
    transition: width 0.3s ease;
    width: 0%;
}

.wizard-step {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wizard-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.wizard-step.active .wizard-step-circle {
    background: var(--main-bg, #007bff);
    color: white;
    border-color: var(--main-bg, #007bff);
}

.wizard-step.completed .wizard-step-circle {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.wizard-step.completed .wizard-step-circle::before {
    content: '✓';
}

.wizard-step-label {
    font-size: 12px;
    text-align: center;
    color: #6c757d;
    font-weight: 500;
    max-width: 80px;
}

.wizard-step.active .wizard-step-label {
    color: var(--main-bg, #007bff);
    font-weight: 600;
}

.wizard-step.completed .wizard-step-label {
    color: #28a745;
}

.wizard-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    min-height: 400px;
}

.wizard-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wizard-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.wizard-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wizard-btn-secondary {
    background: #6c757d;
    color: white;
}

.wizard-btn-secondary:hover {
    background: #5a6268;
}

.wizard-btn-primary {
    background: var(--main-bg, #007bff);
    color: white;
}

.wizard-btn-primary:hover {
    background: #0056b3;
}

.wizard-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Avatar Upload Styles */
.avatar-upload-container {
    text-align: center;
    margin-bottom: 30px;
}

.avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #e9ecef;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-preview:hover {
    border-color: var(--main-bg, #007bff);
    transform: scale(1.05);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-preview-placeholder {
    color: #6c757d;
    font-size: 48px;
}

.avatar-upload-btn {
    background: var(--main-bg, #007bff);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.avatar-upload-btn:hover {
    background: #0056b3;
}

.avatar-upload-input {
    display: none;
}

.avatar-upload-note {
    font-size: 12px;
    color: #6c757d;
    margin-top: 10px;
}

/* Form Styles */
.wizard-form-group {
    margin-bottom: 20px;
}

.wizard-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
}

.wizard-form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.wizard-form-input:focus {
    outline: none;
    border-color: var(--main-bg, #007bff);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.wizard-form-row {
    display: flex;
    gap: 15px;
}

.wizard-form-col {
    flex: 1;
}

.wizard-form-textarea {
    resize: vertical;
    min-height: 80px;
}

.wizard-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 15px;
}

.wizard-form-checkbox input[type="checkbox"] {
    margin-top: 4px;
}

.wizard-form-checkbox label {
    font-weight: normal;
    cursor: pointer;
    line-height: 1.4;
}

.wizard-form-help {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

.wizard-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.wizard-summary h5 {
    margin-bottom: 15px;
    color: #495057;
}

.wizard-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.wizard-summary-item:last-child {
    border-bottom: none;
}

.wizard-summary-label {
    font-weight: 500;
    color: #6c757d;
}

.wizard-summary-value {
    color: #495057;
    text-align: right;
    max-width: 60%;
    word-wrap: break-word;
}

/* Mobile Responsive */
@@media (max-width: 768px) {
    .wizard-container {
        padding: 15px;
    }
    
    .wizard-progress {
        margin-bottom: 30px;
    }
    
    .wizard-step-label {
        font-size: 10px;
        max-width: 60px;
    }
    
    .wizard-step-circle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .wizard-content {
        padding: 20px;
    }
    
    .wizard-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .wizard-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .wizard-btn {
        justify-content: center;
    }
    
    .avatar-preview {
        width: 100px;
        height: 100px;
    }
    
    .wizard-summary-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .wizard-summary-value {
        text-align: left;
        max-width: 100%;
    }
}

@@media (max-width: 480px) {
    .wizard-step-label {
        display: none;
    }
    
    .wizard-step-circle {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .avatar-preview {
        width: 80px;
        height: 80px;
    }
    
    .avatar-preview-placeholder {
        font-size: 32px;
    }
}

/* Dark Mode Support */
@@media (prefers-color-scheme: dark) {
    .wizard-content {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .wizard-form-input {
        background: #4a5568;
        border-color: #718096;
        color: #e2e8f0;
    }
    
    .wizard-form-label {
        color: #e2e8f0;
    }
    
    .wizard-summary {
        background: #4a5568;
    }
}
