#zbook-root-div {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}

#zbook-group-technician-config {
    position: relative;
    z-index: 1;
}

#zbook-group-technician-config .zbook-list-menu-items {
    overflow: visible !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.zbook-group-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: transparent;
    z-index: 99999;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    transition: background 0.3s ease;
}

.zbook-group-modal-overlay.show {
    display: flex;
    background: rgba(0, 0, 0, 0.85);
}

.zbook-group-modal-overlay.show .zbook-group-modal {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from { 
        transform: translateY(40px) scale(0.95); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}

.zbook-group-modal {
    background: #1a1a1a;
    border: 2px solid #d4af37;
    border-radius: 16px;
    padding: 30px;
    max-width: 900px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    margin: 60px auto;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zbook-group-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: 2px solid #d4af37;
    border-radius: 50%;
    background: transparent;
    color: #d4af37;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.zbook-group-modal-close:hover {
    background: #d4af37;
    color: #1a1a1a;
}

.zbook-group-modal h2 {
    font-size: 24px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 25px;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
}

.zbook-group-options {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.zbook-group-option {
    flex: 1;
    max-width: 400px;
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: #2a2a2a;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zbook-group-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.zbook-group-option-personal {
    background: #3a2f10;
    border-color: #d4af37;
}

.zbook-group-option-personal:hover {
    background: #453814;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.zbook-group-option-group {
    background: #1e3a5f;
    border-color: #3b82f6;
}

.zbook-group-option-group:hover {
    background: #254270;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.zbook-group-option-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #3b82f6;
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.zbook-group-option-icon {
    font-size: 56px;
    margin-bottom: 15px;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.zbook-group-option-title {
    font-size: 24px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 5px;
}

.zbook-group-option-title-sub {
    font-size: 24px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 10px;
    border-bottom: 1px solid #d4af37;
    padding-bottom: 10px;
    width: 100%;
}

.zbook-group-option-desc {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 500;
}

.zbook-group-option-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.zbook-group-option-features li {
    font-size: 13px;
    color: #b0b0b0;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.zbook-group-option-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4af37;
}

.zbook-group-option-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #d4af37;
    border-radius: 8px;
    background: #1a1a1a;
    color: #d4af37;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.zbook-group-option-btn:hover {
    background: #d4af37;
    color: #1a1a1a;
}

.zbook-group-option-btn-group {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.zbook-group-option-btn-group:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.zbook-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    background: #1a1a1a;
    border-bottom: 2px solid #d4af37;
}

.zbook-progress-steps {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 1200px;
    justify-content: space-between;
}

.zbook-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    flex: 1;
    max-width: 235px;
    padding: 0 10px;
}

.zbook-progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -50%;
    top: 15px;
    width: calc(100% + 15px);
    height: 2px;
    background: #444;
    z-index: 0;
}

.zbook-progress-step.completed::after,.zbook-progress-step.active::after {
    background: #d4af37;
}

.zbook-progress-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #444;
    color: #888;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.3s ease;
    border: 2px solid #555;
}

.zbook-progress-step.active .zbook-progress-step-dot {
    background: #d4af37;
    color: #1a1a1a;
    border-color: #d4af37;
}

.zbook-progress-step.completed .zbook-progress-step-dot {
    background: #d4af37;
    color: #1a1a1a;
    border-color: #d4af37;
}

.zbook-progress-step-label {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    white-space: nowrap;
}

.zbook-progress-step.active .zbook-progress-step-label,
.zbook-progress-step.completed .zbook-progress-step-label {
    color: #d4af37;
}

.zbook-group-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.zbook-group-banner-icon {
    font-size: 20px;
}

.zbook-guest-notification-bar {
    background: transparent;
    color: #00cc00;
    border: 2px solid #00cc00;
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
    border-radius: 8px;
}

.zbook-guest-list-container {
    margin: 0 auto;
    padding: 0 20px;
}

.zbook-guest-page-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.zbook-guest-list {
    margin-bottom: 15px;
}

.zbook-guest-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.zbook-guest-item:hover {
    border-color: #d4af37;
}

.zbook-guest-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.zbook-guest-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #444;
    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid #d4af37;
}

.zbook-guest-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zbook-guest-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.zbook-guest-services {
    font-size: 14px;
    color: #888;
}

.zbook-guest-price {
    font-size: 14px;
    color: #d4af37;
    font-weight: 600;
}

.zbook-guest-options-btn {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zbook-guest-options-btn:hover {
    background: #d4af37;
    color: #1a1a1a;
}

.zbook-guest-options-dropdown {
    display: none;
    position: absolute;
    right: 25px;
    top: calc(100% + 8px);
    background: #333;
    border: 1px solid #444;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 100;
    min-width: 180px;
}

.zbook-guest-options-dropdown.show {
    display: block;
}

.zbook-guest-options-dropdown button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.zbook-guest-options-dropdown button:hover {
    background: #444;
}

.zbook-guest-options-dropdown button:first-child {
    border-radius: 8px 8px 0 0;
}

.zbook-guest-options-dropdown button:last-child {
    border-radius: 0 0 8px 8px;
}

.zbook-add-guest-btn {
    width: 100%;
    padding: 15px;
    border: 2px solid #d4af37;
    border-radius: 12px;
    background: transparent;
    color: #d4af37;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.zbook-add-guest-btn:hover:not(:disabled) {
    background: #d4af37;
    color: #1a1a1a;
}

.zbook-add-guest-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #666;
    color: #666;
}

.zbook-guest-summary-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.zbook-guest-summary-item {
    text-align: center;
}

.zbook-guest-summary-label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.zbook-guest-summary-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.zbook-guest-summary-value.total {
    color: #d4af37;
    font-size: 22px;
}

.zbook-guest-footer {
    text-align: center;
    padding: 20px;
}

.zbook-guest-continue-btn {
    background: #d4af37;
    color: #1a1a1a;
    border: none;
    padding: 18px 60px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zbook-guest-continue-btn:hover {
    background: #e5c84a;
    transform: scale(1.02);
}

.zbook-guest-form {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.zbook-guest-form h4 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text, #333);
}

.zbook-guest-form-group {
    margin-bottom: 15px;
}

.zbook-guest-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text, #333);
    margin-bottom: 8px;
}

.zbook-guest-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.zbook-guest-form-input:focus {
    outline: none;
    border-color: var(--accent, #ea4999);
}

.zbook-guest-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.zbook-guest-form-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zbook-guest-form-btn-cancel {
    background: #f0f0f0;
    color: #666;
}

.zbook-guest-form-btn-cancel:hover {
    background: #e0e0e0;
}

.zbook-guest-form-btn-save {
    background: var(--accent, #ea4999);
    color: white;
}

.zbook-guest-form-btn-save:hover {
    background: var(--accent-light, #d93d85);
}

.zbook-group-summary {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.zbook-group-summary h4 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text, #333);
    border-bottom: 2px solid var(--accent, #ea4999);
    padding-bottom: 10px;
}

.zbook-group-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.zbook-group-summary-row:last-child {
    border-bottom: none;
}

.zbook-group-summary-label {
    font-size: 15px;
    color: var(--muted, #888);
}

.zbook-group-summary-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text, #333);
}

.zbook-group-summary-value.total {
    font-size: 20px;
    color: var(--accent, #ea4999);
}

.zbook-technician-config-section {
    margin-bottom: 25px;
}

.zbook-technician-config-guest-header {
    background: var(--accent, #ea4999);
    color: white;
    padding: 15px 20px;
    border-radius: 12px 12px 0 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zbook-technician-config-guest-body {
    background: white;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 20px;
}

.zbook-technician-config-service {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.zbook-technician-config-service:last-child {
    margin-bottom: 0;
}

.zbook-technician-config-service-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text, #333);
    margin-bottom: 15px;
}

.zbook-technician-config-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.zbook-technician-config-select:focus {
    outline: none;
    border-color: var(--accent, #ea4999);
}

.zbook-time-conflict-warning {
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 8px;
    padding: 12px 15px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zbook-time-conflict-warning-icon {
    color: #ff9800;
    font-size: 18px;
}

.zbook-time-conflict-warning-text {
    font-size: 14px;
    color: #e65100;
}

.zbook-time-conflict-error {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    padding: 12px 15px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zbook-time-conflict-error-icon {
    color: #e53935;
    font-size: 18px;
}

.zbook-time-conflict-error-text {
    font-size: 14px;
    color: #c62828;
}

.zbook-assignment-mode-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.zbook-assignment-mode-option {
    flex: 1;
    padding: 35px;
    min-height: 400px;
    border: 3px solid #666;
    border-radius: 16px;
    background: #2a2a2a;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.zbook-assignment-mode-option:hover {
    border-color: #3b82f6;
}

.zbook-assignment-mode-option.active {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.zbook-assignment-mode-option:not(.active) {
    border-color: #666;
}

.zbook-assignment-mode-option-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #3b82f6;
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.zbook-group-assignment-title {
    text-align: center;
    margin-bottom: 20px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #d4af37;
    border: 1px solid #d4af37;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.zbook-assignment-mode-option-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.zbook-assignment-mode-option-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.zbook-assignment-mode-option-desc {
    font-size: 14px;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 10px;
}

.zbook-assignment-mode-option-line {
    width: 60px;
    height: 2px;
    background: #444;
    margin: 0 auto 15px auto;
}

.zbook-assignment-mode-option-subdesc {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-bottom: auto;
}

.zbook-assignment-mode-option-btn {
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    background: #d4af37;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.zbook-assignment-mode-option:hover .zbook-assignment-mode-option-btn {
    opacity: 1;
    transform: translateY(0);
}

.zbook-assignment-mode-option-btn:hover {
    background: #e5bf4a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

@media (hover: none) {
    .zbook-assignment-mode-option-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

.zbook-group-technician-config-title {
    text-align: center;
    margin-bottom: 30px;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 700;
    color: #d4af37;
    background: #1a1a1a;
    border: 2px solid #d4af37;
    border-radius: 8px;
    letter-spacing: 1px;
}

.zbook-technician-config-section {
    margin-bottom: 30px;
}

.zbook-technician-config-guest-header {
    background: linear-gradient(135deg, #d4af37 0%, #b89500 100%);
    color: #1a1a1a;
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.zbook-technician-config-guest-header span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zbook-technician-config-guest-body {
    background: #222222;
    border: 1px solid #3a3a3a;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 20px;
}

.zbook-technician-config-service {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    background: #2a2a2a;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.zbook-technician-config-service:last-child {
    margin-bottom: 0;
}

.zbook-technician-config-service.zbook-service-conflict {
    border-color: #c62828;
    background: rgba(198, 40, 40, 0.08);
    border-width: 2px;
}

.zbook-technician-config-service.zbook-service-no-tech-available {
    border-color: #c62828;
    background: rgba(198, 40, 40, 0.08);
    border-width: 2px;
}

.zbook-technician-config-service.zbook-service-no-tech-available .zbook-technician-config-no-preference-btn {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: #555;
    border-color: #555;
}

.zbook-technician-config-service-left {
    flex: 1;
    min-width: 160px;
}

.zbook-technician-config-service-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.zbook-technician-config-service-duration {
    font-size: 13px;
    color: #d4af37;
    font-weight: 600;
}

.zbook-technician-config-service-addons {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #444;
}

.zbook-technician-config-addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
    padding: 4px 0;
}

.zbook-addon-name {
    flex: 1;
}

.zbook-addon-duration {
    margin-left: 10px;
    color: #aaa;
}

.zbook-addon-price {
    margin-left: 15px;
    color: #d4af37;
}

.zbook-technician-config-service-center {
    flex: 2;
    text-align: left;
    padding: 0 20px;
}

.zbook-technician-config-technician-row,
.zbook-technician-config-time-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.zbook-technician-config-technician-label,
.zbook-technician-config-time-label {
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.zbook-technician-config-technician-value {
    font-size: 15px;
    font-weight: 700;
}

.zbook-technician-config-technician-value.zbook-tech-assigned {
    color: #4caf50;
}

.zbook-technician-config-technician-value.zbook-tech-no-preference {
    color: #d4af37;
}

.zbook-technician-config-technician-value.zbook-tech-unassigned {
    color: #888;
}

.zbook-technician-config-change-btn {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #d4af37;
    background: transparent;
    border: 2px solid #d4af37;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.zbook-technician-config-change-btn:hover {
    background: #d4af37;
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.zbook-technician-config-no-preference-btn {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    background: #d4af37;
    border: 2px solid #d4af37;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.zbook-technician-config-no-preference-btn:hover {
    background: #e5bf4a;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.zbook-technician-config-service-right {
    flex: 1;
    text-align: right;
}

.zbook-technician-config-time-value {
    font-size: 15px;
    font-weight: 700;
    /* margin-bottom: 10px;/ */
}

.zbook-technician-config-time-value.zbook-time-assigned {
    color: #4caf50;
}

.zbook-technician-config-time-value.zbook-time-conflict {
    color: #c62828;
}

.zbook-technician-config-change-time-btn {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #c62828;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.zbook-technician-config-change-time-btn:hover {
    background: #e53935;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.4);
}

.zbook-technician-config-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #3a3a3a;
}

.zbook-technician-config-continue-btn {
    padding: 16px 60px;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    background: linear-gradient(135deg, #d4af37 0%, #b89500 100%);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.zbook-technician-config-continue-btn:hover:not(.disabled) {
    background: linear-gradient(135deg, #e5bf4a 0%, #c9a600 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.zbook-technician-config-continue-btn.disabled {
    background: #444;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.zbook-technician-popup-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.zbook-technician-popup {
    background: #1a1a1a;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    max-height: 80vh;
    overflow: hidden;
    animation: zbookPopupSlideIn 0.3s ease;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(212, 175, 55, 0.2);
    border: 1px solid #2a2a2a;
    position: relative;
    z-index: 100000;
}

@keyframes zbookPopupSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.zbook-technician-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid #3a3a3a;
    background: #1f1f1f;
}

.zbook-technician-popup-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.zbook-technician-popup-close {
    width: 36px;
    height: 36px;
    font-size: 22px;
    color: #888;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zbook-technician-popup-close:hover {
    background: #333;
    color: #fff;
}

.zbook-technician-popup-body {
    padding: 0;
    overflow-y: auto;
    max-height: 55vh;
    background: #1a1a1a;
}

.zbook-technician-popup-option {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: #1a1a1a;
    border-bottom: 1px solid #252525;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zbook-technician-popup-option:first-child {
    border-top: none;
}

.zbook-technician-popup-option:last-child {
    border-bottom: none;
}

.zbook-technician-popup-option:hover:not(.zbook-tech-unavailable) {
    background: #222222;
}

.zbook-technician-popup-option.active {
    background: rgba(212, 175, 55, 0.15);
}

.zbook-technician-popup-option.zbook-tech-unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    background: #1a1a1a;
}

.zbook-technician-popup-option-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #666;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: transparent;
}

.zbook-technician-popup-option.active .zbook-technician-popup-option-radio {
    border-color: #d4af37;
    background: #d4af37;
}

.zbook-radio-selected {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a1a1a;
}

.zbook-radio-empty {
    width: 8px;
    height: 8px;
}

.zbook-technician-popup-option-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #d4af37;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    flex-shrink: 0;
}

.zbook-technician-popup-option-info {
    flex: 1;
    min-width: 0;
}

.zbook-technician-popup-option-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
    letter-spacing: 0.2px;
}

.zbook-technician-popup-option-desc {
    font-size: 12px;
    color: #777;
}

.zbook-tech-available {
    color: #4caf50;
    font-weight: 600;
}

.zbook-tech-unavailable-tag {
    color: #c62828;
    font-weight: 700;
    font-size: 11px;
}

.zbook-technician-popup-option-check {
    display: none;
}

.zbook-technician-popup-footer {
    padding: 20px;
    border-top: 1px solid #252525;
    text-align: center;
    background: #1a1a1a;
}

.zbook-technician-popup-confirm {
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    background: #d4af37;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 0.3px;
}

.zbook-technician-popup-confirm:hover {
    background: #e5bf4a;
}

.zbook-timeslot-popup-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.zbook-timeslot-popup {
    background: #2a2a2a;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    animation: zbookPopupSlideIn 0.3s ease;
}

.zbook-timeslot-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #444;
}

.zbook-timeslot-popup-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.zbook-timeslot-popup-close {
    width: 32px;
    height: 32px;
    font-size: 20px;
    color: #888;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.zbook-timeslot-popup-close:hover {
    background: #444;
    color: #fff;
}

.zbook-timeslot-popup-body {
    padding: 20px;
    overflow-y: auto;
    max-height: 50vh;
}

.zbook-timeslot-popup-option {
    padding: 15px;
    background: #1a1a1a;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #333;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.zbook-timeslot-popup-option:last-child {
    margin-bottom: 0;
}

.zbook-timeslot-popup-option:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}

.zbook-group-checkout-contact-panel {
    display: none;
}

/* When contact panel is hidden, make summary panel take full width */
#zbook-group-checkout .col-md-4 {
    display: none;
}

#zbook-group-checkout .col-md-8 {
    width: 100%;
}

.zbook-group-checkout-summary-panel {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #3a3a3a;
}

.zbook-group-checkout-panel-title {
    font-size: 16px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.zbook-group-checkout-appointment-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3a3a3a;
}

.zbook-group-checkout-appointment-date span {
    color: #fff;
}

.zbook-group-checkout-guest-section {
    margin-bottom: 20px;
}

.zbook-group-checkout-guest-header {
    background: #1e40af;
    border: 1px solid #3b82f6;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
}

.zbook-group-checkout-guest-body {
    background: #222222;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 16px;
    margin-top: 8px;
}

.zbook-group-checkout-guest-contact {
    display: flex;
    gap: 15px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #333;
}

.zbook-group-checkout-guest-contact-item {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.zbook-group-checkout-guest-contact-label {
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.zbook-group-checkout-guest-contact-label.required {
    color: #dc2626;
}

.zbook-group-checkout-guest-contact-phone,
.zbook-group-checkout-guest-contact-name {
    flex: 1;
    padding: 10px 14px;
    font-size: 13px;
    background: #1a1a1a;
    border: 2px solid #d4af37;
    border-radius: 6px;
    color: #fff;
    outline: none;
    min-width: 0;
}

.zbook-group-checkout-guest-contact-name {
    border-color: #444;
}

.zbook-group-checkout-service-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #333;
}

.zbook-group-checkout-service-item:last-child {
    border-bottom: none;
}

.zbook-group-checkout-service-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.zbook-group-checkout-service-info {
	color: var(--text, #333) !important;
    flex: 1;
    min-width: 0;
}

.zbook-group-checkout-service-tech-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.zbook-group-checkout-service-name {
    font-size: 13px;
    color: #888;
    margin-bottom: 3px;
}

.zbook-group-checkout-service-time {
    font-size: 13px;
    color: #888;
    font-weight: 600;
}

.zbook-group-checkout-service-time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zbook-group-checkout-note-btn-wrapper {
    margin-right: 15px;
}

.zbook-group-checkout-service-note {
    font-size: 12px;
    color: #888;
    padding-top: 5px;
}

.zbook-group-checkout-service-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.zbook-group-checkout-note-btn {
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
    background: #d4af37;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.zbook-group-checkout-note-btn:hover {
    background: #e5bf4a;
}

.zbook-group-checkout-delete-link {
    font-size: 12px;
    color: #c62828;
    text-decoration: none;
}

.zbook-group-checkout-delete-link:hover {
    text-decoration: underline;
}

.zbook-group-checkout-total-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #3a3a3a;
}

.zbook-group-checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zbook-group-checkout-total-label {
    font-size: 16px;
    font-weight: 700;
    color: #888;
}

.zbook-group-checkout-total-value {
    font-size: 24px;
    font-weight: 700;
    color: #d4af37;
}

.zbook-group-contact-form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.zbook-group-contact-form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d4af37;
}

.zbook-group-contact-form-checkbox label {
    font-size: 13px;
    color: #888;
    cursor: pointer;
}

.zbook-group-contact-form-group {
    margin-bottom: 15px;
}

.zbook-group-contact-form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.zbook-group-contact-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 14px;
    background: #1a1a1a;
    color: #fff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

.zbook-group-contact-form-input:focus {
    border-color: #d4af37;
}

.zbook-group-action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.zbook-group-action-btn {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zbook-group-action-btn-secondary {
    background: #f0f0f0;
    color: #666;
}

.zbook-group-action-btn-secondary:hover {
    background: #e0e0e0;
}

.zbook-group-action-btn-primary {
    background: var(--accent, #ea4999);
    color: white;
}

.zbook-group-action-btn-primary:hover {
    background: var(--accent-light, #d93d85);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 73, 153, 0.3);
}

.zbook-group-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.zbook-shopping-header {
    padding: 20px 30px;
    background: #1a1a1a;
    border-bottom: 2px solid #d4af37;
}

.zbook-shopping-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #d4af37;
    text-align: center;
}

.zbook-summary-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.5);
    z-index: 1000;
    border-top: 2px solid #d4af37;
}

.zbook-summary-left {
    flex: 1;
    min-width: 120px;
}

.zbook-summary-left #zbook-summary-items {
    font-weight: 600;
    font-size: 14px;
    color: #888;
}

.zbook-summary-left #zbook-summary-total {
    font-weight: 700;
    font-size: 20px;
    color: #d4af37;
}

.zbook-summary-center {
    flex: 1;
    text-align: center;
    min-width: 150px;
}

.zbook-summary-center #zbook-summary-duration-detail {
    font-size: 13px;
    color: #888;
}

.zbook-summary-center #zbook-summary-total-duration {
    font-weight: 700;
    font-size: 18px;
    color: #d4af37;
}

.zbook-summary-continue-btn {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    background: #d4af37;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 160px;
}

.zbook-summary-continue-btn:hover:not(:disabled) {
    background: #e5bf4a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.zbook-summary-continue-btn:disabled {
    background: #444;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.zbook-confirm-total {
    margin-top: 20px;
}

.zbook-addon-item {
    padding: 15px;
    border: 1px solid #444;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    background: #2a2a2a;
}

.zbook-addon-item:hover {
    border-color: #d4af37;
    background: #333;
}

.zbook-addon-item.selected {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.zbook-addon-checkbox {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.zbook-item-addon-indicator {
    margin-top: 10px;
	height: 26px;
}

.zbook-item-has-addons {
    font-size: 12px;
    color: #d4af37;
    font-weight: 600;
}

.zbook-item-no-addons {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.zbook-item-selected-addons {
    margin-top: 10px;
}

.zbook-item-addon-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #d4af37;
    padding: 4px 8px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 4px;
    margin-bottom: 5px;
}

.zbook-item-addon-tag-left {
    flex: 1;
}

.zbook-item-addon-tag-right {
    font-weight: 600;
}

.zbook-confirm-service-row {
    margin-bottom: 5px;
}

/* Shopping Page Styles - Group Mode */
.zbook-shopping-page .zbook-category-item {
    min-width: 120px;
    padding: 15px;
    cursor: pointer;
    border-bottom: 1px solid #333;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #2a2a2a;
    border-left: 3px solid transparent;
}

.zbook-shopping-page .zbook-category-item:hover {
    background: #333;
}

.zbook-shopping-page .zbook-category-item.active {
    background-color: var(--accent, #ea4999);
    border-left: 3px solid var(--accent-contrast, white);
    color: var(--accent-contrast, white);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.zbook-shopping-page .zbook-category-item.active span {
    color: var(--accent-contrast, white);
    font-weight: 700;
}

.zbook-shopping-page .zbook-category-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.zbook-shopping-page .zbook-category-item:not(:has(img))::before {
    content: '';
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.zbook-shopping-page .zbook-category-item.active:not(:has(img))::before {
    background: rgba(255, 255, 255, 0.2);
}

.zbook-shopping-page .zbook-category-item span {
    font-weight: 600;
    font-size: 16px;
    color: #ccc;
}

.zbook-shopping-page .zbook-item-card {
    border: 2px solid #444;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    background: #2a2a2a;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    width: 100%;
}

.zbook-shopping-page .zbook-item-card:hover {
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.zbook-shopping-page .zbook-item-card.selected {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

.zbook-shopping-page .zbook-item-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.zbook-shopping-page .zbook-item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-top: 10px;
    border-top: 1px solid #444;
}

.zbook-shopping-page .zbook-item-duration {
    font-size: 14px;
    color: #888;
}

.zbook-shopping-page .zbook-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #d4af37;
}

.zbook-shopping-page .zbook-add-btn {
    width: 100%;
    height: 48px;
    padding: 0;
    background-color: #d4af37;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.zbook-shopping-page .zbook-add-btn:hover {
    background-color: #e5bf4a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.zbook-shopping-page .zbook-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 48px;
    padding: 0 8px;
    background-color: #3a2f10;
    border-radius: 8px;
    margin-top: auto;
    border: 1px solid #d4af37;
}

.zbook-shopping-page .zbook-qty-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #d4af37;
    background-color: #1a1a1a;
    color: #d4af37;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding: 0;
    font-size: 20px;
    font-weight: bold;
}

.zbook-shopping-page .zbook-qty-btn:hover {
    background-color: #d4af37;
    color: #1a1a1a;
}

.zbook-shopping-page .zbook-qty-display {
    font-size: 18px;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
    color: #d4af37;
}

.zbook-shopping-page #zbook-items-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    flex-wrap: unset !important;
}

.zbook-shopping-page #zbook-items-grid > div {
    margin-bottom: 0;
    max-width: none !important;
}

.zbook-shopping-page #zbook-items-grid > div {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    /* Mobile: category items compact (align with non-blackgold theme) */
    .zbook-shopping-page .zbook-category-item {
        padding: 10px;
    }
    .zbook-shopping-page .zbook-category-item img {
        width: 38px;
        height: 38px;
    }
    .zbook-shopping-page .zbook-category-item:not(:has(img))::before {
        width: 38px;
        height: 38px;
    }
    .zbook-shopping-page .zbook-category-item span {
        font-size: 13px;
    }

    /* Adjust item cards to 2 columns on mobile */
    .zbook-shopping-page #zbook-items-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .zbook-shopping-page .zbook-item-card {
        padding: 14px;
        margin-bottom: 10px;
    }

    .zbook-shopping-page .zbook-item-name {
        font-size: 15px;
    }

    .zbook-shopping-page .zbook-item-details {
        margin-bottom: 10px;
        padding-top: 8px;
    }

    /* Smaller continue button on mobile */
    .zbook-summary-continue-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 100px;
    }

    /* Optimize mobile scroll - ensure content area is visible */
    .zbook-shopping-page {
        padding-bottom: 100px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .zbook-shopping-header {
        padding: 15px 20px;
    }

    .zbook-shopping-header h2 {
        font-size: 18px;
    }

    .zbook-summary-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .zbook-summary-bar > div {
        flex-direction: column;
        padding: 10px 12px !important;
        gap: 8px !important;
    }

    .zbook-summary-left,
    .zbook-summary-center {
        text-align: center;
        min-width: auto;
    }

    .zbook-summary-continue-btn {
        width: auto;
    }

    .zbook-group-modal {
        padding: 25px 15px;
        width: 95%;
        max-width: 400px;
    }

    .zbook-group-modal h2 {
        font-size: 20px;
    }

    .zbook-group-options {
        flex-direction: column;
        gap: 15px;
    }

    .zbook-group-option {
        max-width: 100%;
        padding: 20px;
    }

    .zbook-group-option-title,
    .zbook-group-option-title-sub {
        font-size: 20px;
    }

    .zbook-group-option-icon {
        font-size: 36px;
    }

    .zbook-progress-steps {
        gap: 0;
        justify-content: space-between;
    }

    .zbook-progress-step {
        padding: 0;
        max-width: none;
        flex: 1;
    }

    .zbook-progress-step-label {
        font-size: 10px;
    }

    .zbook-progress-step:not(:last-child)::after {
        width: 100%;
        right: -50%;
        left: 50%;
        height: 2px;
        top: 15px;
    }

    .zbook-guest-item {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .zbook-guest-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .zbook-assignment-mode-selector {
        flex-direction: column;
    }

    .zbook-group-action-buttons {
        flex-direction: column;
    }

    .zbook-group-checkout-service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    /* Confirm page mobile layout */
    .zbook-group-checkout-guest-contact {
        flex-direction: column;
        gap: 12px;
    }

    .zbook-group-checkout-guest-contact-item {
        width: 100%;
    }

    .zbook-group-checkout-guest-contact-phone,
    .zbook-group-checkout-guest-contact-name {
        width: 100%;
        box-sizing: border-box;
    }

    .zbook-group-checkout-contact-panel {
        padding: 16px;
    }

    .zbook-group-checkout-summary-panel {
        padding: 16px;
        margin-top: 16px;
    }

    .zbook-group-contact-form-input {
        font-size: 16px;
    }

    .zbook-group-checkout-total-value {
        font-size: 20px;
    }

    .zbook-group-action-btn {
        padding: 14px;
        font-size: 15px;
    }

    /* Guest list mobile layout */
    .zbook-guest-list-container {
        padding: 0 12px;
    }

    .zbook-guest-item {
        padding: 16px;
    }

    .zbook-guest-info {
        width: 100%;
        gap: 12px;
    }

    .zbook-guest-avatar {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .zbook-guest-name {
        font-size: 16px;
    }

    .zbook-guest-options-btn {
        width: 100%;
        padding: 12px 20px;
        text-align: center;
    }

    /* Add guests page */
    .zbook-add-guest-btn {
        padding: 14px;
        font-size: 15px;
    }

    .zbook-guest-summary-bar {
        flex-wrap: wrap;
        padding: 14px;
        gap: 10px;
    }

    .zbook-guest-summary-item {
        flex: 1;
        min-width: 80px;
    }

    .zbook-guest-continue-btn {
        width: 100%;
        padding: 16px 40px;
        font-size: 16px;
    }

    /* Technician assignment mobile layout */
    .zbook-assignment-mode-option {
        min-height: auto;
        padding: 25px 20px;
    }

    .zbook-assignment-mode-option-icon {
        font-size: 40px;
    }

    .zbook-assignment-mode-option-title {
        font-size: 18px;
    }

    .zbook-assignment-mode-option-btn {
        opacity: 1;
        transform: translateY(0);
    }

    /* Technician config page */
    .zbook-technician-config-service {
        flex-direction: column;
        gap: 15px;
        padding: 16px;
    }

    .zbook-technician-config-service-left,
    .zbook-technician-config-service-center,
    .zbook-technician-config-service-right {
        width: 100%;
        text-align: left;
        padding: 0;
    }

    .zbook-technician-config-service-center {
        padding: 10px 0;
        border-top: 1px solid #3a3a3a;
        border-bottom: 1px solid #3a3a3a;
    }

    .zbook-technician-config-change-btn,
    .zbook-technician-config-no-preference-btn,
    .zbook-technician-config-change-time-btn {
        padding: 10px 16px;
        font-size: 12px;
        width: 100%;
        text-align: center;
    }

    .zbook-technician-config-continue-btn {
        width: 100%;
        padding: 14px 30px;
        font-size: 16px;
    }

    /* Progress bar mobile */
    .zbook-progress-steps {
        gap: 0;
        justify-content: space-between;
    }

    .zbook-progress-step {
        padding: 0;
        max-width: none;
        flex: 1;
    }

    .zbook-progress-step-dot {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .zbook-progress-step:not(:last-child)::after {
        width: 100%;
        right: -50%;
        left: 50%;
        height: 2px;
        top: 13px;
    }

    .zbook-progress-step-label {
        font-size: 9px;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }

    /* Group booking banner */
    .zbook-group-banner {
        font-size: 14px;
        padding: 12px 15px;
    }

    .zbook-guest-page-title {
        font-size: 22px;
    }

    /* Time slots mobile */
    .zbook-timeslot-popup {
        width: 95%;
        max-height: 85vh;
    }

    .zbook-timeslot-popup-body {
        padding: 15px;
    }

    /* Total section mobile */
    .zbook-group-checkout-total-section {
        padding: 15px 0;
    }

    .zbook-group-checkout-total-label {
        font-size: 14px;
    }

    .zbook-group-checkout-total-value {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    /* Mobile further compact: category items align with non-blackgold theme */
    .zbook-shopping-page .zbook-category-item img {
        width: 32px;
        height: 32px;
    }
    .zbook-shopping-page .zbook-category-item:not(:has(img))::before {
        width: 32px;
        height: 32px;
    }
    .zbook-shopping-page .zbook-category-item span {
        font-size: 12px;
    }

    /* Further optimize item cards for small screens */
    .zbook-shopping-page #zbook-items-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .zbook-shopping-page .zbook-item-card {
        padding: 12px;
    }

    .zbook-shopping-page .zbook-item-name {
        font-size: 14px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .zbook-shopping-page .zbook-item-details {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    /* Even smaller continue button for very small screens */
    .zbook-summary-continue-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 90px;
    }

    /* Optimize summary bar for small screens */
    .zbook-summary-bar > div {
        padding: 8px 10px !important;
        gap: 6px !important;
    }

    .zbook-summary-left #zbook-summary-total {
        font-size: 16px;
    }

    .zbook-summary-center #zbook-summary-total-duration {
        font-size: 15px;
    }

    .zbook-group-checkout-guest-contact {
        gap: 10px;
    }

    .zbook-group-checkout-contact-panel {
        padding: 14px;
        border-radius: 10px;
    }

    .zbook-group-checkout-summary-panel {
        padding: 14px;
        border-radius: 10px;
        margin-top: 14px;
    }

    .zbook-group-checkout-panel-title {
        font-size: 15px;
    }

    .zbook-group-contact-form-input {
        font-size: 15px;
        padding: 10px 12px;
    }

    .zbook-group-checkout-guest-contact-phone,
    .zbook-group-checkout-guest-contact-name {
        padding: 10px 12px;
        font-size: 14px;
    }

    .zbook-group-action-btn {
        padding: 12px;
        font-size: 14px;
    }

    .zbook-guest-item {
        padding: 14px;
    }

    .zbook-guest-name {
        font-size: 15px;
    }

    .zbook-guest-services,
    .zbook-guest-price {
        font-size: 13px;
    }

    .zbook-progress-steps {
        gap: 0;
        justify-content: space-between;
    }

    .zbook-progress-step {
        padding: 0;
        max-width: none;
        flex: 1;
    }

    .zbook-progress-step-dot {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .zbook-progress-step-label {
        font-size: 8px;
    }

    .zbook-progress-step:not(:last-child)::after {
        width: 100%;
        right: -50%;
        left: 50%;
        height: 2px;
        top: 12px;
    }

    .zbook-assignment-mode-option {
        padding: 20px 15px;
    }

    .zbook-assignment-mode-option-icon {
        font-size: 36px;
    }

    .zbook-assignment-mode-option-title {
        font-size: 16px;
    }

    .zbook-assignment-mode-option-desc {
        font-size: 13px;
    }

    .zbook-assignment-mode-option-subdesc {
        font-size: 12px;
    }

    .zbook-group-assignment-title {
        font-size: 14px;
        padding: 10px 15px;
    }

    .zbook-technician-config-guest-header {
        padding: 14px 16px;
        font-size: 15px;
    }

    .zbook-technician-config-guest-body {
        padding: 14px;
    }

    .zbook-technician-config-service {
        padding: 14px;
    }

    .zbook-technician-config-service-name {
        font-size: 14px;
    }

    .zbook-technician-config-technician-value,
    .zbook-technician-config-time-value {
        font-size: 14px;
    }
}