/* Apple Booking System - Frontend Styles */

/* Reset and Base Styles */
.apple-booking-page * {
    box-sizing: border-box;
}

.apple-booking-services-list,
.apple-booking-employees-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Services List Shortcode */
.apple-booking-services-list .service-item {
    background: #ffffff;
    border: 1px solid #e5e5e7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.apple-booking-services-list .service-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: #007AFF;
}

.apple-booking-services-list .service-item h4 {
    margin: 0 0 8px 0;
    color: #1d1d1f;
    font-size: 18px;
    font-weight: 600;
}

.apple-booking-services-list .service-category {
    color: #86868b;
    font-size: 14px;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.apple-booking-services-list .service-description {
    color: #515154;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.apple-booking-services-list .service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f5f5f7;
}

.apple-booking-services-list .service-price {
    color: #007AFF;
    font-weight: 600;
    font-size: 16px;
}

.apple-booking-services-list .service-duration {
    color: #86868b;
    font-size: 14px;
}

/* Employees List Shortcode */
.apple-booking-employees-list .employee-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e5e7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.apple-booking-employees-list .employee-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: #007AFF;
}

.apple-booking-employees-list .employee-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF, #5AC8FA);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.apple-booking-employees-list .employee-info h4 {
    margin: 0 0 5px 0;
    color: #1d1d1f;
    font-size: 18px;
    font-weight: 600;
}

.apple-booking-employees-list .employee-email,
.apple-booking-employees-list .employee-phone {
    margin: 0;
    color: #86868b;
    font-size: 14px;
}

/* Utility Classes */
.apple-booking-text-center {
    text-align: center;
}

.apple-booking-mt-20 {
    margin-top: 20px;
}

.apple-booking-mb-20 {
    margin-bottom: 20px;
}

.apple-booking-hidden {
    display: none !important;
}

/* Loading States */
.apple-booking-loading {
    opacity: 0.7;
    pointer-events: none;
}

.apple-booking-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #007AFF;
    border-top-color: transparent;
    border-radius: 50%;
    animation: apple-booking-spin 1s linear infinite;
}

@keyframes apple-booking-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .apple-booking-services-list,
    .apple-booking-employees-list {
        padding: 15px;
    }
    
    .apple-booking-services-list .service-item,
    .apple-booking-employees-list .employee-item {
        padding: 15px;
    }
    
    .apple-booking-services-list .service-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .apple-booking-employees-list .employee-item {
        flex-direction: column;
        text-align: center;
    }
    
    .apple-booking-employees-list .employee-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
}