.bike-appointment-booking {
    padding: 20px 0;
}

.bike-appointment-booking .form-group {
    margin-bottom: 20px;
}

.bike-appointment-booking label {
    font-weight: bold;
    margin-bottom: 5px;
}

.appointment-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.appointment-info h3 {
    margin-top: 0;
    color: #333;
}

.appointment-info ul {
    list-style-type: none;
    padding: 0;
}

.appointment-info li {
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.appointment-info li:last-child {
    border-bottom: none;
}

.appointment-info li:before {
    content: "✓ ";
    color: #28a745;
    font-weight: bold;
}

.bike-appointment-cancel .appointment-details {
    max-width: 600px;
    margin: 0 auto;
}

.bike-appointment-link {
    text-align: center;
    padding: 20px 0;
    background: #f8f9fa;
    margin: 20px 0;
}

.bike-appointment-link .btn {
    padding: 12px 30px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .bike-appointment-booking .row .col-md-6 {
        margin-bottom: 15px;
    }
    
    .appointment-info {
        margin-top: 30px;
    }
}


.time-slots-container {
    max-width: 100%;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    background-color: #fafafa;
}

.time-slot {
    padding: 8px 12px;
    border: 2px solid transparent;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.time-slot.available {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.time-slot.available:hover {
    background-color: #218838;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.time-slot.selected {
    background-color: #007bff !important;
    border-color: #0056b3 !important;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.time-slot.booked {
    background-color: #dc3545;
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

.time-slot.past {
    background-color: #6c757d;
    color: white;
    cursor: not-allowed;
    opacity: 0.5;
}

.time-slots-legend {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.time-slots-legend .badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.time-slots-legend .badge::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.badge-success::before {
    background-color: #28a745;
}

.badge-danger::before {
    background-color: #dc3545;
}

.badge-secondary::before {
    background-color: #6c757d;
}

.badge-primary::before {
    background-color: #007bff;
}

.selected-time-info {
    margin-top: 15px;
    padding: 10px;
    background-color: #e3f2fd;
    border-radius: 4px;
    border-left: 4px solid #2196f3;
}

.appointment-info {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 20px;
    margin-top: 20px;
}

.appointment-info h4 {
    color: #495057;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.appointment-info .info-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: white;
    border-radius: 4px;
    border-left: 3px solid #007bff;
}

/* Holiday styling */
.holiday-date {
    background-color: #ffe6e6 !important;
    border-color: #ff9999 !important;
}

.holiday-message {
    background-color: #fff3cd;
    color: #856404;
    padding: 10px;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    margin-bottom: 15px;
    font-style: italic;
}

.holiday-indicator {
    color: #dc3545;
    font-weight: bold;
    margin-left: 5px;
}

/* Service Category Styling */
.service-category-choice {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 10px;
}

.service-category-choice .form-check {
    flex: 1;
    min-width: 250px;
    height: 120px;
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    background-color: #f8f9fa;
    transition: border-color 0.2s ease;
    cursor: pointer;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.service-category-choice .form-check:hover {
    border-color: #b3d9ff;
    background-color: #f0f8ff;
}

.service-category-choice .form-check.checked {
    border-color: #80c7ff;
    background-color: #f0f8ff;
    box-shadow: 0 2px 4px rgba(128,199,255,0.2);
    margin-top: 0;
}

.service-category-choice .form-check-input {
    position: absolute;
    top: 15px;
    left: 15px;
    margin: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #80c7ff;
    background-color: white;
}

.service-category-choice .form-check-input:checked {
    background-color: #80c7ff;
    border-color: #80c7ff;
}

.service-category-choice .form-check-label {
    display: block;
    cursor: pointer;
    margin: 0;
    padding-top: 10px;
    font-weight: normal;
}

.service-category-choice .form-check-label strong {
    display: block;
    font-size: 18px;
    color: #007bff;
    margin-bottom: 8px;
    font-weight: 600;
}

.service-category-choice .form-check-label small {
    display: block;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.service-category-choice .form-check:hover .form-check-label strong {
    color: #005db9;
}

.service-category-choice .form-check.checked .form-check-label strong {
    color: #4da6ff;
}

/* Newsletter Subscription Styling */
.newsletter-subscription {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 2px;
    padding: 15px;
    margin: 20px 0;
}

.newsletter-subscription .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
}

.newsletter-subscription .form-check-input {
    margin: 0;
    margin-top: 1px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #007bff;
    background-color: white;
}

.newsletter-subscription .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.newsletter-subscription .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    border-color: #007bff;
}

.newsletter-subscription .form-check-label {
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    color: #495057;
}

.newsletter-subscription .form-check-label small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

/*.newsletter-subscription:hover {
    background-color: #e9ecef;
    border-color: #007bff;
}*/

@media (max-width: 768px) {
    .service-category-choice {
        flex-direction: column;
        gap: 15px;
    }
    
    .service-category-choice .form-check {
        max-width: 100%;
        min-width: auto;
        padding: 15px;
    }
    
    .service-category-choice .form-check-label strong {
        font-size: 16px;
    }
    
    .service-category-choice .form-check-label small {
        font-size: 13px;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 6px;
        padding: 10px;
    }
    
    .time-slot {
        padding: 6px 8px;
        font-size: 12px;
    }

    .newsletter-subscription .form-check {
        flex-direction: column;
        gap: 5px;
    }
    
    .newsletter-subscription .form-check-input {
        align-self: flex-start;
    }
}