/* wpRhino Forms - Public Styles */

.wprhino-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wprhino-form {
    width: 100%;
}

/* Row Layout */
.wprhino-form-row {
    display: flex;
    gap: 15px; /* Space between columns */
    margin-bottom: 20px;
}

.wprhino-form-row.wprhino-cols-1 {
    display: block;
}

.wprhino-form-row.wprhino-cols-1 .wprhino-form-column {
    width: 100%;
}

.wprhino-form-row.wprhino-cols-2 .wprhino-form-column {
    flex: 1;
    min-width: 0; /* Prevents flex item overflow */
}

.wprhino-form-row.wprhino-cols-1-2 .wprhino-form-column:first-child {
    flex: 1;
    min-width: 0;
}

.wprhino-form-row.wprhino-cols-1-2 .wprhino-form-column:last-child {
    flex: 2;
    min-width: 0;
}

.wprhino-form-row.wprhino-cols-2-1 .wprhino-form-column:first-child {
    flex: 2;
    min-width: 0;
}

.wprhino-form-row.wprhino-cols-2-1 .wprhino-form-column:last-child {
    flex: 1;
    min-width: 0;
}

.wprhino-form-row.wprhino-cols-1-3 .wprhino-form-column:first-child {
    flex: 1;
    min-width: 0;
}

.wprhino-form-row.wprhino-cols-1-3 .wprhino-form-column:last-child {
    flex: 3;
    min-width: 0;
}

.wprhino-form-row.wprhino-cols-3-1 .wprhino-form-column:first-child {
    flex: 3;
    min-width: 0;
}

.wprhino-form-row.wprhino-cols-3-1 .wprhino-form-column:last-child {
    flex: 1;
    min-width: 0;
}

.wprhino-form-row.wprhino-cols-3 .wprhino-form-column {
    flex: 1;
    min-width: 0;
}

.wprhino-form-column {
    flex: 1;
    min-width: 0; /* Prevents flex item overflow */
}

.wprhino-field-wrapper {
    margin-bottom: 25px;
}

.wprhino-field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
    color: #333;
}

.wprhino-required {
    color: #dc3232;
    margin-left: 3px;
}

.wprhino-field-input,
.wprhino-textarea,
.wprhino-select {
    width: calc(100% - 10px);
    padding: 12px 0px 12px 5px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s;
    font-family: inherit;
    background-color: #fafafa;
}

.wprhino-field-input:focus,
.wprhino-textarea:focus,
.wprhino-select:focus {
    outline: none;
    border-color: #0073aa;
}

.wprhino-textarea {
    resize: vertical;
    min-height: 100px;
}

.wprhino-radio-group,
.wprhino-checkbox-group {
    display: flex;
    gap: 10px;
}

.wprhino-radio-group.wprhino-layout-vertical,
.wprhino-checkbox-group.wprhino-layout-vertical {
    flex-direction: column;
}

.wprhino-radio-group.wprhino-layout-horizontal,
.wprhino-checkbox-group.wprhino-layout-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}

.wprhino-radio-label,
.wprhino-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.2s;
}

.wprhino-layout-vertical .wprhino-radio-label,
.wprhino-layout-vertical .wprhino-checkbox-label {
    padding: 10px;
}

.wprhino-layout-horizontal .wprhino-radio-label,
.wprhino-layout-horizontal .wprhino-checkbox-label {
    padding: 8px 12px;
}

.wprhino-radio-label:hover,
.wprhino-checkbox-label:hover {
    background: #f9f9f9;
}

.wprhino-radio-label input[type="radio"],
.wprhino-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Single Checkbox */
.wprhino-single-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    transition: background 0.2s;
}

.wprhino-single-checkbox-label:hover {
    background: #f0f0f0;
}

.wprhino-single-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    cursor: pointer;
    flex-shrink: 0;
}

.wprhino-checkbox-text {
    flex: 1;
    line-height: 1.6;
}

.wprhino-checkbox-text a {
    color: #0073aa;
    text-decoration: underline;
}

.wprhino-checkbox-text a:hover {
    color: #005a87;
}

/* Star Rating */
.wprhino-star-rating-field {
    display: flex;
    gap: 8px;
    font-size: 36px;
    padding: 10px 0;
}

.wprhino-star-rating-field .wprhino-star {
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
}

.wprhino-star-rating-field .wprhino-star:hover,
.wprhino-star-rating-field .wprhino-star.hover {
    color: #ffd700;
    transform: scale(1.15);
}

.wprhino-star-rating-field .wprhino-star.selected {
    color: #ffd700;
}

.wprhino-star-rating-field .wprhino-star.half-hover,
.wprhino-star-rating-field .wprhino-star.half-selected {
    background: linear-gradient(90deg, #ffd700 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wprhino-star-rating-field .wprhino-star.half-hover {
    transform: scale(1.15);
}

/* Divider */
.wprhino-divider {
    border: 0;
    margin: 20px 0;
}

.wprhino-file-input {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.wprhino-file-input:hover {
    border-color: #0073aa;
}

.wprhino-field-description {
    margin: 8px 0 0 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.wprhino-form-actions {
    margin-top: 30px;
    text-align: center;
}

.wprhino-submit-button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%; /* Full width to match form fields */
}

.wprhino-submit-button:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
}

.wprhino-submit-button:active {
    transform: translateY(0);
}

.wprhino-submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.wprhino-form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}

.wprhino-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wprhino-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wprhino-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    text-align: center;
}

/* Loading State */
.wprhino-form.loading {
    opacity: 0.6;
    pointer-events: none;
}

.wprhino-form.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: wprhino-spin 1s linear infinite;
}

@keyframes wprhino-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
/* Mobile responsive - stack columns only on phone sizes */
@media (max-width: 480px) {
    .wprhino-form-container {
        padding: 20px;
        margin: 10px;
    }

    .wprhino-submit-button {
        width: 100%;
        padding: 16px;
    }
    
    /* Stack columns on mobile */
    .wprhino-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .wprhino-form-row .wprhino-form-column {
        width: 100% !important;
        flex: none !important;
    }
}

/* Validation Styles */
.wprhino-field-input.error,
.wprhino-textarea.error,
.wprhino-select.error {
    border-color: #dc3232;
}

.wprhino-field-error {
    color: #dc3232;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Single Checkbox */
.wprhino-single-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.2s;
}

.wprhino-single-checkbox-label:hover {
    background: #f9f9f9;
}

.wprhino-single-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.wprhino-single-checkbox-label span {
    flex: 1;
}

.wprhino-single-checkbox-label a {
    color: #0073aa;
    text-decoration: underline;
}

.wprhino-single-checkbox-label a:hover {
    color: #005a87;
}

/* Popup Overlay */
.wprhino-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.wprhino-popup-content {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.wprhino-popup-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
}

.wprhino-popup-close {
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
}

.wprhino-popup-close:hover {
    color: #000;
}

.wprhino-popup-body {
    flex: 1;
    overflow: hidden;
}

.wprhino-popup-body iframe {
    width: 100%;
    height: 70vh;
    border: none;
}

/* ========================================
   MULTI-STEP FORMS (Frontend)
   ======================================== */

/* Progress Bar */
.wprhino-progress-container {
    margin: 0 0 30px 0;
}

.wprhino-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.wprhino-progress-fill {
    height: 100%;
    background: #2271b1;
    transition: width 0.3s ease;
}

/* Breadcrumbs */
.wprhino-breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 0 30px 0;
    flex-wrap: wrap;
}

.wprhino-breadcrumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.wprhino-breadcrumb.active,
.wprhino-breadcrumb.completed {
    opacity: 1;
}

.wprhino-breadcrumb.completed {
    cursor: pointer;
}

.wprhino-breadcrumb:not(.completed):not(.active) {
    cursor: not-allowed;
}

.wprhino-breadcrumb-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
}

.wprhino-breadcrumb.active .wprhino-breadcrumb-number {
    background: #2271b1;
    color: #fff;
}

.wprhino-breadcrumb.completed .wprhino-breadcrumb-number {
    background: #46b450;
    color: #fff;
}

.wprhino-breadcrumb-label {
    font-size: 13px;
    font-weight: 500;
    color: #666;
}

.wprhino-breadcrumb.active .wprhino-breadcrumb-label {
    color: #2271b1;
}

/* Step Content */
.wprhino-step {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step Navigation */
.wprhino-step-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.wprhino-step-prev,
.wprhino-step-next {
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.wprhino-step-prev {
    background: #f0f0f0;
    border: 1px solid #ddd;
    color: #333;
}

.wprhino-step-prev:hover {
    background: #e0e0e0;
}

.wprhino-step-next {
    background: #2271b1;
    border: none;
    color: #fff;
    flex: 1;
}

.wprhino-step-next:hover {
    background: #135e96;
}

.wprhino-multistep-form .wprhino-submit-button {
    flex: 1;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .wprhino-breadcrumbs {
        gap: 10px;
    }
    
    .wprhino-breadcrumb-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .wprhino-breadcrumb-label {
        font-size: 11px;
    }
    
    .wprhino-step-navigation {
        flex-direction: column;
    }
    
    .wprhino-step-prev {
        order: 2;
    }
    
    .wprhino-step-next,
    .wprhino-multistep-form .wprhino-submit-button {
        order: 1;
    }
}

/* Field Validation Error */
.wprhino-field-error {
    border-color: #dc3232 !important;
    box-shadow: 0 0 0 1px #dc3232 !important;
}

/* Hide utility class for buttons (overrides inline styles) */
.wprhino-hidden {
    display: none !important;
}

/* ========================================
   ADVANCED DATE PICKER - CALENDAR STYLES
   ======================================== */

/* Common Calendar Styles */
.wprhino-calendar-container {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 100%;
    margin: 0 auto;
}

.wprhino-calendar-loading {
    padding: 40px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* ========================================
   STYLE 1: SPLIT VIEW (Calendar + Time Slots)
   ======================================== */

.wprhino-calendar-style1 {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.08);
    overflow: hidden;
}

.wprhino-cal1-header {
    padding: 24px 28px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 22px;
    font-weight: 600;
    color: #1e2937;
}

.wprhino-cal1-main {
    display: flex;
    flex-direction: column;
}

@media (min-width: 640px) {
    .wprhino-cal1-main {
        flex-direction: row;
    }
}

.wprhino-cal1-calendar-side {
    flex: 1;
    padding: 28px 24px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
}

.wprhino-cal1-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.wprhino-cal1-calendar-header button {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wprhino-cal1-calendar-header button:hover {
    background: #e2e8f0;
}

.wprhino-cal1-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

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

.wprhino-cal1-day {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0 auto;
}

.wprhino-cal1-day.other-month {
    color: #cbd5e1;
    pointer-events: none;
}

.wprhino-cal1-day.disabled {
    color: #ef4444;
    cursor: not-allowed;
}

.wprhino-cal1-day.disabled::before {
    content: '';
    position: absolute;
    width: 34px;
    height: 34px;
    background: #fee2e2;
    border-radius: 50%;
    z-index: -1;
}

.wprhino-cal1-day:hover:not(.disabled):not(.selected) {
    background: #f1f5f9;
}

.wprhino-cal1-day.selected {
    background: #2563eb;
    color: white;
    font-weight: 600;
}

.wprhino-cal1-selection-side {
    flex: 1;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

.wprhino-cal1-selected-date {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1e2937;
}

.wprhino-cal1-time-slots {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    max-height: 240px;  /* 4 slots max visible (60px each) */
    overflow-y: auto;
    padding-right: 4px;  /* Space for scrollbar */
}

.wprhino-cal1-time-btn {
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.wprhino-cal1-time-btn:hover {
    border-color: #dbeafe;
}

.wprhino-cal1-time-btn.selected {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.wprhino-cal1-time-btn.unavailable {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.6;
    text-decoration: line-through;
}

.wprhino-cal1-time-btn.unavailable:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

/* ========================================
   STYLE 2: 5-DAY SCROLLING VIEW
   ======================================== */

/* ========================================
   STYLE 2: COMPACT CALENDAR + TIME GRID (NEW DESIGN)
   ======================================== */

.wprhino-calendar-style2 {
    max-width: 660px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.08);
    overflow: hidden;
}

/* Live Preview Bar */
.wprhino-cal2-preview {
    background: #f8fafc;
    padding: 24px 32px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.wprhino-cal2-preview-content {
    flex: 1;
    min-width: 200px;
}

.wprhino-cal2-preview-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 4px;
}

.wprhino-cal2-preview-text {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
}

/* Calendar Section */
/* Calendar Section - Horizontal Scrolling Dates */
.wprhino-cal2-calendar {
    padding: 24px 32px 20px 32px;
}

/* Month/Year Header */
.wprhino-cal2-month-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    gap: 12px;
}

.wprhino-cal2-month-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.wprhino-cal2-month-nav-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.wprhino-cal2-month-display {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    min-width: 140px;
    text-align: center;
}

/* Dates Navigation Container */
.wprhino-cal2-dates-container {
    position: relative;
    overflow: hidden;
}

.wprhino-cal2-dates-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wprhino-cal2-date-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.wprhino-cal2-date-nav-btn:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.wprhino-cal2-date-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.wprhino-cal2-dates-scroll {
    display: flex;
    gap: 20px;
    overflow-x: hidden;  /* Hide scrollbar */
    scroll-behavior: smooth;
    padding: 8px 0 12px 0;
    -webkit-overflow-scrolling: touch;
    flex: 1;
}

.wprhino-cal2-date-item {
    flex: 0 0 auto;
    text-align: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
    min-width: 50px;
}

.wprhino-cal2-date-item:hover:not(.disabled):not(.selected) {
    background: #f8fafc;
}

.wprhino-cal2-date-day {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.wprhino-cal2-date-number {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
}

.wprhino-cal2-date-item.disabled .wprhino-cal2-date-number {
    color: #ef4444;
    text-decoration: line-through;
}

.wprhino-cal2-date-item.disabled .wprhino-cal2-date-day {
    color: #fca5a5;
}

.wprhino-cal2-date-item.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.wprhino-cal2-date-item.today .wprhino-cal2-date-number {
    color: #2563eb;
}

.wprhino-cal2-date-item.selected::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: #1e293b;
    border-radius: 2px 2px 0 0;
}

.wprhino-cal2-date-item.selected .wprhino-cal2-date-number {
    color: #1e293b;
    font-weight: 700;
}

/* Divider */
.wprhino-cal2-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
}

/* Time Grid Section */
.wprhino-cal2-time-section {
    padding: 10px 32px;
}

.wprhino-cal2-time-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.wprhino-cal2-time-title {
    font-size: 18px;
    font-weight: 500;
    color: #1e293b;
}

.wprhino-cal2-time-current {
    font-size: 12px;
    font-family: monospace;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 12px;
    color: #2563eb;
}

.wprhino-cal2-time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (min-width: 640px) {
    .wprhino-cal2-time-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 768px) {
    .wprhino-cal2-time-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 1024px) {
    .wprhino-cal2-time-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

.wprhino-cal2-time-slot {
    width: 100%;
    padding: 2px 12px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: white;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.wprhino-cal2-time-slot:hover:not(.selected) {
    border-color: #dbeafe;
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.wprhino-cal2-time-slot.selected {
    background: #2563eb;
    color: white;
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.wprhino-cal2-time-slot.unavailable {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.6;
}

.wprhino-cal2-time-slot.unavailable .wprhino-cal2-time-main {
    text-decoration: line-through;
}

.wprhino-cal2-time-slot.unavailable:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
    transform: none;
    box-shadow: none;
}

.wprhino-cal2-time-main {
    font-size: 15px;
    font-weight: 600;
}

.wprhino-cal2-time-period {
    font-size: 10px;
    letter-spacing: 0.1em;
    opacity: 0.75;
}

/* Footer */
.wprhino-cal2-footer {
    padding: 16px 32px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wprhino-cal2-footer-selected {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    text-align: center;
}
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .wprhino-cal2-preview {
        padding: 20px 24px;
    }
    
    .wprhino-cal2-calendar,
    .wprhino-cal2-time-section {
        padding: 24px;
    }
    
    .wprhino-cal2-footer {
        padding: 16px 24px;
    }
}
/* ========================================
   STYLE 3: DUAL CALENDAR (Date Range)
   ======================================== */

.wprhino-calendar-style3 {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.08);
    overflow: hidden;
}

.wprhino-cal3-header {
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 600;
}

.wprhino-cal3-header .wprhino-cal3-range {
    flex: 1;
    text-align: center;
}

.wprhino-cal3-header button {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    border-radius: 50%;
}

.wprhino-cal3-header button:hover {
    background: #f1f5f9;
}

.wprhino-cal3-main {
    display: flex;
    flex-direction: column;
}

@media (min-width: 640px) {
    .wprhino-cal3-main {
        flex-direction: row;
    }
}

.wprhino-cal3-calendar-panel {
    flex: 1;
    padding: 24px 20px;
    background: #f8fafc;
}

.wprhino-cal3-calendar-panel + .wprhino-cal3-calendar-panel {
    border-top: 1px solid #e2e8f0;
}

@media (min-width: 640px) {
    .wprhino-cal3-calendar-panel + .wprhino-cal3-calendar-panel {
        border-top: none;
        border-left: 1px solid #e2e8f0;
    }
}

.wprhino-cal3-month-header {
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
}

.wprhino-cal3-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

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

.wprhino-cal3-day {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    z-index: 1;
}

.wprhino-cal3-day.other-month {
    color: #cbd5e1;
    pointer-events: none;
}

.wprhino-cal3-day.disabled {
    color: #ef4444;
    cursor: not-allowed;
}

.wprhino-cal3-day.disabled::before {
    content: '';
    position: absolute;
    width: 34px;
    height: 34px;
    background: #fee2e2;
    border-radius: 50%;
    z-index: -1;
}

.wprhino-cal3-day.in-range {
    background: #dbeafe;
    border-radius: 0;
}

.wprhino-cal3-day.start,
.wprhino-cal3-day.end {
    background: #2563eb;
    color: white;
    font-weight: 600;
}

.wprhino-cal3-day:hover:not(.disabled):not(.start):not(.end) {
    background: #f1f5f9;
}

/* Selected Time Display */
.wprhino-cal1-selected-display,
.wprhino-cal2-selected-display {
    padding: 16px 20px;
    background: #dbeafe;
    border: 2px solid #2563eb;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1e40af;
    text-align: center;
    margin-top: 16px;
    display: none;
}

.wprhino-cal1-selected-display.active,
.wprhino-cal2-selected-display.active {
    display: block;
}

/* Style 3 Selected Display */
.wprhino-cal3-selected-display {
    padding: 16px 20px;
    background: #dbeafe;
    border: 2px solid #2563eb;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1e40af;
    text-align: center;
    margin-top: 16px;
    display: none;
}

.wprhino-cal3-selected-display.active {
    display: block;
}
