/*
 * GFOC Frontend Styles - Consolidated
 * Aggregates all public-facing CSS modules into a single bundle.
 * Each section is labelled with the original source file for traceability.
 */

/* === Begin: gfoc-provider-calendar.css === */
/**
 * GFOC CSS Variables - SINGLE SOURCE OF TRUTH
 * 
 * All frontend CSS files inherit from this file.
 * Calendar colors are overridden by admin Appearance settings via PHP wp_add_inline_style().
 * 
 * @package GFOC
 * @since 2.4.0
 */
:root {
    /* ==========================================================================
       CALENDAR DATE STATE COLORS (Admin-customizable via Appearance Settings)
       ========================================================================== */
    --gfoc-available-date-bg: #f0f7ff;
    --gfoc-available-date-text: #000000;
    --gfoc-selected-date-bg: #d4edda;
    --gfoc-selected-date-text: #155724;
    --gfoc-blocked-date-bg: #fff0f0;
    --gfoc-blocked-date-text: #cc0000;
    --gfoc-booked-date-bg: #ffe5e5;
    --gfoc-booked-date-stripe: #dc3545;
    --gfoc-booked-date-text: #ffffff;
    /* Lead Time: Default yellow/warning theme - admin can override via Appearance settings */
    --gfoc-lead-time-date-bg: #fff3cd;
    --gfoc-lead-time-date-text: #856404;
    --gfoc-special-date-bg: #f0fff0;
    --gfoc-special-date-text: #006600;
    --gfoc-past-date-bg: #f8f8f8;
    --gfoc-past-date-text: #999999;
    /* Unavailable: Default gray theme - admin can override via Appearance settings */
    --gfoc-unavailable-date-bg: #f5f5f5;
    --gfoc-unavailable-date-text: #888888;
    --gfoc-offline-date-bg: #e8e8e8;
    --gfoc-offline-date-text: #666666;

    /* ==========================================================================
       UI THEME COLORS (Consistent branding across booking flow)
       ========================================================================== */
    --gfoc-primary-color: #0073aa;
    --gfoc-primary-hover: #005a87;
    --gfoc-success-color: #28a745;
    --gfoc-success-hover: #218838;
    --gfoc-warning-color: #ffc107;
    --gfoc-warning-hover: #e0a800;
    --gfoc-danger-color: #dc3545;
    --gfoc-danger-hover: #c82333;
    --gfoc-info-color: #2196f3;
    --gfoc-info-hover: #1976d2;

    /* ==========================================================================
       DRAWER & PANEL SETTINGS
       ========================================================================== */
    --gfoc-drawer-bg: #ffffff;
    --gfoc-drawer-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    --gfoc-drawer-z: 10020;
    --gfoc-drawer-overlay-z: 10010;
    --gfoc-drawer-toggle-z: 10030;
    --gfoc-timezone-drawer-width: 280px;

    /* ==========================================================================
       COMMON UI PROPERTIES
       ========================================================================== */
    --gfoc-border-radius: 6px;
    --gfoc-border-radius-lg: 12px;
    --gfoc-transition: all 0.2s ease;
    --gfoc-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --gfoc-box-shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.1);
    --gfoc-text-muted: #666666;
    --gfoc-text-dark: #333333;
    --gfoc-border-color: #e1e8ed;
    --gfoc-bg-light: #f8f9fa;
    --gfoc-bg-white: #ffffff;
}

/* Enlarge legend swatches for better visual identification */
.gfoc-legend-swatch {
    width: 44px !important;
    height: 44px !important;
    display: inline-block;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.gfoc-legend-item {
    gap: 12px;
}

/**
 * Enhanced Provider Calendar Styles - Horizontal Layout
 */

/* Calendar Container - Enhanced for horizontal layout */
.gfoc-calendar-container {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 20px;
    max-width: 800px;
    /* Increased for horizontal layout */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Calendar Wrapper - Now supports horizontal layout */
.gfoc-calendar-wrapper {
    margin-bottom: 20px;
}

/* Main Calendar Content - Horizontal Layout */
.gfoc-calendar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Vertical layout variant (calendar stacked above time slots for wider rows) */
.gfoc-vertical-layout .gfoc-calendar-content {
    display: block;
}

.gfoc-vertical-layout .gfoc-calendar-left {
    margin-bottom: 24px;
}

.gfoc-vertical-layout .gfoc-calendar-right {
    min-height: unset;
}

.gfoc-vertical-layout .gfoc-time-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.gfoc-vertical-layout .gfoc-calendar-container {
    max-width: 100%;
}

/* Explicit horizontal layout class (future extensibility) */
.gfoc-horizontal-layout .gfoc-calendar-content {
    display: grid;
}

.gfoc-calendar-left {
    display: flex;
    flex-direction: column;
}

.gfoc-calendar-right {
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

/* Enhanced Calendar Header */
.gfoc-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.gfoc-current-month {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    flex-grow: 1;
    text-align: center;
}

.gfoc-prev-month,
.gfoc-next-month {
    background: #e9ecef;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 18px;
    color: #0073aa;
    transition: all 0.2s ease;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gfoc-prev-month:hover,
.gfoc-next-month:hover {
    background: #0073aa;
    color: #fff;
    transform: translateY(-1px);
}

.gfoc-prev-month:active,
.gfoc-next-month:active {
    transform: translateY(0);
}

/* Calendar nav row (prev/next + month) */
.gfoc-calendar-nav-row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin: 10px 0 12px;
}

.gfoc-calendar-nav-row .gfoc-prev-month,
.gfoc-calendar-nav-row .gfoc-next-month {
    width: 42px;
    height: 42px;
    font-size: 18px;
    font-weight: 600;
}

/* Legacy "Next Available Slot" UI is fully disabled */
.gfoc-smart-nav,
.gfoc-next-available-btn {
    display: none !important;
}

/* Calendar Days - Optimized for horizontal layout */
.gfoc-calendar-days,
.gfoc-calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    /* Reduced gap for horizontal layout */
}

.gfoc-day-header {
    text-align: center;
    font-weight: 600;
    padding: 6px 0;
    background: #f7f7f7;
    border-radius: 4px;
    color: #555;
    font-size: 13px;
    /* Slightly smaller for horizontal layout */
    margin-bottom: 3px;
}

/* Enhanced Calendar Dates - SQUARED BLOCKS with centered day numbers */
.gfoc-date {
    text-align: center;
    padding: 8px 4px;
    border-radius: 4px;
    /* Squared blocks with slight rounding */
    background: #f9f9f9;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    border: 2px solid transparent;
    position: relative;
    min-height: 44px;
    /* Taller for better square appearance */
    aspect-ratio: 1 / 1;
    /* Force square shape */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the day number */
}

.gfoc-date:hover {
    background: #0073aa;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Available dates - uses admin Appearance settings via CSS variables */
.gfoc-date.gfoc-available {
    background: var(--gfoc-available-date-bg, #f0f7ff) !important;
    color: var(--gfoc-available-date-text, #000000) !important;
    border: 2px solid var(--gfoc-available-date-text, #000000) !important;
}

.gfoc-date.gfoc-available:hover {
    background: var(--gfoc-available-date-bg, #f0f7ff) !important;
    filter: brightness(0.95);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}


.gfoc-date.gfoc-past {
    background: var(--gfoc-past-date-bg, #f8f8f8);
    color: var(--gfoc-past-date-text, #999999);
    cursor: not-allowed;
    opacity: 0.75;
    position: relative;
}

.gfoc-date.gfoc-past:hover {
    background: var(--gfoc-past-date-bg, #f8f8f8);
    color: var(--gfoc-past-date-text, #999999);
    transform: none;
    box-shadow: none;
    opacity: 0.75;
}

.gfoc-date.gfoc-past::after {
    content: '⏸';
    position: absolute;
    top: 1px;
    right: 1px;
    font-size: 8px;
    opacity: 0.5;
}

/* Enhanced past date visual effects */
.gfoc-date.gfoc-past {
    text-decoration: line-through;
    background: var(--gfoc-past-date-bg, #f8f8f8) !important;
    color: var(--gfoc-past-date-text, #999999) !important;
}

.gfoc-date.gfoc-past::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px);
    pointer-events: none;
    z-index: 1;
}

.gfoc-date.gfoc-blocked {
    cursor: not-allowed;
    opacity: 0.8;
    position: relative;
    background-color: var(--gfoc-blocked-date-bg, #fff0f0) !important;
    color: var(--gfoc-blocked-date-text, #cc0000) !important;
}

.gfoc-date.gfoc-blocked:hover {
    transform: none;
    box-shadow: none;
}

.gfoc-date.gfoc-blocked::after {
    content: '🚫';
    position: absolute;
    top: 1px;
    right: 1px;
    font-size: 8px;
    opacity: 0.7;
}

/* Fully booked (all slots taken) - distinct from blocked/unavailable */
.gfoc-date.gfoc-booked {
    position: relative;
    cursor: not-allowed;
    opacity: 0.95;
    /* Use configured booked colors (stripe color 1, stripe color 2, text color) */
    background: repeating-linear-gradient(45deg,
            var(--gfoc-booked-date-bg, #ffe5e5),
            var(--gfoc-booked-date-bg, #ffe5e5) 6px,
            var(--gfoc-booked-date-stripe, #dc3545) 6px,
            var(--gfoc-booked-date-stripe, #dc3545) 12px) !important;
    color: var(--gfoc-booked-date-text, #fff) !important;
    border: 1px solid var(--gfoc-booked-date-stripe, #dc3545) !important;
    background-size: 100% 100%;
}

.gfoc-date.gfoc-booked::after {
    content: '✔';
    position: absolute;
    top: 1px;
    right: 1px;
    font-size: 12px;
    opacity: 0.9;
}

/* Legend swatch for booked */
.gfoc-booked-swatch {
    background: repeating-linear-gradient(45deg,
            var(--gfoc-booked-date-bg, #ffe5e5),
            var(--gfoc-booked-date-bg, #ffe5e5) 6px,
            var(--gfoc-booked-date-stripe, #dc3545) 6px,
            var(--gfoc-booked-date-stripe, #dc3545) 12px);
    border: 1px solid var(--gfoc-booked-date-stripe, #dc3545);
}

/* Global Days Off - Special styling for admin-set global holidays/closure days */
.gfoc-date.gfoc-global-off {
    background-color: var(--gfoc-global-off-bg, #f8d7da) !important;
    color: var(--gfoc-global-off-text, #721c24) !important;
    cursor: not-allowed;
    opacity: 1;
    position: relative;
    border: 2px solid var(--gfoc-global-off-text, #721c24);
}

.gfoc-date.gfoc-global-off:hover {
    background-color: var(--gfoc-global-off-bg, #f8d7da) !important;
    color: var(--gfoc-global-off-text, #721c24) !important;
    transform: none;
    box-shadow: none;
    filter: brightness(0.95);
}

.gfoc-date.gfoc-global-off .gfoc-star-icon {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
    color: #fff;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

/* Legend styling for global days off */
.gfoc-legend-item.gfoc-legend-global-off .gfoc-legend-swatch {
    background-color: #ff6b6b;
    border-color: #d63031;
    color: #fff;
    text-align: center;
    line-height: 1;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lead Time Dates - Special styling for dates within lead time restriction */
.gfoc-date.gfoc-lead-time {
    cursor: not-allowed;
    opacity: 0.7;
    position: relative;
    /* Only apply colors if admin has configured them - no fallback defaults */
    background: var(--gfoc-lead-time-date-bg);
    color: var(--gfoc-lead-time-date-text);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gfoc-date.gfoc-lead-time:hover {
    background: var(--gfoc-lead-time-date-bg);
    color: var(--gfoc-lead-time-date-text);
    transform: none;
    box-shadow: none;
}

.gfoc-date.gfoc-lead-time::after {
    content: 'LT';
    /* ASCII to avoid encoding issues */
    position: absolute;
    top: 1px;
    right: 2px;
    font-size: 7px;
    font-weight: 600;
    opacity: 0.75;
    letter-spacing: -0.5px;
}

.gfoc-date.gfoc-lead-time::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(135deg,
            transparent,
            transparent 2px,
            rgba(133, 100, 4, 0.1) 2px,
            rgba(133, 100, 4, 0.1) 4px);
    pointer-events: none;
    z-index: 1;
}

/* Provider Unavailable (weekly schedule - doesn't work on this day of week) */
.gfoc-date.gfoc-unavailable {
    cursor: not-allowed;
    opacity: 0.85;
    position: relative;
    /* Only apply colors if admin has configured them - no fallback defaults */
    background-color: var(--gfoc-unavailable-date-bg) !important;
    color: var(--gfoc-unavailable-date-text) !important;
    border: 1px dashed var(--gfoc-unavailable-date-text) !important;
}

.gfoc-date.gfoc-unavailable:hover {
    transform: none;
    box-shadow: none;
    background-color: var(--gfoc-unavailable-date-bg) !important;
}

.gfoc-date.gfoc-unavailable::after {
    content: '—';
    position: absolute;
    top: 1px;
    right: 1px;
    font-size: 10px;
    font-weight: bold;
    opacity: 0.6;
}

/* Provider offline (doesn't work this day of week) */
.gfoc-date.gfoc-offline {
    cursor: not-allowed;
    opacity: 0.85;
    position: relative;
    background-color: var(--gfoc-offline-date-bg, #e8e8e8) !important;
    color: var(--gfoc-offline-date-text, #666666) !important;
}

.gfoc-date.gfoc-offline:hover {
    transform: none;
    box-shadow: none;
    background-color: var(--gfoc-offline-date-bg, #e8e8e8) !important;
}

.gfoc-date.gfoc-offline::after {
    content: '◯';
    position: absolute;
    top: 1px;
    right: 1px;
    font-size: 8px;
    opacity: 0.6;
}

.gfoc-date.gfoc-special {
    background-color: var(--gfoc-special-date-bg, #f0fff0) !important;
    color: var(--gfoc-special-date-text, #006600) !important;
}

.gfoc-date.gfoc-special::after {
    content: '⭐';
    position: absolute;
    top: 1px;
    right: 1px;
    font-size: 8px;
}

.gfoc-date.gfoc-selected {
    font-weight: bold;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--gfoc-selected-date-text, #155724) !important;
    background-color: var(--gfoc-selected-date-bg, #d4edda) !important;
    color: var(--gfoc-selected-date-text, #155724) !important;
}

.gfoc-date.gfoc-empty {
    cursor: default;
    background: transparent;
}

.gfoc-date.gfoc-empty:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

/* Calendar Legend - Compact for horizontal layout */
.gfoc-calendar-legend {
    margin: 15px 0 10px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

/* Unified time slots header bar */
.gfoc-time-slots-header {
    margin-bottom: 12px;
}

.gfoc-time-header-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    padding: 6px 0;
}

.gfoc-time-header-bar .gfoc-availability-counter {
    margin: 0;
}

.gfoc-time-header-bar .gfoc-appointment-info {
    margin: 0;
}

.gfoc-time-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/* Ensure two-column preference overrides broader layout rules */
.gfoc-vertical-layout .gfoc-time-grid.gfoc-time-grid-two,
.gfoc-horizontal-layout .gfoc-time-grid.gfoc-time-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width:560px) {
    .gfoc-time-grid-two {
        grid-template-columns: 1fr;
    }
}

.gfoc-legend-title {
    font-weight: 700;
    color: #333333;
    margin-bottom: 12px;
    font-size: 18px;
}

.gfoc-legend-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 14px;
    align-items: start;
}

/* Responsive fallback for legend grid */
@media (max-width: 780px) {
    .gfoc-legend-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .gfoc-legend-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 360px) {
    .gfoc-legend-items {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.gfoc-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6c757d;
    cursor: help;
    transition: all 0.2s ease;
}

.gfoc-legend-item:hover {
    background: rgba(0, 115, 170, 0.1);
    border-radius: 4px;
    padding: 4px;
    margin: -4px;
    color: #0073aa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gfoc-legend-item:hover .gfoc-legend-swatch {
    transform: scale(1.1);
    border-width: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Enhanced tooltip styling improvements */
.gfoc-legend-item[title] {
    position: relative;
}

/* Custom tooltip for better mobile support */
.gfoc-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
    margin-bottom: 5px;
    max-width: 250px;
    white-space: normal;
    line-height: 1.4;
}

.gfoc-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

/* Colored tooltip arrow support */
.gfoc-tooltip-colored::after {
    border-top-color: var(--tooltip-bg-color, rgba(0, 0, 0, 0.9));
}

.gfoc-legend-item:hover .gfoc-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Mobile tooltip support */
.gfoc-legend-item.tooltip-active .gfoc-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Responsive tooltip positioning */
@media (max-width: 768px) {
    .gfoc-tooltip {
        position: fixed;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 280px;
        z-index: 9999;
    }

    .gfoc-tooltip::after {
        display: none;
    }
}

.gfoc-time-slots-wrapper {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.gfoc-time-slots-wrapper.gfoc-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

.gfoc-time-slots-wrapper.gfoc-empty-state::before {
    content: '';
}

.gfoc-time-slots-wrapper.gfoc-empty-state::after {
    content: '';
}

/* Make the inline empty message more pronounced */
.gfoc-time-slots-wrapper.gfoc-empty-state .gfoc-empty-message {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: none;
    /* Hidden by default until calendar renders */
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Show the message once calendar has rendered (gfoc-calendar-ready class added to wrapper) */
.gfoc-calendar-wrapper.gfoc-calendar-ready~.gfoc-time-slots-wrapper .gfoc-empty-message,
.gfoc-calendar-ready .gfoc-time-slots-wrapper.gfoc-empty-state .gfoc-empty-message,
.gfoc-time-slots-wrapper.gfoc-empty-state.gfoc-show-message .gfoc-empty-message {
    display: flex;
}

/* Loading notice - shown above the select date instruction */
.gfoc-loading-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    color: #92400e;
    font-size: 14px;
    font-weight: 600;
    animation: gfoc-loading-pulse 2s ease-in-out infinite;
}

.gfoc-loading-notice::before {
    content: '⏳';
    font-size: 18px;
    animation: gfoc-hourglass-spin 2s ease-in-out infinite;
}

@keyframes gfoc-loading-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes gfoc-hourglass-spin {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }
}

/* Style the dashicon upward arrow */
.gfoc-empty-icon.dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    line-height: 1;
    color: #16a34a;
    /* green */
}

.gfoc-time-slots-header {
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
}

.gfoc-time-slots-header h4,
.gfoc-available-times-header {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px;
    text-align: center;
    font-weight: 600;
}

/* Center the "Available Times for [date]" heading */
.gfoc-available-times-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.gfoc-available-times-header .gfoc-available-date {
    font-weight: 700;
    color: var(--gfoc-primary-color, #0073aa);
}

.gfoc-time-slots-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gfoc-time-slots-subtitle {
    margin: 0;
    color: #666;
    font-size: 12px;
    flex: 1;
}

/* Timezone Toggle Switch Styles */
.gfoc-timezone-toggle {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.gfoc-toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 11px;
    color: #555;
    font-weight: 500;
    user-select: none;
}

.gfoc-toggle-checkbox {
    display: none;
}

.gfoc-toggle-slider {
    position: relative;
    width: 32px;
    height: 18px;
    background-color: #ccc;
    border-radius: 18px;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.gfoc-toggle-slider::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.gfoc-toggle-checkbox:checked+.gfoc-toggle-slider {
    background-color: #2196F3;
}

.gfoc-toggle-checkbox:checked+.gfoc-toggle-slider::before {
    transform: translateX(14px);
}

.gfoc-toggle-text {
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Crossfade for provider vs user time labels */
.gfoc-time-slot .gfoc-time-label {
    position: relative;
    display: inline-block;
    transition: opacity .25s ease, transform .25s ease;
}

.gfoc-time-slot .gfoc-provider-time.gfoc-fading-out,
.gfoc-time-slot .gfoc-user-time.gfoc-fading-out {
    opacity: 0;
    transform: translateY(-3px);
}

.gfoc-time-slot .gfoc-provider-time.gfoc-fading-in,
.gfoc-time-slot .gfoc-user-time.gfoc-fading-in {
    opacity: 1;
    transform: translateY(0);
}

/* Compact timezone diff badge near toggle */
.gfoc-tz-diff-badge {
    margin-left: 6px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.gfoc-tz-diff-badge.gfoc-positive {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #047857;
}

.gfoc-tz-diff-badge.gfoc-negative {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.gfoc-tz-diff-badge .gfoc-diff-icon {
    font-size: 11px;
    line-height: 1;
}

/* Mode classes to control which time label is visible without inline JS display clashes */
.gfoc-time-grid.gfoc-provider-mode .gfoc-user-time {
    display: none !important;
}

.gfoc-time-grid.gfoc-provider-mode .gfoc-provider-time {
    display: inline !important;
}

.gfoc-time-grid.gfoc-user-mode .gfoc-provider-time {
    display: none !important;
}

.gfoc-time-grid.gfoc-user-mode .gfoc-user-time {
    display: inline !important;
}

/* Hover effects for toggle */
.gfoc-toggle-label:hover .gfoc-toggle-slider {
    box-shadow: 0 0 8px rgba(33, 150, 243, 0.3);
}

.gfoc-toggle-label:hover .gfoc-toggle-text {
    color: #2196F3;
}

.gfoc-time-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    width: 100%;
}

/* 2-column layout for wide screens - timeslots side by side */
@media (min-width: 768px) {
    .gfoc-time-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.gfoc-time-slot {
    text-align: left;
    padding: 12px 12px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    width: 100%;
}

.gfoc-time-slot:hover,
.gfoc-time-slot.gfoc-time-slot-hover {
    background: #e3f2fd;
    border-color: #2196F3;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.2);
}

.gfoc-time-slot.gfoc-selected {
    background: #2196F3;
    color: #fff;
    border-color: #1976D2;
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
}

.gfoc-time-slot.gfoc-selected .gfoc-time-label {
    color: #fff !important;
}

.gfoc-time-label {
    font-weight: 500;
    font-size: 13px;
    color: #222;
}

.gfoc-time-slot .gfoc-time-label,
.gfoc-time-slot .gfoc-provider-time,
.gfoc-time-slot .gfoc-user-time {
    color: #ffffff;
}

/* Loading States - Optimized for right panel */
.gfoc-loading-container {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 6px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gfoc-loading-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #e9ecef;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.gfoc-loading-text {
    color: #666;
    margin: 0;
    font-size: 13px;
}

/* No Times Available - Right panel optimized */
.gfoc-no-times-container {
    text-align: center;
    padding: 40px 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gfoc-no-times-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.gfoc-no-times {
    color: #856404;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

/* Error States - Right panel optimized */
.gfoc-error-container {
    text-align: center;
    padding: 40px 15px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gfoc-error-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.gfoc-error {
    color: #721c24;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

/* Selection Confirmation - Optimized for right panel */
.gfoc-selection-confirmation {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 8px;
    margin-top: 10px;
    text-align: center;

    /* New styles for selection actions */
    .gfoc-selection-confirmation .gfoc-selection-actions {
        display: flex;
        gap: 10px;
        margin-top: 12px;
        flex-wrap: wrap;
    }

    .gfoc-selection-confirmation .gfoc-selection-actions .gfoc-continue-button {
        flex: 1 1 220px;
    }

    .gfoc-selection-confirmation .gfoc-selection-actions .gfoc-change-time-button {
        flex: 0 1 160px;
    }

    .gfoc-continue-button[disabled] {
        opacity: .65;
        cursor: not-allowed;
    }
}

.gfoc-selection-confirmation h4 {
    color: #155724;
    margin: 0 0 6px 0;
    font-size: 13px;
}

.gfoc-selected-details {
    color: #155724;
    margin: 0 0 15px 0;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.4;
}

.gfoc-continue-button,
.gfoc-change-time-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    margin: 0 3px;
    transition: all 0.2s ease;
    font-size: 12px;
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

.gfoc-continue-button {
    background: #28a745;
    color: #fff;
}

.gfoc-continue-button:hover {
    background: #218838;
    transform: translateY(-1px);
}

.gfoc-change-time-button {
    background: #6c757d;
    color: #fff;
}

.gfoc-change-time-button:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Slot Preview Tooltip */
.gfoc-slot-preview {
    background: #2c3e50;
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 200px;
    text-align: center;
    pointer-events: none;
}

.gfoc-slot-preview::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #2c3e50;
}

/* Toggle Tooltip (shares visual language with slot preview) */
.gfoc-toggle-preview {
    background: #2c3e50;
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.35;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 240px;
    text-align: center;
    pointer-events: none;
}

.gfoc-toggle-preview::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #2c3e50;
}

.gfoc-preview-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: #ecf0f1;
}

.gfoc-preview-time {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
    color: #3498db;
}

.gfoc-preview-duration {
    margin-bottom: 2px;
    color: #bdc3c7;
}

.gfoc-preview-buffer {
    font-size: 11px;
    color: #f39c12;
    margin-bottom: 4px;
}

.gfoc-preview-action {
    font-size: 11px;
    color: #95a5a6;
    font-style: italic;
    margin-top: 6px;
}

/* Booking Steps Integration */
.gfoc-step-label {
    font-weight: 600;
}

.gfoc-step:not(:last-child)::after {
    content: '';
    flex-grow: 1;
    height: 2px;
    background: #ddd;
    margin: 0 15px;
}

.gform_next_button,
.gform_previous_button {
    font-size: 16px !important;
    padding: 12px 24px !important;
    background-color: #0073aa !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.gform_next_button:hover,
.gform_previous_button:hover {
    background-color: #005a87 !important;
    transform: translateY(-1px) !important;
}

/* Step Section Heading - flush left with form and badges */
.gfoc-step-section-heading,
.gfoc-booking-flow-container .gfoc-step-section-heading,
.gfoc-enhanced-booking-container .gfoc-step-section-heading,
.gfoc-booking-flow-container>h2,
.gfoc-enhanced-booking-container>h2,
h2.gfoc-step-section-heading {
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
    text-align: left !important;
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    /* Extra specificity for WordPress themes */
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    float: none !important;
    transform: none !important;
    /* Ensure full width and no box constraints */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
}

/* Desktop-specific heading alignment fix */
@media (min-width: 769px) {

    .gfoc-step-section-heading,
    .gfoc-booking-flow-container .gfoc-step-section-heading,
    .gfoc-booking-flow-container>h2,
    h2.gfoc-step-section-heading {
        margin-left: 0 !important;
        padding-left: 0 !important;
        left: 0 !important;
        /* Counter any inherited padding from WordPress themes */
        margin-inline-start: 0 !important;
        padding-inline-start: 0 !important;
    }
}

/* Step 2 Content wrapper - ensure no extra padding */
.gfoc-step2-content {
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

/* Step 2 booking step - ensure flush left alignment */
.gfoc-booking-step[data-step="2"],
.gfoc-booking-flow-container .gfoc-booking-step[data-step="2"],
body .gfoc-booking-step[data-step="2"],
.entry-content .gfoc-booking-step[data-step="2"] {
    padding: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* Step 1 booking step - ensure flush left alignment */
.gfoc-booking-step[data-step="1"],
.gfoc-booking-flow-container .gfoc-booking-step[data-step="1"],
body .gfoc-booking-step[data-step="1"],
.entry-content .gfoc-booking-step[data-step="1"] {
    padding: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
}

/* Override any WordPress theme padding on the Booking Information panel */
.gfoc-booking-flow-container .gfoc-timezone-helper-panel,
body .gfoc-timezone-helper-panel,
.entry-content .gfoc-timezone-helper-panel {
    margin-left: 0 !important;
}

/* Step 2 Form Wrapper - ensure flush left with header and badges */
.gfoc-booking-step[data-step="2"] .gfoc-form-wrapper,
.gfoc-step2-content .gfoc-form-wrapper,
.gfoc-form-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Step 2 Gravity Form - ensure flush left alignment */
.gfoc-booking-step[data-step="2"] .gform_wrapper,
.gfoc-step2-content .gform_wrapper {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Step 2 Provider/Service Badges - flush left with form */
.gfoc-step2-badges-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    padding-left: 0 !important;
    margin-left: 0 !important;
    background: transparent;
    margin-bottom: 24px;
    align-items: center;
    justify-content: flex-start !important;
    text-align: left !important;
}

.gfoc-step2-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    width: fit-content;
}

.gfoc-badge-provider-service {
    flex-wrap: wrap;
}

.gfoc-badge-provider {
    font-weight: 700;
    color: #0073aa;
}

.gfoc-badge-service {
    font-weight: 600;
    color: #222;
}

.gfoc-badge-price-section {
    color: #28a745;
    font-weight: 600;
}

.gfoc-badge-price-amount {
    color: #155724;
    font-weight: 700;
}

.gfoc-badge-duration-section {
    color: #6c757d;
    font-weight: 600;
}

.gfoc-badge-duration-amount {
    color: #495057;
    font-weight: 700;
}

@media (max-width: 768px) {
    .gfoc-step-section-heading {
        font-size: 1.25em;
        margin-bottom: 16px;
    }

    .gfoc-step2-badges-container {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0;
        margin-bottom: 16px;
        gap: 8px;
    }

    .gfoc-step2-badge {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* Responsive Design - Mobile First Approach */
@media (max-width: 768px) {
    .gfoc-calendar-container {
        max-width: 100%;
        padding: 15px;
    }

    /* Stack layout on mobile */
    .gfoc-calendar-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gfoc-time-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gfoc-legend-items {
        flex-direction: column;
        gap: 6px;
    }

    .gfoc-continue-button,
    .gfoc-change-time-button {
        font-size: 14px;
        padding: 10px 16px;
    }

    .gfoc-time-slots-wrapper {
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .gfoc-time-grid {
        grid-template-columns: repeat(2, 1fr);

        /* Mobile legend containment & scroll prevention */
        @media (max-width: 640px) {

            .gfoc-calendar-legend,
            .gfoc-calendar-legend * {
                box-sizing: border-box;
            }

            .gfoc-calendar-legend {
                max-width: 100%;
                overflow: hidden;
                padding-left: 10px;
                padding-right: 10px;
            }

            .gfoc-legend-items {
                width: 100%;
                margin-left: 0;
                margin-right: 0;
            }

            .gfoc-legend-item {
                min-width: 0;
            }
        }

        /* Force booking step container to avoid horizontal scroll on mobile */
        @media (max-width:640px) {

            .gfoc-booking-step[data-step="1"],
            .gfoc-booking-step[data-step="1"] .gfoc-calendar-wrapper {
                max-width: 100%;
                overflow-x: hidden;
                position: relative;
            }

            /* Layout handled by gfoc-booking-core.css */
        }

        /* Step 1 action buttons vertical stacking on small screens */
        @media (max-width: 640px) {

            .gfoc-step1-actions,
            .gfoc-step1-actions-row {
                display: flex;
                flex-direction: column;
                gap: 10px !important;
                width: 100%;
            }

            .gfoc-step1-actions button,
            .gfoc-step1-actions .button,
            .gfoc-step1-actions-row button,
            .gfoc-step1-actions-row .button {
                width: 100%;
                white-space: normal;
            }
        }

        /* Stack any inline action buttons produced inside selection confirmation */
        @media (max-width:640px) {
            .gfoc-selection-confirmation .gfoc-selection-actions {
                display: flex !important;
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 12px !important;
                width: 100%;
            }

            .gfoc-selection-confirmation .gfoc-selection-actions>* {
                width: 100% !important;
            }

            .gfoc-selection-confirmation .gfoc-selection-actions button {
                white-space: normal !important;
            }
        }

        /* Generic fallback: detect specific buttons if they lack a wrapper class */
        @media (max-width:640px) {
            .gfoc-booking-step[data-step="1"] .gfoc-adaptive-buttons:not(.gfoc-stacked) {
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

            .gfoc-booking-step[data-step="1"] .gfoc-adaptive-buttons:not(.gfoc-stacked)>* {
                width: 100%;
            }
        }

        /* Target common button texts if no wrapper classes exist */
        @media (max-width:640px) {

            .gfoc-booking-step[data-step="1"] button,
            .gfoc-booking-step[data-step="1"] .button {
                max-width: 100%;
            }

            .gfoc-booking-step[data-step="1"] button span {
                flex-wrap: wrap;
            }
        }

        /* FORCE mobile stacking for selection action buttons (final override) */
        @media (max-width: 720px) {
            .gfoc-selection-confirmation .gfoc-selection-actions {
                display: flex !important;
                flex-direction: column !important;
                flex-wrap: nowrap !important;
                align-items: stretch !important;
                gap: 12px !important;
                width: 100% !important;
            }

            .gfoc-selection-confirmation .gfoc-selection-actions>* {
                width: 100% !important;
                max-width: 100% !important;
            }

            .gfoc-selection-confirmation .gfoc-selection-actions button,
            .gfoc-selection-confirmation .gfoc-selection-actions .gfoc-change-time-button,
            .gfoc-selection-confirmation .gfoc-selection-actions .gfoc-change-day-button,
            .gfoc-selection-confirmation .gfoc-selection-actions .gfoc-change-provider-button,
            .gfoc-selection-confirmation .gfoc-selection-actions .gfoc-continue-button {
                white-space: normal !important;
            }
        }

        /* Timezone diff badge reposition on narrow screens */
        @media (max-width:640px) {
            .gfoc-time-header-bar {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .gfoc-time-header-bar .gfoc-timezone-toggle {
                order: 1;
                width: 100%;
            }

            .gfoc-time-header-bar .gfoc-tz-diff-badge {
                order: 99;
                display: inline-flex;
                margin-left: 0 !important;
                margin-top: 4px;
            }
        }

        /* Compact timezone header on mobile */
        @media (max-width:640px) {
            #gfoc-timezone-display .gfoc-timezone-helper-header h4 {
                font-size: 14px !important;
                line-height: 1.2 !important;
            }

            #gfoc-timezone-display .gfoc-timezone-helper-header h4 .dashicons {
                font-size: 16px;
                width: 16px;
                height: 16px;
            }
        }

        /* Abbreviation toggle CSS removed: calendar now always renders short month + single-letter days */
        /* Flatten booking step containers globally */
        .gfoc-booking-step {
            padding: 0 !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            background: transparent !important;
        }

        /* Calendar container flatten */
        .gfoc-calendar-container {
            background: transparent !important;
            box-shadow: none !important;
            border-radius: 0 !important;
            padding: 0 !important;
        }

        /* Timezone display flatten */
        #gfoc-timezone-display,
        .gfoc-timezone-display {
            background: transparent !important;
            border-radius: 0 !important;
            border: none !important;
            padding: 0 !important;
        }

        /* Timezone row flatten */
        .gfoc-timezone-row {
            padding: 0 !important;
            border: none !important;
            box-shadow: none !important;
            background: transparent !important;
        }

        /* Mobile: force timezone diff badge to its own line */
        @media (max-width:780px) {
            .gfoc-time-header-bar {
                flex-wrap: wrap !important;
            }

            .gfoc-time-header-bar .gfoc-tz-diff-badge {
                display: block !important;
                width: 100% !important;
                flex: 1 1 100% !important;
                margin-top: 6px !important;
                margin-left: 0 !important;
            }
        }

        @media (max-width:520px) {
            .gfoc-time-header-bar .gfoc-tz-diff-badge {
                display: block !important;
                width: 100% !important;
                flex: 1 1 100% !important;
                margin-top: 8px !important;
                margin-left: 0 !important;
            }

            /* Mobile line break for Available Times header dynamic date */
            @media (max-width: 640px) {
                .gfoc-available-times-header .gfoc-available-date {
                    display: block;
                    margin-top: 2px;
                }
            }
        }

        /* === FINAL FLATTEN OVERRIDES (ensure no residual styling) === */
        .gfoc-booking-step,
        .gfoc-booking-step.gfoc-booking-step-active {
            background: transparent !important;
            padding: 0 !important;
            border: none !important;
            box-shadow: none !important;
            border-radius: 0 !important;
        }

        .gfoc-calendar-container {
            background: transparent !important;
            padding: 0 !important;
            border: none !important;
            box-shadow: none !important;
            border-radius: 0 !important;
            margin: 0 !important;
        }

        #gfoc-timezone-display,
        .gfoc-timezone-display {
            background: transparent !important;
            padding: 0 !important;
            border: none !important;
            box-shadow: none !important;
            border-radius: 0 !important;
        }

        .gfoc-timezone-row {
            background: transparent !important;
            padding: 0 !important;
            border: none !important;
            box-shadow: none !important;
            border-radius: 0 !important;
        }

        /* Remove any nested container styling in timezone variants */
        .gfoc-timezone-row .gfoc-timezone-container {
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
            border-radius: 0 !important;
            padding: 0 !important;
        }

        /* Remove residual margins on booking steps & calendar containers */
        .gfoc-booking-step {
            margin: 0 !important;
        }

        .gfoc-calendar-container {
            margin: 0 !important;
        }

        #gfoc-timezone-display,
        .gfoc-timezone-display {
            margin: 0 !important;
        }

        .gfoc-timezone-row {
            margin: 0 !important;
        }

        /* JS assisted stacking class */
        .gfoc-selection-confirmation .gfoc-selection-actions.gfoc-actions-stacked {
            display: flex !important;
            flex-direction: column !important;
            align-items: stretch !important;
            gap: 12px !important;
            width: 100% !important;
        }

        .gfoc-selection-confirmation .gfoc-selection-actions.gfoc-actions-stacked .gfoc-action-row {
            display: flex !important;
            flex-direction: column !important;
            width: 100% !important;
            gap: 12px !important;
        }

        .gfoc-selection-confirmation .gfoc-selection-actions.gfoc-actions-stacked button {
            width: 100% !important;
            white-space: normal !important;
        }

        /* Prevent horizontal overflow caused by inline-flex buttons on some Android WebView */
        @media (max-width:720px) {
            .gfoc-booking-step[data-step="1"] {
                overflow-x: hidden !important;
            }

            .gfoc-booking-step[data-step="1"] .gfoc-selection-confirmation {
                max-width: 100% !important;
            }
        }
    }

    .gfoc-calendar-dates {
        gap: 2px;
    }

    .gfoc-date {
        padding: 8px 0;
        font-size: 13px;
        min-height: 32px;
    }

    .gfoc-current-month {
        font-size: 18px;
    }

    .gfoc-time-slots-wrapper {
        padding: 15px;
        min-height: 200px;
    }
}

/* Mobile Responsiveness - Stack vertically on small screens */
@media (max-width: 960px) {
    .gfoc-calendar-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }

    .gfoc-calendar-left {
        order: 1;
        width: 100%;
    }

    .gfoc-calendar-right {
        order: 2;
        width: 100%;
    }

    .gfoc-calendar-legend {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }

    .gfoc-calendar-container {
        padding: 15px;
        max-width: 100%;
    }

    .gfoc-calendar-nav {
        margin-bottom: 10px;
    }

    .gfoc-current-month {
        font-size: 18px;
    }

    .gfoc-time-slots-wrapper {
        padding: 15px;
        min-height: 200px;
    }

    .gfoc-time-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        gap: 6px;
    }

    .gfoc-time-slot {
        padding: 14px 8px;
        font-size: 14px;
    }

    .gfoc-calendar-dates {
        gap: 2px;
    }

    .gfoc-date {
        min-height: 44px;
        font-size: 13px;
    }

    .gfoc-legend-items {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .gfoc-confirmation-actions {
        flex-direction: column;
        gap: 8px;
    }

    .gfoc-confirmation-actions button {
        width: 100%;
    }

    /* Toggle responsive adjustments */
    .gfoc-time-slots-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .gfoc-timezone-toggle {
        margin-left: 0;
        align-self: flex-end;
    }

    .gfoc-toggle-text {
        font-size: 10px;
    }
}

/* Tablet Responsiveness - Optimize for medium screens */
@media (min-width: 769px) and (max-width: 1023px) {
    .gfoc-calendar-content {
        gap: 25px;
    }

    .gfoc-time-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gfoc-calendar-container {
        max-width: 700px;
    }
}

/* Large screen optimization */
@media (min-width: 1200px) {
    .gfoc-calendar-container {
        max-width: 900px;
    }

    .gfoc-calendar-content {
        gap: 40px;
    }

    .gfoc-time-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Theme Support - Dark Theme */
.gfoc-theme-dark {
    background: #23272d;
    color: #eee;
}

.gfoc-theme-dark .gfoc-calendar-content {
    background: transparent;
}

.gfoc-theme-dark .gfoc-time-slots-wrapper {
    background: #2c313a;
    border-color: #495057;
}

.gfoc-theme-dark .gfoc-time-slot {
    background: #343a40;
    border-color: #495057;
    color: #eee;
}

.gfoc-theme-dark .gfoc-date {
    background: #2c313a;
    color: #eee;
}

.gfoc-theme-dark .gfoc-date.gfoc-selected {
    background-color: var(--gfoc-selected-date-bg, #0073aa);
    color: var(--gfoc-selected-date-text, #fff);
    border: 2px solid var(--gfoc-selected-date-text, #fff);
}

.gfoc-theme-dark .gfoc-calendar-nav,
.gfoc-theme-dark .gfoc-day-header {
    background: #23272d;
    color: #fff;
}

.gfoc-theme-dark .gfoc-calendar-legend {
    background: #2c313a;
    border-color: #495057;
}

.gfoc-theme-dark .gfoc-legend-title {
    color: #adb5bd;
}

/* Theme Support - Modern Theme */
.gfoc-theme-modern {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ef 100%);
    color: #222;
}

.gfoc-theme-modern .gfoc-time-slots-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.gfoc-theme-modern .gfoc-date {
    background: #fff;
    border: 1px solid #e0e7ef;
    color: #222;
}

.gfoc-theme-modern .gfoc-date.gfoc-selected {
    background-color: var(--gfoc-selected-date-bg, #4f8cff);
    color: var(--gfoc-selected-date-text, #fff);
    border: 2px solid var(--gfoc-selected-date-text, #fff);
}

.gfoc-theme-modern .gfoc-calendar-nav,
.gfoc-theme-modern .gfoc-day-header {
    background: #e0e7ef;
    color: #222;
}

/* Color Variable Support (CSS Custom Properties) */
.gfoc-calendar-container {
    --gfoc-primary-color: #0073aa;
    --gfoc-success-color: #28a745;
    --gfoc-warning-color: #ffc107;
    --gfoc-danger-color: #dc3545;
    --gfoc-border-radius: 6px;
    --gfoc-transition: all 0.2s ease;
}

/* Use CSS variables for easier customization */
.gfoc-date:hover {
    background-color: var(--gfoc-primary-color, #0073aa);
}

.gfoc-continue-button {
    background-color: var(--gfoc-success-color, #28a745);
}

/* Enhanced accessibility */
.gfoc-date:focus,
.gfoc-time-slot:focus {
    outline: 2px solid var(--gfoc-primary-color, #0073aa);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .gfoc-calendar-container {
        box-shadow: none;
        border: 1px solid #ddd;
        max-width: 100%;
    }

    .gfoc-calendar-content {
        grid-template-columns: 1fr;
    }

    .gfoc-prev-month,
    .gfoc-next-month {
        display: none;
    }

    .gfoc-time-slot {
        break-inside: avoid;
    }
}

/* Timezone Row Display Styles */
.gfoc-timezone-row.gfoc-show {
    border-top: none !important;
}

/* Appointment Duration Badge */
.gfoc-appointment-info {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gfoc-duration-badge {
    background: #e8f4fd;
    color: #0073aa;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid #b3d9f2;
}

/* Availability Counter */
.gfoc-availability-counter {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 12px 0;
    padding: 6px 10px;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
    border: 1px solid #b3d9f2;
    border-radius: 12px;
    font-size: 12px;
    color: #0073aa;
    font-weight: 500;
    width: fit-content;
}

.gfoc-counter-icon {
    font-size: 14px;
}

.gfoc-counter-text {
    white-space: nowrap;
}

/* Different counter colors based on availability */
.gfoc-availability-counter.gfoc-low-availability {
    background: linear-gradient(135deg, #fff3cd 0%, #fefefe 100%);
    border-color: #f0ad4e;
    color: #856404;
}

.gfoc-availability-counter.gfoc-very-low-availability {
    background: linear-gradient(135deg, #f8d7da 0%, #fefefe 100%);
    border-color: #dc3545;
    color: #721c24;
}

.gfoc-availability-counter.gfoc-no-availability {
    background: linear-gradient(135deg, #e9ecef 0%, #fefefe 100%);
    border-color: #6c757d;
    color: #495057;
}

.gfoc-availability-counter.gfoc-low-availability .gfoc-counter-icon {
    content: '⚠️';
}

.gfoc-availability-counter.gfoc-very-low-availability .gfoc-counter-icon {
    content: '🔥';
}

/* Available date (when not overridden inline by JS) */
.gfoc-date.gfoc-available {
    background-color: var(--gfoc-available-date-bg, #f0f7ff) !important;
    color: var(--gfoc-available-date-text, #000000) !important;
}

/* Past date styling (JS also applies inline) */
.gfoc-date.gfoc-past {
    background-color: var(--gfoc-past-date-bg, #f8f8f8) !important;
    color: var(--gfoc-past-date-text, #999999) !important;
}

/* Legend generic swatch hook (allows seeing configured colors pre-JS) */
.gfoc-legend-swatch.gfoc-available-swatch {
    background-color: var(--gfoc-available-date-bg, #f0f7ff) !important;
    border: 2px solid var(--gfoc-available-date-text, #000000) !important;
}

.gfoc-legend-swatch.gfoc-blocked-swatch {
    background-color: var(--gfoc-blocked-date-bg, #fff0f0) !important;
    border: 2px solid var(--gfoc-blocked-date-text, #cc0000) !important;
}

.gfoc-legend-swatch.gfoc-special-swatch {
    background-color: var(--gfoc-special-date-bg, #f0fff0) !important;
    border: 2px solid var(--gfoc-special-date-text, #006600) !important;
}

.gfoc-legend-swatch.gfoc-selected-swatch {
    background-color: var(--gfoc-selected-date-bg, #d4edda) !important;
    border: 2px solid var(--gfoc-selected-date-text, #155724) !important;
}

.gfoc-legend-swatch.gfoc-past-swatch {
    background-color: var(--gfoc-past-date-bg, #f8f8f8) !important;
    border: 2px solid var(--gfoc-past-date-text, #999999) !important;
}

.gfoc-legend-swatch.gfoc-lead-time-swatch {
    background-color: var(--gfoc-lead-time-date-bg) !important;
    border: 2px solid var(--gfoc-lead-time-date-text) !important;
}

.gfoc-legend-swatch.gfoc-booked-swatch {
    background: repeating-linear-gradient(45deg, var(--gfoc-booked-date-bg, #ffe5e5), var(--gfoc-booked-date-bg, #ffe5e5) 4px, var(--gfoc-booked-date-stripe, #dc3545) 4px, var(--gfoc-booked-date-stripe, #dc3545) 8px) !important;
    border: 2px solid var(--gfoc-booked-date-stripe, #dc3545) !important;
}

.gfoc-legend-swatch.gfoc-unavailable-swatch {
    background-color: var(--gfoc-unavailable-date-bg) !important;
    border: 2px dashed var(--gfoc-unavailable-date-text) !important;
}

.gfoc-legend-swatch.gfoc-offline-swatch {
    background-color: var(--gfoc-offline-date-bg, #e8e8e8) !important;
    border: 2px solid var(--gfoc-offline-date-text, #666666) !important;
}

.gfoc-legend-swatch.gfoc-global-off-swatch {
    background-color: #ff6b6b !important;
    border: 2px solid #d63031 !important;
    color: #fff;
}

/* ============================================
   SLOT COUNT BADGES - HIDDEN ON CALENDAR DAYS
   The remaining slots info is now displayed in
   the Available Times header for better mobile UX.
   ============================================ */
.gfoc-slot-badge {
    display: none !important;
    /* Hidden - info moved to Available Times header */
}

/* Keep badge host relative for any future use */
.gfoc-badge-host {
    position: relative !important;
}

.gfoc-floating-tooltip {
    pointer-events: none;
    position: absolute;
    top: -9999px;
    left: -9999px;
    z-index: 10000;
}

.gfoc-preview-action-disabled {
    opacity: 0.7;
}

.gfoc-toast-container {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.gfoc-toast {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: auto;
}

.gfoc-toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.gfoc-date.gfoc-selected .gfoc-slot-badge {
    color: #000;
}

/* Force two-column grid layout for time slots when class present (placed at end to override earlier flex) */
.gfoc-time-grid.gfoc-time-grid-two {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

@media (max-width:560px) {
    .gfoc-time-grid.gfoc-time-grid-two {
        grid-template-columns: 1fr;
    }
}

/* Force ALL time grids to single column on narrow mobile */
@media (max-width:640px) {
    .gfoc-time-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .gfoc-time-grid .gfoc-time-slot {
        width: 100% !important;
    }

    .gfoc-time-grid .gfoc-time-slot .gfoc-time-label {
        white-space: normal;
    }
}

/* Skeleton loading for time slots */
.gfoc-loading-skeleton {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
}

.gfoc-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

@media (max-width:560px) {
    .gfoc-skeleton-grid {
        grid-template-columns: 1fr;
    }
}

.gfoc-skel-slot {
    height: 46px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #eceff1 25%, #f5f7f9 37%, #eceff1 63%);
    background-size: 400% 100%;
    animation: gfoc-skel-pulse 1.4s ease-in-out infinite;
}

@keyframes gfoc-skel-pulse {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

/* Selection summary emphasis */
.gfoc-selection-confirmation {
    margin-top: 18px;
    padding: 16px 18px;
    border: 2px solid #2196F3;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    position: relative;
    animation: gfoc-pop-in .35s ease;
}

@keyframes gfoc-pop-in {
    0% {
        transform: scale(.96);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.gfoc-selection-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    color: #0d47a1;
}

.gfoc-summary-block {
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px dashed #b3d9f2;
    border-radius: 8px;
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 70%);
}

.gfoc-summary-block:last-of-type {
    margin-bottom: 16px;
}

.gfoc-summary-heading {
    font-size: 13px;
    font-weight: 600;
    color: #004c91;
    margin-bottom: 4px;
}

.gfoc-summary-line {
    font-size: 13px;
    color: #222;
    line-height: 1.4;
}

.gfoc-summary-user {
    background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 70%);
}

.gfoc-selection-actions {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
}

.gfoc-selection-actions button {
    white-space: nowrap;
}

@media (max-width:520px) {
    .gfoc-selection-actions {
        flex-wrap: wrap;
    }
}

.gfoc-selection-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.gfoc-selection-confirmation>.gfoc-selection-actions {
    margin-bottom: 16px;
}

.gfoc-action-row {
    display: flex;
    gap: 10px;
}

.gfoc-action-row-top {
    justify-content: center;
}

.gfoc-action-row-bottom .full-width {
    width: 100%;
}

.gfoc-action-row-bottom button {
    width: 100%;
}

.gfoc-action-with-tooltip {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: visible;
}

/* Action button tooltips now share base style with time slot tooltips but remain responsive */
.gfoc-action-with-tooltip .gfoc-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: auto;
    max-width: 320px;
    max-width: min(320px, calc(100vw - 48px));
    padding: 10px 14px;
    white-space: normal;
    line-height: 1.4;
    height: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 5;
    transition: opacity .2s ease, transform .2s ease;
}

@media (max-width:640px) {
    .gfoc-action-with-tooltip .gfoc-tooltip {
        position: static;
        width: 100%;
        max-width: none;
        transform: none;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 8px;
        text-align: left;
        z-index: auto;
    }
}

/* Colored variants derived from button colors */
.gfoc-action-with-tooltip .gfoc-change-time-button+.gfoc-tooltip {
    background: #607d8b;
    color: #fff;
    border: 1px solid #607d8b;
    --tooltip-bg-color: #607d8b;
}

.gfoc-action-with-tooltip .gfoc-change-day-button+.gfoc-tooltip {
    background: #ff9800;
    color: #fff;
    border: 1px solid #ff9800;
    --tooltip-bg-color: #ff9800;
}

.gfoc-action-with-tooltip .gfoc-change-provider-button+.gfoc-tooltip {
    background: #2e7d32;
    color: #fff;
    border: 1px solid #2e7d32;
    --tooltip-bg-color: #2e7d32;
}

.gfoc-action-with-tooltip .gfoc-continue-button+.gfoc-tooltip {
    background: #2196F3;
    color: #fff;
    border: 1px solid #2196F3;
    --tooltip-bg-color: #2196F3;
}

.gfoc-action-with-tooltip .gfoc-change-time-button+.gfoc-tooltip::after,
.gfoc-action-with-tooltip .gfoc-change-day-button+.gfoc-tooltip::after,
.gfoc-action-with-tooltip .gfoc-change-provider-button+.gfoc-tooltip::after,
.gfoc-action-with-tooltip .gfoc-continue-button+.gfoc-tooltip::after {
    border-top-color: var(--tooltip-bg-color);
}

.gfoc-tooltip-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 13px;
}

.gfoc-tooltip-body {
    font-size: 12px;
    line-height: 1.4;
}

.gfoc-tz-diff-text {
    color: #555;
    font-style: italic;
    font-size: 12px;
}

.gfoc-extreme-tz-badge {
    display: inline-block;
    background: #d9534f;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 6px;
    font-weight: 600;
    animation: gfoc-pulse-gap 2s infinite;
}

/* Left panel timezone recommendation */
.gfoc-tz-diff-line {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1e3a5f;
}

.gfoc-tz-recommend-badge {
    display: inline-block;
    background: #ff9800;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.gfoc-tz-recommend-badge:hover {
    background: #fb8c00;
}

@keyframes gfoc-pulse-gap {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.6);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(217, 83, 79, 0);
    }
}

/* Removed legacy admin test mode indicator (migrated to single badge) */
.gfoc-action-with-tooltip:hover .gfoc-tooltip,
.gfoc-action-with-tooltip:focus-within .gfoc-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gfoc-selection-actions .gfoc-continue-button,
.gfoc-selection-actions .gfoc-change-time-button {
    background: #2196F3;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}

.gfoc-selection-actions .gfoc-change-day-button {
    background: #ff9800;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}

.gfoc-selection-actions .gfoc-change-time-button {
    background: #607d8b;
}

.gfoc-selection-actions .gfoc-change-day-button:hover {
    background: #fb8c00;
}

.gfoc-selection-actions .gfoc-change-provider-button {
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}

.gfoc-selection-actions .gfoc-change-provider-button:hover {
    background: #1b5e20;
}

.gfoc-selection-actions button:hover {
    background: #1976D2;
}

.gfoc-selection-actions .gfoc-change-time-button:hover {
    background: #546e7a;
}

.gfoc-selection-actions button:active {
    transform: translateY(1px);
}

/* Suitability badge */
.gfoc-time-suitability-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    font-size: 11px;
    line-height: 1.2;
    border-radius: 12px;
    font-weight: 600;
    vertical-align: middle;
    background: #e0f7e9;
    color: #087f23;
    border: 1px solid #62c985;
}

.gfoc-time-suitability-badge.gfoc-suit-early {
    background: #fff3cd;
    color: #856404;
    border-color: #f0ad4e;
}

.gfoc-time-suitability-badge.gfoc-suit-late {
    background: #fde2e1;
    color: #b71c1c;
    border-color: #f28b82;
}

/* Hide original back button when selection summary provides Change Provider */
.gfoc-back-in-sidebar {
    display: none !important;
}

/* Day boundary badge indicating user's local date differs from provider date */
.gfoc-day-boundary-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    border-radius: 12px;
    line-height: 1.1;
    border: 1px solid transparent;
    vertical-align: middle;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    animation: gfoc-pulse-boundary 3s ease-in-out infinite;
}

.gfoc-day-boundary-badge.gfoc-next-day {
    background: #1b5e20;
    color: #fff;
    border-color: #2e7d32;
}

.gfoc-day-boundary-badge.gfoc-prev-day {
    background: #b71c1c;
    color: #fff;
    border-color: #d32f2f;
}

@keyframes gfoc-pulse-boundary {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.25);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 6px rgba(0, 0, 0, 0);
    }
}

/* ========================================
   LEFT PANE SELECTION SUMMARY STYLES
   Shows when a timeslot is selected
   ======================================== */

/* Selection Summary in Left Pane (Legend Sidebar) */
.gfoc-left-pane-selection-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid var(--gfoc-selected-date-bg, #d4edda);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    animation: gfoc-slide-in 0.3s ease-out;
}

@keyframes gfoc-slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gfoc-left-pane-selection-summary .gfoc-selection-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gfoc-selected-date-text, #155724);
    margin: 0 0 16px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gfoc-left-pane-selection-summary .gfoc-selection-title::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--gfoc-selected-date-bg, #d4edda);
    color: var(--gfoc-selected-date-text, #155724);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 900;
}

/* Three Icon Buttons Row */
.gfoc-selection-icon-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.gfoc-selection-icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
    text-align: center;
}

.gfoc-selection-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gfoc-selection-icon-btn .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #495057;
    transition: color 0.2s ease;
}

.gfoc-selection-icon-btn span:not(.dashicons) {
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Change Time Icon */
.gfoc-selection-icon-btn.gfoc-icon-change-time {
    border-color: #607d8b;
}

.gfoc-selection-icon-btn.gfoc-icon-change-time:hover {
    background: #607d8b;
}

.gfoc-selection-icon-btn.gfoc-icon-change-time:hover .dashicons,
.gfoc-selection-icon-btn.gfoc-icon-change-time:hover span {
    color: #fff;
}

/* Change Day Icon */
.gfoc-selection-icon-btn.gfoc-icon-change-day {
    border-color: #ff9800;
}

.gfoc-selection-icon-btn.gfoc-icon-change-day:hover {
    background: #ff9800;
}

.gfoc-selection-icon-btn.gfoc-icon-change-day:hover .dashicons,
.gfoc-selection-icon-btn.gfoc-icon-change-day:hover span {
    color: #fff;
}

/* Change Provider Icon */
.gfoc-selection-icon-btn.gfoc-icon-change-provider {
    border-color: #2e7d32;
}

.gfoc-selection-icon-btn.gfoc-icon-change-provider:hover {
    background: #2e7d32;
}

.gfoc-selection-icon-btn.gfoc-icon-change-provider:hover .dashicons,
.gfoc-selection-icon-btn.gfoc-icon-change-provider:hover span {
    color: #fff;
}

/* Selection Details in Left Pane */
.gfoc-selection-details-compact {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #e9ecef;
}

.gfoc-selection-details-compact .gfoc-detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: #495057;
    border-bottom: 1px solid #f1f3f4;
}

.gfoc-selection-details-compact .gfoc-detail-row:last-child {
    border-bottom: none;
}

.gfoc-selection-details-compact .gfoc-detail-row .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--gfoc-primary-color, #0073aa);
}

.gfoc-selection-details-compact .gfoc-detail-value {
    font-weight: 600;
    color: #212529;
}

/* Mobile responsive for icon buttons */
@media (max-width: 640px) {
    .gfoc-selection-icon-buttons {
        gap: 10px;
    }

    .gfoc-selection-icon-btn {
        padding: 10px 12px;
        min-width: 70px;
    }

    .gfoc-selection-icon-btn .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    .gfoc-selection-icon-btn span:not(.dashicons) {
        font-size: 10px;
    }
}

/* ========================================
   ENHANCED LEGEND COLOR SYNC
   Ensures legend matches admin Appearance
   ======================================== */

/* Force CSS variables to apply to legend swatches */
.gfoc-calendar-legend .gfoc-legend-swatch,
.gfoc-calendar-legend-sidebar .gfoc-legend-swatch {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    display: inline-block;
    flex-shrink: 0;
}

/* Available - uses CSS vars from admin appearance */
.gfoc-legend-available .gfoc-legend-swatch,
.gfoc-available-swatch {
    background-color: var(--gfoc-available-date-bg, #f0f7ff) !important;
    border: 2px solid var(--gfoc-available-date-text, #000000) !important;
}

/* Blocked */
.gfoc-legend-blocked .gfoc-legend-swatch,
.gfoc-blocked-swatch {
    background-color: var(--gfoc-blocked-date-bg, #fff0f0) !important;
    border: 2px solid var(--gfoc-blocked-date-text, #cc0000) !important;
}

/* Lead Time */
.gfoc-legend-lead-time .gfoc-legend-swatch,
.gfoc-lead-time-swatch {
    background-color: var(--gfoc-lead-time-date-bg) !important;
    border: 2px solid var(--gfoc-lead-time-date-text) !important;
}

/* Selected */
.gfoc-legend-selected .gfoc-legend-swatch,
.gfoc-selected-swatch {
    background-color: var(--gfoc-selected-date-bg, #d4edda) !important;
    border: 2px solid var(--gfoc-selected-date-text, #155724) !important;
}

/* Past */
.gfoc-legend-past .gfoc-legend-swatch,
.gfoc-past-swatch {
    background-color: var(--gfoc-past-date-bg, #f8f8f8) !important;
    border: 2px solid var(--gfoc-past-date-text, #999999) !important;
}

/* Special */
.gfoc-legend-special .gfoc-legend-swatch,
.gfoc-special-swatch {
    background-color: var(--gfoc-special-date-bg, #f0fff0) !important;
    border: 2px solid var(--gfoc-special-date-text, #006600) !important;
}

/* Booked - striped pattern */
.gfoc-legend-booked .gfoc-legend-swatch,
.gfoc-booked-swatch {
    background: repeating-linear-gradient(45deg,
            var(--gfoc-booked-date-bg, #ffe5e5),
            var(--gfoc-booked-date-bg, #ffe5e5) 4px,
            var(--gfoc-booked-date-stripe, #dc3545) 4px,
            var(--gfoc-booked-date-stripe, #dc3545) 8px) !important;
    border: 2px solid var(--gfoc-booked-date-stripe, #dc3545) !important;
}

/* Calendar dates - ensure they use CSS variables from appearance */
.gfoc-date.gfoc-available {
    background-color: var(--gfoc-available-date-bg, #f0f7ff) !important;
    color: var(--gfoc-available-date-text, #000000) !important;
}

.gfoc-date.gfoc-blocked {
    background-color: var(--gfoc-blocked-date-bg, #fff0f0) !important;
    color: var(--gfoc-blocked-date-text, #cc0000) !important;
}

.gfoc-date.gfoc-lead-time {
    background-color: var(--gfoc-lead-time-date-bg) !important;
    color: var(--gfoc-lead-time-date-text) !important;
    border: 2px solid var(--gfoc-lead-time-date-text) !important;
}

.gfoc-date.gfoc-selected {
    background-color: var(--gfoc-selected-date-bg, #d4edda) !important;
    color: var(--gfoc-selected-date-text, #155724) !important;
    border: 2px solid var(--gfoc-selected-date-text, #155724) !important;
}

.gfoc-date.gfoc-past {
    background-color: var(--gfoc-past-date-bg, #f8f8f8) !important;
    color: var(--gfoc-past-date-text, #999999) !important;
    border: 2px solid var(--gfoc-past-date-text, #999999) !important;
}

.gfoc-date.gfoc-special {
    background-color: var(--gfoc-special-date-bg, #f0fff0) !important;
    color: var(--gfoc-special-date-text, #006600) !important;
    border: 2px solid var(--gfoc-special-date-text, #006600) !important;
}

/* Available - Final override with border */
.gfoc-date.gfoc-available {
    background-color: var(--gfoc-available-date-bg, #f0f7ff) !important;
    color: var(--gfoc-available-date-text, #000000) !important;
    border: 2px solid var(--gfoc-available-date-text, #000000) !important;
}

/* SELECTED - MUST come AFTER available to win CSS specificity battle */
/* When a user clicks a date, it gets BOTH gfoc-available and gfoc-selected classes */
.gfoc-date.gfoc-selected,
.gfoc-date.gfoc-available.gfoc-selected {
    background-color: var(--gfoc-selected-date-bg, #d4edda) !important;
    color: var(--gfoc-selected-date-text, #155724) !important;
    border: 2px solid var(--gfoc-selected-date-text, #155724) !important;
    font-weight: bold;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ========================================
   FINAL OVERRIDES - HIGH SPECIFICITY RULES
   ======================================== */

/* Time slots - FORCE 2-column layout on wide screens */
@media (min-width: 768px) {

    .gfoc-time-slots-wrapper .gfoc-time-grid,
    .gfoc-provider-calendar .gfoc-time-grid,
    .gfoc-booking-step .gfoc-time-grid,
    .gfoc-calendar-container .gfoc-time-grid,
    .gfoc-time-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

/* Legend swatches - FORCE colors from CSS variables */
.gfoc-calendar-legend .gfoc-legend-swatch.gfoc-available-swatch,
.gfoc-calendar-legend-sidebar .gfoc-legend-swatch.gfoc-available-swatch,
.gfoc-available-swatch {
    background-color: var(--gfoc-available-date-bg, #f0f7ff) !important;
    border: 2px solid var(--gfoc-available-date-text, #000000) !important;
}

.gfoc-calendar-legend .gfoc-legend-swatch.gfoc-blocked-swatch,
.gfoc-calendar-legend-sidebar .gfoc-legend-swatch.gfoc-blocked-swatch,
.gfoc-blocked-swatch {
    background-color: var(--gfoc-blocked-date-bg, #fff0f0) !important;
    border: 2px solid var(--gfoc-blocked-date-text, #cc0000) !important;
}

.gfoc-calendar-legend .gfoc-legend-swatch.gfoc-booked-swatch,
.gfoc-calendar-legend-sidebar .gfoc-legend-swatch.gfoc-booked-swatch,
.gfoc-booked-swatch {
    background: repeating-linear-gradient(45deg,
            var(--gfoc-booked-date-bg, #ffe5e5),
            var(--gfoc-booked-date-bg, #ffe5e5) 4px,
            var(--gfoc-booked-date-stripe, #dc3545) 4px,
            var(--gfoc-booked-date-stripe, #dc3545) 8px) !important;
    border: 2px solid var(--gfoc-booked-date-stripe, #dc3545) !important;
}

.gfoc-calendar-legend .gfoc-legend-swatch.gfoc-lead-time-swatch,
.gfoc-calendar-legend-sidebar .gfoc-legend-swatch.gfoc-lead-time-swatch,
.gfoc-lead-time-swatch {
    background-color: var(--gfoc-lead-time-date-bg) !important;
    border: 2px solid var(--gfoc-lead-time-date-text) !important;
}

.gfoc-calendar-legend .gfoc-legend-swatch.gfoc-selected-swatch,
.gfoc-calendar-legend-sidebar .gfoc-legend-swatch.gfoc-selected-swatch,
.gfoc-selected-swatch {
    background-color: var(--gfoc-selected-date-bg, #d4edda) !important;
    border: 2px solid var(--gfoc-selected-date-text, #155724) !important;
}

.gfoc-calendar-legend .gfoc-legend-swatch.gfoc-past-swatch,
.gfoc-calendar-legend-sidebar .gfoc-legend-swatch.gfoc-past-swatch,
.gfoc-past-swatch {
    background-color: var(--gfoc-past-date-bg, #f8f8f8) !important;
    border: 2px solid var(--gfoc-past-date-text, #999999) !important;
}

.gfoc-calendar-legend .gfoc-legend-swatch.gfoc-special-swatch,
.gfoc-calendar-legend-sidebar .gfoc-legend-swatch.gfoc-special-swatch,
.gfoc-special-swatch {
    background-color: var(--gfoc-special-date-bg, #f0fff0) !important;
    border: 2px solid var(--gfoc-special-date-text, #006600) !important;
}

/* === End: gfoc-provider-calendar.css === */

/* === Begin: gfoc-calendar-page.css (merged) === */
/**
 * Calendar Page Shortcode Styles
 * Merged from gfoc-calendar-page.css to eliminate duplicate loading
 */

.gfoc-calendar-page {
    max-width: 1200px;
    margin: 80px auto 0 auto;
    padding: 20px;
}

.gfoc-page-title {
    margin-bottom: 10px;
}

.gfoc-page-description {
    margin-bottom: 20px;
    color: #666;
}

.gfoc-selected-slot-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

.gfoc-selected-slot {
    padding: 10px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: var(--gfoc-border-radius, 6px);
    margin-bottom: 15px;
    font-weight: bold;
}

.gfoc-selected-provider-info {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: var(--gfoc-border-radius, 6px);
    padding: 12px 16px;
    margin-bottom: 20px;
}

.gfoc-selected-provider-info p {
    margin: 0;
}

/* Calendar Page Responsive */
@media (max-width: 768px) {
    .gfoc-calendar-page {
        margin-top: 40px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .gfoc-calendar-page {
        margin-top: 20px;
        padding: 10px;
    }
}

/* === End: gfoc-calendar-page.css === */

/* === Begin: gfoc-booking-core.css === */
/**
 * GFOC Booking Core - Consolidated CSS
 * 
 * Single source of truth for booking flow styles.
 * Uses CSS custom properties and proper specificity - NO !important.
 * 
 * Architecture:
 * 1. CSS Variables (set by admin Appearance page)
 * 2. Base component styles
 * 3. Layout system
 * 4. Responsive overrides (mobile-first)
 * 5. State modifiers
 * 
 * @package GFOC
 * @version 2.0.0
 */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (Single Source of Truth)
   ========================================================================== */

:root {
    /* UI Theme Colors */
    --gfoc-primary-color: #0073aa;
    --gfoc-primary-hover: #005a87;
    --gfoc-success-color: #28a745;
    --gfoc-success-hover: #218838;
    --gfoc-warning-color: #ffc107;
    --gfoc-warning-hover: #e0a800;
    --gfoc-danger-color: #dc3545;
    --gfoc-danger-hover: #c82333;
    --gfoc-info-color: #2196f3;
    --gfoc-info-hover: #1976d2;

    /* Calendar Date States (configurable via Appearance admin) */
    --gfoc-available-date-bg: #f0f7ff;
    --gfoc-available-date-text: #000000;
    --gfoc-blocked-date-bg: #fff0f0;
    --gfoc-blocked-date-text: #cc0000;
    --gfoc-booked-date-bg: #ffe5e5;
    --gfoc-booked-date-stripe: #dc3545;
    --gfoc-booked-date-text: #ffffff;
    --gfoc-selected-date-bg: #d4edda;
    --gfoc-selected-date-text: #155724;
    --gfoc-past-date-bg: #f8f8f8;
    --gfoc-past-date-text: #999999;
    /* lead-time: No default - only apply if admin configures */
    --gfoc-lead-time-date-bg: initial;
    --gfoc-lead-time-date-text: initial;
    --gfoc-special-date-bg: #f0fff0;
    --gfoc-special-date-text: #006600;
    --gfoc-offline-date-bg: #e9ecef;
    --gfoc-offline-date-text: #6c757d;
    --gfoc-global-off-bg: #f8d7da;
    --gfoc-global-off-text: #721c24;

    /* Timeslot Colors */
    --gfoc-timeslot-available-bg: #f0f7ff;
    --gfoc-timeslot-available-text: #000000;
    --gfoc-timeslot-unavailable-bg: #f8f8f8;
    --gfoc-timeslot-unavailable-text: #999999;
    --gfoc-timeslot-selected-bg: var(--gfoc-primary-color);
    --gfoc-timeslot-selected-text: #ffffff;

    /* Cap Badges */
    --gfoc-cap-badge-bg: #ff9800;
    --gfoc-cap-badge-text: #ffffff;

    /* Layout Properties */
    --gfoc-border-radius: 6px;
    --gfoc-border-radius-lg: 12px;
    --gfoc-border-color: #e1e8ed;
    --gfoc-bg-light: #f8f9fa;
    --gfoc-bg-white: #ffffff;
    --gfoc-text-muted: #666666;
    --gfoc-text-dark: #333333;

    /* Shadows & Transitions */
    --gfoc-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --gfoc-box-shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.1);
    --gfoc-transition: all 0.2s ease;

    /* Mobile Drawer */
    --gfoc-drawer-width: 280px;
    --gfoc-drawer-bg: #ffffff;
    --gfoc-drawer-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    --gfoc-drawer-z: 10020;
    --gfoc-drawer-overlay-z: 10010;
    --gfoc-drawer-toggle-z: 10030;
}

/* ==========================================================================
   2. BASE COMPONENT STYLES
   ========================================================================== */

/* Container - no left padding so heading and content align flush */
.gfoc-booking-flow-container,
.gfoc-enhanced-booking-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--gfoc-text-dark);
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 20px 0 !important;
    padding-left: 0 !important;
}

/* WordPress theme overrides - ensure container children start flush left */
.entry-content .gfoc-booking-flow-container,
.wp-block-post-content .gfoc-booking-flow-container,
article .gfoc-booking-flow-container,
.site-content .gfoc-booking-flow-container,
.content-area .gfoc-booking-flow-container,
main .gfoc-booking-flow-container {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.gfoc-booking-flow-container *,
.gfoc-enhanced-booking-container * {
    box-sizing: border-box;
}

/* Enhanced step visibility */
.gfoc-enhanced-step {
    display: none;
}

.gfoc-enhanced-step.active {
    display: block;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

/* Progress/Step Header */
.gfoc-enhanced-step-header {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--gfoc-border-color);
    padding-bottom: 20px;
}

.gfoc-enhanced-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* ==========================================================================
   2b. SERVICE & PROVIDER SELECTION GRIDS
   ========================================================================== */

.gfoc-services-grid,
.gfoc-providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Service/Provider Cards */
.gfoc-service-card,
.gfoc-provider-card {
    background: var(--gfoc-bg-white);
    border: 2px solid var(--gfoc-border-color);
    border-radius: var(--gfoc-border-radius-lg);
    cursor: pointer;
    transition: var(--gfoc-transition);
    box-shadow: var(--gfoc-box-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.gfoc-service-card:hover,
.gfoc-provider-card:hover {
    border-color: var(--gfoc-primary-color);
    box-shadow: var(--gfoc-box-shadow-lg);
    transform: translateY(-2px);
}

.gfoc-service-card.selected,
.gfoc-provider-card.selected {
    border-color: var(--gfoc-primary-color);
    background: #f0f8ff;
}

/* Provider photo */
.provider-photo {
    text-align: center;
    margin-bottom: 15px;
}

.provider-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    border: 2px solid var(--gfoc-border-color);
}

/* Featured badge */
.gfoc-featured-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #5f2eea, #a770ef);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Service card header */
.gfoc-service-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.gfoc-service-card-header h3 {
    margin: 0 0 4px;
    font-size: 18px;
    padding-right: 70px;
}

/* Navigation buttons */
.gfoc-enhanced-navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gfoc-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gfoc-enhanced-back-btn {
    background: var(--gfoc-bg-light);
    color: var(--gfoc-text-muted);
    border: none;
    padding: 12px 20px;
    border-radius: var(--gfoc-border-radius);
    cursor: pointer;
    font-size: 14px;
    transition: var(--gfoc-transition);
}

.gfoc-enhanced-back-btn:hover {
    background: var(--gfoc-border-color);
    color: var(--gfoc-text-dark);
}

/* Booking summary */
.gfoc-booking-summary {
    background: var(--gfoc-bg-light);
    border: 1px solid var(--gfoc-border-color);
    border-radius: var(--gfoc-border-radius);
    padding: 15px;
    margin-bottom: 20px;
}

.gfoc-booking-summary h4 {
    margin: 0 0 10px;
    color: var(--gfoc-primary-color);
}

/* ==========================================================================
   2c. BOOKING STEP 1 - TWO COLUMN LAYOUT
   Provider Info/Timezone Panel LEFT, Calendar RIGHT
   ========================================================================== */

/* CRITICAL: Ensure Step 1 and its contents align flush left with the h2 header */
body .gfoc-booking-flow-container>.gfoc-booking-step[data-step="1"],
.gfoc-booking-flow-container>.gfoc-booking-step[data-step="1"],
.entry-content .gfoc-booking-flow-container>.gfoc-booking-step[data-step="1"] {
    margin: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Main wrapper - Two column flex layout, flush left with header */
body .gfoc-booking-flow-container .gfoc-calendar-main-wrapper,
.gfoc-booking-flow-container .gfoc-calendar-main-wrapper,
.entry-content .gfoc-calendar-main-wrapper,
.gfoc-calendar-main-wrapper {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start !important;
    /* gap: 20px; - disabled to ensure flush left alignment */
    align-items: flex-start;
    margin: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    box-sizing: border-box !important;
}

/* Calendar Section - Right side, takes more space */
.gfoc-calendar-wrapper {
    flex: 4;
    min-width: 0;
    order: 2;
    /* Calendar on the RIGHT */
}

/* Timezone/Provider Info Panel - Left side, fixed width, flush with header */
body .gfoc-booking-flow-container .gfoc-timezone-helper-panel,
.gfoc-booking-flow-container .gfoc-timezone-helper-panel,
.entry-content .gfoc-timezone-helper-panel,
.gfoc-calendar-main-wrapper>.gfoc-timezone-helper-panel,
.gfoc-timezone-helper-panel {
    flex: 0 0 280px;
    max-width: 300px;
    min-width: 240px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid var(--gfoc-border-color);
    border-radius: var(--gfoc-border-radius-lg);
    padding: 16px;
    box-shadow: var(--gfoc-box-shadow);
    position: sticky;
    top: 20px;
    order: 1;
    margin: 0 !important;
    margin-left: 0 !important;
    padding-left: 16px !important;
    /* Panel on the LEFT */
}

/* Panel header */
.gfoc-timezone-helper-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.gfoc-timezone-helper-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--gfoc-text-dark);
}

.gfoc-timezone-helper-header .dashicons {
    color: var(--gfoc-primary-color);
    font-size: 18px;
}

/* Close button (hidden on desktop, visible on mobile drawer) */
.gfoc-timezone-drawer-close {
    display: none;
}

/* Provider info section within panel */
.gfoc-provider-info-compact {
    margin-bottom: 16px;
}

.gfoc-provider-info-compact .gfoc-provider-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gfoc-primary-color);
}

.gfoc-provider-info-compact .gfoc-provider-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gfoc-text-dark);
    margin: 8px 0 4px;
}

.gfoc-provider-info-compact .gfoc-provider-title {
    font-size: 12px;
    color: var(--gfoc-text-muted);
}

/* Calendar Container */
.gfoc-calendar-container {
    background: var(--gfoc-bg-white);
    border-radius: var(--gfoc-border-radius-lg);
    box-shadow: var(--gfoc-box-shadow);
    padding: 20px;
    max-width: 800px;
}

/* Calendar Grid Layout */
.gfoc-calendar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.gfoc-calendar-left {
    display: flex;
    flex-direction: column;
}

.gfoc-calendar-right {
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

/* ==========================================================================
   3. CALENDAR DATE STATES (Proper Specificity) - SQUARED BLOCKS
   ========================================================================== */

/* Base date cell - SQUARED with centered day number */
.gfoc-calendar-container .gfoc-date {
    width: auto;
    height: auto;
    min-width: 44px;
    min-height: 44px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--gfoc-transition);
    border: 2px solid transparent;
}

/* Available state */
.gfoc-calendar-container .gfoc-date.gfoc-available {
    background-color: var(--gfoc-available-date-bg);
    color: var(--gfoc-available-date-text);
    border-color: var(--gfoc-available-date-text);
}

.gfoc-calendar-container .gfoc-date.gfoc-available:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Blocked state */
.gfoc-calendar-container .gfoc-date.gfoc-blocked {
    background-color: var(--gfoc-blocked-date-bg);
    color: var(--gfoc-blocked-date-text);
    border-color: var(--gfoc-blocked-date-text);
    cursor: not-allowed;
}

/* Booked state */
.gfoc-calendar-container .gfoc-date.gfoc-booked {
    background-color: var(--gfoc-booked-date-bg);
    color: var(--gfoc-booked-date-text);
    border-color: var(--gfoc-booked-date-text);
    cursor: not-allowed;
}

/* Unavailable state (Provider weekly schedule - doesn't work this day) */
.gfoc-calendar-container .gfoc-date.gfoc-unavailable {
    background-color: var(--gfoc-unavailable-date-bg);
    color: var(--gfoc-unavailable-date-text);
    border: 1px dashed var(--gfoc-unavailable-date-text);
    cursor: not-allowed;
}

/* Selected state */
.gfoc-calendar-container .gfoc-date.gfoc-selected {
    background-color: var(--gfoc-selected-date-bg);
    color: var(--gfoc-selected-date-text);
    border-color: var(--gfoc-selected-date-text);
    font-weight: 700;
}

/* Past state */
.gfoc-calendar-container .gfoc-date.gfoc-past {
    background-color: var(--gfoc-past-date-bg);
    color: var(--gfoc-past-date-text);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Lead time state */
.gfoc-calendar-container .gfoc-date.gfoc-lead-time {
    background-color: var(--gfoc-lead-time-date-bg) !important;
    color: var(--gfoc-lead-time-date-text) !important;
    border: 2px solid var(--gfoc-lead-time-date-text) !important;
    cursor: not-allowed;
}

/* Special date state */
.gfoc-calendar-container .gfoc-date.gfoc-special {
    background-color: var(--gfoc-special-date-bg);
    color: var(--gfoc-special-date-text);
    border-color: var(--gfoc-special-date-text);
}

/* Offline state */
.gfoc-calendar-container .gfoc-date.gfoc-offline {
    background-color: var(--gfoc-offline-date-bg);
    color: var(--gfoc-offline-date-text);
    cursor: not-allowed;
}

/* Global days off */
.gfoc-calendar-container .gfoc-date.gfoc-global-off {
    background-color: var(--gfoc-global-off-bg);
    color: var(--gfoc-global-off-text);
    cursor: not-allowed;
}

/* ==========================================================================
   4. TIMESLOT GRID
   ========================================================================== */

/* Timeslot container - 2 column grid */
.gfoc-time-slots-grid,
.gfoc-timeslots-grid,
#gfoc-time-slots,
.gfoc-slots-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    padding: 10px 0;
}

/* Individual timeslot button */
.gfoc-time-slot,
.gfoc-timeslot-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    min-height: 44px;
    background-color: var(--gfoc-timeslot-available-bg);
    color: var(--gfoc-timeslot-available-text);
    border: 1px solid var(--gfoc-border-color);
    border-radius: var(--gfoc-border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--gfoc-transition);
    text-align: center;
}

.gfoc-time-slot:hover,
.gfoc-timeslot-btn:hover {
    background-color: var(--gfoc-primary-color);
    color: #fff;
    border-color: var(--gfoc-primary-color);
    transform: translateY(-1px);
    box-shadow: var(--gfoc-box-shadow);
}

.gfoc-time-slot.selected,
.gfoc-timeslot-btn.selected,
.gfoc-time-slot.gfoc-selected,
.gfoc-timeslot-btn.gfoc-selected {
    background-color: var(--gfoc-timeslot-selected-bg);
    color: var(--gfoc-timeslot-selected-text);
    border-color: var(--gfoc-timeslot-selected-bg);
}

.gfoc-time-slot.unavailable,
.gfoc-timeslot-btn.unavailable,
.gfoc-time-slot[disabled],
.gfoc-timeslot-btn[disabled] {
    background-color: var(--gfoc-timeslot-unavailable-bg);
    color: var(--gfoc-timeslot-unavailable-text);
    cursor: not-allowed;
    opacity: 0.6;
}

/* ==========================================================================
   5. LEGEND
   ========================================================================== */

.gfoc-calendar-legend {
    margin-top: 20px;
    padding: 15px;
    background: var(--gfoc-bg-light);
    border-radius: var(--gfoc-border-radius);
}

.gfoc-legend-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--gfoc-text-dark);
}

.gfoc-legend-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

.gfoc-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gfoc-text-muted);
}

.gfoc-legend-swatch {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* Legend swatch colors */
.gfoc-legend-item.gfoc-legend-available .gfoc-legend-swatch {
    background-color: var(--gfoc-available-date-bg);
    border-color: var(--gfoc-available-date-text);
}

.gfoc-legend-item.gfoc-legend-blocked .gfoc-legend-swatch {
    background-color: var(--gfoc-blocked-date-bg);
    border-color: var(--gfoc-blocked-date-text);
}

.gfoc-legend-item.gfoc-legend-booked .gfoc-legend-swatch {
    background-color: var(--gfoc-booked-date-bg);
    border-color: var(--gfoc-booked-date-text);
}

.gfoc-legend-item.gfoc-legend-selected .gfoc-legend-swatch {
    background-color: var(--gfoc-selected-date-bg);
    border-color: var(--gfoc-selected-date-text);
}

.gfoc-legend-item.gfoc-legend-past .gfoc-legend-swatch {
    background-color: var(--gfoc-past-date-bg);
    border-color: var(--gfoc-past-date-text);
}

.gfoc-legend-item.gfoc-legend-lead-time .gfoc-legend-swatch {
    background-color: var(--gfoc-lead-time-date-bg);
    border-color: var(--gfoc-lead-time-date-text);
}

.gfoc-legend-item.gfoc-legend-special .gfoc-legend-swatch {
    background-color: var(--gfoc-special-date-bg);
    border-color: var(--gfoc-special-date-text);
}

.gfoc-legend-item.gfoc-legend-offline .gfoc-legend-swatch {
    background-color: var(--gfoc-offline-date-bg);
    border-color: var(--gfoc-offline-date-text);
}

.gfoc-legend-item.gfoc-legend-global-off .gfoc-legend-swatch {
    background-color: var(--gfoc-global-off-bg);
    border-color: var(--gfoc-global-off-text);
}

/* ==========================================================================
   6. CONTINUE BUTTON
   ========================================================================== */

.gfoc-continue-button-container {
    display: none;
    margin-top: 20px;
}

.gfoc-continue-button-container.gfoc-continue-visible {
    display: block;
}

.gfoc-continue-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--gfoc-primary-color);
    color: #fff;
    border: none;
    border-radius: var(--gfoc-border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--gfoc-transition);
    width: 100%;
    max-width: 300px;
}

.gfoc-continue-button:hover {
    background-color: var(--gfoc-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--gfoc-box-shadow);
}

.gfoc-continue-button:disabled {
    background-color: var(--gfoc-timeslot-unavailable-bg);
    color: var(--gfoc-timeslot-unavailable-text);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================================================
   7. TIMEZONE HELPER PANEL
   ========================================================================== */

.gfoc-timezone-helper-panel {
    background: var(--gfoc-bg-white);
    border: 1px solid var(--gfoc-border-color);
    border-radius: var(--gfoc-border-radius-lg);
    padding: 16px;
    box-shadow: var(--gfoc-box-shadow);
}

.gfoc-timezone-helper-panel .gfoc-panel-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gfoc-text-dark);
}

.gfoc-timezone-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--gfoc-border-color);
    font-size: 13px;
}

.gfoc-timezone-info-row:last-child {
    border-bottom: none;
}

.gfoc-timezone-label {
    color: var(--gfoc-text-muted);
}

.gfoc-timezone-value {
    font-weight: 600;
    color: var(--gfoc-text-dark);
}

/* Timezone display section within panel */
.gfoc-timezone-display {
    margin: 16px 0;
    padding: 12px;
    background: var(--gfoc-bg-white);
    border-radius: var(--gfoc-border-radius);
    border: 1px solid var(--gfoc-border-color);
}

.gfoc-timezone-display-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--gfoc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.gfoc-selected-datetime {
    font-size: 14px;
    font-weight: 600;
    color: var(--gfoc-text-dark);
    margin-bottom: 4px;
}

.gfoc-timezone-name {
    font-size: 12px;
    color: var(--gfoc-text-muted);
}

/* Back button in panel */
.gfoc-back-button-container {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gfoc-border-color);
}

.gfoc-back-to-providers-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--gfoc-border-color);
    border-radius: var(--gfoc-border-radius);
    color: var(--gfoc-text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: var(--gfoc-transition);
}

.gfoc-back-to-providers-btn:hover {
    background: var(--gfoc-bg-light);
    color: var(--gfoc-text-dark);
    border-color: var(--gfoc-primary-color);
}

/* ==========================================================================
   8. MOBILE DRAWER SYSTEM (Single Definition)
   ========================================================================== */

/* Drawer toggle button - hidden by default */
.gfoc-timezone-drawer-toggle {
    display: none;
}

/* Drawer overlay - hidden by default */
.gfoc-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--gfoc-drawer-overlay-z);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gfoc-drawer-overlay.gfoc-drawer-active {
    display: block;
    opacity: 1;
}

/* ==========================================================================
   9. FORM FIELD OVERRIDES (Gravity Forms Compatibility)
   ========================================================================== */

/* Prevent iOS zoom on form inputs */
.gfoc-booking-flow-container input[type="text"],
.gfoc-booking-flow-container input[type="email"],
.gfoc-booking-flow-container input[type="tel"],
.gfoc-booking-flow-container input[type="number"],
.gfoc-booking-flow-container select,
.gfoc-booking-flow-container textarea,
.gfoc-enhanced-booking-container input[type="text"],
.gfoc-enhanced-booking-container input[type="email"],
.gfoc-enhanced-booking-container input[type="tel"],
.gfoc-enhanced-booking-container input[type="number"],
.gfoc-enhanced-booking-container select,
.gfoc-enhanced-booking-container textarea {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

/* Read-only appointment fields - diagonal stripes ONLY on input/select/textarea elements */
input.gfoc-readonly-field,
select.gfoc-readonly-field,
textarea.gfoc-readonly-field,
input.gfoc-readonly-input,
select.gfoc-readonly-input,
textarea.gfoc-readonly-input,
.gfoc-readonly-field input[type="text"],
.gfoc-readonly-field input[type="email"],
.gfoc-readonly-field input[type="tel"],
.gfoc-readonly-field input[type="number"],
.gfoc-readonly-field input[type="date"],
.gfoc-readonly-field input[type="time"],
.gfoc-readonly-field select,
.gfoc-readonly-field textarea {
    background: repeating-linear-gradient(-45deg,
            transparent,
            transparent 5px,
            rgba(0, 0, 0, 0.04) 5px,
            rgba(0, 0, 0, 0.04) 10px);
    color: #555;
    cursor: not-allowed;
}

/* ==========================================================================
   10. RESPONSIVE - TABLET (max-width: 960px)
   ========================================================================== */

@media (max-width: 960px) {

    /* Stack the two-column layout vertically on tablet */
    .gfoc-calendar-main-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    .gfoc-calendar-wrapper {
        order: 1;
        /* Calendar first on mobile */
        flex: 1 1 auto;
    }

    .gfoc-timezone-helper-panel {
        order: 2;
        /* Panel below calendar */
        flex: 1 1 auto;
        max-width: 100%;
        position: relative;
        top: 0;
    }

    .gfoc-calendar-content {
        display: block;
    }

    .gfoc-calendar-left {
        margin-bottom: 20px;
    }

    .gfoc-calendar-right {
        min-height: auto;
    }
}

/* ==========================================================================
   11. RESPONSIVE - MOBILE (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {

    /* Container adjustments */
    .gfoc-calendar-container {
        padding: 12px;
        border-radius: var(--gfoc-border-radius);
    }

    /* Main wrapper stacks vertically - calendar only visible, panel becomes drawer */
    .gfoc-calendar-main-wrapper {
        display: block;
    }

    .gfoc-calendar-wrapper {
        order: unset;
    }

    /* Show drawer toggle on mobile */
    .gfoc-timezone-drawer-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        background: var(--gfoc-primary-color);
        color: #fff;
        border: none;
        border-radius: 50%;
        box-shadow: var(--gfoc-box-shadow-lg);
        z-index: var(--gfoc-drawer-toggle-z);
        cursor: pointer;
    }

    /* Convert timezone panel to drawer - MOBILE ONLY
       Panel is positioned off-screen by default and slides in when .gfoc-drawer-open is added */
    .gfoc-timezone-helper-panel {
        position: fixed !important;
        top: 0 !important;
        left: calc(var(--gfoc-drawer-width, 280px) * -1) !important;
        width: var(--gfoc-drawer-width, 280px) !important;
        height: 100vh !important;
        max-width: none !important;
        overflow-y: auto;
        z-index: var(--gfoc-drawer-z) !important;
        border-radius: 0 !important;
        box-shadow: var(--gfoc-drawer-shadow);
        transition: left 0.3s ease;
        background: var(--gfoc-drawer-bg);
        /* Ensure panel is hidden off-screen by default */
        transform: none !important;
        right: auto !important;
    }

    /* When drawer is open, slide panel into view */
    .gfoc-timezone-helper-panel.gfoc-drawer-open,
    .gfoc-timezone-helper-panel.is-open {
        left: 0 !important;
    }

    /* Show close button on mobile drawer */
    .gfoc-timezone-drawer-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        background: transparent;
        border: none;
        font-size: 24px;
        color: var(--gfoc-text-muted);
        cursor: pointer;
        border-radius: 50%;
        transition: var(--gfoc-transition);
    }

    .gfoc-timezone-drawer-close:hover {
        background: var(--gfoc-bg-light);
        color: var(--gfoc-text-dark);
    }

    /* Timeslots stay 2-column on mobile */
    .gfoc-time-slots-grid,
    .gfoc-timeslots-grid,
    #gfoc-time-slots,
    .gfoc-slots-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gfoc-time-slot,
    .gfoc-timeslot-btn {
        padding: 10px 8px;
        font-size: 13px;
        min-height: 44px;
    }

    /* Legend - 2 columns on mobile */
    .gfoc-legend-items {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Continue button full width */
    .gfoc-continue-button {
        max-width: 100%;
    }
}

/* ==========================================================================
   12. RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
    .gfoc-legend-items {
        grid-template-columns: 1fr;
    }

    .gfoc-calendar-container .gfoc-date {
        min-width: 32px;
        min-height: 32px;
        font-size: 13px;
    }
}

/* ==========================================================================
   13. ACCESSIBILITY - REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    .gfoc-booking-flow-container *,
    .gfoc-enhanced-booking-container *,
    .gfoc-timezone-helper-panel,
    .gfoc-drawer-overlay {
        transition: none;
        animation: none;
    }
}

/* ==========================================================================
   14. ACCESSIBILITY - HIGH CONTRAST
   ========================================================================== */

@media (prefers-contrast: more) {
    .gfoc-calendar-container .gfoc-date {
        border-width: 3px;
    }

    .gfoc-time-slot,
    .gfoc-timeslot-btn {
        border-width: 2px;
    }
}

/* ==========================================================================
   15. PRINT STYLES
   ========================================================================== */

@media print {

    .gfoc-timezone-drawer-toggle,
    .gfoc-drawer-overlay,
    .gfoc-continue-button-container {
        display: none;
    }

    .gfoc-timezone-helper-panel {
        position: static;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* === End: gfoc-booking-core.css === */

/* === Begin: gfoc-frontend-booking.css === */
/**
 * GFOC Frontend Booking Flow Styles
 * 
 * All styles for enhanced booking shortcodes.
 * CSS variables are inherited from gfoc-provider-calendar.css (single source of truth).
 * Calendar colors are customizable via admin Appearance settings.
 * 
 * @package GFOC
 * @subpackage Frontend
 * @version 2.1.0
 * @requires gfoc-provider-calendar.css
 */

/* ==========================================================================
   ENHANCED BOOKING CONTAINER
   ========================================================================== */
.gfoc-enhanced-booking-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.gfoc-enhanced-booking-disabled {
    padding: 20px;
    background: var(--gfoc-lead-time-date-bg);
    border: 1px solid var(--gfoc-warning-color);
    border-radius: var(--gfoc-border-radius);
    text-align: center;
    color: var(--gfoc-lead-time-date-text);
}

/* ==========================================================================
   STEP PROGRESS INDICATOR
   ========================================================================== */
.gfoc-enhanced-step-header {
    margin-bottom: 30px;
}

.gfoc-enhanced-progress {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gfoc-enhanced-step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 25px;
    transition: var(--gfoc-transition);
}

.gfoc-enhanced-step-indicator.active {
    background: var(--gfoc-primary-color);
    color: #fff;
}

.gfoc-enhanced-step-indicator.completed {
    background: var(--gfoc-success-color);
    color: #fff;
}

.gfoc-enhanced-step-indicator .step-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-weight: 600;
    font-size: 12px;
}

.gfoc-enhanced-step-indicator .step-label {
    font-size: 14px;
    font-weight: 500;
}

/* ==========================================================================
   STEP CONTENT
   ========================================================================== */
.gfoc-enhanced-step {
    display: none;
}

.gfoc-enhanced-step.active {
    display: block;
}

.gfoc-enhanced-step-content {
    padding: 20px 0;
}

.gfoc-enhanced-step-content h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #333;
}

.gfoc-enhanced-step-content>p {
    color: #666;
    margin-bottom: 25px;
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.gfoc-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gfoc-service-card {
    position: relative;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: var(--gfoc-border-radius);
    padding: 25px;
    cursor: pointer;
    transition: var(--gfoc-transition);
    box-shadow: var(--gfoc-box-shadow);
}

.gfoc-service-card:hover {
    border-color: var(--gfoc-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.gfoc-service-card.selected {
    border-color: var(--gfoc-success-color);
    background: rgba(40, 167, 69, 0.05);
}

.gfoc-service-card-header h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #333;
}

.gfoc-service-card .service-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.gfoc-service-card .service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #555;
}

.gfoc-service-card .service-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Featured Badge */
.gfoc-featured-badge {
    position: absolute;
    top: -8px;
    right: 15px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(255, 152, 0, 0.4);
}

/* ==========================================================================
   PROVIDERS GRID
   ========================================================================== */
.gfoc-providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gfoc-providers-grid.list-view {
    grid-template-columns: 1fr;
}

.gfoc-provider-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: var(--gfoc-border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--gfoc-transition);
    box-shadow: var(--gfoc-box-shadow);
}

.gfoc-provider-card:hover {
    border-color: var(--gfoc-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.gfoc-provider-card.selected {
    border-color: var(--gfoc-success-color);
    background: rgba(40, 167, 69, 0.05);
}

.gfoc-provider-card .provider-photo {
    margin-bottom: 15px;
}

.gfoc-provider-card .provider-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.gfoc-provider-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #333;
}

.gfoc-provider-card .provider-title {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--gfoc-primary-color);
    font-style: italic;
}

.gfoc-provider-card .provider-bio {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* ==========================================================================
   SERVICE PROVIDER BOOKING (Standalone shortcode)
   ========================================================================== */
.gfoc-service-provider-booking {
    max-width: 1000px;
    margin: 0 auto;
}

.gfoc-service-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: var(--gfoc-border-radius);
}

.gfoc-service-header h2 {
    margin: 0 0 10px;
    color: var(--gfoc-primary-color);
    font-size: 28px;
}

.gfoc-service-header .service-description {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
}

.gfoc-service-header .service-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gfoc-service-header .service-details span {
    background: #e9ecef;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.gfoc-providers-section h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
    color: #333;
}

/* ==========================================================================
   NAVIGATION BUTTONS
   ========================================================================== */
.gfoc-enhanced-navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.gfoc-enhanced-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: var(--gfoc-border-radius);
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: var(--gfoc-transition);
}

.gfoc-enhanced-back-btn:hover {
    background: #e9e9e9;
    color: #333;
}

/* ==========================================================================
   SELECTED INFO DISPLAYS
   ========================================================================== */
.gfoc-selected-service-info,
.gfoc-booking-summary {
    margin-bottom: 25px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: var(--gfoc-border-radius);
    border-left: 4px solid var(--gfoc-success-color);
}

.gfoc-selected-service-info h3,
.gfoc-selected-service-summary h4,
.gfoc-selected-provider-summary h4 {
    margin: 0 0 5px;
    font-size: 14px;
    color: #666;
}

.gfoc-selected-service-info .service-name,
.gfoc-selected-service-summary .service-name,
.gfoc-selected-provider-summary .provider-name {
    color: var(--gfoc-primary-color);
    font-weight: 600;
}

.gfoc-selected-service-info .service-details,
.gfoc-booking-summary .service-details {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* ==========================================================================
   CALENDAR CONTAINER
   ========================================================================== */
#gfoc-booking-calendar-container {
    margin: 20px 0;
}

/* Loading State */
.gfoc-loading-container {
    text-align: center;
    padding: 40px 20px;
}

.gfoc-loading-text {
    color: #666;
    font-size: 16px;
}

/* ==========================================================================
   ERROR MESSAGES
   ========================================================================== */
.gfoc-error {
    padding: 15px 20px;
    background: #fff5f5;
    border: 1px solid var(--gfoc-danger-color);
    border-radius: var(--gfoc-border-radius);
    color: #c0392b;
    text-align: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
    .gfoc-enhanced-progress {
        flex-direction: column;
        align-items: center;
    }

    .gfoc-enhanced-step-indicator {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .gfoc-services-grid,
    .gfoc-providers-grid {
        grid-template-columns: 1fr;
    }

    .gfoc-service-header .service-details {
        flex-direction: column;
        gap: 10px;
    }

    .gfoc-service-card,
    .gfoc-provider-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .gfoc-enhanced-step-content h2 {
        font-size: 20px;
    }

    .gfoc-service-header h2 {
        font-size: 22px;
    }

    .gfoc-enhanced-step-indicator .step-label {
        font-size: 12px;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes gfocFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gfoc-enhanced-step.active {
    animation: gfocFadeIn 0.3s ease-out;
}

.gfoc-service-card,
.gfoc-provider-card {
    animation: gfocFadeIn 0.3s ease-out;
}

/* Stagger animation for grid items */
.gfoc-services-grid .gfoc-service-card:nth-child(1),
.gfoc-providers-grid .gfoc-provider-card:nth-child(1) {
    animation-delay: 0s;
}

.gfoc-services-grid .gfoc-service-card:nth-child(2),
.gfoc-providers-grid .gfoc-provider-card:nth-child(2) {
    animation-delay: 0.05s;
}

.gfoc-services-grid .gfoc-service-card:nth-child(3),
.gfoc-providers-grid .gfoc-provider-card:nth-child(3) {
    animation-delay: 0.1s;
}

.gfoc-services-grid .gfoc-service-card:nth-child(4),
.gfoc-providers-grid .gfoc-provider-card:nth-child(4) {
    animation-delay: 0.15s;
}

.gfoc-services-grid .gfoc-service-card:nth-child(5),
.gfoc-providers-grid .gfoc-provider-card:nth-child(5) {
    animation-delay: 0.2s;
}

.gfoc-services-grid .gfoc-service-card:nth-child(6),
.gfoc-providers-grid .gfoc-provider-card:nth-child(6) {
    animation-delay: 0.25s;
}

/* === End: gfoc-frontend-booking.css === */

/* === Begin: booking-confirmation.css === */
/*
 * GFOC Booking Flow - Confirmation & Feedback Styles
 * Extracted from class-gfoc-booking-shortcode.php in Phase 1 cleanup
 * Version: 1.0.0 - Created during CSS separation initiative
 */

/* ===== BOOKING CONFIRMATION STYLES ===== */
.gfoc-booking-confirmation {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gfoc-confirmation-icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 15px;
    display: block;
}

.gfoc-confirmation-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.gfoc-confirmation-message {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.gfoc-confirmation-details {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #28a745;
    text-align: left;
}

/* ===== FEEDBACK & SUCCESS MESSAGES ===== */
.gfoc-success-message {
    background: linear-gradient(135deg, #d1edff 0%, #e8f4f8 100%);
    border-left: 4px solid #28a745;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.1);
}

.gfoc-info-message {
    background: linear-gradient(135deg, #e3f2fd 0%, #f1f8ff 100%);
    border-left: 4px solid #2196f3;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}

.gfoc-warning-message {
    background: linear-gradient(135deg, #fff3cd 0%, #fef9e7 100%);
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.1);
}

.gfoc-error-message {
    background: linear-gradient(135deg, #f8d7da 0%, #fdeaea 100%);
    border-left: 4px solid #dc3545;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.1);
}

/* ===== MESSAGE ICONS & CONTENT ===== */
.gfoc-message-icon {
    font-size: 18px;
    margin-right: 10px;
    vertical-align: middle;
}

.gfoc-success-message .gfoc-message-icon {
    color: #28a745;
}

.gfoc-info-message .gfoc-message-icon {
    color: #2196f3;
}

.gfoc-warning-message .gfoc-message-icon {
    color: #ffc107;
}

.gfoc-error-message .gfoc-message-icon {
    color: #dc3545;
}

.gfoc-message-content {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    line-height: 1.5;
}

/* ===== CALENDAR INTEGRATION STATUS ===== */
.gfoc-calendar-status {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gfoc-calendar-status-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.gfoc-calendar-status-icon {
    font-size: 24px;
    margin-right: 15px;
}

.gfoc-calendar-status.success .gfoc-calendar-status-icon {
    color: #28a745;
}

.gfoc-calendar-status.pending .gfoc-calendar-status-icon {
    color: #ffc107;
    animation: spin 2s linear infinite;
}

.gfoc-calendar-status.error .gfoc-calendar-status-icon {
    color: #dc3545;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.gfoc-calendar-status-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.gfoc-calendar-status-message {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
}

/* ===== BOOKING SUMMARY IN CONFIRMATION ===== */
.gfoc-confirmation-booking-summary {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gfoc-confirmation-booking-summary h4 {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 1px solid #e1e8ed;
    padding-bottom: 10px;
}

.gfoc-confirmation-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.gfoc-confirmation-detail-row:last-child {
    border-bottom: none;
}

.gfoc-confirmation-detail-label {
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}

.gfoc-confirmation-detail-value {
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

/* ===== ACTION BUTTONS IN CONFIRMATION ===== */
.gfoc-confirmation-actions {
    margin-top: 30px;
    text-align: center;
}

.gfoc-confirmation-button {
    display: inline-block;
    padding: 12px 24px;
    margin: 0 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.gfoc-confirmation-button-primary {
    background: #1976d2;
    color: white;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.gfoc-confirmation-button-primary:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.4);
}

.gfoc-confirmation-button-secondary {
    background: white;
    color: #1976d2;
    border: 2px solid #1976d2;
}

.gfoc-confirmation-button-secondary:hover {
    background: #1976d2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

/* ===== NOTIFICATION STATUS INDICATORS ===== */
.gfoc-notification-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gfoc-notification-status.sent {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.gfoc-notification-status.pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.gfoc-notification-status.failed {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.gfoc-notification-status .dashicons {
    font-size: 14px;
}

/* ===== RESPONSIVE CONFIRMATION STYLES ===== */
@media (max-width: 768px) {
    .gfoc-booking-confirmation {
        padding: 20px;
        margin: 15px 0;
    }

    .gfoc-confirmation-title {
        font-size: 20px;
    }

    .gfoc-confirmation-actions {
        margin-top: 20px;
    }

    .gfoc-confirmation-button {
        display: block;
        margin: 10px 0;
        width: 100%;
    }

    .gfoc-confirmation-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .gfoc-booking-confirmation {
        padding: 15px;
    }

    .gfoc-confirmation-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .gfoc-confirmation-title {
        font-size: 18px;
    }

    .gfoc-confirmation-message {
        font-size: 14px;
    }
}

/* === Enhanced Confirmation Layouts (moved from booking-flow.css) === */
/* Enhanced Confirmation Page Styles */
.gfoc-confirmation-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Confirmation Header */
.gfoc-confirmation-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    position: relative;
}

.gfoc-success-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.gfoc-success-circle .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: white;
}

.gfoc-confirmation-title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 600;
    color: white;
}

.gfoc-confirmation-subtitle {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
    color: white;
}

/* Appointment Summary Card */
.gfoc-appointment-summary-card {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.gfoc-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.gfoc-summary-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.gfoc-confirmation-badge {
    background: #4CAF50;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gfoc-appointment-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.gfoc-info-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #4CAF50;
}

.gfoc-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.gfoc-info-header .dashicons {
    color: #4CAF50;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.gfoc-info-header strong {
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gfoc-provider-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.gfoc-provider-email {
    color: #666;
    font-size: 14px;
}

.gfoc-datetime-details {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.gfoc-timezone-info {
    margin-top: 8px;
}

.gfoc-timezone-info small {
    color: #666;
    font-style: italic;
}

.gfoc-meeting-section {
    grid-column: 1 / -1;
    border-left-color: #2196F3;
}

.gfoc-meeting-section .gfoc-info-header .dashicons {
    color: #2196F3;
}

/* Calendar Integration Section */
.gfoc-calendar-integration-section {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.gfoc-section-header {
    text-align: center;
    margin-bottom: 25px;
}

.gfoc-section-header h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.gfoc-section-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.gfoc-calendar-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.gfoc-calendar-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    text-decoration: none;
    color: inherit;
}

.gfoc-calendar-option:hover {
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.gfoc-option-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gfoc-option-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #4CAF50;
}

.gfoc-option-content {
    flex: 1;
}

.gfoc-option-content h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.gfoc-option-content p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.gfoc-option-arrow {
    flex-shrink: 0;
}

.gfoc-option-arrow .dashicons {
    color: #ccc;
    font-size: 16px;
    width: 16px;
    height: 16px;
    transition: color 0.3s ease;
}

.gfoc-calendar-option:hover .gfoc-option-arrow .dashicons {
    color: #4CAF50;
}

/* Next Steps Section */
.gfoc-next-steps-section {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.gfoc-steps-timeline {
    max-width: 600px;
    margin: 0 auto;
}

.gfoc-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.gfoc-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.gfoc-step-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.gfoc-step-immediate .gfoc-step-icon {
    background: #2196F3;
}

.gfoc-step-24h .gfoc-step-icon {
    background: #FF9800;
}

.gfoc-step-15min .gfoc-step-icon {
    background: #9C27B0;
}

.gfoc-step-cancel .gfoc-step-icon {
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
}

.gfoc-step-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.gfoc-step-content {
    flex: 1;
}

.gfoc-step-content h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.gfoc-step-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Preparation Section */
.gfoc-preparation-section {
    margin-top: 30px;
}

.gfoc-prep-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 25px;
    color: white;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.gfoc-prep-icon {
    margin-bottom: 15px;
}

.gfoc-prep-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: white;
    opacity: 0.9;
}

.gfoc-prep-content h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.gfoc-prep-content p {
    margin: 0 0 15px;
    opacity: 0.9;
    line-height: 1.5;
}

.gfoc-prep-link {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gfoc-prep-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Action Buttons */
.gfoc-confirmation-actions {
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.gfoc-primary-btn,
.gfoc-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.gfoc-primary-btn {
    background: #4CAF50;
    color: white;
}

.gfoc-primary-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    color: white;
}

.gfoc-secondary-btn {
    background: white;
    color: #666;
    border: 2px solid #e1e8ed;
}

.gfoc-secondary-btn:hover {
    border-color: #4CAF50;
    color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.gfoc-primary-btn .dashicons,
.gfoc-secondary-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Zoom Meeting Information Styles */
.gfoc-zoom-info {
    background: #f0f8ff;
    border: 1px solid #2196F3;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.gfoc-zoom-item {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.gfoc-zoom-item:last-child {
    margin-bottom: 0;
}

.gfoc-zoom-item strong {
    color: #333;
    display: inline-block;
    min-width: 100px;
}

.gfoc-zoom-link {
    background: #2196F3;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.gfoc-zoom-link:hover {
    background: #1976D2;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
    color: white;
}

.gfoc-zoom-note {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e1e8ed;
}

.gfoc-zoom-note small {
    color: #666;
    font-style: italic;
}

/* Provider Privacy Enhancements */
.gfoc-provider-contact-note {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

.gfoc-provider-contact-note .dashicons {
    color: #2e7d32;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Enhanced Action List for Cancel/Reschedule */
.gfoc-action-list {
    margin: 8px 0;
    padding-left: 20px;
    list-style-type: none;
}

.gfoc-action-list li {
    margin: 4px 0;
    position: relative;
}

.gfoc-action-list li::before {
    content: "\2022 ";
    color: #0073aa;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.gfoc-action-note {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-top: 8px;
}

/* Update the cancel step icon to be more appropriate for actions */
.gfoc-step-cancel .gfoc-step-icon {
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
}

.gfoc-step-cancel .gfoc-step-icon .dashicons {
    color: white;
}


/* === End: booking-confirmation.css === */

/* === Begin: gfoc-confirmation.css === */
/* GFOC Confirmation Page Styles */
.gfoc-confirmation-container {
    width: 100%;
    max-width: 1080px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
}

.gfoc-confirmation-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.confirmation-title {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.confirmation-message {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

.gfoc-booking-details {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    width: 100%;
    box-sizing: border-box;
}

.gfoc-booking-details h3 {
    margin-top: 0;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

/* Removed obsolete .gfoc-calendar-downloads styles (legacy calendar block). */
.calendar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    background: white;
    transition: all 0.3s ease;
    text-align: center;
}

.calendar-btn:hover {
    border-color: #007cba;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #007cba;
}

.calendar-btn .btn-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.calendar-btn .btn-text {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.calendar-btn .btn-subtitle {
    font-size: 0.85rem;
    color: #6c757d;
}

.ics-download-btn {
    border-color: #28a745;
}

.ics-download-btn:hover {
    border-color: #28a745;
    background: #f8fff9;
    color: #28a745;
}

.google-cal-btn {
    border-color: #4285f4;
}

.google-cal-btn:hover {
    border-color: #4285f4;
    background: #f8fafe;
    color: #4285f4;
}

.outlook-cal-btn {
    border-color: #0078d4;
}

.outlook-cal-btn:hover {
    border-color: #0078d4;
    background: #f8fcfe;
    color: #0078d4;
}

.apple-cal-btn {
    border-color: #007aff;
}

.apple-cal-btn:hover {
    border-color: #007aff;
    background: #f8fbff;
    color: #007aff;
}

.calendar-instructions {
    background: #e7f3ff;
    border: 1px solid #b8daff;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.calendar-instructions ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}

.calendar-instructions li {
    margin-bottom: 0.25rem;
}

.gfoc-whats-next {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    width: 100%;
    box-sizing: border-box;
}

.gfoc-whats-next h3 {
    margin-top: 0;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.gfoc-action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.book-another-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    background: #007cba;
    color: white;
    border: 2px solid #007cba;
}

.book-another-btn:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

.gfoc-fallback {
    text-align: center;
    padding: 2rem;
}

.gfoc-instructions {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8ff 100%);
    border: 1px solid #c3e6c3;
    padding: 25px;
    margin: 25px 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
}

.gfoc-info-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.gfoc-appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.gfoc-debug-info {
    margin-top: 30px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .gfoc-confirmation-container {
        margin: 1rem 0;
        padding: 0 0.5rem;
    }

    .booking-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .download-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .gfoc-action-buttons {
        grid-template-columns: 1fr;
    }

    .gfoc-appointment-grid {
        grid-template-columns: 1fr;
    }

    .confirmation-title {
        font-size: 1.5rem;
    }

    .gfoc-booking-details h3 {
        font-size: 1.25rem;
    }
}

/* Extracted styles for confirmation shortcode (responsive adjustments) */
@media (max-width:768px) {
    .gfoc-appointment-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important
    }
}

/* === End: gfoc-confirmation.css === */

/* === Begin: gfoc-confirmation-print.css === */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 12pt;
    }

    .gfoc-confirmation-container {
        box-shadow: none !important;
        background: #ffffff !important;
        color: #000000 !important;
        padding: 0 !important;
    }

    .gfoc-confirmation-container * {
        color: #000000 !important;
        box-shadow: none !important;
    }

    .gfoc-confirmation-header,
    .gfoc-info-section,
    .gfoc-instructions,
    .gfoc-emphasis-time-diff {
        background: #ffffff !important;
        border: 1px solid #999999 !important;
        box-shadow: none !important;
    }

    .gfoc-confirmation-header h2,
    .gfoc-confirmation-header p {
        text-align: left !important;
    }

    .gfoc-appointment-grid {
        display: block !important;
    }

    .gfoc-appointment-grid>div {
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    .gfoc-calendar-downloads,
    .gfoc-cal-buttons,
    .gfoc-action-buttons,
    .gfoc-qr-code,
    .gfoc-qr-mode-switcher,
    .gfoc-qr-raw,
    .gfoc-arrival-reminder,
    .gfoc-notice,
    .gfoc-service-title-display[data-service-final="1"]::after {
        display: none !important;
    }

    .gfoc-confirmation-container a {
        color: #000000 !important;
        text-decoration: none !important;
    }

    .gfoc-instructions ul,
    .gfoc-instructions ol {
        margin-left: 18px !important;
    }

    .dashicons {
        display: none !important;
    }

    #wpadminbar,
    .site-header,
    .site-footer {
        display: none !important;
    }

    @page {
        margin: 20mm;
    }
}

/* === End: gfoc-confirmation-print.css === */

/* === Begin: gfoc-cancellation.css === */
/* Extracted from inline <style> in class-gfoc-cancellation-page.php */
.gfoc-cancellation-page {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif
}

.gfoc-cancellation-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    overflow: hidden
}

.gfoc-cancellation-header {
    background: #f8f9fa;
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #dee2e6
}

.gfoc-cancellation-header h1 {
    margin: 0;
    color: #343a40;
    font-size: 28px;
    font-weight: 600
}

.gfoc-appointment-details {
    padding: 30px;
    border-bottom: 1px solid #dee2e6
}

.gfoc-appointment-details h2 {
    margin: 0 0 20px 0;
    color: #495057;
    font-size: 20px
}

.gfoc-details-grid {
    display: grid;
    gap: 12px
}

.gfoc-detail-item {
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4
}

.gfoc-detail-item:last-child {
    border-bottom: none
}

.gfoc-detail-item strong {
    color: #495057;
    margin-right: 10px
}

.gfoc-cancellation-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px
}

.gfoc-warning-icon {
    font-size: 24px;
    flex-shrink: 0
}

.gfoc-warning-content h3 {
    margin: 0 0 10px 0;
    color: #856404;
    font-size: 16px
}

.gfoc-warning-content p {
    margin: 0 0 8px 0;
    color: #856404;
    font-size: 14px;
    line-height: 1.5
}

.gfoc-warning-content p:last-child {
    margin-bottom: 0
}

.gfoc-cancellation-form {
    padding: 30px
}

.gfoc-form-group {
    margin-bottom: 25px
}

.gfoc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057
}

.gfoc-form-group textarea,
.gfoc-form-group input[type=text] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical
}

.gfoc-form-group textarea:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)
}

.gfoc-help-text {
    margin-top: 6px;
    font-size: 12px;
    color: #6c757d
}

.gfoc-status-region {
    margin-top: 18px;
    font-size: 14px;
    min-height: 18px
}

.gfoc-status-success {
    color: #1d7e34
}

.gfoc-status-error {
    color: #b52727
}

.gfoc-btn[disabled] {
    opacity: .55;
    cursor: not-allowed
}

.gfoc-optional {
    font-weight: 400;
    color: #6c757d;
    font-size: 12px
}

.gfoc-countdown {
    font-weight: 600;
    color: #495057;
    margin-top: 8px
}

.gfoc-form-actions {
    display: flex;
    gap: 15px;
    justify-content: center
}

.gfoc-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease
}

.gfoc-btn-secondary {
    background: #6c757d;
    color: #fff
}

.gfoc-btn-secondary:hover {
    background: #5a6268
}

.gfoc-btn-danger {
    background: #dc3545;
    color: #fff
}

.gfoc-btn-danger:hover {
    background: #c82333
}

.gfoc-cancellation-help {
    padding: 30px;
    background: #f8f9fa;
    text-align: center
}

.gfoc-cancellation-help h3 {
    margin: 0 0 10px 0;
    color: #495057;
    font-size: 18px
}

.gfoc-cancellation-help p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5
}

@media (max-width:768px) {
    .gfoc-cancellation-page {
        margin: 20px;
        padding: 10px
    }

    .gfoc-form-actions {
        flex-direction: column
    }
}

/* Error & success states (extracted from inline styles) */
.gfoc-error-container,
.gfoc-success-container {
    max-width: 500px;
    margin: 100px auto;
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1)
}

.gfoc-error-icon,
.gfoc-success-icon {
    font-size: 48px;
    margin-bottom: 20px
}

.gfoc-btn-primary {
    background: #007cba;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    font-weight: 600
}

.gfoc-btn-primary:hover {
    background: #006ba3
}

/* Confirmation Modal */
.gfoc-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000
}

.gfoc-modal.is-open {
    display: flex
}

.gfoc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45)
}

.gfoc-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    width: 90%;
    max-width: 520px;
    padding: 20px;
    outline: none;
    animation: gfoc-modal-in .18s ease-out
}

.gfoc-modal-header {
    padding: 8px 4px 6px
}

.gfoc-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #343a40
}

.gfoc-modal-body {
    padding: 8px 4px 12px;
    color: #495057
}

.gfoc-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 8px
}

@keyframes gfoc-modal-in {
    from {
        transform: translateY(8px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

/* Inline spinner for action buttons */
.gfoc-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top-color: #fff;
    border-radius: 50%;
    animation: gfoc-spin .8s linear infinite;
    vertical-align: middle
}

@keyframes gfoc-spin {
    to {
        transform: rotate(360deg)
    }
}

/* === End: gfoc-cancellation.css === */

/* === Begin: gfoc-provider-profile.css === */
/**
 * Provider Profile Styles
 */

/* Provider Profile */
.gfoc-provider-profile {
    display: flex;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.gfoc-provider-profile .gfoc-provider-photo {
    flex: 0 0 120px;
    margin-right: 20px;
}

.gfoc-provider-profile .gfoc-provider-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.gfoc-provider-profile .gfoc-provider-info {
    flex: 1;
}

.gfoc-provider-profile .gfoc-provider-name {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
}

.gfoc-provider-profile .gfoc-provider-title {
    margin-bottom: 15px;
    font-size: 16px;
    color: #666;
}

.gfoc-provider-profile .gfoc-provider-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.gfoc-provider-profile .gfoc-language-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

.gfoc-provider-profile .gfoc-provider-description {
    color: #555;
    line-height: 1.6;
}

.gfoc-provider-profile .gfoc-provider-description p:first-child {
    margin-top: 0;
}

.gfoc-provider-profile .gfoc-provider-description p:last-child {
    margin-bottom: 0;
}

/* Provider List */
.gfoc-provider-list {
    margin-bottom: 30px;
}

/* Service Filter Banner - FLICKER-FREE */
.gfoc-service-filter-banner {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin-bottom: 15px !important;
    box-shadow: none !important;
    overflow: hidden;
    width: 100%;
    display: block !important;
    clear: both;
    opacity: 1 !important;
    visibility: visible !important;
    /* Prevent any transitions or animations */
    transition: none !important;
    animation: none !important;
    /* Prevent layout shifts */
    /* Ensure stable positioning */
    position: static !important;
    /* Prevent JavaScript manipulation */
    pointer-events: auto;
    padding: 0 !important;
}

.gfoc-service-filter-content {
    padding: 10px 0 !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
    color: #2c3e50 !important;
    display: block !important;
    width: 100%;
    box-sizing: border-box;
    opacity: 1 !important;
    visibility: visible !important;
    /* Prevent any transitions or animations */
    transition: none !important;
    animation: none !important;
    /* Ensure stable positioning */
    position: static !important;
}

.gfoc-filter-label {
    font-weight: 600;
    color: #0073aa;
    margin-right: 5px;
}

.gfoc-service-name {
    font-weight: 700;
    color: #2c3e50;
    font-size: 17px;
    text-decoration: underline;
    text-decoration-color: #0073aa;
    text-underline-offset: 3px;
}

.gfoc-provider-count {
    color: #666;
    font-weight: 500;
    font-size: 15px;
    margin-left: 8px;
    padding: 3px 10px;
    background: rgba(0, 115, 170, 0.1);
    border-radius: 15px;
    display: inline-block;
}

/* Prevent flicker on all service filter banner elements */
.gfoc-service-filter-banner,
.gfoc-service-filter-content,
.gfoc-filter-label,
.gfoc-service-name,
.gfoc-provider-count,
.gfoc-provider-header {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Service Badges - Modern pill-style badges */
.gfoc-service-badges {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    gap: 10px;
    margin-top: 12px;
    align-items: center;
}

.gfoc-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    width: auto !important;
    flex: 0 0 auto;
}

.gfoc-badge-icon {
    font-size: 14px;
    line-height: 1;
}

.gfoc-badge-providers {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border: 1px solid #90caf9;
}

.gfoc-badge-price {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.gfoc-badge-duration {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
    border: 1px solid #ffcc80;
}

/* Provider Time Badges (Duration + Timezone combined) */
.gfoc-provider-time-badges {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
    align-items: center;
    justify-content: flex-start;
}

.gfoc-provider-time-badges .gfoc-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gfoc-provider-time-badges .gfoc-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.gfoc-provider-time-badges .gfoc-badge-icon {
    font-size: 14px;
    line-height: 1;
}

/* Timezone badge styling */
.gfoc-badge-timezone {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    cursor: help;
}

.gfoc-badge-timezone .gfoc-timezone-text {
    font-weight: 500;
}

.gfoc-badge-timezone .gfoc-timezone-time {
    font-weight: 600;
    background: rgba(46, 125, 50, 0.15);
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 11px;
    margin-left: 2px;
}

/* Provider duration badge on provider cards */
.gfoc-provider-time-badges .gfoc-badge-duration {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
    border: 1px solid #ffcc80;
}

/* Responsive provider time badge adjustments */
@media (max-width: 480px) {
    .gfoc-provider-time-badges {
        gap: 6px;
    }

    .gfoc-provider-time-badges .gfoc-badge {
        padding: 5px 10px;
        font-size: 11px;
    }

    .gfoc-provider-time-badges .gfoc-badge-icon {
        font-size: 12px;
    }

    .gfoc-badge-timezone .gfoc-timezone-time {
        font-size: 10px;
    }
}

/* Responsive badge adjustments */
@media (max-width: 480px) {
    .gfoc-service-badges {
        gap: 8px;
    }

    .gfoc-badge {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Grid Layout */
.gfoc-provider-list.gfoc-grid {
    display: grid;
    gap: 15px;
    justify-content: start;
}


.gfoc-provider-list.gfoc-grid.gfoc-has-variables {
    grid-template-columns: repeat(var(--gfoc-grid-columns, 1), minmax(var(--gfoc-card-min, 280px), var(--gfoc-card-max, 1fr)));
    justify-items: stretch;
}

.gfoc-provider-list.gfoc-grid.gfoc-has-variables:not(.gfoc-density-compact) {
    --gfoc-card-min: var(--gfoc-card-min-comfortable, 280px);
    --gfoc-card-max: var(--gfoc-card-max-comfortable, 1fr);
}

.gfoc-provider-list.gfoc-grid.gfoc-has-variables.gfoc-density-compact {
    --gfoc-card-min: var(--gfoc-card-min-compact, 200px);
    --gfoc-card-max: var(--gfoc-card-max-compact, var(--gfoc-card-min-compact, 200px));
}

.gfoc-provider-list.gfoc-grid:not(.gfoc-has-variables).gfoc-columns-1 {
    grid-template-columns: 1fr;
}

.gfoc-provider-list.gfoc-grid:not(.gfoc-has-variables).gfoc-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gfoc-provider-list.gfoc-grid:not(.gfoc-has-variables).gfoc-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gfoc-provider-list.gfoc-grid:not(.gfoc-has-variables).gfoc-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gfoc-provider-list.gfoc-density-compact {
    gap: 15px;
}

.gfoc-provider-list.gfoc-list.gfoc-density-compact .gfoc-provider-item {
    margin-bottom: 16px;
}

.gfoc-density-compact .gfoc-provider-card.gfoc-list-view {
    gap: 14px;
}

/* Provider Card */
.gfoc-provider-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 100%;
    min-width: 0;
    width: 100%;
    position: relative;
}

.gfoc-provider-list.gfoc-grid.gfoc-has-variables .gfoc-provider-card {
    justify-self: start;
}

.gfoc-density-compact .gfoc-provider-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Photo at the top */
.gfoc-provider-card .gfoc-provider-photo {
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    /* 4:3 aspect ratio */
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.gfoc-provider-card .gfoc-provider-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Name overlay at bottom of photo */
.gfoc-provider-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    padding: 15px 15px 12px;
    color: white;
    z-index: 2;
}

.gfoc-density-compact .gfoc-provider-name-overlay {
    padding: 10px 10px 8px;
}

.gfoc-provider-name-overlay .gfoc-provider-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gfoc-density-compact .gfoc-provider-name-overlay .gfoc-provider-name {
    font-size: 15px;
    gap: 6px;
}

.gfoc-provider-name-overlay .gfoc-info-icon {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    cursor: help;
    transition: all 0.2s ease;
}

.gfoc-provider-name-overlay .gfoc-info-icon:hover {
    color: #fff;
    transform: scale(1.1);
}

.gfoc-provider-name-overlay .gfoc-info-icon .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Info section */
.gfoc-provider-card .gfoc-provider-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
}

.gfoc-density-compact .gfoc-provider-card .gfoc-provider-info {
    padding: 10px;
}

/* Name with info icon */
.gfoc-provider-name-container {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

/* Provider timezone pill */
.gfoc-provider-timezone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f5 100%);
    border: 1px solid #dce2e7;
    border-radius: 8px;
    position: relative;
    transition: background .25s ease, box-shadow .25s ease;
}

.gfoc-density-compact .gfoc-provider-timezone {
    gap: 8px;
    margin-top: 10px;
    padding: 6px 10px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.gfoc-provider-timezone:hover {
    background: linear-gradient(135deg, #eef2f5 0%, #e2e8ee 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

/* Utility classes extracted from inline styles */
.gfoc-provider-list-wrapper {
    margin-top: 0;
    padding-top: 0;
}

.gfoc-provider-list-wrapper>*:first-child {
    margin-top: 0 !important;
}

.gfoc-provider-list-wrapper h1+.gfoc-provider-list {
    margin-top: 10px;
}

.gfoc-loading-block {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #444;
}

.gfoc-error-inline {
    padding: 10px;
    background: #fff4f4;
    border: 1px solid #f5c2c2;
    border-radius: 4px;
}

/* Info icon in provider cards */
.gfoc-provider-card .gfoc-provider-name .gfoc-info-icon {
    font-size: 18px;
    margin-left: 4px;
}

.gfoc-provider-card .gfoc-provider-name .gfoc-info-icon .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

/* Title */
.gfoc-provider-card .gfoc-provider-title {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.gfoc-density-compact .gfoc-provider-card .gfoc-provider-title {
    margin-bottom: 8px;
    font-size: 13px;
}

/* Title container with designation badge */
.gfoc-provider-title-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.gfoc-density-compact .gfoc-provider-title-container {
    gap: 6px;
    margin-bottom: 8px;
}

.gfoc-provider-title-container .gfoc-provider-title {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
    /* Allows text to wrap if needed */
}

.gfoc-provider-title-container .gfoc-designation-badge {
    flex-shrink: 0;
    position: static;
    background-color: #28a745;
    color: #fff;
    padding: 5px 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: help;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(40, 167, 69, 0.3);
}

.gfoc-density-compact .gfoc-provider-title-container .gfoc-designation-badge {
    padding: 4px 8px;
    font-size: 10px;
}

.gfoc-provider-title-container .gfoc-designation-badge:hover {
    background-color: #218838;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.4);
}

.gfoc-provider-title-container .gfoc-designation-badge .gfoc-designation-text {
    margin-right: 4px;
}

.gfoc-provider-title-container .gfoc-designation-badge .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Languages */
.gfoc-provider-card .gfoc-provider-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: auto;
    padding-top: 10px;
}

.gfoc-density-compact .gfoc-provider-card .gfoc-provider-languages {
    gap: 4px;
    max-height: 64px;
    overflow: hidden;
}

/* Provider Tags */
.gfoc-provider-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.gfoc-provider-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: default;
}

.gfoc-provider-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Tag color variants */
.gfoc-provider-tag.color-1 {
    background-color: #e74c3c;
}

.gfoc-provider-tag.color-2 {
    background-color: #3498db;
}

.gfoc-provider-tag.color-3 {
    background-color: #2ecc71;
}

.gfoc-provider-tag.color-4 {
    background-color: #f39c12;
}

.gfoc-provider-tag.color-5 {
    background-color: #9b59b6;
}

.gfoc-provider-tag.color-6 {
    background-color: #1abc9c;
}

.gfoc-provider-tag.color-7 {
    background-color: #e67e22;
}

.gfoc-provider-tag.color-8 {
    background-color: #34495e;
}

.gfoc-provider-tag.color-9 {
    background-color: #8e44ad;
}

.gfoc-provider-tag.color-10 {
    background-color: #16a085;
}

.gfoc-provider-card .gfoc-language-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    cursor: help;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.gfoc-density-compact .gfoc-provider-card .gfoc-language-tag {
    font-size: 11px;
    padding: 3px 8px;
}

.gfoc-provider-card .gfoc-language-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.gfoc-provider-card .gfoc-language-tag:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gfoc-provider-availability {
    margin-top: 10px;
    font-size: 13px;
    font-style: italic;
    color: #555;
}

.gfoc-density-compact .gfoc-provider-availability {
    margin-top: 8px;
    font-size: 12px;
}

/* Timezone inner elements */
.gfoc-provider-timezone .dashicons {
    color: #0073aa;
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-right: 2px;
}

.gfoc-provider-timezone .gfoc-timezone-text {
    flex: 1;
    font-weight: 600;
    color: #343a40;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gfoc-density-compact .gfoc-provider-timezone .gfoc-timezone-text {
    white-space: normal;
}

.gfoc-provider-timezone .gfoc-timezone-time {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 115, 170, 0.3);
    transition: all .2s ease;
    flex-shrink: 0;
}

.gfoc-density-compact .gfoc-provider-timezone .gfoc-timezone-time {
    font-size: 11px;
    padding: 3px 7px;
    min-width: 100px;
    flex-basis: 100%;
}

.gfoc-provider-timezone .gfoc-timezone-time:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 115, 170, 0.4);
}

/* Language tags styling */
.gfoc-language-tag {
    cursor: help;
    vertical-align: middle;
}

/* Rotate through different colors for language tags */
.gfoc-language-tag:nth-child(5n+1) {
    background-color: #4CAF50;
    /* Green */
}

.gfoc-language-tag:nth-child(5n+2) {
    background-color: #2196F3;
    /* Blue */
}

.gfoc-language-tag:nth-child(5n+3) {
    background-color: #FF9800;
    /* Orange */
}

.gfoc-language-tag:nth-child(5n+4) {
    background-color: #9C27B0;
    /* Purple */
}

.gfoc-language-tag:nth-child(5n+5) {
    background-color: #F44336;
    /* Red */
}

/* Book button */
.gfoc-book-button {
    display: block;
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #0073aa;
    color: white;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

/* Availability button matches booking style but secondary color */
.gfoc-availability-button {
    display: block;
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #555d66;
    /* WP neutral gray */
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

.gfoc-book-button-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* In wider layouts place buttons side by side */
@media (min-width:600px) {

    .gfoc-book-button-wrap--dual .gfoc-availability-button,
    .gfoc-book-button-wrap--dual .gfoc-book-button {
        width: 50%;
    }

    .gfoc-book-button-wrap--dual {
        flex-direction: row;
    }
}

/* Reduce unexpected top gap on listing wrapper */
.gfoc-provider-list-wrapper,
.gfoc-provider-list-wrapper:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* List view */
.gfoc-provider-list.gfoc-list .gfoc-provider-item {
    margin-bottom: 20px;
}

.gfoc-provider-list.gfoc-list .gfoc-provider-card.gfoc-list-view {
    flex-direction: row;
}

.gfoc-provider-list.gfoc-list .gfoc-provider-card.gfoc-list-view .gfoc-provider-photo {
    width: 120px;
    height: 120px;
    padding-bottom: 0;
    flex-shrink: 0;
}

/* Links */
.gfoc-provider-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.gfoc-provider-link:hover .gfoc-provider-card {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gfoc-book-button,
.gfoc-info-icon,
.gfoc-provider-languages {
    position: relative;
    z-index: 2;
}

/* Tooltip - RESTORED for provider badges and elements */
#gfoc-tooltip {
    position: absolute;
    background: #333;
    color: #fff;
    padding: 10px 12px;
    border-radius: 6px;
    max-width: 300px;
    z-index: 9999;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    display: none;
    word-wrap: break-word;
}

#gfoc-tooltip:before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: #333;
}

/* Enable tooltips for specific provider elements */
.gfoc-language-tag,
.gfoc-designation-badge,
.gfoc-provider-tag,
.gfoc-provider-timezone,
.gfoc-info-icon {
    cursor: help;
    position: relative;
}

/* Remove default browser tooltips for these elements only */
.gfoc-providers-count,
.gfoc-provider-count {
    position: relative !important;
}

.gfoc-providers-count:before,
.gfoc-providers-count:after,
.gfoc-provider-count:before,
.gfoc-provider-count:after {
    display: none !important;
    content: none !important;
}

/* Remove any title attribute tooltips for count elements only */
.gfoc-providers-count[title]:hover:after,
.gfoc-provider-count[title]:hover:after {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .gfoc-provider-profile {
        flex-direction: column;
    }

    .gfoc-provider-profile .gfoc-provider-photo {
        margin-right: 0;
        margin-bottom: 20px;
        text-align: center;
    }

    .gfoc-provider-list.gfoc-grid {
        grid-template-columns: 1fr;
    }

    .gfoc-provider-list.gfoc-list .gfoc-provider-card.gfoc-list-view {
        flex-direction: column;
    }

    /* Name overlay responsive */
    .gfoc-provider-name-overlay {
        padding: 12px 12px 10px;
    }

    .gfoc-provider-name-overlay .gfoc-provider-name {
        font-size: 14px;
    }

    .gfoc-provider-name-overlay .gfoc-info-icon .dashicons {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }

    .gfoc-provider-timezone {
        gap: 8px;
        padding: 8px 12px;
    }

    .gfoc-provider-timezone .gfoc-timezone-text {
        font-size: 12px;
    }

    .gfoc-provider-timezone .gfoc-timezone-time {
        min-width: 110px;
        /* Increased for 24hr (12hr) format */
        font-size: 11px;
        padding: 4px 8px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .gfoc-provider-list.gfoc-grid.gfoc-columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .gfoc-provider-list.gfoc-grid.gfoc-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* End provider profile / list stylesheet */

/* Force mobile stack for provider list to prevent grid issues */
@media only screen and (max-width: 768px) {

    .gfoc-provider-list.gfoc-grid,
    .gfoc-provider-list.gfoc-grid.gfoc-has-variables,
    .gfoc-provider-list {
        display: block !important;
        grid-template-columns: none !important;
        height: auto !important;
        overflow: visible !important;
    }

    .gfoc-provider-list .gfoc-provider-card,
    .gfoc-provider-list .gfoc-provider-item {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
        display: block !important;
    }
}

/* === End: gfoc-provider-profile.css === */

/* === Begin: gfoc-provider-preview.css === */
/* Provider Display Preview (extracted) */
.gfoc-provider-preview-wrapper {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 10px;
    padding: 14px 16px
}

.gfoc-provider-preview-wrapper h4 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px
}

.gfoc-provider-preview-wrapper #gfoc-provider-display-preview {
    display: grid;
    gap: 15px;
    justify-items: start;
    justify-content: start
}

.gfoc-preview-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    gap: 10px;
    background: #f8fafc
}

.gfoc-preview-card--compact {
    padding: 8px;
    gap: 8px
}

.gfoc-preview-card .gfoc-preview-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px
}

.gfoc-preview-card--compact .gfoc-preview-avatar {
    width: 40px;
    height: 40px;
    font-size: 13px
}

.gfoc-preview-card .gfoc-preview-name {
    font-weight: 600;
    font-size: 13px
}

.gfoc-preview-card--compact .gfoc-preview-name {
    font-size: 12px
}

.gfoc-preview-card .gfoc-preview-title {
    font-size: 11px;
    color: #475569;
    margin-top: 2px
}

.gfoc-preview-card--compact .gfoc-preview-title {
    font-size: 10px;
    margin-top: 1px
}

.gfoc-preview-card .gfoc-preview-langs {
    margin-top: 4px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap
}

.gfoc-preview-card--compact .gfoc-preview-langs {
    margin-top: 3px;
    gap: 3px
}

.gfoc-preview-card .gfoc-preview-langs span {
    background: #e0e7ff;
    color: #3730a3;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600
}

.gfoc-preview-card--compact .gfoc-preview-langs span {
    padding: 2px 5px;
    font-size: 9px
}

.gfoc-preview-card .gfoc-preview-desc {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.4;
    color: #475569
}

.gfoc-preview-card--compact .gfoc-preview-desc {
    margin-top: 4px;
    font-size: 10px
}

.gfoc-preview-card .gfoc-preview-tz {
    margin-top: 6px;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #334155
}

.gfoc-preview-card .gfoc-preview-tz .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px
}

.gfoc-preview-card .gfoc-preview-tz-text {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.gfoc-preview-card .gfoc-preview-tz-time {
    background: #4f46e5;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 10px;
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.25)
}

.gfoc-preview-card--compact .gfoc-preview-tz {
    margin-top: 4px;
    font-size: 9px;
    gap: 4px;
    flex-wrap: wrap;
    align-items: flex-start
}

.gfoc-preview-card--compact .gfoc-preview-tz-text {
    white-space: normal
}

.gfoc-preview-card--compact .gfoc-preview-tz-time {
    flex-basis: 100%;
    text-align: center;
    font-size: 9px
}

.gfoc-preview-card .gfoc-preview-book {
    margin-top: 10px;
    display: inline-block;
    background: #4f46e5;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    text-decoration: none;
    font-weight: 600
}

.gfoc-preview-card--compact .gfoc-preview-book {
    margin-top: 8px;
    padding: 3px 8px;
    font-size: 10px
}

.gfoc-preview-footnote {
    margin: 10px 0 0;
    font-size: 11px;
    color: #64748b
}

/* === End: gfoc-provider-preview.css === */

/* === Begin: gfoc-preview.css === */
/**
 * GFOC Preview Styles
 *
 * @since 2.2.0
 */

/* Modal Styles */
.gfoc-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.gfoc-modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: gfocFadeIn 0.3s;
}

@keyframes gfocFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Button */
.gfoc-close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.gfoc-close:hover,
.gfoc-close:focus {
    color: #333;
    text-decoration: none;
}

/* Modal Header */
.gfoc-modal-header {
    padding: 15px 20px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #e5e5e5;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.gfoc-modal-header h2 {
    margin: 0;
    padding-right: 20px;
    font-size: 20px;
    color: #333;
}

/* Modal Body */
.gfoc-modal-body {
    padding: 20px;
}

.gfoc-event-details>div {
    margin-bottom: 15px;
}

.gfoc-event-details strong {
    display: inline-block;
    min-width: 100px;
    color: #555;
}

/* Modal Footer */
.gfoc-modal-footer {
    padding: 15px 20px;
    background-color: #f8f8f8;
    border-top: 1px solid #e5e5e5;
    text-align: right;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Buttons */
.gfoc-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0078d4;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    transition: background-color 0.3s;
}

.gfoc-button:hover {
    background-color: #106ebe;
}

.gfoc-button-secondary {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.gfoc-button-secondary:hover {
    background-color: #e0e0e0;
}

/* Prevent body scrolling when modal is open */
body.gfoc-modal-open {
    overflow: hidden;
}

/* Preview Link */
.gfoc-preview-link {
    cursor: pointer;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .gfoc-modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .gfoc-event-details strong {
        display: block;
        margin-bottom: 5px;
    }

    .gfoc-modal-footer {
        text-align: center;
    }

    .gfoc-button,
    .gfoc-button-secondary {
        display: block;
        width: 100%;
        margin: 10px 0 0;
    }
}

/* === End: gfoc-preview.css === */

/* === Begin: provider-portal.css === */
.gfoc-provider-portal {
    background: #fff;
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    padding: 16px
}

.gfoc-pp-alert {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 12px;
    position: relative;
}

.gfoc-pp-alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #713f12;
}

.gfoc-pp-alert-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.gfoc-pp-alert-success {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.gfoc-pp-alert-icon {
    margin-right: 8px;
}

.gfoc-pp-alert-dismiss {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    line-height: 1;
    padding: 2px 6px;
}

.gfoc-pp-alert-dismiss:hover {
    opacity: 1;
}

.gfoc-pp-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    position: relative;
    align-items: center
}

.gfoc-pp-tab {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.gfoc-pp-tab-active {
    background: #000;
    color: #fff;
    border-color: #000
}

/* Identity label next to Logout */
.gfoc-pp-logged-as {
    margin-left: auto;
    align-self: center;
    color: #334155;
    font-size: 13px;
}

.gfoc-pp-tab-logout {
    margin-left: 8px;
}

/* Variable light colors per tab */
.gfoc-pp-tab[data-tab="dashboard"] {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.gfoc-pp-tab[data-tab="profile"] {
    background: #f7fee7;
    border-color: #d9f99d;
}

.gfoc-pp-tab[data-tab="appointments"] {
    background: #fdf2f8;
    border-color: #fbcfe8;
}

.gfoc-pp-tab[data-tab="logout"] {
    background: #fff7ed;
    border-color: #fed7aa;
}

.gfoc-pp-tab:hover {
    filter: brightness(0.98);
}

.gfoc-pp-tab.gfoc-pp-tab-active {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.gfoc-pp-panel {
    display: none
}

.gfoc-pp-panel-active {
    display: block
}

.gfoc-pp-field {
    margin-bottom: 12px
}

.gfoc-pp-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px
}

.gfoc-pp-appointments-list {
    min-height: 80px
}

.gfoc-pp-appointments-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 12px 0;
}

.gfoc-pp-appointments-toolbar label {
    margin-left: auto;
}

/* Appointments stats row */
.gfoc-pp-appointments-stats {
    margin-bottom: 8px;
}

.gfoc-pp-appointments-stats .gfoc-pp-cards-row-four {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 640px) {
    .gfoc-pp-appointments-stats .gfoc-pp-cards-row-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .gfoc-pp-appointments-stats .gfoc-pp-cards-row-four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.gfoc-pp-actions-row {
    margin-bottom: 8px;
}

.gfoc-pp-loading,
.gfoc-pp-error,
.gfoc-pp-empty {
    padding: 12px;
    color: #475569
}

.gfoc-pp-table {
    width: 100%;
    border-collapse: collapse
}

.gfoc-pp-table th,
.gfoc-pp-table td {
    border-bottom: 1px solid #e2e8f0;
    padding: 8px;
    text-align: left;
    vertical-align: top;
}

.gfoc-pp-table thead th {
    background: #f6f7f7;
    font-weight: 600;
}

.gfoc-pp-table tbody tr:nth-child(odd) {
    background: #fafafa;
}

.gfoc-pp-table tbody tr:hover {
    background: #f1f5f9;
}

/* Compact datatable styling for Provider Portal frontend */
/* Using !important to override DataTables defaults */
#gfoc-pp-datatable.gfoc-pp-table th,
#gfoc-pp-datatable.gfoc-pp-table td,
.gfoc-pp-table th,
.gfoc-pp-table td {
    padding: 6px 8px !important;
    vertical-align: middle !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

#gfoc-pp-datatable.gfoc-pp-table thead th,
.gfoc-pp-table thead th {
    padding: 8px !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Normalize provider column in datatable to match other columns */
#gfoc-pp-datatable .gfoc-provider-info,
#gfoc-pp-datatable .gfoc-provider-name,
.gfoc-pp-table .gfoc-provider-info,
.gfoc-pp-table .gfoc-provider-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Compact client info in datatable */
#gfoc-pp-datatable .gfoc-client-info,
.gfoc-pp-table .gfoc-client-info {
    gap: 2px;
}

#gfoc-pp-datatable .gfoc-client-name,
.gfoc-pp-table .gfoc-client-name {
    font-size: 13px !important;
    font-weight: 600 !important;
}

#gfoc-pp-datatable .gfoc-client-email,
.gfoc-pp-table .gfoc-client-email {
    font-size: 11px !important;
    color: #64748b;
}

/* Compact datetime cells in datatable - single line format */
#gfoc-pp-datatable .gfoc-datetime,
.gfoc-pp-table .gfoc-datetime {
    line-height: 1.2 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: baseline !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

#gfoc-pp-datatable .gfoc-datetime .gfoc-date,
.gfoc-pp-table .gfoc-datetime .gfoc-date {
    font-size: 13px !important;
    font-weight: 600;
    white-space: nowrap;
}

#gfoc-pp-datatable .gfoc-datetime .gfoc-time,
.gfoc-pp-table .gfoc-datetime .gfoc-time {
    font-size: 12px !important;
    color: #475569;
    white-space: nowrap;
}

#gfoc-pp-datatable .gfoc-datetime .gfoc-timezone,
.gfoc-pp-table .gfoc-datetime .gfoc-timezone {
    font-size: 9px !important;
    color: #94a3b8;
    white-space: nowrap;
}

/* Compact service cell */
#gfoc-pp-datatable .gfoc-service-cell .gfoc-service-name,
.gfoc-pp-table .gfoc-service-cell .gfoc-service-name {
    font-size: 13px !important;
    font-weight: 500;
}

#gfoc-pp-datatable .gfoc-service-cell .gfoc-service-cost,
.gfoc-pp-table .gfoc-service-cell .gfoc-service-cost {
    font-size: 11px !important;
    color: #16a34a;
    font-weight: 500;
}

/* Compact status dropdown */
#gfoc-pp-datatable .gfoc-pp-status-select,
.gfoc-pp-table .gfoc-pp-status-select {
    padding: 4px 6px !important;
    font-size: 12px !important;
    min-width: 110px;
}

/* Compact action buttons */
#gfoc-pp-datatable .button.button-small,
.gfoc-pp-table .button.button-small {
    padding: 2px 6px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

.gfoc-pp-actions .button {
    margin-right: 6px
}

/* ── Provider Portal: Action Icons (table row) ── */
.gfoc-pp-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    margin: 0 3px;
    vertical-align: middle;
    position: relative;
}
.gfoc-pp-action-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 1;
}
.gfoc-pp-action-icon:hover,
.gfoc-pp-action-icon:focus {
    background: #e0e7ff;
    border-color: #818cf8;
    color: #3730a3;
    box-shadow: 0 2px 6px rgba(99,102,241,0.18);
    transform: translateY(-1px);
}
.gfoc-pp-action-icon:active {
    transform: translateY(0);
    box-shadow: none;
}
/* Tooltip on hover */
.gfoc-pp-action-icon[title] {
    position: relative;
}
.gfoc-pp-action-icon[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    padding: 4px 10px;
    border-radius: 5px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.gfoc-pp-action-icon[title]:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1e293b;
    pointer-events: none;
    z-index: 9999;
}

.gfoc-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e5e7eb;
    font-size: 12px
}

.gfoc-status-confirmed {
    background: #dcfce7
}

.gfoc-datetime .gfoc-date {
    font-weight: 600
}

.gfoc-datetime .gfoc-time {
    color: #334155;
    font-size: 12px
}

.gfoc-datetime .gfoc-timezone {
    color: #64748b;
    font-size: 12px
}

.gfoc-pp-client-name {
    font-weight: 600
}

.gfoc-pp-client-email {
    color: #475569;
    font-size: 12px
}

/* Mirror admin appointments client cell */
.gfoc-client-info {
    display: flex;
    flex-direction: column;
}

.gfoc-client-name {
    font-weight: 600;
}

.gfoc-client-email {
    color: #475569;
    font-size: 12px;
}

/* Card layout to align with admin UI */
.gfoc-pp-card {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    margin: 16px 0;
}

.gfoc-pp-card-header {
    border-bottom: 1px solid #dcdcde;
    padding: 12px 16px;
    background: #f6f7f7;
}

.gfoc-pp-card-body {
    padding: 16px;
}

/* Availability legends and descriptions */
.gfoc-pp-legend-lg {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.gfoc-pp-legend-desc {
    margin-top: 4px;
    margin-bottom: 12px;
    color: #475569;
}

/* Profile form table-like layout */
.gfoc-pp-form-table .gfoc-pp-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.gfoc-pp-col-label {
    width: 220px;
    font-weight: 600;
    padding-top: 6px;
}

.gfoc-pp-col-field {
    flex: 1;
}

.gfoc-pp-actions {
    margin-top: 16px;
}

/* Make action buttons more prominent */
.gfoc-pp-actions .button.button-primary {
    background: #0ea5e9;
    border-color: #0284c7;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(2, 132, 199, .2);
}

.gfoc-pp-actions .button.button-primary:hover {
    background: #0284c7;
    border-color: #0369a1;
}

.gfoc-pp-actions .button.button-primary:disabled {
    opacity: .7;
    cursor: not-allowed;
}

/* Availability save button specific touch */
#gfoc-pp-save-availability {
    background: #16a34a;
    border-color: #15803d;
}

#gfoc-pp-save-availability:hover {
    background: #15803d;
    border-color: #166534;
}

/* Compact grid layout for Profile Management */
.gfoc-pp-form-compact .gfoc-pp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .gfoc-pp-form-compact .gfoc-pp-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.gfoc-pp-fieldpair {
    display: flex;
    flex-direction: column;
}

.gfoc-pp-fieldpair label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #1e293b;
    font-size: 13px;
}

/* Enhanced form field styling with padding and modern appearance */
.gfoc-pp-fieldpair input[type="text"],
.gfoc-pp-fieldpair input[type="email"],
.gfoc-pp-fieldpair input[type="password"],
.gfoc-pp-fieldpair input[type="number"],
.gfoc-pp-fieldpair input[type="date"],
.gfoc-pp-fieldpair input[type="time"],
.gfoc-pp-fieldpair select,
.gfoc-pp-fieldpair textarea,
.gfoc-pp-form-compact input[type="text"],
.gfoc-pp-form-compact input[type="email"],
.gfoc-pp-form-compact input[type="password"],
.gfoc-pp-form-compact input[type="number"],
.gfoc-pp-form-compact input[type="date"],
.gfoc-pp-form-compact input[type="time"],
.gfoc-pp-form-compact select,
.gfoc-pp-form-compact textarea {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.5;
    color: #1e293b;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: 100%;
    box-sizing: border-box;
}

.gfoc-pp-fieldpair input[type="text"]:focus,
.gfoc-pp-fieldpair input[type="email"]:focus,
.gfoc-pp-fieldpair input[type="password"]:focus,
.gfoc-pp-fieldpair input[type="number"]:focus,
.gfoc-pp-fieldpair input[type="date"]:focus,
.gfoc-pp-fieldpair input[type="time"]:focus,
.gfoc-pp-fieldpair select:focus,
.gfoc-pp-fieldpair textarea:focus,
.gfoc-pp-form-compact input[type="text"]:focus,
.gfoc-pp-form-compact input[type="email"]:focus,
.gfoc-pp-form-compact input[type="password"]:focus,
.gfoc-pp-form-compact input[type="number"]:focus,
.gfoc-pp-form-compact input[type="date"]:focus,
.gfoc-pp-form-compact input[type="time"]:focus,
.gfoc-pp-form-compact select:focus,
.gfoc-pp-form-compact textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.gfoc-pp-fieldpair input[type="text"]:hover,
.gfoc-pp-fieldpair input[type="email"]:hover,
.gfoc-pp-fieldpair input[type="password"]:hover,
.gfoc-pp-fieldpair input[type="number"]:hover,
.gfoc-pp-fieldpair input[type="date"]:hover,
.gfoc-pp-fieldpair input[type="time"]:hover,
.gfoc-pp-fieldpair select:hover,
.gfoc-pp-fieldpair textarea:hover,
.gfoc-pp-form-compact input[type="text"]:hover,
.gfoc-pp-form-compact input[type="email"]:hover,
.gfoc-pp-form-compact input[type="password"]:hover,
.gfoc-pp-form-compact input[type="number"]:hover,
.gfoc-pp-form-compact input[type="date"]:hover,
.gfoc-pp-form-compact input[type="time"]:hover,
.gfoc-pp-form-compact select:hover,
.gfoc-pp-form-compact textarea:hover {
    border-color: #94a3b8;
}

.gfoc-pp-fieldpair input::placeholder,
.gfoc-pp-form-compact input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

/* Time input specific styling */
.gfoc-pp-time-row input[type="time"] {
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #fff;
    font-size: 13px;
}

.gfoc-pp-time-row input[type="time"]:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* Blocked date input styling */
.gfoc-pp-blocked-add input[type="date"] {
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #fff;
    font-size: 13px;
}

.gfoc-pp-blocked-add input[type="date"]:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.gfoc-pp-fieldpair-small input.small-text {
    width: 120px;
    padding: 8px 12px;
}

.gfoc-pp-fieldpair-full {
    grid-column: 1 / -1;
}

/* ============================================
   Digital Signature Pad Section
   ============================================ */
.gfoc-pp-signature-section {
    border: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    padding: 18px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.gfoc-pp-signature-section>label {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.gfoc-pp-signature-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.gfoc-pp-signature-container {
    position: relative;
}

/* Saved signature preview */
.gfoc-pp-signature-preview {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.gfoc-pp-signature-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin: 0 0 12px 0;
}

.gfoc-pp-signature-status-saved {
    color: #059669;
}

.gfoc-pp-signature-status .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.gfoc-pp-signature-image-wrap {
    position: relative;
    background: repeating-clamped-pattern, #f8fafc;
    background-image:
        linear-gradient(45deg, #e5e7eb 25%, transparent 25%),
        linear-gradient(-45deg, #e5e7eb 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e5e7eb 75%),
        linear-gradient(-45deg, transparent 75%, #e5e7eb 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    margin-bottom: 12px;
}

.gfoc-pp-signature-image {
    max-width: 100%;
    max-height: 150px;
    height: auto;
}

.gfoc-pp-signature-timestamp {
    position: absolute;
    bottom: 6px;
    right: 10px;
    font-size: 11px;
    color: #64748b;
    background: rgba(255, 255, 255, 0.85);
    padding: 2px 6px;
    border-radius: 3px;
    font-style: italic;
}

/* Signature pad canvas wrapper */
.gfoc-pp-signature-pad-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.gfoc-pp-signature-canvas-container {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 12px;
    width: 100%;
    height: 200px;
    box-sizing: border-box;
}

.gfoc-pp-signature-canvas {
    display: block;
    cursor: crosshair;
    touch-action: none;
}

.gfoc-pp-signature-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.gfoc-pp-signature-placeholder .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.gfoc-pp-signature-placeholder span:last-child {
    font-size: 14px;
    font-weight: 500;
}

.gfoc-pp-signature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.gfoc-pp-signature-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
}

.gfoc-pp-signature-actions .button .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.gfoc-pp-signature-actions .button-primary {
    background: #0ea5e9;
    border-color: #0284c7;
    color: #fff;
}

.gfoc-pp-signature-actions .button-primary:hover {
    background: #0284c7;
    border-color: #0369a1;
}

.gfoc-pp-signature-clear-btn {
    color: #dc2626 !important;
    border-color: #fecaca !important;
    background: #fef2f2 !important;
}

.gfoc-pp-signature-clear-btn:hover {
    background: #fee2e2 !important;
    border-color: #f87171 !important;
}

.gfoc-pp-signature-note {
    font-size: 12px;
    color: #64748b;
    margin: 12px 0 0 0;
}

.gfoc-pp-signature-saving {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.gfoc-pp-signature-saving .spinner {
    float: none;
    margin: 0;
}

/* Include Signature Toggle */
.gfoc-pp-signature-master-toggle {
    margin-bottom: 0;
}

.gfoc-pp-signature-master-toggle .gfoc-pp-signature-toggle-wrap {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.gfoc-pp-signature-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.gfoc-pp-signature-toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gfoc-pp-signature-switch {
    flex-shrink: 0;
}

.gfoc-pp-signature-toggle-status {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* Signature Options Container (shown when enabled) */
.gfoc-pp-signature-options-container {
    padding-top: 8px;
}

.gfoc-pp-signature-options-container .gfoc-pp-signature-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.gfoc-pp-signature-options-container .gfoc-pp-manual-doc {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* Responsive adjustments for signature pad */
@media (max-width: 500px) {
    .gfoc-pp-signature-section {
        padding: 14px;
    }

    .gfoc-pp-signature-canvas {
        height: 160px;
    }

    .gfoc-pp-signature-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .gfoc-pp-signature-actions .button {
        justify-content: center;
    }
}

.gfoc-pp-manual-doc {
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 8px;
    padding: 14px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.gfoc-pp-manual-doc-status p {
    margin: 0 0 6px 0;
    color: #0f172a;
    font-size: 13px;
}

.gfoc-pp-manual-doc-status a {
    margin-left: 6px;
    font-size: 12px;
}

.gfoc-pp-manual-doc-actions {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.gfoc-pp-manual-doc input[type="file"] {
    max-width: 260px;
}

.gfoc-pp-manual-note {
    margin: 2px 0 0;
    font-size: 12px;
    color: #475569;
}

.gfoc-pp-manual-remove[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.gfoc-pp-editor-wrap {
    border: 1px solid #dcdcde;
    background: #fff;
}

.gfoc-pp-select {
    max-width: 100%;
}

/* Login presentation */
.gfoc-pp-login {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.gfoc-pp-login .gfoc-pp-card {
    width: 100%;
    max-width: 560px;
    margin: 24px auto;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.gfoc-pp-lead {
    margin-top: 0;
    color: #444;
}

.gfoc-pp-login .gfoc-pp-login-form input[type="text"],
.gfoc-pp-login .gfoc-pp-login-form input[type="password"],
.gfoc-pp-login .gfoc-pp-login-form input[type="email"] {
    width: 100%;
    max-width: 420px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.gfoc-pp-login .gfoc-pp-login-form p {
    margin-bottom: 12px;
}

.gfoc-pp-login .submit .button {
    padding: 8px 14px;
}

.gfoc-status-pending {
    background: #fef9c3
}

.gfoc-status-completed {
    background: #dbeafe
}

.gfoc-status-cancelled {
    background: #fee2e2
}

.gfoc-status-noshow {
    background: #f5d0fe
}

/* Status dropdown visual styles */
.gfoc-status-select {
    padding: 6px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
}

.gfoc-pp-status-cell .gfoc-status-select {
    width: auto;
    min-width: 120px;
}

/* Dashboard cards */
.gfoc-pp-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gfoc-pp-cards-row {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
}

@media (min-width: 640px) {
    .gfoc-pp-cards-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .gfoc-pp-cards-row {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.gfoc-pp-cards-row-revenue {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .gfoc-pp-cards-row-revenue {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .gfoc-pp-cards-row-revenue {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.gfoc-pp-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.gfoc-pp-card-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
    margin-bottom: 6px;
}

.gfoc-pp-card-value {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}

.gfoc-pp-card-sub {
    font-size: 12px;
    color: #475569;
    margin-top: 2px;
}

.gfoc-pp-card.accent {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.gfoc-pp-card.ok {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.gfoc-pp-card.warn {
    border-color: #fde68a;
    background: #fffbeb;
}

.gfoc-pp-card.bad {
    border-color: #fecaca;
    background: #fef2f2;
}

.gfoc-pp-card.strong {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.gfoc-pp-card-filter {
    cursor: pointer;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.gfoc-pp-card-filter:focus-visible {
    outline: 2px solid #818cf8;
    outline-offset: 3px;
}

.gfoc-pp-card-filter:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.gfoc-pp-dashboard-row .gfoc-pp-card {
    margin: 0;
}

.gfoc-pp-dashboard-card {
    cursor: pointer;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease, background .2s ease;
    border-color: #cbd5e1;
}

.gfoc-pp-dashboard-card:focus-visible {
    outline: 2px solid #818cf8;
    outline-offset: 3px;
}

.gfoc-pp-dashboard-card:hover {
    box-shadow: 0 8px 20px rgba(15, 23, 42, .12);
    transform: translateY(-2px);
}

.gfoc-pp-card-filter-today,
.gfoc-pp-dashboard-time-today {
    background: #fef9c3;
    border-color: #fde047;
}

.gfoc-pp-card-filter-today:hover,
.gfoc-pp-dashboard-card.gfoc-pp-dashboard-time-today:hover {
    background: #fef08a;
}

.gfoc-pp-card-filter-tomorrow,
.gfoc-pp-dashboard-time-tomorrow {
    background: #e0f2fe;
    border-color: #bae6fd;
}

.gfoc-pp-card-filter-tomorrow:hover,
.gfoc-pp-dashboard-card.gfoc-pp-dashboard-time-tomorrow:hover {
    background: #bae6fd;
}

.gfoc-pp-card-filter-week,
.gfoc-pp-dashboard-time-week {
    background: #f5d0fe;
    border-color: #f0abfc;
}

.gfoc-pp-card-filter-week:hover,
.gfoc-pp-dashboard-card.gfoc-pp-dashboard-time-week:hover {
    background: #f0abfc;
}

.gfoc-pp-card-filter-month,
.gfoc-pp-dashboard-time-month {
    background: #d9f99d;
    border-color: #bef264;
}

.gfoc-pp-card-filter-month:hover,
.gfoc-pp-dashboard-card.gfoc-pp-dashboard-time-month:hover {
    background: #bef264;
}

.gfoc-pp-card-filter-all {
    background: #fee2e2;
    border-color: #fecaca;
}

.gfoc-pp-card-filter-all:hover {
    background: #fecaca;
}

.gfoc-pp-card-active,
.gfoc-pp-dashboard-card.gfoc-pp-dashboard-card-active {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, .15);
    background: #c7d2fe;
}

.gfoc-pp-dashboard-status-confirmed {
    background: #dcfce7;
    border-color: #86efac;
}

.gfoc-pp-dashboard-card.gfoc-pp-dashboard-status-confirmed:hover {
    background: #bbf7d0;
}

.gfoc-pp-dashboard-status-pending {
    background: #fffbeb;
    border-color: #fde68a;
}

.gfoc-pp-dashboard-card.gfoc-pp-dashboard-status-pending:hover {
    background: #fef3c7;
}

.gfoc-pp-dashboard-status-cancelled {
    background: #fee2e2;
    border-color: #fecaca;
}

.gfoc-pp-dashboard-card.gfoc-pp-dashboard-status-cancelled:hover {
    background: #fecdd3;
}

.gfoc-pp-dashboard-status-noshow {
    background: #f5d0fe;
    border-color: #f0abfc;
}

.gfoc-pp-dashboard-card.gfoc-pp-dashboard-status-noshow:hover {
    background: #f0abfc;
}

.gfoc-pp-export-text {
    margin-left: 4px;
}

@media (min-width: 1024px) {
    .gfoc-pp-appointments-stats .gfoc-pp-cards-row-four.has-load-all {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Provider header in each tab */
.gfoc-pp-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.gfoc-pp-avatar img,
.gfoc-pp-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    overflow: hidden;
}

.gfoc-pp-header-name {
    font-weight: 700;
    font-size: 16px;
}

/* Dashboard grid: main + aside */
.gfoc-pp-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 1024px) {
    .gfoc-pp-dashboard-grid {
        grid-template-columns: 3fr 1.2fr;
    }
}

.gfoc-pp-dashboard-aside {
    min-width: 0;
}

.gfoc-pp-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.gfoc-pp-widget-header {
    background: #f6f7f7;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 14px;
}

.gfoc-pp-widget-header h4 {
    margin: 0;
    font-size: 14px;
}

.gfoc-pp-widget-body {
    padding: 12px;
}

.gfoc-pp-upcoming {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gfoc-pp-up-item {
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fafafa;
}

.gfoc-pp-up-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    line-height: 1.25;
    padding: 0;
}

.gfoc-pp-up-date {
    font-weight: 600;
    color: #0f172a;
}

.gfoc-pp-up-service {
    font-size: 12px;
    color: #334155;
}

.gfoc-pp-up-name {
    font-size: 13px;
    color: #111827;
}

/* Generic upcoming row (for alternate renderer) */
.gfoc-pp-up-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed #eef2f7;
}

.gfoc-pp-up-client {
    color: #4b5563;
}

/* Calendar container */
.gfoc-pp-calendar-root {
    width: 100%;
    height: 680px;
}

/* DataTables refinements to resemble WP admin */
.gfoc-pp-appointments-list .dataTables_wrapper .dataTables_filter input {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 8px;
}

.gfoc-pp-appointments-list .dataTables_wrapper .dataTables_length select {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 4px 6px;
}

.gfoc-pp-appointments-list .dataTables_wrapper .dataTables_length {
    margin-top: 8px;
}

.gfoc-pp-appointments-list .dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    margin: 0 2px !important;
    background: #fff !important;
}

.gfoc-pp-appointments-list .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #f1f5f9 !important;
}

.gfoc-pp-appointments-list .dataTables_wrapper .dataTables_info {
    color: #475569;
}

/* Appointment details child row */
table.dataTable tbody tr.shown>td {
    border-bottom: none;
}

table.dataTable tbody tr.shown+tr>td {
    border-top: none;
    padding-top: 0;
}

.gfoc-pp-details-wrap {
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.gfoc-pp-details-section {
    margin-bottom: 8px;
}

.gfoc-pp-details-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #0f172a;
}

.gfoc-pp-form-values {
    margin-top: 12px;
}

.gfoc-pp-formline {
    display: flex;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 13px;
}

.gfoc-pp-formline-label {
    font-weight: 600;
    min-width: 120px;
    color: #334155;
}

.gfoc-pp-formline-value {
    color: #0f172a;
}

.gfoc-pp-files {
    list-style: disc;
    margin: 0 0 0 16px;
    padding: 0;
}

.gfoc-pp-details-list {
    margin: 0;
}

.gfoc-pp-details-list dt {
    font-weight: 600;
    color: #334155;
}

.gfoc-pp-details-list dd {
    margin: 0 0 6px 0;
}

.gfoc-pp-retainer-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.gfoc-pp-retainer-answer {
    font-size: 13px;
    text-transform: none;
    font-weight: 700;
}

.gfoc-pp-retainer-label {
    font-size: 11px;
    text-transform: uppercase;
}

.gfoc-pp-retainer-chip.gfoc-retainer-auto {
    background: #dcfce7;
    color: #166534;
}

.gfoc-pp-retainer-chip.gfoc-retainer-complete {
    background: #dbeafe;
    color: #1d4ed8;
}

.gfoc-pp-retainer-chip.gfoc-retainer-pending {
    background: #fee2e2;
    color: #991b1b;
}

.gfoc-pp-retainer-chip.gfoc-retainer-auto-pending {
    background: #fef3c7;
    color: #92400e;
}

.gfoc-pp-retainer-panel {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    margin-top: 14px;
    background: #eef2ff;
}

.gfoc-pp-retainer-head {
    margin-bottom: 8px;
}

.gfoc-pp-retainer-meta {
    font-size: 12px;
    color: #475569;
    margin-bottom: 6px;
}

.gfoc-pp-retainer-download {
    margin-bottom: 8px;
    font-size: 13px;
}

.gfoc-pp-retainer-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.gfoc-pp-retainer-dl-btn:hover,
.gfoc-pp-retainer-dl-btn:focus {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.gfoc-pp-retainer-dl-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.2);
}

.gfoc-pp-retainer-dl-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

.gfoc-pp-retainer-alert {
    background: #fff7ed;
    border-left: 3px solid #f97316;
    padding: 8px 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #7c2d12;
}

.gfoc-pp-retainer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gfoc-pp-retainer-feedback {
    margin-top: 8px;
    font-size: 12px;
    display: none;
}

.gfoc-pp-retainer-feedback.is-success {
    color: #15803d;
    display: block;
}

.gfoc-pp-retainer-feedback.is-error {
    color: #b91c1c;
    display: block;
}

.gfoc-pp-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.gfoc-pp-toast {
    min-width: 220px;
    max-width: 320px;
    background: #0f172a;
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 20px 45px -20px rgba(15, 23, 42, .8);
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease;
}

.gfoc-pp-toast.gfoc-pp-toast-success {
    background: #15803d;
}

.gfoc-pp-toast.gfoc-pp-toast-error {
    background: #b91c1c;
}

.gfoc-pp-toast.gfoc-pp-toast-info {
    background: #0f172a;
}

.gfoc-pp-toast.gfoc-toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.gfoc-pp-toast.gfoc-toast-leave {
    opacity: 0;
    transform: translateY(-6px);
}

/* Details popover compact field layout */
.gfoc-pp-fieldline {
    margin: 0 0 6px 0;
    font-size: 13px;
    color: #0f172a;
}

.gfoc-pp-fieldblock {
    margin: 0 0 8px 0;
}

.gfoc-pp-fieldlabel {
    font-weight: 600;
    color: #334155;
}

.gfoc-pp-fieldblock .gfoc-pp-fieldvalue {
    margin-top: 2px;
}

/* Details Popover */
#gfoc-pp-details-popover.gfoc-pp-popover {
    position: absolute;
    z-index: 10000;
    width: 620px;
    max-width: 95vw;
    max-height: 80vh;
    overflow: auto;
    background: #fff;
    border: 1px solid #cfd6e4;
    border-radius: 14px;
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.2), 0 8px 16px -8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .12s ease, transform .12s ease;
}

#gfoc-pp-details-popover.shown {
    opacity: 1;
    transform: translateY(0);
}

.gfoc-pp-popover-inner {
    padding: 14px;
}

.gfoc-pp-popover-close {
    position: sticky;
    top: 0;
    margin-left: auto;
    display: block;
    border: none;
    background: transparent;
    font-size: 16px;
    padding: 8px 10px;
    cursor: pointer;
}

/* ---- Summary grid (2-column label/value) ---- */
.gfoc-pp-summary-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    row-gap: 0;
    column-gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.gfoc-pp-sum-label,
.gfoc-pp-sum-value {
    padding: 8px 12px;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
}

.gfoc-pp-sum-label {
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    white-space: nowrap;
}

.gfoc-pp-sum-value {
    color: #0f172a;
    word-break: break-word;
}

.gfoc-pp-sum-label:last-of-type,
.gfoc-pp-sum-value:last-of-type {
    border-bottom: none;
}

/* ---- Form Responses heading ---- */
.gfoc-pp-fields-heading {
    margin: 16px 0 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #64748b;
    font-weight: 700;
}

/* ---- Full fields grid (2-column) ---- */
.gfoc-pp-fields-grid {
    max-height: 280px;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.gfoc-pp-field-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}

.gfoc-pp-field-row:last-child {
    border-bottom: none;
}

.gfoc-pp-field-row:nth-child(even) {
    background: #f8fafc;
}

.gfoc-pp-field-label {
    font-weight: 600;
    color: #475569;
    padding: 8px 12px;
    background: rgba(248, 250, 252, .6);
    border-right: 1px solid #f1f5f9;
}

.gfoc-pp-field-value {
    color: #0f172a;
    word-break: break-word;
    padding: 8px 12px;
}

/* ---- Download button (colorful gradient matching retainer button) ---- */
.gfoc-pp-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.gfoc-pp-dl-btn:hover,
.gfoc-pp-dl-btn:focus {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.gfoc-pp-dl-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.gfoc-pp-dl-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

/* Popover actions: Consultation Report link */
.gfoc-pp-pop-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
    gap: 8px;
}

.gfoc-pp-print-entry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    font-size: 13px;
}

.gfoc-pp-print-entry:hover {
    background: #f8fafc;
    border-color: #b6c2d6;
}

.gfoc-pp-print-entry .dashicons {
    font-size: 18px;
    line-height: 1;
}

.gfoc-pp-report-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    font-size: 13px;
}

.gfoc-pp-report-link:hover {
    background: #eef2f7;
    border-color: #b6c2d6;
}

.gfoc-pp-report-link .dashicons {
    font-size: 18px;
    line-height: 1;
}

.gfoc-pp-report-text {
    display: inline;
}

/* Service cell with cost folded under */
.gfoc-service-cell {
    display: flex;
    flex-direction: column;
}

.gfoc-service-name {
    font-weight: 600;
}

.gfoc-service-cost {
    color: #334155;
    font-size: 12px;
}

/* Notifications bell */
.gfoc-pp-bell {
    position: relative;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #111827;
    padding: 8px 10px;
    border-radius: 999px;
    margin-left: 6px;
    cursor: pointer;
}

.gfoc-pp-bell:hover {
    background: #f8fafc;
}

.gfoc-pp-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    padding: 3px 6px;
    min-width: 18px;
    text-align: center;
}

.gfoc-pp-bell-popover {
    position: absolute;
    right: 90px;
    top: 48px;
    z-index: 30;
    width: 320px;
    max-width: 80vw;
}

.gfoc-pp-bell-popover .gfoc-pp-widget {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

/* Weekly Schedule grid: compact two-column layout */
.gfoc-pp-weekly-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 700px) {
    .gfoc-pp-weekly-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.gfoc-pp-day {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
}

.gfoc-pp-day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.gfoc-pp-time-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.gfoc-pp-breaks label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Simple separators between sections */
hr.gfoc-pp-sep {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 14px 0;
}

.gfoc-pp-sep-lg {
    margin: 28px 0 16px;
}

/* === End: provider-portal.css === */

/* === Begin: gfoc-calendar-buttons.css === */
/**
 * Calendar Button Styles
 */

/* Base button style */
.gfoc-calendar-button {
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.gfoc-calendar-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Button with icon */
.gfoc-calendar-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gfoc-calendar-button-icon i {
    margin-right: 8px;
    font-size: 16px;
}

/* Button sizes */
.gfoc-button-small {
    font-size: 12px;
    padding: 5px 10px;
}

.gfoc-button-medium {
    font-size: 14px;
    padding: 8px 15px;
}

.gfoc-button-large {
    font-size: 16px;
    padding: 10px 20px;
}

/* Button styles */
.gfoc-style-default {
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
}

.gfoc-style-primary {
    background-color: #0078d4;
    color: #ffffff;
}

.gfoc-style-success {
    background-color: #28a745;
    color: #ffffff;
}

.gfoc-style-info {
    background-color: #17a2b8;
    color: #ffffff;
}

.gfoc-style-warning {
    background-color: #ffc107;
    color: #212529;
}

.gfoc-style-danger {
    background-color: #dc3545;
    color: #ffffff;
}

.gfoc-style-dark {
    background-color: #343a40;
    color: #ffffff;
}

.gfoc-style-light {
    background-color: #f8f9fa;
    color: #212529;
}

/* Calendar-specific styles */
.gfoc-outlook {
    background-color: #0078d4;
    color: #ffffff;
}

.gfoc-google {
    background-color: #4285f4;
    color: #ffffff;
}

.gfoc-apple {
    background-color: #000000;
    color: #ffffff;
}

.gfoc-ics {
    background-color: #6c757d;
    color: #ffffff;
}

/* Button group */
.gfoc-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .gfoc-button-group {
        flex-direction: column;
    }

    .gfoc-calendar-button {
        width: 100%;
        margin: 3px 0;
    }
}

/* === End: gfoc-calendar-buttons.css === */

/* === Begin: gfoc-timeslots-badges.css === */
/**
 * GFOC Timeslots and Capacity Badge Styling
 * Colors are dynamically injected via JavaScript
 */

/* Timeslot styling */
.gfoc-time-slot,
.gfoc-timeslot-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
    background: #fff;
    min-height: 44px;
    /* Touch-friendly height */
}

.gfoc-time-slot:hover,
.gfoc-timeslot-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gfoc-time-slot.selected,
.gfoc-timeslot-btn.selected {
    background-color: #2196F3 !important;
    color: #fff !important;
    border-color: #1976D2 !important;
}

.gfoc-slots-container,
.gfoc-timeslots-grid,
.gfoc-time-slots-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile: single column */
    gap: 10px;
    margin-top: 15px;
}

/* Large screens: 2-column layout for timeslots */
@media (min-width: 768px) {

    .gfoc-slots-container,
    .gfoc-timeslots-grid,
    .gfoc-time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Extra large screens: can go 3 columns if many slots */
@media (min-width: 1200px) {

    .gfoc-slots-container,
    .gfoc-timeslots-grid,
    .gfoc-time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Keep 2 columns for readability */
        gap: 14px;
    }
}

/* Unavailable timeslot styling */
.gfoc-time-slot.unavailable,
.gfoc-time-slot[data-available="false"] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Capacity badge styling */
.gfoc-slot-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
    position: absolute;
    top: auto;
    bottom: 2px;
    right: 2px;
    transition: all 0.2s ease;
}

/* Badge level styling */
.gfoc-badge-l1 {
    font-size: 11px;
}

.gfoc-badge-l2 {
    font-size: 12px;
}

.gfoc-badge-l3 {
    font-size: 13px;
}

.gfoc-badge-l4 {
    font-size: 14px;
}

.gfoc-badge-zero {
    opacity: 0.5;
}

.gfoc-badge-hidden {
    display: none;
}

/* Badge host styling */
.gfoc-badge-host {
    position: relative;
}

/* Enhanced timeslot container styling */
.gfoc-slots-container .time-slot {
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gfoc-slots-container {
        gap: 8px;
    }

    .gfoc-time-slot {
        padding: 6px 12px;
        font-size: 14px;
    }

    .gfoc-slot-badge {
        width: 20px;
        height: 20px;
        padding: 0;
        font-size: 10px;
        top: auto;
        bottom: 2px;
        right: 2px;
    }
}

/* Print styles */
@media print {

    .gfoc-time-slot,
    .gfoc-slot-badge {
        break-inside: avoid;
    }
}

/* === End: gfoc-timeslots-badges.css === */

/* === Begin: gfoc-toast.css === */
/* Toast Notification Styles */
.gfoc-toast {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 99999;
    padding: 12px 16px;
    border-radius: 6px;
    color: #fff;
    background: #2271b1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    font-size: 14px;
    font-weight: 500;
}

.gfoc-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.gfoc-toast-error {
    background: #cc0000;
}

.gfoc-toast-success {
    background: #2271b1;
}

/* === End: gfoc-toast.css === */

/* === Begin: gfoc-error-messaging.css === */
/**
 * GFOC Enhanced Error Messaging - Styles
 * 
 * Beautiful, accessible error message styling with clear visual hierarchy
 * and consistent user experience across the booking interface.
 * 
 * @since 3.0.0
 */

/* Error Container */
.gfoc-error-container {
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.gfoc-error-container:empty {
    display: none;
    margin: 0;
}

/* Error Message Base */
.gfoc-error-message {
    display: block;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInDown 0.3s ease;
    transition: all 0.3s ease;
    border-left: 5px solid;
    background-color: #fff;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.gfoc-error-message.fade-out {
    animation: slideOutUp 0.3s ease forwards;
}

/* Error Header */
.gfoc-error-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 12px 16px;
    font-weight: 600;
    font-size: 15px;
}

.gfoc-error-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.gfoc-error-title {
    flex-grow: 1;
    color: inherit;
}

.gfoc-error-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    color: inherit;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-family: sans-serif;
}

.gfoc-error-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.05);
}

.gfoc-error-close:active {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Error Content */
.gfoc-error-content {
    padding: 0 16px 12px 16px;
    font-size: 14px;
    line-height: 1.6;
}

.gfoc-error-text {
    margin: 0;
    color: inherit;
}

/* Error Footer */
.gfoc-error-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 12px;
}

.gfoc-error-id {
    color: rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', monospace;
}

/* Severity Variants */

/* Info Variant */
.gfoc-error-info {
    border-left-color: #0066cc;
    background-color: #f0f7ff;
    color: #0066cc;
}

.gfoc-error-info .gfoc-error-header {
    background-color: rgba(0, 102, 204, 0.05);
    color: #0050a3;
}

.gfoc-error-info .gfoc-error-content {
    color: #003d7a;
}

.gfoc-error-info .gfoc-error-footer {
    border-top-color: rgba(0, 102, 204, 0.1);
    background-color: rgba(0, 102, 204, 0.02);
}

/* Warning Variant */
.gfoc-error-warning {
    border-left-color: #ff9900;
    background-color: #fffdf7;
    color: #cc7700;
}

.gfoc-error-warning .gfoc-error-header {
    background-color: rgba(255, 153, 0, 0.05);
    color: #cc6600;
}

.gfoc-error-warning .gfoc-error-content {
    color: #994500;
}

.gfoc-error-warning .gfoc-error-footer {
    border-top-color: rgba(255, 153, 0, 0.1);
    background-color: rgba(255, 153, 0, 0.02);
}

/* Error Variant */
.gfoc-error-error {
    border-left-color: #cc3333;
    background-color: #fff7f7;
    color: #cc3333;
}

.gfoc-error-error .gfoc-error-header {
    background-color: rgba(204, 51, 51, 0.05);
    color: #990000;
}

.gfoc-error-error .gfoc-error-content {
    color: #661111;
}

.gfoc-error-error .gfoc-error-footer {
    border-top-color: rgba(204, 51, 51, 0.1);
    background-color: rgba(204, 51, 51, 0.02);
}

/* Critical Variant */
.gfoc-error-critical {
    border-left-color: #dd0000;
    background-color: #fee;
    color: #dd0000;
    box-shadow: 0 4px 16px rgba(221, 0, 0, 0.2);
}

.gfoc-error-critical .gfoc-error-header {
    background-color: rgba(221, 0, 0, 0.1);
    color: #990000;
    font-weight: 700;
}

.gfoc-error-critical .gfoc-error-content {
    color: #660000;
}

.gfoc-error-critical .gfoc-error-footer {
    border-top-color: rgba(221, 0, 0, 0.15);
    background-color: rgba(221, 0, 0, 0.03);
}

/* Action Buttons */
.gfoc-action-btn {
    display: inline-block;
    margin-top: 12px;
    margin-right: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: currentColor;
    color: white;
    text-decoration: none;
}

.gfoc-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gfoc-action-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.gfoc-error-info .gfoc-action-btn {
    background-color: #0066cc;
}

.gfoc-error-warning .gfoc-action-btn {
    background-color: #ff9900;
}

.gfoc-error-error .gfoc-action-btn {
    background-color: #cc3333;
}

.gfoc-error-critical .gfoc-action-btn {
    background-color: #dd0000;
}

/* Support Link */
.gfoc-error-support {
    margin-top: 12px;
    margin-bottom: 0;
}

.gfoc-support-link {
    color: inherit;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.gfoc-support-link:hover {
    opacity: 0.8;
}

/* Focus Highlight (for accessibility) */
.gfoc-focus-highlight {
    outline: 3px solid #4a90e2;
    outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Responsive Design */
@media (max-width: 640px) {
    .gfoc-error-message {
        border-left-width: 4px;
        margin-bottom: 12px;
    }

    .gfoc-error-header {
        padding: 12px 12px 8px 12px;
        font-size: 14px;
    }

    .gfoc-error-icon {
        font-size: 18px;
    }

    .gfoc-error-close {
        width: 28px;
        height: 28px;
        font-size: 20px;
    }

    .gfoc-error-content {
        padding: 0 12px 8px 12px;
        font-size: 13px;
    }

    .gfoc-action-btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 8px;
    }

    .gfoc-error-footer {
        padding: 8px 12px;
        font-size: 11px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: more) {
    .gfoc-error-message {
        border-left-width: 6px;
        box-shadow: 0 0 0 2px currentColor;
    }

    .gfoc-error-close:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .gfoc-error-message {
        animation: none;
    }

    .gfoc-error-message.fade-out {
        animation: none;
        display: none;
    }

    .gfoc-action-btn:hover {
        transform: none;
    }

    .gfoc-action-btn:active {
        transform: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .gfoc-error-message {
        background-color: #1a1a1a;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    }

    .gfoc-error-footer {
        background-color: rgba(0, 0, 0, 0.3);
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    /* Info */
    .gfoc-error-info {
        background-color: rgba(0, 102, 204, 0.15);
        color: #66b3ff;
    }

    .gfoc-error-info .gfoc-error-header {
        background-color: rgba(0, 102, 204, 0.2);
        color: #99ccff;
    }

    .gfoc-error-info .gfoc-error-content {
        color: #99ccff;
    }

    /* Warning */
    .gfoc-error-warning {
        background-color: rgba(255, 153, 0, 0.15);
        color: #ffb84d;
    }

    .gfoc-error-warning .gfoc-error-header {
        background-color: rgba(255, 153, 0, 0.2);
        color: #ffc266;
    }

    .gfoc-error-warning .gfoc-error-content {
        color: #ffc266;
    }

    /* Error */
    .gfoc-error-error {
        background-color: rgba(204, 51, 51, 0.15);
        color: #ff6666;
    }

    .gfoc-error-error .gfoc-error-header {
        background-color: rgba(204, 51, 51, 0.2);
        color: #ff9999;
    }

    .gfoc-error-error .gfoc-error-content {
        color: #ff9999;
    }

    /* Critical */
    .gfoc-error-critical {
        background-color: rgba(221, 0, 0, 0.2);
        color: #ff5555;
    }

    .gfoc-error-critical .gfoc-error-header {
        background-color: rgba(221, 0, 0, 0.3);
        color: #ff7777;
    }

    .gfoc-error-critical .gfoc-error-content {
        color: #ff7777;
    }

    .gfoc-error-close:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* Print Styles */
@media print {
    .gfoc-error-message {
        display: none !important;
    }
}

/* === End: gfoc-error-messaging.css === */

/* === Begin: zoom-integration.css === */
/**
 * GFOC Zoom Integration Admin Styles
 * 
 * @since 2.3.0
 */

.gfoc-zoom-settings {
    max-width: 800px;
}

.gfoc-zoom-settings .form-table {
    margin-top: 20px;
}

.gfoc-zoom-settings .form-table th {
    width: 200px;
    padding: 15px 10px 15px 0;
}

.gfoc-zoom-settings .form-table td {
    padding: 15px 10px;
}

.gfoc-zoom-settings .regular-text {
    width: 400px;
}

.gfoc-zoom-settings .description {
    margin-top: 5px;
    color: #666;
    font-style: italic;
}

/* Zoom connection status styles migrated to gfoc-admin-theme.css */

/* Test Connection */
/* Test section styling now provided by .gfoc-test-section in gfoc-admin-theme.css */

.gfoc-zoom-test-button {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid;
    cursor: pointer;
    margin-right: 10px;
}

.gfoc-zoom-test-button:hover {
    background: #005a87;
    border-color: #005a87;
    color: #fff;
}

.gfoc-zoom-test-button:disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

/* Test result statuses unified: use .gfoc-test-result(.success|.error) */

/* Meeting Settings */
.gfoc-zoom-meeting-settings {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
}

.gfoc-zoom-meeting-settings h3 {
    margin-top: 0;
    color: #23282d;
    font-size: 18px;
}

.gfoc-zoom-setting-group {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.gfoc-zoom-setting-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.gfoc-zoom-setting-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #23282d;
}

.gfoc-zoom-setting-description {
    color: #666;
    font-size: 13px;
    margin-top: 5px;
}

/* Checkbox and Radio Styles */
.gfoc-zoom-settings input[type="checkbox"],
.gfoc-zoom-settings input[type="radio"] {
    margin-right: 8px;
}

.gfoc-zoom-settings select {
    min-width: 200px;
}

/* Loading States */
.gfoc-zoom-loading {
    opacity: 0.6;
    pointer-events: none;
}

.gfoc-zoom-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0073aa;
    border-radius: 50%;
    animation: gfoc-zoom-spin 1s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes gfoc-zoom-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Success/Error Messages */
.gfoc-zoom-message {
    padding: 12px;
    margin: 15px 0;
    border-radius: 4px;
    border-left: 4px solid;
}

.gfoc-zoom-message.success {
    background-color: #f0f8ff;
    border-left-color: #46b450;
    color: #155724;
}

.gfoc-zoom-message.error {
    background-color: #fef7f1;
    border-left-color: #dc3232;
    color: #721c24;
}

.gfoc-zoom-message.warning {
    background-color: #fff8e1;
    border-left-color: #ffb900;
    color: #6f5f00;
}

/* Setup Instructions */
.gfoc-zoom-setup-instructions {
    background: #f0f8ff;
    border: 1px solid #0073aa;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
}

.gfoc-zoom-setup-instructions h3 {
    margin-top: 0;
    color: #0073aa;
}

.gfoc-zoom-setup-instructions ol {
    margin-left: 20px;
}

.gfoc-zoom-setup-instructions li {
    margin-bottom: 8px;
}

.gfoc-zoom-setup-instructions code {
    background: #f1f1f1;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
}

/* Enhanced Zoom Integration Styles
 * 
 * CSS for the enhanced Zoom integration with the Appointments section
 */

/* Zoom Management Section */
.gfoc-zoom-management {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.gfoc-zoom-management h2 {
    color: #2271b1;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gfoc-zoom-management h2:before {
    content: "📹";
    font-size: 1.2em;
}

/* Zoom Statistics Cards */
.gfoc-zoom-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.gfoc-zoom-stats .stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.gfoc-zoom-stats .stat-card:hover {
    transform: translateY(-2px);
}

.gfoc-zoom-stats .stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: 0.9;
}

.gfoc-zoom-stats .stat-card .stat-number {
    font-size: 2em;
    font-weight: bold;
    display: block;
}

/* Zoom Actions */
.gfoc-zoom-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gfoc-zoom-actions .button {
    display: flex;
    align-items: center;
    gap: 5px;
}

.gfoc-zoom-actions .button:before {
    font-size: 1.1em;
}

.gfoc-zoom-actions .button#sync-zoom-meetings:before {
    content: "🔄";
}

.gfoc-zoom-actions .button#generate-zoom-report:before {
    content: "📊";
}

.gfoc-zoom-actions .button#zoom-settings:before {
    content: "⚙️";
}

/* Zoom Table Column */
.zoom-column {
    width: 120px;
    text-align: center;
}

/* Zoom Status Indicators */
.zoom-indicator {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    min-width: 60px;
}

.zoom-indicator.active {
    background: #d4edda;
    color: #155724;
}

.zoom-indicator.inactive {
    background: #f8d7da;
    color: #721c24;
}

.zoom-indicator.error {
    background: #fff3cd;
    color: #856404;
}

/* Zoom Status Actions */
.zoom-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.zoom-actions {
    display: flex;
    gap: 5px;
}

.zoom-actions .button-link {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    text-decoration: none;
    background: #f0f0f1;
    color: #2271b1;
    border: 1px solid #ddd;
}

.zoom-actions .button-link:hover {
    background: #e0e0e0;
}

/* Zoom Bulk Actions */
.zoom-bulk-actions {
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.zoom-bulk-actions .button {
    margin-right: 5px;
    font-size: 12px;
}

/* Zoom Confirmation Section */
.gfoc-zoom-confirmation {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border: 2px solid #0073aa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.gfoc-zoom-confirmation:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 115, 170, 0.1) 0%, transparent 70%);
    animation: zoomPulse 3s ease-in-out infinite;
}

@keyframes zoomPulse {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}

.gfoc-zoom-confirmation>* {
    position: relative;
    z-index: 1;
}

.gfoc-zoom-confirmation h3 {
    color: #0073aa;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gfoc-zoom-confirmation .zoom-meeting-info {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    border-left: 4px solid #0073aa;
}

.gfoc-zoom-confirmation .zoom-meeting-info p {
    margin: 5px 0;
    color: #333;
}

.gfoc-zoom-confirmation .zoom-meeting-info strong {
    color: #0073aa;
}

.gfoc-zoom-confirmation .zoom-meeting-info code {
    background: #f1f1f1;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 1.1em;
    color: #d63384;
}

/* Zoom Join Button */
.gfoc-zoom-confirmation .zoom-join {
    text-align: center;
    margin: 20px 0;
}

.gfoc-zoom-confirmation .zoom-join .button {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
}

.gfoc-zoom-confirmation .zoom-join .button:hover {
    background: linear-gradient(135deg, #005a87 0%, #004066 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 115, 170, 0.4);
}

/* Zoom Details Modal */
#zoom-details-modal .gfoc-modal-content {
    max-width: 600px;
}

.zoom-meeting-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.zoom-meeting-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zoom-meeting-info strong {
    min-width: 100px;
    color: #2271b1;
}

.zoom-meeting-info code {
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
}

/* Zoom Report Modal */
#zoom-report-modal .gfoc-modal-content.large {
    max-width: 800px;
}

.report-content {
    padding: 20px 0;
}

.report-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #2271b1;
}

.stat-item strong {
    display: block;
    margin-bottom: 5px;
    color: #2271b1;
}

/* Zoom Shortcode Styles */
.gfoc-zoom-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin: 20px 0;
}

.gfoc-zoom-details .zoom-info {
    margin-bottom: 20px;
}

.gfoc-zoom-details .zoom-info h4 {
    color: #2271b1;
    margin-top: 0;
    margin-bottom: 10px;
}

.gfoc-zoom-details .zoom-info p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gfoc-zoom-details .zoom-info strong {
    min-width: 100px;
    color: #495057;
}

.gfoc-zoom-details .zoom-join {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.gfoc-zoom-details .zoom-join .button {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.gfoc-zoom-details .zoom-join .button:hover {
    background: #005a87;
}

/* Enhanced Zoom Connection Test Results */
.gfoc-zoom-test-result {
    padding: 15px;
    margin: 10px 0;
    border-radius: 6px;
    border-left: 4px solid;
    background: #f8f9fa;
    font-size: 14px;
    line-height: 1.5;
    display: none;
}

.gfoc-zoom-test-result.success {
    border-left-color: #28a745;
    background: #d4edda;
    color: #155724;
}

.gfoc-zoom-test-result.error {
    border-left-color: #dc3545;
    background: #f8d7da;
    color: #721c24;
}

.gfoc-zoom-test-result .provider-list {
    margin-top: 10px;
}

.gfoc-zoom-test-result .provider-item {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.gfoc-zoom-test-result .provider-item:last-child {
    border-bottom: none;
}

.gfoc-zoom-test-result .provider-status {
    margin-right: 10px;
    font-size: 16px;
}

.gfoc-zoom-test-result .provider-name {
    font-weight: 600;
    margin-right: 10px;
}

.gfoc-zoom-test-result .provider-details {
    color: #6c757d;
    font-size: 13px;
}

.gfoc-zoom-test-result strong {
    font-weight: 600;
}

.gfoc-zoom-test-result br {
    margin: 5px 0;
}

/* Provider Integration Status Colors */
.integration-status-both {
    color: #28a745;
}

.integration-status-zoom {
    color: #ffc107;
}

.integration-status-outlook {
    color: #007bff;
}

.integration-status-none {
    color: #dc3545;
}

/* Summary section styling */
.gfoc-zoom-test-result .summary-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gfoc-zoom-settings .regular-text {
        width: 100%;
        max-width: 400px;
    }

    .gfoc-zoom-settings .form-table th,
    .gfoc-zoom-settings .form-table td {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .gfoc-zoom-settings .form-table th {
        font-weight: 600;
        padding-bottom: 5px;
    }

    .gfoc-zoom-stats {
        grid-template-columns: 1fr;
    }

    .gfoc-zoom-actions {
        flex-direction: column;
    }

    .gfoc-zoom-actions .button {
        width: 100%;
        justify-content: center;
    }

    .zoom-status {
        flex-direction: row;
        justify-content: space-between;
    }

    .zoom-actions {
        flex-direction: column;
    }

    .gfoc-zoom-confirmation {
        padding: 15px;
    }

    .gfoc-zoom-confirmation .zoom-meeting-info {
        padding: 10px;
    }
}

/* Animation for loading states */
.loading {
    position: relative;
    color: #999;
}

.loading:after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid #999;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Success and Error States */
.zoom-success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    border: 1px solid #c3e6cb;
}

.zoom-error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    border: 1px solid #f5c6cb;
}

/* Accessibility Improvements */
.zoom-indicator:focus,
.zoom-actions .button-link:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .gfoc-zoom-actions,
    .zoom-actions {
        display: none;
    }

    .gfoc-zoom-confirmation {
        background: white;
        border: 1px solid #000;
    }

    .gfoc-zoom-confirmation .zoom-join .button {
        background: #000;
        color: white;
    }
}

/* === End: zoom-integration.css === */

/* === Begin: enhanced-zoom-integration.css === */
/**
 * Enhanced Zoom Integration Styles
 * 
 * CSS for the enhanced Zoom integration with the Appointments section
 */

/* Zoom Management Section */
.gfoc-zoom-management {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.gfoc-zoom-management h2 {
    color: #2271b1;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gfoc-zoom-management h2:before {
    content: "📹";
    font-size: 1.2em;
}

/* Zoom Statistics Cards */
.gfoc-zoom-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.gfoc-zoom-stats .stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.gfoc-zoom-stats .stat-card:hover {
    transform: translateY(-2px);
}

.gfoc-zoom-stats .stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: 0.9;
}

.gfoc-zoom-stats .stat-card .stat-number {
    font-size: 2em;
    font-weight: bold;
    display: block;
}

/* Zoom Actions */
.gfoc-zoom-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gfoc-zoom-actions .button {
    display: flex;
    align-items: center;
    gap: 5px;
}

.gfoc-zoom-actions .button:before {
    font-size: 1.1em;
}

.gfoc-zoom-actions .button#sync-zoom-meetings:before {
    content: "🔄";
}

.gfoc-zoom-actions .button#generate-zoom-report:before {
    content: "📊";
}

.gfoc-zoom-actions .button#zoom-settings:before {
    content: "⚙️";
}

/* Zoom Table Column */
.zoom-column {
    width: 120px;
    text-align: center;
}

/* Zoom Status Indicators */
.zoom-indicator {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    min-width: 60px;
}

.zoom-indicator.active {
    background: #d4edda;
    color: #155724;
}

.zoom-indicator.inactive {
    background: #f8d7da;
    color: #721c24;
}

.zoom-indicator.error {
    background: #fff3cd;
    color: #856404;
}

/* Zoom Status Actions */
.zoom-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.zoom-actions {
    display: flex;
    gap: 5px;
}

.zoom-actions .button-link {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    text-decoration: none;
    background: #f0f0f1;
    color: #2271b1;
    border: 1px solid #ddd;
}

.zoom-actions .button-link:hover {
    background: #e0e0e0;
}

/* Zoom Bulk Actions */
.zoom-bulk-actions {
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.zoom-bulk-actions .button {
    margin-right: 5px;
    font-size: 12px;
}

/* Zoom Confirmation Section */
.gfoc-zoom-confirmation {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border: 2px solid #0073aa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.gfoc-zoom-confirmation:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 115, 170, 0.1) 0%, transparent 70%);
    animation: zoomPulse 3s ease-in-out infinite;
}

@keyframes zoomPulse {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}

.gfoc-zoom-confirmation>* {
    position: relative;
    z-index: 1;
}

.gfoc-zoom-confirmation h3 {
    color: #0073aa;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gfoc-zoom-confirmation .zoom-meeting-info {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    border-left: 4px solid #0073aa;
}

.gfoc-zoom-confirmation .zoom-meeting-info p {
    margin: 5px 0;
    color: #333;
}

.gfoc-zoom-confirmation .zoom-meeting-info strong {
    color: #0073aa;
}

.gfoc-zoom-confirmation .zoom-meeting-info code {
    background: #f1f1f1;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 1.1em;
    color: #d63384;
}

/* Zoom Join Button */
.gfoc-zoom-confirmation .zoom-join {
    text-align: center;
    margin: 20px 0;
}

.gfoc-zoom-confirmation .zoom-join .button {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
}

.gfoc-zoom-confirmation .zoom-join .button:hover {
    background: linear-gradient(135deg, #005a87 0%, #004066 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 115, 170, 0.4);
}

/* Zoom Details Modal */
#zoom-details-modal .gfoc-modal-content {
    max-width: 600px;
}

.zoom-meeting-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.zoom-meeting-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zoom-meeting-info strong {
    min-width: 100px;
    color: #2271b1;
}

.zoom-meeting-info code {
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
}

/* Zoom Report Modal */
#zoom-report-modal .gfoc-modal-content.large {
    max-width: 800px;
}

.report-content {
    padding: 20px 0;
}

.report-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #2271b1;
}

.stat-item strong {
    display: block;
    margin-bottom: 5px;
    color: #2271b1;
}

/* Zoom Shortcode Styles */
.gfoc-zoom-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin: 20px 0;
}

.gfoc-zoom-details .zoom-info {
    margin-bottom: 20px;
}

.gfoc-zoom-details .zoom-info h4 {
    color: #2271b1;
    margin-top: 0;
    margin-bottom: 10px;
}

.gfoc-zoom-details .zoom-info p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gfoc-zoom-details .zoom-info strong {
    min-width: 100px;
    color: #495057;
}

.gfoc-zoom-details .zoom-join {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.gfoc-zoom-details .zoom-join .button {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.gfoc-zoom-details .zoom-join .button:hover {
    background: #005a87;
}

/* Enhanced Zoom Connection Test Results */
.gfoc-zoom-test-result {
    padding: 15px;
    margin: 10px 0;
    border-radius: 6px;
    border-left: 4px solid;
    background: #f8f9fa;
    font-size: 14px;
    line-height: 1.5;
    display: none;
}

.gfoc-zoom-test-result.success {
    border-left-color: #28a745;
    background: #d4edda;
    color: #155724;
}

.gfoc-zoom-test-result.error {
    border-left-color: #dc3545;
    background: #f8d7da;
    color: #721c24;
}

.gfoc-zoom-test-result .provider-list {
    margin-top: 10px;
}

.gfoc-zoom-test-result .provider-item {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.gfoc-zoom-test-result .provider-item:last-child {
    border-bottom: none;
}

.gfoc-zoom-test-result .provider-status {
    margin-right: 10px;
    font-size: 16px;
}

.gfoc-zoom-test-result .provider-name {
    font-weight: 600;
    margin-right: 10px;
}

.gfoc-zoom-test-result .provider-details {
    color: #6c757d;
    font-size: 13px;
}

.gfoc-zoom-test-result strong {
    font-weight: 600;
}

.gfoc-zoom-test-result br {
    margin: 5px 0;
}

/* Provider Integration Status Colors */
.integration-status-both {
    color: #28a745;
}

.integration-status-zoom {
    color: #ffc107;
}

.integration-status-outlook {
    color: #007bff;
}

.integration-status-none {
    color: #dc3545;
}

/* Summary section styling */
.gfoc-zoom-test-result .summary-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gfoc-zoom-stats {
        grid-template-columns: 1fr;
    }

    .gfoc-zoom-actions {
        flex-direction: column;
    }

    .gfoc-zoom-actions .button {
        width: 100%;
        justify-content: center;
    }

    .zoom-status {
        flex-direction: row;
        justify-content: space-between;
    }

    .zoom-actions {
        flex-direction: column;
    }

    .gfoc-zoom-confirmation {
        padding: 15px;
    }

    .gfoc-zoom-confirmation .zoom-meeting-info {
        padding: 10px;
    }
}

/* Animation for loading states */
.loading {
    position: relative;
    color: #999;
}

.loading:after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid #999;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Success and Error States */
.zoom-success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    border: 1px solid #c3e6cb;
}

.zoom-error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    border: 1px solid #f5c6cb;
}

/* Accessibility Improvements */
.zoom-indicator:focus,
.zoom-actions .button-link:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .gfoc-zoom-actions,
    .zoom-actions {
        display: none;
    }

    .gfoc-zoom-confirmation {
        background: white;
        border: 1px solid #000;
    }

    .gfoc-zoom-confirmation .zoom-join .button {
        background: #000;
        color: white;
    }
}

/* === End: enhanced-zoom-integration.css === */

/* === Begin: appointment-management.css === */
/**
 * Appointment Management Styles
 * Modern, professional styling for the appointment management interface
 */

/* Main Container */
.gfoc-appointment-management {
    max-width: 1200px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Overview Section */
.gfoc-appointment-overview {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gfoc-appointment-overview h2 {
    margin-top: 0;
    color: #23282d;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

/* Statistics Cards */
#gfoc-appointment-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    display: block;
}

/* Action Section */
.gfoc-appointment-actions {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gfoc-appointment-actions h2 {
    margin-top: 0;
    color: #23282d;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.action-buttons .button {
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.action-buttons .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Appointment List Section */
.gfoc-appointment-list {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gfoc-appointment-list h2 {
    margin-top: 0;
    color: #23282d;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

/* Filters */
.appointment-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.appointment-filters select,
.appointment-filters input[type="date"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    min-width: 150px;
}

.appointment-filters select:focus,
.appointment-filters input[type="date"]:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

/* Appointment Table */
#appointment-table-container {
    overflow-x: auto;
}

.appointment-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.appointment-table th,
.appointment-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.appointment-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #23282d;
    position: sticky;
    top: 0;
    z-index: 10;
}

.appointment-table tr:hover {
    background: #f8f9fa;
}

.appointment-table .status-confirmed {
    color: #28a745;
    font-weight: 500;
}

.appointment-table .status-pending {
    color: #ffc107;
    font-weight: 500;
}

.appointment-table .status-cancelled {
    color: #dc3545;
    font-weight: 500;
}

.appointment-table .status-rescheduled {
    color: #17a2b8;
    font-weight: 500;
}

/* Action Buttons in Table */
.appointment-actions {
    display: flex;
    gap: 5px;
}

.appointment-actions .button {
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1.4;
    min-height: auto;
    border-radius: 3px;
}

.reschedule-btn {
    background: #0073aa;
    color: white;
    border: none;
}

.reschedule-btn:hover {
    background: #005a87;
    color: white;
}

.postpone-btn {
    background: #ffc107;
    color: #212529;
    border: none;
}

.postpone-btn:hover {
    background: #e0a800;
    color: #212529;
}

.cancel-btn {
    background: #dc3545;
    color: white;
    border: none;
}

.cancel-btn:hover {
    background: #c82333;
    color: white;
}

/* Modal Styles */
.gfoc-modal {
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.gfoc-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gfoc-modal-content h2 {
    margin: 0;
    padding: 20px;
    background: #0073aa;
    color: white;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.gfoc-modal-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.gfoc-modal-close:hover {
    opacity: 0.7;
}

/* Modal Form */
#reschedule-form {
    padding: 20px;
}

.current-appointment,
.new-appointment {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #0073aa;
}

.current-appointment h3,
.new-appointment h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #23282d;
}

.appointment-details p {
    margin: 5px 0;
    color: #555;
}

.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #23282d;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

/* Modal Actions */
.modal-actions {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.modal-actions .button {
    min-width: 120px;
    padding: 8px 16px;
}

/* Loading and Error States */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

.error {
    text-align: center;
    padding: 40px;
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gfoc-appointment-management {
        margin: 10px;
    }

    #gfoc-appointment-stats {
        grid-template-columns: 1fr;
    }

    .appointment-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .appointment-filters select,
    .appointment-filters input[type="date"] {
        min-width: auto;
        width: 100%;
    }

    .action-buttons {
        flex-direction: column;
    }

    .appointment-actions {
        flex-direction: column;
    }

    .modal-actions {
        flex-direction: column;
    }

    .gfoc-modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

/* Dark mode support (if WordPress admin uses dark theme) */
@media (prefers-color-scheme: dark) {
    .gfoc-appointment-management {
        color: #e0e0e0;
    }

    .gfoc-appointment-overview,
    .gfoc-appointment-actions,
    .gfoc-appointment-list {
        background: #1e1e1e;
        border-color: #333;
        color: #e0e0e0;
    }

    .appointment-table th {
        background: #2a2a2a;
        color: #e0e0e0;
    }

    .appointment-table tr:hover {
        background: #2a2a2a;
    }

    .current-appointment,
    .new-appointment {
        background: #2a2a2a;
        color: #e0e0e0;
    }

    .gfoc-modal-content {
        background: #1e1e1e;
        color: #e0e0e0;
    }

    .modal-actions {
        background: #2a2a2a;
        border-color: #333;
    }
}

/* === End: appointment-management.css === */

/* ==========================================================================
   STEP 1 LEFT PANEL ENHANCEMENTS
   Provider photo, time stamps, selected appointment cards, color legend
   ========================================================================== */

/* 1. Smaller provider photo in left panel */
.gfoc-provider-mini-photo {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gfoc-primary-color, #0073aa);
    flex-shrink: 0;
}

.gfoc-provider-mini-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gfoc-provider-mini-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.gfoc-provider-mini-info strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--gfoc-text-dark, #333);
    line-height: 1.3;
}

.gfoc-provider-timezone-display {
    font-size: 11px;
    color: var(--gfoc-text-muted, #666);
    line-height: 1.2;
}

/* 2. Provider Time and Your Time stamps styling */
.gfoc-live-time-display {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
}

.gfoc-time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #e9ecef;
}

.gfoc-time-row:last-of-type {
    border-bottom: none;
}

.gfoc-time-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gfoc-text-muted, #666);
}

.gfoc-time-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--gfoc-primary-color, #0073aa);
}

.gfoc-time-difference {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #dee2e6;
    font-size: 11px;
    color: #6c757d;
    text-align: center;
}

/* 3. Selected Appointment panel - hidden by default, shown when both date AND time selected */
#gfoc-timezone-display,
.gfoc-timezone-selected-panel {
    display: none;
    margin-top: 16px;
    padding: 12px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.15);
}

#gfoc-timezone-display.gfoc-has-selection,
.gfoc-timezone-selected-panel.gfoc-has-selection {
    display: block !important;
}

.gfoc-selected-timezone-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(76, 175, 80, 0.3);
}

.gfoc-selected-timezone-header .dashicons {
    color: #4caf50;
    font-size: 18px;
}

.gfoc-selected-timezone-title {
    font-size: 13px;
    font-weight: 600;
    color: #2e7d32;
}

.gfoc-selected-timezone-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gfoc-selected-timezone-card.gfoc-combined-card {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.gfoc-selected-card-section {
    padding: 8px 0;
}

.gfoc-selected-card-section:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.gfoc-selected-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.gfoc-selected-card-header .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.gfoc-provider-card .gfoc-selected-card-header .dashicons {
    color: #4caf50;
}

.gfoc-user-card .gfoc-selected-card-header .dashicons {
    color: #2196f3;
}

.gfoc-diff-card .gfoc-selected-card-header .dashicons {
    color: #ff9800;
}

.gfoc-selected-card-title {
    font-size: 11px;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gfoc-selected-card-content {
    padding-left: 20px;
}

.gfoc-selected-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.gfoc-selected-time {
    font-size: 16px;
    font-weight: 700;
    color: var(--gfoc-text-dark, #333);
}

.gfoc-selected-note {
    font-size: 10px;
    color: #888;
    margin-top: 2px;
}

.gfoc-selected-diff-value {
    font-size: 14px;
    font-weight: 600;
    color: #ff9800;
}

.gfoc-selected-card-separator {
    display: none;
}

/* 4. Color legend - 2 column display in sidebar */
.gfoc-calendar-legend-sidebar {
    margin-top: 16px;
}

.gfoc-calendar-legend-sidebar .gfoc-legend-items,
.gfoc-timezone-helper-panel .gfoc-legend-items {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px 12px !important;
}

.gfoc-calendar-legend-sidebar .gfoc-legend-item,
.gfoc-timezone-helper-panel .gfoc-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    padding: 4px 6px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.gfoc-calendar-legend-sidebar .gfoc-legend-swatch,
.gfoc-timezone-helper-panel .gfoc-legend-swatch {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px;
    border-radius: 3px;
    flex-shrink: 0;
}

.gfoc-calendar-legend-sidebar .gfoc-legend-label,
.gfoc-timezone-helper-panel .gfoc-legend-label {
    font-size: 10px;
    line-height: 1.2;
    color: #495057;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 5. Continue button - shown when user selects a timeslot */
.gfoc-continue-button-container {
    display: none;
    margin-top: 20px;
    text-align: center;
}

.gfoc-continue-button-container.gfoc-continue-visible {
    display: block !important;
}

.gfoc-continue-inline .gfoc-continue-button {
    width: 100%;
    max-width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #4caf50 0%, #43a047 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.gfoc-continue-inline .gfoc-continue-button:hover {
    background: linear-gradient(135deg, #43a047 0%, #388e3c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

/* Provider mini card overall */
.gfoc-provider-mini-card {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gfoc-provider-mini-meta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

/* Service duration display row in Booking Information panel */
.gfoc-provider-service-duration-row {
    display: flex;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e9ecef;
    font-size: 13px;
    color: #4b5563;
}

.gfoc-provider-service-duration-row .dashicons {
    color: #6b7280;
}

.gfoc-service-duration-label {
    font-weight: 500;
    margin-right: 4px;
}

.gfoc-service-duration-display {
    font-weight: 600;
    color: #1f2a3c;
}

/* Responsive adjustments for left panel */
@media (max-width: 768px) {

    .gfoc-calendar-legend-sidebar .gfoc-legend-items,
    .gfoc-timezone-helper-panel .gfoc-legend-items {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .gfoc-provider-mini-photo {
        width: 40px !important;
        height: 40px !important;
    }
}

/* ==========================================================================
   CALENDAR DATES - SQUARED BLOCKS OVERRIDE (HIGH SPECIFICITY)
   Ensures all calendar dates are displayed as squared blocks, not circles.
   The entire day block color indicates availability status.
   ========================================================================== */
.gfoc-calendar-container .gfoc-calendar-dates .gfoc-date,
.gfoc-calendar-container .gfoc-date,
.gfoc-calendar .gfoc-date,
.gfoc-date {
    border-radius: 4px !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 44px !important;
}

/* Ensure no circular dates anywhere */
.gfoc-date:not(.gfoc-loading-spinner) {
    border-radius: 4px !important;
}

/* ==========================================================================
   STEP 2 HEADING ALIGNMENT FIX (DESKTOP)
   WordPress themes often add left margin/padding to H2 elements at larger screens.
   This fix ensures the Step 2 heading aligns flush left with badges and form content.
   ========================================================================== */
@media screen and (min-width: 769px) {

    /* Ultra-high specificity to override any WordPress theme H2 styling */
    body .gfoc-booking-flow-container h2.gfoc-step-section-heading,
    body .gfoc-booking-flow-container>h2,
    .entry-content .gfoc-booking-flow-container h2.gfoc-step-section-heading,
    .entry-content .gfoc-booking-flow-container>h2,
    .wp-block-post-content .gfoc-booking-flow-container h2.gfoc-step-section-heading,
    article .gfoc-booking-flow-container h2.gfoc-step-section-heading,
    main .gfoc-booking-flow-container h2.gfoc-step-section-heading,
    #primary .gfoc-booking-flow-container h2.gfoc-step-section-heading,
    #content .gfoc-booking-flow-container h2.gfoc-step-section-heading,
    .site-main .gfoc-booking-flow-container h2.gfoc-step-section-heading,
    .content-area .gfoc-booking-flow-container h2.gfoc-step-section-heading {
        margin-left: 0 !important;
        padding-left: 0 !important;
        margin-inline-start: 0 !important;
        padding-inline-start: 0 !important;
        text-indent: 0 !important;
        left: 0 !important;
        transform: none !important;
    }

    /* Match heading alignment with badges container */
    body .gfoc-step2-badges-container,
    body .gfoc-booking-flow-container .gfoc-step2-badges-container,
    .entry-content .gfoc-step2-badges-container {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    /* Kadence theme specific overrides */
    .kb-row-layout-wrap .gfoc-step-section-heading,
    .kadence-column .gfoc-step-section-heading,
    .wp-block-kadence-column .gfoc-step-section-heading,
    .alignwide .gfoc-step-section-heading,
    .alignfull .gfoc-step-section-heading {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    /* Elementor, Divi, and other page builder overrides */
    .elementor-widget-container .gfoc-step-section-heading,
    .et_pb_module .gfoc-step-section-heading,
    .fl-module-content .gfoc-step-section-heading,
    .vc_column-inner .gfoc-step-section-heading {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}

/* External Calendar Events Alert (Provider Portal) */
.gfoc-pp-alert {
    position: relative;
    padding: 16px 40px 16px 18px;
    margin: 0 0 20px 0;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.gfoc-pp-alert strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
}

.gfoc-pp-alert p {
    margin: 0 0 6px 0;
}

.gfoc-pp-alert-info {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border: 1px solid #7dd3fc;
    color: #0c4a6e;
}

.gfoc-pp-alert-dismiss {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    color: #475569;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

.gfoc-pp-alert-dismiss:hover {
    background: rgba(0, 0, 0, 0.15);
}

.gfoc-pp-alert-mode {
    font-size: 12px;
    color: #64748b;
}

.gfoc-pp-external-events-details {
    margin-top: 10px;
}

.gfoc-pp-external-events-details summary {
    cursor: pointer;
    color: #0369a1;
    font-weight: 500;
    font-size: 13px;
}

.gfoc-pp-external-events-details summary:hover {
    text-decoration: underline;
}

.gfoc-pp-external-events-list {
    margin: 10px 0 0 0;
    padding: 0 0 0 20px;
    list-style: disc;
}

.gfoc-pp-external-events-list li {
    margin: 8px 0;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
}

.gfoc-pp-external-events-list li small {
    color: #64748b;
}

.gfoc-pp-event-status {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-transform: capitalize;
}

.gfoc-pp-status-accepted {
    background: #dcfce7;
    color: #166534;
}

.gfoc-pp-status-tentativelyaccepted,
.gfoc-pp-status-tentatively {
    background: #fef3c7;
    color: #92400e;
}

.gfoc-pp-status-declined {
    background: #fee2e2;
    color: #991b1b;
}

.gfoc-pp-status-notresponded,
.gfoc-pp-status-none {
    background: #f1f5f9;
    color: #475569;
}

/* Multiday Event Badges */
.gfoc-pp-event-multiday {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #ffffff;
    margin-left: 6px;
    vertical-align: middle;
}

.gfoc-pp-event-is-multiday {
    border-left: 3px solid #8b5cf6;
    background: rgba(139, 92, 246, 0.08);
    list-style: none;
    padding: 12px 15px !important;
}

.gfoc-pp-event-is-multiday .gfoc-pp-event-dates {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6366f1;
    font-weight: 500;
}

.gfoc-pp-event-is-multiday .gfoc-pp-event-days-count {
    font-size: 11px;
    color: #64748b;
    margin-left: 4px;
}

/* Multiday Warning Section */
.gfoc-pp-multiday-warning {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 10px;
    margin-bottom: 15px;
}

.gfoc-pp-warning-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.gfoc-pp-warning-content {
    flex: 1;
}

.gfoc-pp-warning-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 8px;
}

.gfoc-pp-warning-impact {
    font-size: 14px;
    color: #78350f;
    margin: 0 0 6px 0;
}

.gfoc-pp-warning-explain {
    font-size: 13px;
    color: #a16207;
    margin: 0;
}

/* Blocking Events List */
.gfoc-pp-blocking-events {
    margin-top: 15px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e2e8f0;
}

.gfoc-pp-blocking-header {
    font-weight: 600;
    font-size: 14px;
    color: #334155;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.gfoc-pp-multiday-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.gfoc-pp-multiday-list li {
    margin: 8px 0 !important;
}

.gfoc-pp-event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.gfoc-pp-event-subject {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
    flex: 1;
    min-width: 0;
}

.gfoc-pp-event-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.gfoc-pp-event-own-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gfoc-pp-event-external-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gfoc-pp-event-multiday-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.gfoc-pp-own-event {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
}

.gfoc-pp-event-dates-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.gfoc-pp-event-dates {
    font-size: 13px;
    color: #6366f1;
    font-weight: 500;
}

.gfoc-pp-event-showas {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.gfoc-pp-showas-busy {
    background: #fee2e2;
    color: #991b1b;
}

.gfoc-pp-showas-free {
    background: #dcfce7;
    color: #166534;
}

.gfoc-pp-showas-tentative {
    background: #fef3c7;
    color: #92400e;
}

.gfoc-pp-showas-oof,
.gfoc-pp-showas-outofoffice {
    background: #dbeafe;
    color: #1e40af;
}

/* Fix Instructions */
.gfoc-pp-fix-instructions {
    margin-top: 15px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #10b981;
    border-radius: 8px;
    padding: 15px;
}

.gfoc-pp-fix-header {
    font-weight: 600;
    font-size: 14px;
    color: #047857;
    margin-bottom: 10px;
}

.gfoc-pp-fix-steps {
    margin: 0 0 12px 0;
    padding-left: 20px;
    color: #065f46;
    font-size: 13px;
}

.gfoc-pp-fix-steps li {
    margin: 6px 0;
    padding: 0;
    background: none;
    border-radius: 0;
}

.gfoc-pp-fix-steps strong {
    color: #047857;
}

.gfoc-pp-fix-note {
    font-size: 12px;
    color: #059669;
    margin: 0;
    padding-top: 10px;
    border-top: 1px dashed #34d399;
}

/* Time-slot blocking events (non-all-day multiday) */
.gfoc-pp-timeslot-block {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.08);
}

.gfoc-pp-event-timeslot-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gfoc-pp-badge-timeslots {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.gfoc-pp-event-note {
    font-size: 11px;
    color: #92400e;
    background: #fef3c7;
    padding: 6px 10px;
    border-radius: 4px;
    margin-top: 8px;
}