/**
 * JKB Booking Frontend Styles
 * Professional Multi-Step Booking Flow
 */

/* CSS Variables */
:root {
    --jkb-primary: #e63946;
    --jkb-primary-hover: #d62839;
    --jkb-primary-light: #fef2f2;
    --jkb-secondary: #1d3557;
    --jkb-secondary-hover: #14253d;
    --jkb-accent: #457b9d;
    --jkb-accent-light: #a8dadc;
    --jkb-white: #ffffff;
    --jkb-gray-50: #f8f9fa;
    --jkb-gray-100: #f1f3f5;
    --jkb-gray-200: #e9ecef;
    --jkb-gray-300: #dee2e6;
    --jkb-gray-400: #ced4da;
    --jkb-gray-500: #adb5bd;
    --jkb-gray-600: #6c757d;
    --jkb-gray-700: #495057;
    --jkb-gray-800: #343a40;
    --jkb-gray-900: #212529;
    --jkb-info-bg: #e3f2fd;
    --jkb-info-border: #90caf9;
    --jkb-warning-bg: #fff8e1;
    --jkb-warning-border: #ffcc02;
    --jkb-success: #2e7d32;
    --jkb-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --jkb-shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
    --jkb-shadow-xl: 0 8px 30px rgba(0, 0, 0, 0.15);
    --jkb-radius: 8px;
    --jkb-radius-lg: 12px;
    --jkb-radius-xl: 16px;
    --jkb-transition: all 0.2s ease;
}

/* Reset & Base */
.jkb-booking-wrapper * {
    box-sizing: border-box;
}

.jkb-booking-wrapper {
    color: var(--jkb-gray-800);
    line-height: 1.5;
    /* max-width: 1400px; */
    margin: 0 auto;
}

.jkb-booking-app {
    min-height: 500px;
}

/* =====================
   STEP 1: LISTING
   ===================== */

/* Two Column Layout */
.jkb-booking-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 10px;
    align-items: start;
}

@media (max-width: 992px) {
    .jkb-booking-layout {
        grid-template-columns: 1fr;
    }
}

/* Sidebar */
.jkb-booking-sidebar {
    background: var(--jkb-gray-50);
    border-radius: var(--jkb-radius-lg);
    padding: 0 25px;
    position: sticky;
    top: 20px;
}

/* Filter Groups */
.jkb-filter-group {
    margin-bottom: 20px;
}

.jkb-filter-group:last-child {
    margin-bottom: 0;
}

.jkb-filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--jkb-gray-800);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Select Wrapper */
.jkb-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.jkb-select-wrapper .jkb-select-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--jkb-gray-500);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.jkb-select-wrapper .jkb-select-icon svg {
    width: 16px;
    height: 16px;
}

.jkb-select-wrapper select {
    width: 100%;
    padding: 10px 32px 10px 36px;
    font-size: 14px;
    font-weight: 400;
    font-family: inherit;
    border: 1px solid var(--jkb-gray-300);
    border-radius: 4px;
    background: var(--jkb-white);
    color: var(--jkb-gray-800);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: var(--jkb-transition);
    line-height: 1.4;
}

.jkb-select-wrapper select:hover {
    border-color: var(--jkb-gray-400);
}

.jkb-select-wrapper select:focus {
    outline: none;
    border-color: var(--jkb-accent);
    box-shadow: 0 0 0 2px rgba(69, 123, 157, 0.1);
}

.jkb-select-wrapper select option {
    padding: 10px 12px;
    font-size: 14px;
    background: var(--jkb-white);
    color: var(--jkb-gray-800);
}

.jkb-select-wrapper select option:checked,
.jkb-select-wrapper select option:hover {
    background: var(--jkb-accent);
    color: var(--jkb-white);
}

.jkb-select-wrapper::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--jkb-gray-500);
    pointer-events: none;
}

.jkb-select-sm select {
    padding: 8px 28px 8px 32px;
    font-size: 13px;
}

.jkb-select-sm .jkb-select-icon {
    left: 10px;
}

.jkb-select-sm::after {
    right: 10px;
}

/* Hide arrow when searchable dropdown is present */
.jkb-select-wrapper.jkb-has-searchable::after {
    display: none;
}

/* Custom Searchable Dropdown */
.jkb-searchable-dropdown {
    position: relative;
    width: 100%;
}

.jkb-searchable-dropdown .jkb-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 32px 10px 12px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid var(--jkb-gray-300);
    border-radius: 4px;
    background: var(--jkb-white);
    color: var(--jkb-gray-800);
    cursor: pointer;
    text-align: left;
    transition: var(--jkb-transition);
}

.jkb-searchable-dropdown .jkb-dropdown-trigger:hover {
    border-color: var(--jkb-gray-400);
}

.jkb-searchable-dropdown .jkb-dropdown-trigger .jkb-trigger-icon {
    width: 18px;
    height: 18px;
    color: var(--jkb-gray-500);
    flex-shrink: 0;
}

.jkb-searchable-dropdown .jkb-dropdown-trigger .jkb-trigger-icon svg {
    width: 100%;
    height: 100%;
}

.jkb-searchable-dropdown .jkb-dropdown-trigger .jkb-trigger-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jkb-searchable-dropdown .jkb-dropdown-trigger::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--jkb-gray-500);
    transition: transform 0.2s ease;
}

.jkb-searchable-dropdown.jkb-dropdown-open .jkb-dropdown-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.jkb-searchable-dropdown .jkb-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: var(--jkb-white);
    border: 1px solid var(--jkb-gray-300);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    max-height: 280px;
    overflow: hidden;
}

.jkb-searchable-dropdown.jkb-dropdown-open .jkb-dropdown-menu {
    display: block;
}

.jkb-searchable-dropdown .jkb-dropdown-search {
    padding: 8px;
    border-bottom: 1px solid var(--jkb-gray-200);
}

.jkb-searchable-dropdown .jkb-dropdown-search input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid var(--jkb-gray-300);
    border-radius: 4px;
    outline: none;
}

.jkb-searchable-dropdown .jkb-dropdown-search input:focus {
    border-color: var(--jkb-accent);
}

.jkb-searchable-dropdown .jkb-dropdown-search input::placeholder {
    color: var(--jkb-gray-500);
}

.jkb-searchable-dropdown .jkb-dropdown-options {
    max-height: 220px;
    overflow-y: auto;
}

.jkb-searchable-dropdown .jkb-dropdown-option {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--jkb-gray-800);
    background: var(--jkb-white);
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.jkb-searchable-dropdown .jkb-dropdown-option:hover {
    background: var(--jkb-gray-100);
}

.jkb-searchable-dropdown .jkb-dropdown-option.jkb-option-selected {
    background: var(--jkb-accent);
    color: var(--jkb-white);
}

.jkb-searchable-dropdown .jkb-dropdown-option.jkb-option-hidden {
    display: none;
}

.jkb-searchable-dropdown .jkb-dropdown-empty {
    padding: 12px 14px;
    font-size: 14px;
    color: var(--jkb-gray-500);
    text-align: center;
}

/* Sidebar Notice */
.jkb-sidebar-notice,
.jkb-calendar-notice {
    background: var(--jkb-warning-bg);
    border-left: 4px solid var(--jkb-warning-border);
    border-radius: var(--jkb-radius);
    padding: 14px;
    margin-top: 20px;
}

.jkb-sidebar-notice .jkb-notice-icon,
.jkb-calendar-notice .jkb-notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--jkb-warning-border);
    border-radius: 50%;
    color: var(--jkb-gray-800);
    font-size: 11px;
    font-weight: bold;
    margin-right: 8px;
    float: left;
}

.jkb-sidebar-notice p,
.jkb-calendar-notice p {
    margin: 0;
    font-size: 13px;
    color: var(--jkb-gray-700);
    line-height: 1.5;
}

.jkb-sidebar-notice a,
.jkb-calendar-notice a {
    color: var(--jkb-accent);
    text-decoration: none;
    font-weight: 500;
}

.jkb-sidebar-notice a:hover,
.jkb-calendar-notice a:hover {
    text-decoration: underline;
}

/* Main Content */
.jkb-booking-main {
    min-height: 400px;
}

/* Info Banner */
.jkb-info-banner {
    background: var(--jkb-info-bg);
    border-radius: var(--jkb-radius-lg);
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.jkb-info-banner .jkb-banner-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--jkb-info-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jkb-secondary);
    font-size: 12px;
    font-weight: bold;
}

.jkb-info-banner p {
    margin: 0;
    font-size: 14px;
    color: var(--jkb-gray-700);
    line-height: 1.5;
}

/* Loading State */
.jkb-loading {
    text-align: center;
    padding: 50px 20px;
}

.jkb-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--jkb-gray-200);
    border-top-color: var(--jkb-primary);
    border-radius: 50%;
    animation: jkb-spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

@keyframes jkb-spin {
    to { transform: rotate(360deg); }
}

.jkb-loading p {
    color: var(--jkb-gray-600);
    font-size: 14px;
    margin: 0;
}

/* Resource Cards */
.jkb-resources-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.jkb-resource-card {
    background: var(--jkb-white);
    border-radius: var(--jkb-radius-lg);
    box-shadow: var(--jkb-shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 250px 1fr;
    transition: var(--jkb-transition);
}

.jkb-resource-card:hover {
    box-shadow: var(--jkb-shadow-lg);
}

@media (max-width: 768px) {
    .jkb-resource-card {
        grid-template-columns: 1fr;
    }
}

/* Resource Left Panel */
.jkb-resource-left {
    background: linear-gradient(135deg, var(--jkb-gray-50) 0%, var(--jkb-gray-100) 100%);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid var(--jkb-gray-200);
}

@media (max-width: 768px) {
    .jkb-resource-left {
        border-right: none;
        border-bottom: 1px solid var(--jkb-gray-200);
        padding: 20px;
    }
}

/* Resource Image */
.jkb-resource-image {
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--jkb-white);
    width: 100px;
    height: 100px;
}

/* When image exists - larger size */
.jkb-resource-image.jkb-has-image {
    width: 100%;
    height: auto;
}

/* Fallback using :has() selector for modern browsers */
@supports selector(:has(*)) {
    .jkb-resource-image:has(img) {
        width: 140px;
        height: 140px;
    }
    
    .jkb-resource-image:has(.jkb-resource-placeholder) {
        width: 100px;
        height: 100px;
    }
}

.jkb-resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jkb-resource-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--jkb-secondary) 0%, var(--jkb-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.jkb-resource-placeholder span {
    font-size: 32px;
    font-weight: 600;
    color: var(--jkb-white);
    text-transform: uppercase;
}

/* First Available Badge */
.jkb-first-available {
    display: inline-block;
    background: var(--jkb-primary);
    color: var(--jkb-white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

/* Resource Price */
.jkb-resource-price {
    margin-bottom: 16px;
}

.jkb-resource-price .jkb-price-amount {
    display: inline;
    font-size: 16px;
    font-weight: 700;
    color: var(--jkb-gray-900);
}

.jkb-resource-price .jkb-price-duration {
    display: inline;
    font-size: 14px;
    color: var(--jkb-gray-700);
}

/* Resource Actions */
.jkb-resource-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jkb-btn-meet {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: var(--jkb-gray-800);
    color: var(--jkb-white);
    border: none;
    border-radius: var(--jkb-radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--jkb-transition);
}

.jkb-btn-meet:hover {
    background: var(--jkb-gray-700);
}

.jkb-btn-meet svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
}

.jkb-btn-bio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: var(--jkb-secondary);
    color: var(--jkb-white);
    border: none;
    border-radius: var(--jkb-radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--jkb-transition);
}

.jkb-btn-bio:hover {
    background: var(--jkb-secondary-hover);
}

/* Resource Right Panel */
.jkb-resource-right {
    /* padding: 20px; */
    display: flex;
    flex-direction: column;
}

/* Resource Header */
.jkb-resource-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--jkb-gray-200);
    padding: 20px 20px 0;
}

.jkb-resource-header h3 {
    margin: 0 0 2px;
    font-size: 18px;
    font-weight: 700;
    color: var(--jkb-gray-900);
}

.jkb-resource-title {
    margin: 0;
    font-size: 12px;
    color: var(--jkb-gray-600);
}

/* Availability Grid - Horizontal Row Layout */
.jkb-availability-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

/* Day Row - Horizontal Layout */
.jkb-day-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
}

.jkb-day-row:hover {
    background: linear-gradient(135deg, var(--jkb-gray-50) 0%, var(--jkb-gray-100) 100%);
}

.jkb-day-header {
    border-radius: var(--jkb-radius);
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
    overflow: hidden;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    border: 1px solid var(--jkb-gray-200)
}

.jkb-day-header:hover {
    background: linear-gradient(135deg, var(--jkb-gray-200) 0%, var(--jkb-gray-300) 100%);
}

.jkb-day-header .jkb-month {
    display: block;
    background: var(--jkb-secondary);
    color: var(--jkb-white);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 6px 12px 4px;
}

.jkb-day-header .jkb-day-number {
    display: block;
    background: var(--jkb-white);
    color: var(--jkb-gray-900);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    padding: 6px 12px 4px;
}

.jkb-day-header .jkb-day-name {
    display: block;
    background: var(--jkb-white);
    /* color: var(--jkb-gray-600); */
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 0 12px 5px;
    /* border: 1px solid var(--jkb-gray-200); */
    /* border-top: none; */
    border-radius: 0 0 var(--jkb-radius) var(--jkb-radius);
}

/* Slots Container - Horizontal */
.jkb-slots-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
    align-items: center;
}

/* Slot Buttons - Compact */
.jkb-slot-btn {
    display: inline-block;
    padding: 6px 12px;
    background: var(--jkb-white);
    border: 1.5px solid var(--jkb-primary);
    border-radius: 5px;
    color: var(--jkb-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--jkb-transition);
    text-align: center;
    white-space: nowrap;
}

.jkb-slot-btn:hover {
    background: var(--jkb-primary);
    color: var(--jkb-white);
}

.jkb-slot-btn.jkb-slot-selected {
    background: var(--jkb-primary);
    color: var(--jkb-white);
}

/* More Slots Button */
.jkb-more-slots {
    display: inline-block;
    padding: 6px 10px;
    background: transparent;
    border: none;
    color: var(--jkb-gray-600);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--jkb-transition);
    white-space: nowrap;
}

.jkb-more-slots:hover {
    color: var(--jkb-primary);
}

/* Hide Link */
.jkb-hide-slots {
    display: inline-block;
    padding: 6px 10px;
    background: transparent;
    border: none;
    color: var(--jkb-gray-500);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--jkb-transition);
    white-space: nowrap;
    margin-left: auto;
}

.jkb-hide-slots:hover {
    color: var(--jkb-primary);
}

/* See All Button */
.jkb-see-all-container {
    margin-top: 16px;
    border-top: 1px solid var(--jkb-gray-200);
    padding: 20px;
}

.jkb-btn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--jkb-primary);
    color: var(--jkb-white);
    padding: 10px 20px;
    border: none;
    border-radius: var(--jkb-radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--jkb-transition);
}

.jkb-btn-see-all:hover {
    background: var(--jkb-primary-hover);
}

/* No Resources */
.jkb-no-resources {
    background: var(--jkb-white);
    border-radius: var(--jkb-radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--jkb-shadow);
}

.jkb-no-resources .jkb-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.jkb-no-resources h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--jkb-gray-800);
}

.jkb-no-resources p {
    margin: 0;
    color: var(--jkb-gray-600);
}

/* =====================
   STEP 2: DETAIL VIEW
   ===================== */

.jkb-detail-layout {
    /* background: var(--jkb-white); */
    /* border-radius: var(--jkb-radius-xl); */
    box-shadow: var(--jkb-shadow-lg);
    overflow: hidden;
}

.jkb-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--jkb-white);
    border: 1px solid var(--jkb-primary);
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--jkb-primary);
    cursor: pointer;
    transition: var(--jkb-transition);
    margin-bottom: 20px;
    justify-content: center;
}

.jkb-btn-back:hover {
    background: var(--jkb-gray-50);
    border-color: var(--jkb-primary-hover);
}

.jkb-detail-content {
    display: grid;
    grid-template-columns: 40% 1fr;
    min-height: 600px;
}

@media (max-width: 992px) {
    .jkb-detail-content {
        grid-template-columns: 1fr;
    }
}

/* Resource Profile Sidebar */
.jkb-resource-profile {
    padding: 20px;
    /* background: var(--jkb-white); */
    overflow-y: auto;
}

@media (max-width: 992px) {
    .jkb-resource-profile {
        border-bottom: 1px solid var(--jkb-gray-200);
    }
}

.jkb-profile-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.jkb-profile-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.jkb-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jkb-profile-info h2 {
    margin: 0 0 4px;
    font-size: 26px;
    font-weight: 700;
    color: var(--jkb-gray-900);
}

.jkb-profile-info .jkb-profile-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--jkb-gray-700);
}

.jkb-profile-bio {
    font-size: calc(1rem - 1px);
    line-height: 1.7;
    margin-bottom: 24px;
}

.jkb-profile-video {
    margin-bottom: 24px;
}

.jkb-profile-video h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--jkb-gray-900);
    margin-bottom: 10px;
}

.jkb-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--jkb-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.jkb-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.jkb-profile-section {
    margin-bottom: 24px;
}

.jkb-profile-section h4 {
    font-size: calc(1rem - 2px);
    font-weight: 600;
    color: var(--jkb-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.jkb-profile-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jkb-profile-section li {
    font-size: calc(1rem - 2px);
    color: var(--jkb-gray-700);
    padding: 10px 0;
    border-bottom: 1px solid var(--jkb-gray-100);
}

.jkb-profile-section li:last-child {
    border-bottom: none;
}

.jkb-profile-section li a {
    color: var(--jkb-accent);
    text-decoration: underline;
}

.jkb-fee-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.jkb-fee-list li .jkb-fee-name {
    flex: 1;
}

.jkb-fee-list .jkb-fee-price {
    font-weight: 700;
    color: var(--jkb-gray-900);
    text-align: right;
    white-space: nowrap;
    min-width: 80px;
}

/* Calendar Section */
.jkb-calendar-section {
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: var(--jkb-white);
    border-left: 1px solid var(--jkb-gray-200);
}

.jkb-calendar-header {
    margin-bottom: 28px;
}

.jkb-calendar-header h2 {
    margin: 0 0 24px;
    font-size: 26px;
    font-weight: 600;
    color: var(--jkb-gray-900);
}

.jkb-calendar-filters {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.jkb-filter-inline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jkb-filter-inline label {
    font-size: 16px;
    font-weight: 600;
    color: var(--jkb-gray-800);
    white-space: nowrap;
}

.jkb-filter-inline .jkb-select-wrapper {
    min-width: 240px;
}

.jkb-filter-inline .jkb-select-wrapper select {
    padding: 10px 32px 10px 36px;
    font-size: 14px;
    border-radius: 4px;
    background: var(--jkb-white);
}

/* Calendar Container */
.jkb-calendar-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.jkb-calendar-wrapper > .jkb-nav-btn {
    margin-top: 20px; /* Align with middle of day headers */
}

.jkb-nav-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--jkb-white);
    border: 2px solid var(--jkb-gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--jkb-transition);
    color: var(--jkb-gray-600);
    font-size: 18px;
}

.jkb-nav-btn.jkb-nav-next {
    background: var(--jkb-primary);
    border-color: var(--jkb-primary);
    color: var(--jkb-white);
}

.jkb-nav-btn:hover:not(:disabled) {
    background: var(--jkb-gray-200);
    border-color: var(--jkb-gray-400);
    color: var(--jkb-gray-800);
}

.jkb-nav-btn.jkb-nav-next:hover:not(:disabled) {
    background: var(--jkb-primary-hover);
    border-color: var(--jkb-primary-hover);
}

.jkb-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Calendar Days and Grid Container */
.jkb-calendar-content {
    flex: 1;
    overflow: hidden;
}

.jkb-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.jkb-calendar-day {
    border-radius: 6px;
    text-align: center;
    cursor: default;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    min-width: 70px;
}

.jkb-calendar-day .jkb-cal-month {
    display: block;
    background: var(--jkb-secondary);
    color: var(--jkb-white);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 6px 8px 5px;
}

.jkb-calendar-day .jkb-cal-day {
    display: block;
    background: var(--jkb-white);
    color: var(--jkb-gray-900);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 0 4px;
    border-left: 1px solid var(--jkb-gray-200);
    border-right: 1px solid var(--jkb-gray-200);
}

.jkb-calendar-day .jkb-cal-weekday {
    display: block;
    background: var(--jkb-white);
    /* color: var(--jkb-gray-500); */
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 2px 8px 2px;
    border: 1px solid var(--jkb-gray-200);
    border-top: none;
    border-radius: 0 0 6px 6px;
}

/* Calendar Grid */
.jkb-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    min-height: 300px;
    align-content: start;
}

.jkb-calendar-grid-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 70px;
}

.jkb-grid-slot {
    padding: 5px 0;
    background: var(--jkb-white);
    border: 1.5px solid var(--jkb-primary);
    border-radius: 5px;
    color: var(--jkb-primary);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--jkb-transition);
    white-space: nowrap;
}

.jkb-grid-slot:hover {
    background: var(--jkb-primary);
    color: var(--jkb-white);
}

.jkb-grid-slot.jkb-slot-selected {
    background: var(--jkb-primary);
    color: var(--jkb-white);
}

/* No slot indicator */
.jkb-no-slot {
    padding: 7px 6px;
    text-align: center;
    color: var(--jkb-gray-400);
    font-size: 14px;
    font-weight: 300;
}

.jkb-calendar-notice {
    /* margin-top: auto; */
    padding-top: 20px;
}

/* =====================
   STEP 3 & 4: FORM & CONFIRM
   ===================== */

/* Timer Banner */
.jkb-timer-banner {
    background: var(--jkb-gray-100);
    border-radius: var(--jkb-radius-lg);
    padding: 16px 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.jkb-timer-banner p {
    margin: 0;
    font-size: 14px;
    color: var(--jkb-gray-700);
    flex: 1;
}

.jkb-timer {
    flex-shrink: 0;
}

.jkb-timer-display {
    font-size: 32px;
    font-weight: 700;
    color: var(--jkb-secondary);
    font-variant-numeric: tabular-nums;
}

.jkb-timer.jkb-timer-warning .jkb-timer-display {
    color: var(--jkb-primary);
}

/* Form Layout */
.jkb-form-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    background: var(--jkb-white);
    border-radius: var(--jkb-radius-xl);
    box-shadow: var(--jkb-shadow-lg);
    overflow: hidden;
}

@media (max-width: 992px) {
    .jkb-form-layout {
        grid-template-columns: 1fr;
    }
}

/* Booking Summary Sidebar */
.jkb-booking-sidebar-summary {
    padding: 24px;
    border-right: 1px solid var(--jkb-gray-200);
    background: var(--jkb-gray-50);
}

@media (max-width: 992px) {
    .jkb-booking-sidebar-summary {
        border-right: none;
        border-bottom: 1px solid var(--jkb-gray-200);
    }
}

.jkb-summary-section {
    margin-bottom: 24px;
}

.jkb-summary-section:last-child {
    margin-bottom: 0;
}

.jkb-summary-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--jkb-gray-800);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.jkb-summary-consultant {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jkb-consultant-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--jkb-gray-200);
}

.jkb-consultant-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jkb-consultant-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--jkb-gray-800);
}

/* Date Badge */
.jkb-summary-datetime {
    display: flex;
    gap: 12px;
}

.jkb-date-badge {
    background: var(--jkb-warning-border);
    border-radius: var(--jkb-radius);
    padding: 8px 12px;
    text-align: center;
    min-width: 65px;
}

.jkb-badge-month {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--jkb-gray-800);
}

.jkb-badge-day {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--jkb-gray-900);
    line-height: 1;
}

.jkb-badge-weekday {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--jkb-gray-700);
}

.jkb-time-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.jkb-full-date {
    font-size: 14px;
    font-weight: 600;
    color: var(--jkb-gray-800);
}

.jkb-time-range {
    font-size: 13px;
    color: var(--jkb-gray-600);
}

.jkb-btn-change {
    background: none;
    border: none;
    color: var(--jkb-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 4px;
}

.jkb-btn-change:hover {
    text-decoration: underline;
}

/* Cost Section */
.jkb-summary-cost {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jkb-cost-icon,
.jkb-agreement-icon {
    width: 44px;
    height: 44px;
    background: var(--jkb-info-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jkb-secondary);
}

.jkb-cost-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--jkb-gray-800);
}

.jkb-summary-agreement {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.jkb-summary-agreement span {
    font-size: 13px;
    color: var(--jkb-gray-700);
    line-height: 1.5;
}

/* Customer Form Section */
.jkb-customer-form-section,
.jkb-confirm-section {
    padding: 32px;
}

.jkb-confirm-section h2 {
    margin: 0 0 24px;
    font-size: 22px;
    font-weight: 600;
    color: var(--jkb-gray-900);
}

/* Form Styles */
.jkb-customer-form .jkb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .jkb-customer-form .jkb-form-row {
        grid-template-columns: 1fr;
    }
}

.jkb-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--jkb-gray-700);
    margin-bottom: 6px;
}

.jkb-form-group input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid var(--jkb-gray-300);
    border-radius: var(--jkb-radius);
    transition: var(--jkb-transition);
}

.jkb-form-group input:focus {
    outline: none;
    border-color: var(--jkb-accent);
    box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.15);
}

.jkb-phone-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--jkb-gray-300);
    border-radius: var(--jkb-radius);
    overflow: hidden;
}

.jkb-phone-input .jkb-phone-icon {
    padding: 12px;
    background: var(--jkb-gray-100);
    border-right: 1px solid var(--jkb-gray-300);
}

.jkb-phone-input input {
    border: none;
    border-radius: 0;
}

.jkb-phone-input input:focus {
    box-shadow: none;
}

.jkb-form-actions {
    margin-top: 32px;
}

.jkb-btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--jkb-primary);
    color: var(--jkb-white);
    padding: 14px 28px;
    border: none;
    border-radius: var(--jkb-radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--jkb-transition);
}

.jkb-btn-continue:hover {
    background: var(--jkb-primary-hover);
}

/* Confirm Details */
.jkb-confirm-details {
    margin-bottom: 24px;
}

.jkb-detail-row {
    padding: 14px 0;
    border-bottom: 1px solid var(--jkb-gray-200);
}

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

.jkb-detail-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--jkb-gray-800);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.jkb-detail-value {
    font-size: 15px;
    color: var(--jkb-gray-800);
}

/* Agreement Section */
.jkb-agreement-section {
    margin-bottom: 24px;
}

.jkb-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.jkb-checkbox-label input[type="checkbox"] {
    /* margin-top: 4px; */
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.jkb-checkbox-text {
    font-size: 13px;
    color: var(--jkb-gray-700);
    line-height: 1.6;
}

.jkb-terms-link {
    color: var(--jkb-accent);
    text-decoration: none;
    font-weight: 500;
}

.jkb-terms-link:hover {
    text-decoration: underline;
}

/* Signature Section */
.jkb-signature-section {
    margin-bottom: 24px;
}

.jkb-signature-section label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--jkb-gray-800);
    margin-bottom: 6px;
}

.jkb-signature-info {
    font-size: 13px;
    color: var(--jkb-gray-600);
    margin: 0 0 12px;
}

.jkb-signature-pad-wrapper {
    position: relative;
    border: 2px dashed var(--jkb-gray-300);
    border-radius: var(--jkb-radius);
    background: var(--jkb-gray-50);
}

.jkb-signature-pad {
    width: 100%;
    height: 150px;
    cursor: crosshair;
}

.jkb-signature-clear {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--jkb-white);
    border: 1px solid var(--jkb-gray-300);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    color: var(--jkb-gray-600);
    cursor: pointer;
    transition: var(--jkb-transition);
}

.jkb-signature-clear:hover {
    background: var(--jkb-gray-100);
}

/* Confirm Actions */
.jkb-confirm-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.jkb-btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--jkb-white);
    border: 1px solid var(--jkb-gray-300);
    border-radius: var(--jkb-radius);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--jkb-gray-700);
    cursor: pointer;
    transition: var(--jkb-transition);
}

.jkb-btn-edit:hover {
    background: var(--jkb-gray-100);
}

.jkb-btn-confirm-pay {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--jkb-primary);
    color: var(--jkb-white);
    padding: 14px 28px;
    border: none;
    border-radius: var(--jkb-radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--jkb-transition);
}

.jkb-btn-confirm-pay:hover {
    background: var(--jkb-primary-hover);
}

.jkb-btn-confirm-pay:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =====================
   SUCCESS SCREEN
   ===================== */

.jkb-success-content {
    text-align: center;
    padding: 60px 40px;
    background: var(--jkb-white);
    border-radius: var(--jkb-radius-xl);
    box-shadow: var(--jkb-shadow-lg);
    max-width: 500px;
    margin: 0 auto;
}

.jkb-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--jkb-success) 0%, #4caf50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    color: var(--jkb-white);
}

.jkb-success-content h2 {
    margin: 0 0 12px;
    font-size: 24px;
    color: var(--jkb-gray-900);
}

.jkb-success-content p {
    margin: 0 0 16px;
    color: var(--jkb-gray-600);
}

.jkb-confirmation-number {
    background: var(--jkb-gray-100);
    padding: 12px 20px;
    border-radius: var(--jkb-radius);
    display: inline-block;
    margin-bottom: 24px;
}

.jkb-confirmation-number strong {
    color: var(--jkb-primary);
    font-size: 16px;
}

.jkb-btn-done {
    padding: 12px 32px;
    background: var(--jkb-secondary);
    color: var(--jkb-white);
    border: none;
    border-radius: var(--jkb-radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--jkb-transition);
}

.jkb-btn-done:hover {
    background: var(--jkb-secondary-hover);
}

/* =====================
   UTILITIES
   ===================== */

/* Scrollbar Styling */
.jkb-availability-grid::-webkit-scrollbar,
.jkb-calendar-days::-webkit-scrollbar {
    height: 6px;
}

.jkb-availability-grid::-webkit-scrollbar-track,
.jkb-calendar-days::-webkit-scrollbar-track {
    background: var(--jkb-gray-100);
    border-radius: 3px;
}

.jkb-availability-grid::-webkit-scrollbar-thumb,
.jkb-calendar-days::-webkit-scrollbar-thumb {
    background: var(--jkb-gray-400);
    border-radius: 3px;
}

/* Step transitions */
.jkb-step {
    animation: jkb-fade-in 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .jkb-timer-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .jkb-calendar-nav {
        flex-wrap: wrap;
    }
    
    .jkb-calendar-days {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    
    .jkb-calendar-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* YouTube Video Modal - Contained Style */
.jkb-video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: jkb-fade-in 0.2s ease;
}

.jkb-video-modal {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: var(--jkb-white);
    border-radius: var(--jkb-radius-lg);
    box-shadow: var(--jkb-shadow-xl);
    overflow: hidden;
    animation: jkb-slide-up 0.3s ease;
}

@keyframes jkb-slide-up {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.jkb-video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--jkb-white);
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--jkb-transition);
    z-index: 10001;
}

.jkb-video-modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.jkb-video-wrapper-fullscreen {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: var(--jkb-gray-900);
}

.jkb-video-wrapper-fullscreen iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .jkb-video-modal-overlay {
        padding: 10px;
    }
    
    .jkb-video-modal {
        max-width: 100%;
        max-height: 95vh;
    }
    
    .jkb-video-modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
}

/* ========================================
   Agreement Step Styles
   ======================================== */

.jkb-agreement-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

/* Agreement Header */
.jkb-agreement-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid var(--jkb-gray-200);
    min-height: 120px;
}

.jkb-company-logo {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jkb-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
}

.jkb-company-logo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--jkb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    font-weight: 600;
}

.jkb-company-details {
    flex: 1;
    font-size: 14px;
    line-height: 1.8;
    color: var(--jkb-gray-700);
}

.jkb-company-details strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--jkb-gray-900);
    margin-bottom: 8px;
}

.jkb-company-details div {
    margin-bottom: 4px;
}

.jkb-company-details a {
    color: var(--jkb-primary);
    text-decoration: underline;
}

.jkb-company-details a:hover {
    color: var(--jkb-primary-hover);
}

/* Agreement Sidebar */
.jkb-agreement-sidebar {
    border-right: 1px solid var(--jkb-gray-200);
    background: var(--jkb-gray-50);
    min-height: 100%;
}

/* Agreement Form Title */
.jkb-agreement-title {
    margin-bottom: 24px;
    padding: 10px;
    border-bottom: 2px solid var(--jkb-gray-200);
}

.jkb-agreement-title h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--jkb-gray-900);
    margin: 0 0 6px 0;
}

.jkb-agreement-title p {
    font-size: 13px;
    color: var(--jkb-gray-600);
    margin: 0;
}

@media (max-width: 992px) {
    .jkb-agreement-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--jkb-gray-200);
    }
}

/* Agreement Header in Sidebar */
.jkb-agreement-sidebar .jkb-agreement-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 10px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--jkb-gray-200);
    background: transparent;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
}

.jkb-agreement-sidebar .jkb-company-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.jkb-agreement-sidebar .jkb-company-details {
    flex: 1;
    font-size: 13px;
    line-height: 1.6;
}

.jkb-agreement-sidebar .jkb-company-details strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--jkb-gray-900);
    margin-bottom: 6px;
}

.jkb-agreement-sidebar .jkb-company-details div {
    margin-bottom: 3px;
    font-size: 12px;
}

/* Agreement Steps Navigation (Vertical) */
.jkb-agreement-sidebar .jkb-agreement-steps-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.jkb-agreement-sidebar .jkb-agreement-step-item {
    flex: none;
    min-width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: default;
    transition: all 0.2s;
    position: relative;
    border-left: 3px solid transparent;
}

.jkb-agreement-sidebar .jkb-agreement-step-item.active.current {
    background: rgba(255, 255, 255, 0.8);
    border-left-color: var(--jkb-primary);
}

.jkb-agreement-sidebar .jkb-agreement-step-item .jkb-step-number {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jkb-gray-200);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: var(--jkb-gray-600);
    margin-bottom: 0;
    transition: all 0.2s;
}

.jkb-agreement-sidebar .jkb-agreement-step-item.active .jkb-step-number {
    background: var(--jkb-primary);
    color: #fff;
    border: 2px solid var(--jkb-primary);
}

.jkb-agreement-sidebar .jkb-agreement-step-item.active.current .jkb-step-number {
    background: var(--jkb-primary);
    color: #fff;
    border: 2px solid var(--jkb-primary);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.jkb-agreement-sidebar .jkb-agreement-step-item.active:not(.current) .jkb-step-number {
    background: var(--jkb-primary);
    color: #fff;
    border: 2px solid var(--jkb-primary);
    opacity: 0.8;
}

.jkb-agreement-sidebar .jkb-agreement-step-item.active ~ .jkb-agreement-step-item:not(.active) .jkb-step-number {
    background: var(--jkb-gray-100);
    color: var(--jkb-gray-400);
    border: 2px solid var(--jkb-gray-300);
}

.jkb-agreement-sidebar .jkb-agreement-step-item .jkb-step-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--jkb-gray-600);
    text-align: left;
    flex: 1;
}

.jkb-agreement-sidebar .jkb-agreement-step-item.active .jkb-step-label {
    color: var(--jkb-gray-900);
    font-weight: 600;
}

/* Agreement Content */
.jkb-agreement-content {
    padding: 32px;
    background: #fff;
    overflow-y: auto;
}

.jkb-agreement-section {
    animation: fadeIn 0.3s ease-in;
}

.jkb-section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--jkb-gray-900);
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--jkb-gray-200);
}

/* Client Details Display */
.jkb-client-details-display {
    display: grid;
    /* gap: 10px; */
}

.jkb-detail-item {
    display: flex;
    padding: 12px 16px;
    /* background: var(--jkb-gray-50); */
    border-radius: 6px;
}

.jkb-detail-item .jkb-detail-label {
    font-weight: 600;
    color: var(--jkb-gray-700);
    min-width: 160px;
    margin-right: 16px;
}

.jkb-detail-item .jkb-detail-value {
    color: var(--jkb-gray-900);
    flex: 1;
}

/* Agreement Text */
.jkb-agreement-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--jkb-gray-800);
    background: #fff;
    max-height: 600px;
    overflow-y: auto;
}

.jkb-agreement-text p {
    font-size: 14px;
    margin: 0 0 16px;
}

.jkb-agreement-text p:last-child {
    margin-bottom: 0;
}

.jkb-agreement-text strong {
    font-size: 14px;
    /* background: #ffeb3b; */
    padding: 2px 4px;
    font-weight: 600;
}

.jkb-agreement-acceptance {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--jkb-gray-200);
}

.jkb-agreement-acceptance .jkb-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    border-radius: 6px;
    transition: background 0.2s;
}

.jkb-agreement-acceptance .jkb-checkbox-label input[type="checkbox"] {
    /* margin-top: 4px; */
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.jkb-agreement-acceptance .jkb-checkbox-label span {
    font-size: 14px;
    line-height: 1.6;
    color: var(--jkb-gray-800);
}

.jkb-agreement-acceptance .jkb-checkbox-label span strong {
    background: none;
    padding: 0;
    color: var(--jkb-gray-900);
}

/* Client Section Form */
.jkb-client-section-form {
    max-width: 800px;
}

.jkb-form-group {
    margin-bottom: 24px;
}

.jkb-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--jkb-gray-800);
    margin-bottom: 8px;
}

.jkb-form-group select,
.jkb-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--jkb-gray-300);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.jkb-form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.jkb-form-group select:focus,
.jkb-form-group textarea:focus {
    outline: none;
    border-color: var(--jkb-primary);
}

.jkb-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Use searchable dropdown for select elements in agreement form */
.jkb-client-section-form .jkb-form-group select.jkb-searchable,
.jkb-agreement-section select.jkb-searchable {
    display: none !important;
}

.jkb-client-section-form .jkb-form-group .jkb-searchable-dropdown,
.jkb-agreement-section .jkb-form-group .jkb-searchable-dropdown {
    display: block;
    margin-top: 8px;
    width: 100%;
}

.jkb-form-help {
    font-size: 12px;
    color: var(--jkb-gray-600);
    margin-top: 4px;
}

.jkb-radio-group {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.jkb-radio-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 20px;
    border: 2px solid var(--jkb-gray-300);
    border-radius: 6px;
    background: #fff;
    transition: all 0.2s;
    min-width: 80px;
    justify-content: center;
}

.jkb-radio-label:hover {
    border-color: var(--jkb-primary);
    background: var(--jkb-primary-light);
}

.jkb-radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.jkb-radio-label input[type="radio"]:checked {
    position: absolute;
}

.jkb-radio-label input[type="radio"]:checked ~ span {
    position: relative;
    z-index: 1;
}

.jkb-radio-label input[type="radio"]:checked + span {
    color: #fff;
    font-weight: 600;
}

.jkb-radio-label input[type="radio"]:checked ~ span {
    color: #fff;
    font-weight: 600;
}

/* Style the label when radio is checked */
.jkb-radio-group input[type="radio"]:checked + .jkb-radio-label,
.jkb-radio-label:has(input[type="radio"]:checked) {
    background: var(--jkb-primary);
    border-color: var(--jkb-primary);
    color: #fff;
}

/* Fallback for browsers without :has() support */
.jkb-radio-label.jkb-radio-checked {
    background: var(--jkb-primary);
    border-color: var(--jkb-primary);
    color: #fff;
}

.jkb-radio-label.jkb-radio-checked span {
    color: #fff;
    font-weight: 600;
}

.jkb-radio-label span {
    font-size: 14px;
    color: var(--jkb-gray-700);
    transition: color 0.2s;
    pointer-events: none;
}

.jkb-upload-requirements {
    list-style: disc;
    margin: 12px 0 16px 20px;
    color: var(--jkb-gray-700);
    font-size: 13px;
}

.jkb-upload-requirements li {
    margin-bottom: 6px;
}

.jkb-upload-area {
    border: 2px dashed var(--jkb-gray-300);
    border-radius: 8px;
    padding: 48px 24px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.jkb-upload-area:hover {
    border-color: var(--jkb-primary);
    background: var(--jkb-primary-light);
    border-style: solid;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.jkb-upload-area.jkb-drag-over {
    border-color: var(--jkb-primary);
    background: var(--jkb-primary-light);
    border-style: solid;
}

.jkb-upload-area input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 2;
}

.jkb-upload-icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jkb-gray-100);
    border-radius: 50%;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.jkb-upload-area:hover .jkb-upload-icon-wrapper {
    background: var(--jkb-primary);
    transform: scale(1.1);
}

.jkb-upload-icon-wrapper svg {
    width: 32px;
    height: 32px;
    color: var(--jkb-gray-600);
    transition: color 0.3s ease;
}

.jkb-upload-area:hover .jkb-upload-icon-wrapper svg {
    color: #fff;
}

/* Upload label removed - using text only */

.jkb-upload-text {
    font-size: 15px;
    color: var(--jkb-gray-700);
    margin-top: 12px;
    pointer-events: none;
}

.jkb-upload-text strong {
    font-weight: 600;
    color: var(--jkb-gray-800);
}

.jkb-upload-area:hover .jkb-upload-text {
    color: var(--jkb-gray-900);
}

.jkb-upload-area:hover .jkb-upload-text strong {
    color: var(--jkb-primary);
}

.jkb-uploaded-files {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jkb-uploaded-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--jkb-gray-50);
    border-radius: 4px;
    font-size: 13px;
}

.jkb-remove-file {
    background: none;
    border: none;
    color: var(--jkb-error);
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jkb-form-info {
    margin-top: 24px;
    padding: 16px;
    background: var(--jkb-primary-light);
    border-radius: 6px;
    font-size: 13px;
    color: var(--jkb-gray-700);
}

.jkb-form-info p { font-size: 14px; }

/* Signature Container */
.jkb-signature-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 24px;
}

.jkb-signature-box {
    padding: 20px;
    background: var(--jkb-gray-50);
    border-radius: 6px;
}

.jkb-signature-box label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--jkb-gray-800);
    margin-bottom: 12px;
}

.jkb-signature-pad-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.jkb-signature-pad {
    width: 100% !important;
    height: 150px !important;
    border: 2px solid var(--jkb-gray-300);
    border-radius: 6px;
    background: #fff;
    cursor: crosshair;
    display: block;
    touch-action: none;
}

.jkb-signature-clear {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 6px 12px;
    background: var(--jkb-gray-200);
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.jkb-signature-clear:hover {
    background: var(--jkb-gray-300);
}

.jkb-signature-display {
    margin-bottom: 16px;
}

.jkb-signature-display img {
    max-width: 100%;
    height: auto;
    border: 2px solid var(--jkb-gray-300);
    border-radius: 6px;
    background: #fff;
}

.jkb-signature-name,
.jkb-signature-date {
    margin-top: 12px;
}

.jkb-signature-name,
.jkb-signature-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.jkb-signature-label {
    font-weight: 600;
    color: var(--jkb-gray-700);
    flex-shrink: 0;
}

.jkb-signature-value {
    color: var(--jkb-gray-900);
    font-weight: 500;
}

.jkb-consultant-signature {
    background: #fff;
}

/* Section Actions */
.jkb-section-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--jkb-gray-200);
    position: relative;
    z-index: 1;
}

.jkb-btn-prev,
.jkb-btn-next {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 10;
}

.jkb-btn-prev {
    background: var(--jkb-gray-200);
    color: var(--jkb-gray-700);
}

.jkb-btn-prev:hover {
    background: var(--jkb-gray-300);
    z-index: 11;
}

.jkb-btn-next {
    background: var(--jkb-primary);
    color: #fff;
}

.jkb-btn-next:hover {
    background: var(--jkb-primary-hover);
    z-index: 11;
}

.jkb-btn-continue {
    background: var(--jkb-primary);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jkb-btn-continue:hover {
    background: var(--jkb-primary-hover);
}

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

/* Responsive */
@media (max-width: 768px) {
    .jkb-agreement-sidebar {
        padding: 20px 16px;
    }
    
    .jkb-agreement-sidebar .jkb-agreement-header {
        flex-direction: column;
        gap: 12px;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    .jkb-agreement-sidebar .jkb-company-logo {
        width: 60px;
        height: 60px;
    }
    
    .jkb-agreement-sidebar .jkb-agreement-steps-nav {
        gap: 0;
    }
    
    .jkb-agreement-sidebar .jkb-agreement-step-item {
        padding: 12px 8px;
    }
    
    .jkb-agreement-sidebar .jkb-agreement-step-item .jkb-step-number {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 12px;
    }
    
    .jkb-agreement-sidebar .jkb-agreement-step-item .jkb-step-label {
        font-size: 13px;
    }
    
    .jkb-agreement-content {
        padding: 20px;
    }
    
    .jkb-signature-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .jkb-section-actions {
        flex-direction: column;
    }
    
    .jkb-btn-prev,
    .jkb-btn-next,
    .jkb-btn-continue {
        width: 100%;
        justify-content: center;
    }
}
