/**
 * Public styles for Hyperlific Expert plugin
 */

/* Expert Profiles Grid */
.hyperexpert-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.hyperexpert-profile-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.hyperexpert-profile-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hyperexpert-profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.hyperexpert-profile-expertise {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}

.hyperexpert-profile-rate {
    font-size: 18px;
    font-weight: bold;
    color: #2271b1;
    margin: 10px 0;
}

/* Booking Widget */
.hyperexpert-booking-widget {
    max-width: 400px;
    margin: 20px 0;
}

.hyperexpert-booking-calendar {
    margin-bottom: 20px;
}

.hyperexpert-date-picker {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.hyperexpert-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.hyperexpert-slot {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.hyperexpert-slot:hover {
    background-color: #f0f0f0;
}

.hyperexpert-slot.selected {
    background-color: #2271b1;
    color: white;
}

/* Consultation Room */
.hyperexpert-consultation-room {
    max-width: 1200px;
    margin: 0 auto;
}

.hyperexpert-room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 20px;
}

.hyperexpert-room-timer {
    font-size: 24px;
    font-weight: bold;
}

.hyperexpert-video-container {
    position: relative;
    background: #000;
    border-radius: 8px;
    min-height: 500px;
    margin-bottom: 20px;
}

.hyperexpert-video-remote {
    width: 100%;
    height: 500px;
}

.hyperexpert-video-local {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: 150px;
    background: #333;
    border-radius: 8px;
}

.hyperexpert-room-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

/* Dashboard */
.hyperexpert-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-box h3 {
    margin: 0;
    font-size: 32px;
    color: #2271b1;
}

.stat-box p {
    margin: 10px 0 0;
    color: #666;
}

/* Loading and Error States */
.hyperexpert-booking-loading,
.hyperexpert-room-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.hyperexpert-booking-error,
.hyperexpert-room-error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}
