/* GG Cal Public Booking Styles */
.gg-cal-booking-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.gg-cal-booking-header {
    text-align: center;
    margin-bottom: 32px;
}

.gg-cal-booking-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.gg-cal-booking-desc {
    color: #6b7280;
    font-size: 15px;
    margin: 0;
}

.gg-cal-widget-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    font-size: 13px;
    color: #6b7280;
}

.gg-cal-widget-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Steps */
.gg-cal-step {
    display: none;
}

.gg-cal-step.active {
    display: block;
    animation: gg-cal-fade-in 0.3s ease;
}

@keyframes gg-cal-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gg-cal-step-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gg-cal-back-btn {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 16px;
    color: #6b7280;
    transition: all 0.2s;
}

.gg-cal-back-btn:hover {
    background: #f3f4f6;
    color: #1f2937;
}

/* Type Selection */
.gg-cal-type-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gg-cal-type-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.gg-cal-type-option:hover {
    border-color: #4f46e5;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.1);
}

.gg-cal-type-option.selected {
    border-color: #4f46e5;
    background: #f5f3ff;
}

.gg-cal-type-color {
    width: 4px;
    height: 48px;
    border-radius: 4px;
    flex-shrink: 0;
}

.gg-cal-type-info {
    flex: 1;
}

.gg-cal-type-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.gg-cal-type-desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

.gg-cal-type-details {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: #6b7280;
}

.gg-cal-type-details span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gg-cal-free {
    color: #10b981;
    font-weight: 600;
}

.gg-cal-type-arrow {
    color: #d1d5db;
    flex-shrink: 0;
}

.gg-cal-type-option:hover .gg-cal-type-arrow {
    color: #4f46e5;
}

/* Date Picker */
.gg-cal-date-picker {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
}

.gg-cal-dp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.gg-cal-dp-header button {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s;
}

.gg-cal-dp-header button:hover {
    background: #f3f4f6;
}

.gg-cal-dp-month {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.gg-cal-dp-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
}

.gg-cal-dp-weekdays span {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    padding: 8px 0;
    text-transform: uppercase;
}

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

.gg-cal-dp-days .day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 8px;
    cursor: default;
    color: #d1d5db;
}

.gg-cal-dp-days .day.available {
    color: #1f2937;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.gg-cal-dp-days .day.available:hover {
    background: #ede9fe;
    color: #4f46e5;
}

.gg-cal-dp-days .day.selected {
    background: #4f46e5;
    color: #fff;
    font-weight: 600;
}

.gg-cal-dp-days .day.today {
    border: 2px solid #4f46e5;
}

/* Time Slots */
.gg-cal-selected-date {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 6px;
}

.gg-cal-time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gg-cal-time-slot {
    padding: 12px;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s;
}

.gg-cal-time-slot:hover {
    border-color: #4f46e5;
    color: #4f46e5;
}

.gg-cal-time-slot.selected {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
}

.gg-cal-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;
    color: #6b7280;
}

.gg-cal-no-slots {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;
    color: #6b7280;
    font-size: 14px;
}

/* Details Form */
.gg-cal-booking-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #374151;
}

.gg-cal-booking-summary strong {
    color: #1f2937;
}

.gg-cal-details-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gg-cal-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.gg-cal-field input,
.gg-cal-field select,
.gg-cal-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    color: #1f2937;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.gg-cal-field input:focus,
.gg-cal-field select:focus,
.gg-cal-field textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.gg-cal-confirm-btn {
    width: 100%;
    padding: 14px;
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.gg-cal-confirm-btn:hover {
    background: #4338ca;
}

.gg-cal-confirm-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Confirmation */
.gg-cal-step-confirm {
    text-align: center;
}

.gg-cal-success-icon {
    color: #10b981;
    margin-bottom: 16px;
}

.gg-cal-confirm-message {
    font-size: 15px;
    color: #374151;
    margin-bottom: 20px;
}

.gg-cal-confirm-details {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    font-size: 14px;
    color: #374151;
}

.gg-cal-confirm-details p {
    margin: 6px 0;
}

/* Responsive */
@media (max-width: 480px) {
    .gg-cal-booking-page { padding: 16px; }
    .gg-cal-time-slots { grid-template-columns: repeat(2, 1fr); }
    .gg-cal-type-option { padding: 12px; }
}
