/* Autobook Form Styles */

/* Background Colors */
.bg-light-grey {
    background-color: #f8f9fa;
}

/* Autobook Header Section */
.autobook-header {
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a52 100%);
    padding: 2rem 0;
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.autobook-header h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.autobook-header strong {
    color: var(--lime);
}

/* Info Sidebar */
.info-sidebar {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    position: sticky;
    top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-sidebar h4 {
    color: var(--navy);
    position: relative;
    padding-bottom: 0.5rem;
}

.info-sidebar h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--lime);
    border-radius: 2px;
}

.info-sidebar ul li {
    color: #495057;
    padding-left: 0.5rem;
    transition: transform 0.2s ease;
}

.info-sidebar ul li:hover {
    transform: translateX(5px);
}

/* Step Progress Bar */
.step-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 1rem 0;
}

.step-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 0;
}

.step-progress-line {
    position: absolute;
    top: 20px;
    left: 12.5%;
    height: 3px;
    background: var(--lime);
    z-index: 1;
    transition: width 0.4s ease;
    width: 0%;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    border: 3px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    color: white;
}

.step-item.active .step-circle {
    border-color: var(--lime);
    background: var(--lime);
    color: var(--navy);
    transform: scale(1.1);
}

.step-item.completed .step-circle {
    border-color: var(--lime);
    background: var(--lime);
    color: var(--navy);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    transition: color 0.3s ease;
}

.step-item.active .step-label {
    color: var(--lime);
    font-weight: 600;
}

.step-item.completed .step-label {
    color: var(--lime);
}

/* Question Steps */
.question-step {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.question-step h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.question-step h2 strong {
    font-weight: 700;
}

/* Service Selection Buttons */
.service-option {
    padding: 1.5rem 1rem;
    border: 3px solid #e0e0e0;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.service-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--lime);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-option:hover::before {
    opacity: 1;
}

.service-option:hover {
    border-color: var(--lime);
    color: var(--navy);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(214, 253, 81, 0.4);
}

.service-option * {
    position: relative;
    z-index: 1;
}

.service-option:hover img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(22%) saturate(2087%) hue-rotate(173deg) brightness(96%) contrast(97%);
    transform: scale(1.1);
}

.service-option img {
    transition: all 0.3s ease;
}

.service-option.selected {
    border-color: var(--lime);
    background: var(--lime);
    color: var(--navy);
}

/* Form Controls */
.autobook-input {
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.autobook-input:focus {
    border-color: var(--lime);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(214, 253, 81, 0.25), 0 4px 12px rgba(214, 253, 81, 0.2);
    transform: translateY(-1px);
}

.autobook-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.autobook-btn-primary {
    background: var(--lime);
    color: var(--navy) !important;
    font-weight: bold;
}

.autobook-btn-primary:hover {
    background: var(--lime);
    color: var(--navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(214, 253, 81, 0.4);
}

.autobook-btn-secondary {
    background: var(--navy);
    color: white;
}

.autobook-btn-secondary:hover {
    background: var(--navy);
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 36, 56, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .step-progress::before {
        top: 16px;
        left: 12.5%;
        right: 12.5%;
    }
    
    .step-progress-line {
        top: 16px;
        left: 12.5%;
    }
    
    .question-step {
        padding: 1.5rem 1rem;
    }
    
    .question-step h2 {
        font-size: 1.25rem;
    }
    
    .service-option {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-step {
    animation: fadeIn 0.4s ease;
}

/* Loading State */
.autobook-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.autobook-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--lime);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

