/* Appointment Form Styles */
.appointment-wizard {
    max-width: 800px;
    margin: 0 auto;
    background: #2d2d2d;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 1px solid #404040;
}

/* Appointment Steps */
.wizard-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 200px;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #404040;
    z-index: 1;
}

.step.completed:not(:last-child)::after {
    background: #f59e0b;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #f59e0b;
    color: #1a1a1a;
    transform: scale(1.1);
}

.step.completed .step-number {
    background: #10b981;
    color: white;
}

.step-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #b3b3b3;
    text-align: center;
    line-height: 1.2;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #404040;
    border-radius: 8px;
    font-size: 1rem;
    background: #2d2d2d;
    color: #ffffff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    background: #404040;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7280;
}

/* Service Options */
.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-option {
    background: #2d2d2d;
    border: 2px solid #404040;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transition: left 0.5s;
}

.service-option:hover::before {
    left: 100%;
}

.service-option:hover {
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}

.service-option.selected {
    border-color: #f59e0b;
    background: #404040;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.service-option:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.service-info p {
    font-size: 0.9rem;
    color: #b3b3b3;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.service-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.service-duration {
    font-size: 0.8rem;
    color: #b3b3b3;
    background: #404040;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Appointment Summary */
.appointment-summary {
    background: #404040;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.summary-section {
    margin-bottom: 1.5rem;
}

.summary-section:last-child {
    margin-bottom: 0;
}

.summary-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f59e0b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #404040;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item .label {
    font-weight: 500;
    color: #b3b3b3;
}

.summary-item .value {
    font-weight: 600;
    color: #ffffff;
    text-align: right;
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(245, 158, 11, 0.05);
    transform: translateY(-1px);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #404040;
    border-radius: 4px;
    background: #2d2d2d;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #f59e0b;
    border-color: #f59e0b;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a1a1a;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-text {
    color: #b3b3b3;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-text a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.checkbox-text a:hover {
    color: #d97706;
    text-decoration: underline;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #404040;
}

.form-navigation .btn {
    min-width: 120px;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: #404040;
    color: #ffffff;
    border: 1px solid #6b7280;
}

.btn-secondary:hover {
    background: #6b7280;
    transform: translateY(-2px);
}

/* Time Select Styling */
.time-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.time-select option {
    background: #2d2d2d;
    color: #ffffff;
}

.time-select optgroup {
    background: #404040;
    color: #f59e0b;
    font-weight: 600;
    padding: 0.5rem;
}

.time-select optgroup option {
    background: #2d2d2d;
    color: #ffffff;
    padding-left: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .appointment-wizard {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .wizard-steps {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .step {
        flex-direction: row;
        text-align: left;
        max-width: none;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .step-number {
        margin-right: 1rem;
        margin-bottom: 0;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-option {
        padding: 1rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-navigation .btn {
        width: 100%;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .summary-item .value {
        text-align: left;
    }
    
    .checkmark {
        width: 28px;
        height: 28px;
    }
    
    .checkbox-label {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .appointment-wizard {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .service-option {
        padding: 1rem;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .checkmark {
        width: 32px;
        height: 32px;
    }
    
    .checkbox-label {
        padding: 1rem;
    }
}