/* Step 2 specific CSS fixes */

/* Fix for arrow alignment in buttons */
.fas.fa-arrow-left,
.fas.fa-arrow-right {
    line-height: 1;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

/* Service option styles */
.service-option {
    transition: all 0.25s ease;
}

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

.service-option.selected {
    border-color: #0969DA;
    background-color: #f0f7ff;
    box-shadow: 0 2px 8px rgba(9, 105, 218, 0.1);
    transform: translateY(-2px);
}

/* Address search focus effect */
#address-search:focus {
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.2);
}

/* Confirm location/address button styles */
#confirm-location, 
#complete-address {
    position: relative;
    box-shadow: none !important; /* Override any unwanted shadow effects */
}

/* Address details navigation button container */
#address-details-section .flex.justify-between {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    gap: 0.5rem; /* Space between buttons */
}

/* Hide mobile bottom nav when address details section is visible */
#address-details-section:not(.hidden) ~ #mobile-bottom-nav,
.step-content:has(#address-details-section:not(.hidden)) ~ #mobile-bottom-nav {
    display: none !important;
}

/* Style for the scroll indicator */
.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

/* Animation for the bouncing arrow */
.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Mobile-specific styles */
@media (max-width: 640px) {
    /* Make buttons more prominent */
    #manual-address-continue, 
    #confirm-location, 
    #complete-address {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    /* Give more space for address details inputs */
    #address-details-section input,
    #address-details-section textarea {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    /* Ensure navigation buttons have enough spacing */
    #address-details-section .flex.justify-between {
        gap: 1rem;
    }
}