/* Onboarding Overlay */
.onboarding-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.onboarding-container {
    background: white;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.onboarding-header {
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.onboarding-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.onboarding-subtitle {
    color: #666;
    font-size: 14px;
}

.onboarding-progress {
    height: 6px;
    background: #eee;
    border-radius: 3px;
    margin: 20px 25px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.3s ease;
}

.onboarding-steps {
    padding: 0 25px 25px;
}

.onboarding-step {
    display: none;
}

.onboarding-step h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--dark);
    text-align: center;
}

/* Photo Upload */
.photo-upload-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.photo-slot {
    aspect-ratio: 3/4;
    background: #f5f5f5;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    border: 2px dashed #ddd;
    transition: var(--transition);
}

.photo-slot:hover {
    border-color: var(--primary);
    background: #f0f0f0;
}

.photo-slot i {
    font-size: 40px;
    color: #ccc;
}

.photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form Inputs */
.onboarding-input {
    width: 100%;
    padding: 16px 20px;
    margin: 10px 0;
    border: 2px solid #eee;
    border-radius: 15px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.onboarding-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Option Selection */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.option-btn {
    padding: 18px 12px;
    border: 2px solid #eee;
    border-radius: 12px;
    background: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.option-btn.selected {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
}

/* Hobbies Grid */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.hobby-option {
    padding: 14px 8px;
    border: 2px solid #eee;
    border-radius: 10px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.hobby-option.selected {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
}

/* Navigation Buttons */
.onboarding-navigation {
    display: flex;
    justify-content: space-between;
    padding: 25px;
    border-top: 1px solid #eee;
}

.onboarding-btn {
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

#onboardingPrevBtn {
    background: #f5f5f5;
    color: #666;
}

#onboardingNextBtn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    min-width: 150px;
}

.onboarding-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Age Input Special */
.age-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.age-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    min-width: 80px;
    text-align: center;
}

.age-slider {
    flex: 1;
    -webkit-appearance: none;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    outline: none;
}

.age-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    cursor: pointer;
}

/* Add only this to your existing styles */
.photo-slot {
    position: relative;
}

.remove-photo {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 71, 87, 0.9);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-slot:hover .remove-photo {
    opacity: 1;
}

.photo-slot.uploaded {
    border: 2px solid var(--primary);
    border-style: solid;
}
