/* Book Ride Page Styles */

.book-ride-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.book-ride-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* Booking Form Container */
.booking-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(45, 1, 204, 0.1);
}

.booking-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #055bf1;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.booking-subtitle {
    color: #0d0574;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Form Styles */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2b8659;
    box-shadow: 0 0 0 3px rgba(43, 134, 89, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Input with Icon */
.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.input-with-icon input {
    padding-left: 3rem;
}

/* Trip Type Radio Buttons */
.trip-type {
    margin-bottom: 1rem;
}

.radio-group {
    display: flex;
    gap: 2rem;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #2b8659;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    margin-right: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #2b8659;
    background-color: #2b8659;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}

/* Book Ride Button */
.btn-book-ride {
    background: linear-gradient(135deg, #2b8659 0%, #2b8659 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    box-shadow: 0 4px 16px rgba(91, 76, 139, 0.3);
}

.btn-book-ride:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 3, 105, 0.4);
}

.btn-book-ride:active {
    transform: translateY(0);
}

/* Ride Info Panel */
.ride-info-panel {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 2rem;
}

.ride-info-panel h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Pricing Info */
.pricing-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
}

.pricing-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-weight: 500;
}

.price-item span:first-child {
    color: #4a5568;
}

.price-item span:last-child {
    color: #5B4C8B;
    font-weight: 600;
}

.price-note {
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .book-ride-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ride-info-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .book-ride-hero {
        padding: 1rem 0;
    }
    
    .booking-form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .ride-info-panel {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .booking-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .radio-group {
        gap: 1rem;
    }
    
    .info-item {
        gap: 0.75rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .booking-form-container {
        margin: 0 0.5rem;
        padding: 1rem;
    }
    
    .ride-info-panel {
        margin: 0 0.5rem;
        padding: 1rem;
    }
    
    .booking-title {
        font-size: 1.75rem;
    }
    
    .booking-subtitle {
        font-size: 1rem;
    }
    
    .btn-book-ride {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}