/* Business Profile Styles */
.business-profile {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.loading {
    text-align: center;
    padding: 60px 20px;
}

.business-header {
    margin-bottom: 30px;
}

.business-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.business-info h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.category {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
}

.star {
    filter: grayscale(100%);
}

.star.filled {
    filter: none;
}

.rating-value {
    font-weight: bold;
    color: #f39c12;
}

.review-count {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.section h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #2c3e50;
}

.contact-info p {
    margin-bottom: 8px;
}

.services-list {
    display: grid;
    gap: 16px;
}

.service-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    transition: box-shadow 0.2s;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-card h4 {
    margin-bottom: 8px;
    color: #2c3e50;
}

.service-description {
    color: #7f8c8d;
    margin-bottom: 12px;
}

.service-details {
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
}

.price {
    color: #27ae60;
    font-weight: bold;
}

.duration {
    color: #7f8c8d;
}

.reviews-list {
    display: grid;
    gap: 16px;
}

.review-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-rating {
    font-size: 0.9rem;
}

.review-comment {
    color: #555;
    margin-bottom: 8px;
}

.review-date {
    color: #7f8c8d;
    font-size: 0.8rem;
    margin: 0;
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.action-buttons .btn {
    flex: 1;
}

/* Booking Form Styles */
.booking-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-container {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #2c3e50;
}

.business-name {
    color: #7f8c8d;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.service-info {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 12px;
    margin: 12px 0;
    color: #555;
}

.loading-slots {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.time-slot {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.time-slot:hover {
    border-color: #3498db;
    background: #ecf0f1;
}

.time-slot.selected {
    border-color: #3498db;
    background: #3498db;
    color: #fff;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.form-actions .btn {
    flex: 1;
}

.booking-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.booking-success h2 {
    color: #27ae60;
    margin-bottom: 24px;
}

.confirmation-code {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.confirmation-code .code {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    margin-top: 8px;
    letter-spacing: 2px;
}

.booking-details {
    text-align: left;
    max-width: 400px;
    margin: 24px auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.booking-details p {
    margin-bottom: 12px;
}

.success-message {
    color: #7f8c8d;
    margin-top: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .business-profile,
    .booking-form {
        padding: 12px;
    }

    .business-image {
        height: 200px;
    }

    .action-buttons,
    .form-actions {
        flex-direction: column;
    }

    .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }
}
