/* Onboarding Specific Styles */

/* Progress Bar */
.onboarding-progress {
    background: rgba(26, 26, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 1;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: #10b981;
    color: #ffffff;
}

.progress-step.completed .step-number {
    background: #10b981;
    color: #ffffff;
}

.step-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Main Onboarding Content */
.onboarding-main {
    padding: 2rem 0;
    min-height: calc(100vh - 150px);
}

.onboarding-content {
    max-width: 400px;
    margin: 0 auto;
}

.onboarding-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

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

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

.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-header p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Simple Form Styles */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #10b981;
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

/* Verification Code */
.verification-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.verification-code {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.code-input {
    width: 40px;
    height: 50px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--accent-color);
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.3s;
}

.code-input:focus {
    outline: none;
    border-color: #10b981;
}

.verification-timer {
    text-align: center;
}

.btn-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
}

.btn-link:hover {
    color: var(--text-primary);
}

/* Security Simple */
.security-simple {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(26, 26, 46, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.security-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.security-item label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
    flex: 1;
}

.security-title {
    font-weight: 500;
    color: var(--text-primary);
}

.security-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* KYC Form */
.kyc-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.document-upload-simple {
    margin: 1.5rem 0;
}

.document-upload-simple h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.upload-simple {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.upload-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(26, 26, 46, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: border-color 0.3s;
}

.upload-item:hover {
    border-color: rgba(16, 185, 129, 0.5);
}

.upload-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    flex: 1;
}

.upload-icon {
    font-size: 0.7rem;
    font-weight: 600;
    color: #10b981;
    padding: 0.5rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.upload-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* Review Simple */
.review-simple {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(26, 26, 46, 0.3);
    border-radius: 8px;
}

.status-icon {
    font-size: 0.7rem;
    font-weight: 600;
    color: #10b981;
    padding: 0.5rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-icon.pending {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.status-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* Deposit Simple */
.deposit-simple {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.deposit-address {
    display: flex;
    gap: 0.5rem;
}

.deposit-address input {
    flex: 1;
    padding: 1rem;
    background: var(--accent-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: monospace;
    font-size: 0.9rem;
}

.deposit-warning {
    padding: 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    text-align: center;
}

.deposit-warning p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.deposit-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Completion Simple */
.completion-simple {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.completion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(26, 26, 46, 0.3);
    border-radius: 8px;
}

.completion-icon {
    font-size: 0.7rem;
    font-weight: 600;
    color: #10b981;
    padding: 0.5rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.completion-text {
    color: var(--text-primary);
    font-weight: 500;
}

.completion-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Navigation */
.onboarding-nav {
    background: rgba(26, 26, 30, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    position: sticky;
    bottom: 0;
}

.onboarding-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-spacer {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .progress-bar {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .progress-step {
        flex: none;
        min-width: 80px;
    }
    
    .step-header h1 {
        font-size: 2rem;
    }
    
    .signup-options,
    .funding-options {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .upload-section {
        grid-template-columns: 1fr;
    }
    
    .review-status,
    .completion-summary {
        grid-template-columns: 1fr;
    }
    
    .verification-code {
        gap: 0.5rem;
    }
    
    .code-input {
        width: 40px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .address-container {
        flex-direction: column;
    }
    
    .deposit-warning {
        flex-direction: column;
        text-align: center;
    }
    
    .security-actions,
    .review-actions,
    .funding-actions,
    .completion-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .onboarding-main {
        padding: 2rem 0;
    }
    
    .step-header h1 {
        font-size: 1.8rem;
    }
    
    .verification-code {
        gap: 0.25rem;
    }
    
    .code-input {
        width: 35px;
        height: 45px;
        font-size: 1rem;
    }
    
    .upload-card,
    .status-card,
    .summary-card {
        padding: 1rem;
    }
}
