/* Go High Level Calendar Integration Styles - Dark Theme */

.ghl-calendar-container {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    color: var(--color-text-primary);
}

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

.ghl-calendar-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--color-text-primary);
}

.ghl-calendar-header p {
    color: var(--color-cyan);
    font-weight: 500;
    font-size: 0.95rem;
}

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

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

.ghl-month-header h4 {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin: 0;
}

.ghl-prev-month, .ghl-next-month {
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ghl-prev-month:hover, .ghl-next-month:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--color-purple-500);
    color: var(--color-text-primary);
}

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

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

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

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

.ghl-day.past, .ghl-day.weekend {
    color: var(--color-text-muted);
    opacity: 0.4;
}

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

.ghl-day.available {
    cursor: pointer;
    color: var(--color-text-primary);
}

.ghl-day.available:hover {
    background: rgba(139, 92, 246, 0.2);
    color: var(--color-text-primary);
}

.ghl-day.selected {
    background: linear-gradient(135deg, var(--color-purple-500), var(--color-cyan));
    color: white;
    font-weight: 600;
    box-shadow: 0 0 20px var(--color-purple-glow);
}

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

.ghl-time-slots h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--color-text-primary);
}

.ghl-time-slots h4 span {
    color: var(--color-cyan);
}

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

.ghl-time-slot {
    padding: 0.75rem 0.5rem;
    text-align: center;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.ghl-time-slot.available {
    background: var(--color-surface-light);
    color: var(--color-text-secondary);
    cursor: pointer;
}

.ghl-time-slot.unavailable {
    color: var(--color-text-muted);
    opacity: 0.4;
    text-decoration: line-through;
    background: transparent;
    border-color: transparent;
}

.ghl-time-slot.available:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--color-purple-500);
    color: var(--color-text-primary);
}

.ghl-time-slot.selected {
    background: linear-gradient(135deg, var(--color-purple-500), var(--color-cyan));
    color: white;
    font-weight: 600;
    border-color: transparent;
    box-shadow: 0 0 15px var(--color-purple-glow);
}

.ghl-booking-form {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.05));
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid var(--color-purple-500);
}

.ghl-booking-form h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--color-text-primary);
}

.ghl-selected-datetime {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ghl-selected-datetime i {
    color: var(--color-cyan);
}

.ghl-selected-datetime span {
    background: linear-gradient(135deg, var(--color-purple-300), var(--color-cyan-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ghl-form-info {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--color-surface);
    border-radius: 0.75rem;
    border: 1px solid var(--color-border);
}

.ghl-form-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.ghl-form-info p:last-child {
    margin-bottom: 0;
}

.ghl-form-info strong {
    color: var(--color-text-muted);
    font-weight: 500;
}

.ghl-confirm-button {
    background: linear-gradient(135deg, var(--color-purple-500) 0%, var(--color-purple-400) 100%);
    color: white;
    border: none;
    border-radius: 2rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s ease;
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(139, 92, 246, 0.3),
        0 4px 20px rgba(139, 92, 246, 0.4);
}

.ghl-confirm-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-purple-400) 100%);
    opacity: 0;
    transition: opacity 0.5s;
}

.ghl-confirm-button:hover::before {
    opacity: 1;
}

.ghl-confirm-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 0 0 1px rgba(139, 92, 246, 0.5),
        0 8px 40px rgba(139, 92, 246, 0.5),
        0 0 80px rgba(139, 92, 246, 0.3);
}

.ghl-booking-confirmation {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.05));
    border-radius: 1rem;
    border: 1px solid var(--color-mint);
}

.ghl-confirmation-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.ghl-confirmation-icon i {
    color: var(--color-mint);
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.5));
}

.ghl-booking-confirmation h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.ghl-confirmed-datetime {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 1.5rem;
    background: linear-gradient(135deg, var(--color-mint), var(--color-cyan-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ghl-booking-confirmation > p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.ghl-confirmation-note {
    margin: 1.5rem 0 1rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

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

.ghl-calendar-button {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.ghl-calendar-button:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--color-purple-500);
    color: var(--color-text-primary);
}

.ghl-calendar-button i {
    font-size: 1rem;
}

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