/**
 * Onboarding Wizard Styles - Modern High-Tech Theme
 */

/* Container */
.onboarding-wizard-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: #111827;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.onboarding-wizard-container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    width: 100%;
}

.onboarding-wizard-container h2:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

/* Progress Bar */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.progress-step {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 33.333%;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #1e293b;
    border: 2px solid #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-step.active .step-number {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.progress-step.completed .step-number {
    background: #10b981;
    border-color: #10b981;
    color: white;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.step-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

.progress-step.active .step-label {
    color: #fff;
    font-weight: 500;
}

/* Form Styles */
.wizard-step {
    background: #1e293b;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.wizard-step:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
}

.wizard-step h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.step-icon {
    margin-right: 10px;
    font-size: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.optional-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
}

/* Input styles with prefix */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.input-with-icon input {
    padding-left: 30px !important;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 16px;
    background-color: #0f172a;
    color: #fff;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

/* Slider container and labels */
.slider-container {
    position: relative;
    margin-bottom: 15px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.form-group input[type="range"] {
    width: 100%;
    margin-bottom: 5px;
    -webkit-appearance: none;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    border-radius: 10px;
    outline: none;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.form-group select[multiple] {
    height: 140px;
}

.help-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-top: 6px;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.radio-group label {
    flex: 1;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.7);
    transition: all 0.3s ease;
}

.radio-group label:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.radio-group input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.radio-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.radio-label {
    font-weight: 500;
}

.radio-group label.selected {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

/* Toggle Labels */
.toggle-group {
    margin-bottom: 15px;
}

.toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 15px;
    background: rgba(15, 23, 42, 0.7);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-label:hover {
    background: rgba(59, 130, 246, 0.1);
}

.toggle-custom {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-right: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.toggle-custom:after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
}

.toggle-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.toggle-label input[type="checkbox"]:checked + .toggle-custom {
    background-color: #3b82f6;
}

.toggle-label input[type="checkbox"]:checked + .toggle-custom:after {
    transform: translateX(20px);
}

.toggle-content {
    display: flex;
    flex-direction: column;
}

.toggle-title {
    font-weight: 500;
    margin-bottom: 3px;
}

.toggle-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Buttons */
.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

button.next-step-btn,
button.prev-step-btn,
button.launch-btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
}

.button-icon {
    margin-left: 8px;
    margin-right: 8px;
}

button.next-step-btn,
button.launch-btn {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

button.next-step-btn:hover,
button.launch-btn:hover {
    background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

button.prev-step-btn {
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

button.prev-step-btn:hover {
    background: rgba(15, 23, 42, 1);
    border-color: rgba(255, 255, 255, 0.2);
}

button.launch-btn {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

button.launch-btn:hover {
    background: linear-gradient(90deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Summary Card */
.summary-card {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.summary-card:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.2), transparent 70%);
}

.summary-card h4 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 25px;
    color: #fff;
    text-align: center;
    position: relative;
}

.summary-card h4:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.summary-section {
    margin-bottom: 25px;
}

.summary-section h5 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.summary-icon {
    margin-right: 8px;
    font-size: 18px;
}

.summary-section p {
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.8);
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.summary-section p:last-child {
    border-bottom: none;
}

.summary-section p strong {
    color: #fff;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    align-items: center;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.error {
    background: linear-gradient(90deg, #f43f5e 0%, #e11d48 100%);
}

.toast.success {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.toast.info {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .onboarding-wizard-container {
        padding: 20px;
        border-radius: 8px;
    }

    .wizard-step {
        padding: 20px;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-group label {
        width: 100%;
    }

    .button-group {
        flex-direction: column;
        gap: 15px;
    }

    button.prev-step-btn, 
    button.next-step-btn, 
    button.launch-btn {
        width: 100%;
        justify-content: center;
    }
} 