/* Go High Level Calendar Integration Styles */

.ghl-calendar-container {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    color: var(--white);
}

.ghl-calendar-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.ghl-calendar-header h3 {
    margin-bottom: 0.5rem;
}

.ghl-calendar-header p {
    color: var(--primary-color);
    font-weight: 500;
}

.ghl-calendar-month {
    margin-bottom: 2rem;
}

.ghl-month-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ghl-prev-month, .ghl-next-month {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.ghl-prev-month:hover, .ghl-next-month:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.ghl-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--mid-gray);
    font-size: 0.9rem;
}

.ghl-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.ghl-day {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: default;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.ghl-day.empty {
    background: none;
}

.ghl-day.past, .ghl-day.weekend {
    color: var(--mid-gray);
    opacity: 0.5;
}

.ghl-day.today {
    border: 2px solid var(--primary-color);
    font-weight: 600;
}

.ghl-day.available {
    cursor: pointer;
}

.ghl-day.available:hover {
    background-color: rgba(91, 20, 184, 0.2);
}

.ghl-day.selected {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.ghl-time-slots {
    margin-bottom: 2rem;
}

.ghl-time-slots h4 {
    margin-bottom: 1rem;
}

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

.ghl-time-slot {
    padding: 0.8rem;
    text-align: center;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.ghl-time-slot.available {
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.ghl-time-slot.unavailable {
    color: var(--mid-gray);
    opacity: 0.5;
    text-decoration: line-through;
}

.ghl-time-slot.available:hover {
    background-color: rgba(91, 20, 184, 0.2);
}

.ghl-time-slot.selected {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.ghl-booking-form {
    background-color: rgba(91, 20, 184, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid var(--primary-color);
}

.ghl-booking-form h4 {
    margin-bottom: 1rem;
}

.ghl-selected-datetime {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.ghl-form-info {
    margin-bottom: 1.5rem;
}

.ghl-form-info p {
    margin-bottom: 0.5rem;
}

.ghl-confirm-button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: block;
    width: 100%;
    margin-top: 1.5rem;
}

.ghl-confirm-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.ghl-booking-confirmation {
    text-align: center;
    padding: 2rem;
    background-color: rgba(91, 20, 184, 0.1);
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}

.ghl-confirmation-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.ghl-confirmed-datetime {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1rem 0 2rem;
}

.ghl-confirmation-note {
    margin: 1.5rem 0 1rem;
    color: var(--mid-gray);
}

.ghl-calendar-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ghl-calendar-button {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.ghl-calendar-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .ghl-slots-container {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .ghl-calendar-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ghl-calendar-button {
        width: 100%;
        justify-content: center;
    }
}
