.app-smartbooking-root {
    --sbf-accent: var(--Main-primary_color, #289deb);
    --sbf-accent-dark: color-mix(in srgb, var(--sbf-accent) 82%, black);
    --sbf-accent-light: color-mix(in srgb, var(--sbf-accent) 12%, white);
    --sbf-accent-lighter: color-mix(in srgb, var(--sbf-accent) 5%, white);
    --sbf-bg: #ffffff;
    --sbf-text: #14171d;
    --sbf-font: inherit;
    --sbf-muted: #6b7280;
    --sbf-muted-light: #9ca3af;
    --sbf-border: #e8eaee;
    --sbf-border-soft: #f1f2f5;
    --sbf-radius-sm: 12px;
    --sbf-radius-md: 16px;
    --sbf-radius-lg: 24px;
    --sbf-radius-xl: 28px;
    --sbf-shadow-sm: 0 2px 8px rgba(20, 24, 31, 0.04);
    --sbf-shadow: 0 8px 32px rgba(20, 24, 31, 0.07);
    --sbf-shadow-lg: 0 24px 64px rgba(20, 24, 31, 0.14);
    --sbf-ease: cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--sbf-font);
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


.app-smartbooking-root * {
    font-family: var(--sbf-font);
}

.app-smartbooking-root *,
.app-smartbooking-root *::before,
.app-smartbooking-root *::after {
    box-sizing: border-box;
}

.app-smartbooking-wrapper {
    color: var(--sbf-text);
    font-family: var(--sbf-font);
    background: var(--sbf-bg);
    animation: sbfFadeIn 0.4s ease;
}

@keyframes sbfFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.app-smartbooking-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: start;
}

.app-smartbooking-grid-solo {
    grid-template-columns: 1fr;
    max-width: 640px;
}

@media (max-width: 860px) {
    .app-smartbooking-grid {
        grid-template-columns: 1fr;
    }
}

.app-smartbooking-main-panel {
    min-width: 0;
}

.app-smartbooking-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 22px;
    color: var(--sbf-text);
}

.app-smartbooking-title-center {
    text-align: center;
}

.app-smartbooking-business-card {
    background: var(--sbf-bg);
    border: 1px solid var(--sbf-border);
    border-radius: var(--sbf-radius-lg);
    overflow: hidden;
    box-shadow: var(--sbf-shadow);
    animation: sbfFadeIn 0.5s ease 0.1s backwards;
}

.app-smartbooking-business-cover {
    height: 152px;
    background: linear-gradient(135deg, var(--sbf-accent), color-mix(in srgb, var(--sbf-accent) 55%, #4b3f7a)) center/cover no-repeat;
    position: relative;
}

.app-smartbooking-business-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.18) 100%);
}

.app-smartbooking-business-cover-empty {
    background: linear-gradient(135deg, var(--sbf-accent), color-mix(in srgb, var(--sbf-accent) 50%, #2a2a2a));
}

.app-smartbooking-business-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--sbf-bg) center/cover no-repeat;
    border: 4px solid var(--sbf-bg);
    margin: -44px 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sbf-muted-light);
    box-shadow: 0 6px 18px rgba(20, 24, 31, 0.16);
    position: relative;
    z-index: 2;
}

.app-smartbooking-business-body {
    padding: 18px 26px 26px;
}

.app-smartbooking-business-body h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.app-smartbooking-business-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--sbf-muted);
    margin: 0 0 4px;
}

.app-smartbooking-desc-toggle {
    background: none;
    border: none;
    color: var(--sbf-accent);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    padding: 0 0 16px;
    font-family: inherit;
}

.app-smartbooking-business-contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 16px;
    border-top: 1px solid var(--sbf-border-soft);
    padding-top: 16px;
}

.app-smartbooking-contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--sbf-text);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    padding: 8px 6px;
    border-radius: var(--sbf-radius-sm);
    margin: 0 -6px;
    transition: background 0.15s ease, color 0.15s ease;
}

a.app-smartbooking-contact-row:hover {
    background: var(--sbf-accent-lighter);
    color: var(--sbf-accent-dark);
}

.app-smartbooking-contact-row svg {
    color: var(--sbf-accent);
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 50%;
    background: var(--sbf-accent-light);
    box-sizing: border-box;
}

.app-smartbooking-service-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-smartbooking-svc-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border: 1.5px solid var(--sbf-border);
    border-radius: var(--sbf-radius-md);
    cursor: pointer;
    transition: all 0.25s var(--sbf-ease);
    background: var(--sbf-bg);
}

.app-smartbooking-svc-card:hover,
.app-smartbooking-svc-card:focus-visible {
    border-color: color-mix(in srgb, var(--sbf-accent) 45%, var(--sbf-border));
    box-shadow: var(--sbf-shadow-lg);
    transform: translateY(-3px);
    outline: none;
}

.app-smartbooking-svc-thumb {
    width: 68px;
    height: 68px;
    border-radius: var(--sbf-radius-sm);
    background: var(--sbf-accent-light) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sbf-accent);
    flex-shrink: 0;
}

.app-smartbooking-svc-info {
    flex: 1;
    min-width: 0;
}

.app-smartbooking-svc-info h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin: 0 0 3px;
}

.app-smartbooking-svc-info p {
    font-size: 13.5px;
    color: var(--sbf-muted);
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-smartbooking-svc-meta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.app-smartbooking-svc-price {
    font-weight: 800;
    font-size: 14.5px;
    color: var(--sbf-text);
}

.app-smartbooking-svc-duration {
    font-size: 12.5px;
    color: var(--sbf-muted);
    background: color-mix(in srgb, var(--sbf-text) 6%, transparent);
    padding: 3px 9px;
    border-radius: 999px;
}

.app-smartbooking-svc-arrow {
    color: var(--sbf-muted);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.app-smartbooking-svc-card:hover .app-smartbooking-svc-arrow {
    transform: translateX(3px);
    color: var(--sbf-accent);
}

.app-smartbooking-summary-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.app-smartbooking-summary-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: color-mix(in srgb, var(--sbf-text) 3%, transparent);
    border-radius: var(--sbf-radius-md);
}

.app-smartbooking-summary-thumb,
.app-smartbooking-summary-date-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--sbf-radius-sm);
    background: color-mix(in srgb, var(--sbf-accent) 10%, transparent) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sbf-accent);
    flex-shrink: 0;
}

.app-smartbooking-summary-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-smartbooking-summary-info strong {
    font-size: 14.5px;
    font-weight: 700;
}

.app-smartbooking-summary-info span {
    font-size: 12.5px;
    color: var(--sbf-muted);
}

.app-smartbooking-link-btn {
    background: none;
    border: none;
    color: var(--sbf-accent);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.app-smartbooking-link-btn:hover {
    text-decoration: underline;
}

.app-smartbooking-datetime-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.app-smartbooking-datetime-head .app-smartbooking-title {
    margin: 0;
}

.app-smartbooking-calendar-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--sbf-border);
    background: var(--sbf-bg);
    color: var(--sbf-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.app-smartbooking-calendar-btn:hover {
    border-color: var(--sbf-accent);
    color: var(--sbf-accent);
}

.app-smartbooking-day-strip-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.app-smartbooking-strip-nav {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--sbf-border);
    background: var(--sbf-bg);
    color: var(--sbf-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.app-smartbooking-strip-nav:hover {
    border-color: var(--sbf-accent);
    color: var(--sbf-accent);
}

.app-smartbooking-day-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    flex: 1;
    scrollbar-width: none;
    padding: 2px;
}

.app-smartbooking-day-strip::-webkit-scrollbar {
    display: none;
}

.app-smartbooking-day-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 60px;
    padding: 12px 8px;
    border-radius: var(--sbf-radius-sm);
    border: 1.5px solid var(--sbf-border);
    background: var(--sbf-bg);
    cursor: pointer;
    transition: all 0.2s var(--sbf-ease);
    flex-shrink: 0;
}

.app-smartbooking-day-chip:hover:not(.is-disabled):not(.is-selected) {
    border-color: color-mix(in srgb, var(--sbf-accent) 45%, var(--sbf-border));
    background: var(--sbf-accent-lighter);
    transform: translateY(-1px);
}

.app-smartbooking-day-chip.is-selected {
    background: var(--sbf-accent);
    border-color: var(--sbf-accent);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--sbf-accent) 35%, transparent);
    transform: translateY(-1px);
}

.app-smartbooking-day-chip.is-selected .app-smartbooking-day-chip-dow,
.app-smartbooking-day-chip.is-selected .app-smartbooking-day-chip-num {
    color: #fff;
}

.app-smartbooking-day-chip.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.app-smartbooking-day-chip-dow {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--sbf-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.app-smartbooking-day-chip-num {
    font-size: 18px;
    font-weight: 800;
}

.app-smartbooking-slots-area {
    min-height: 80px;
}

.app-smartbooking-slot-group {
    margin-bottom: 22px;
}

.app-smartbooking-slot-group:last-child {
    margin-bottom: 0;
}

.app-smartbooking-slot-group-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--sbf-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.app-smartbooking-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 10px;
}

.app-smartbooking-slot-btn {
    padding: 12px 8px;
    border-radius: var(--sbf-radius-sm);
    border: 1.5px solid var(--sbf-border);
    background: var(--sbf-bg);
    color: var(--sbf-text);
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    transition: all 0.2s var(--sbf-ease);
}

.app-smartbooking-slot-btn:hover:not(.is-disabled):not(.is-selected) {
    border-color: color-mix(in srgb, var(--sbf-accent) 45%, var(--sbf-border));
    background: var(--sbf-accent-lighter);
    color: var(--sbf-accent-dark);
}

.app-smartbooking-slot-btn.is-selected {
    background: var(--sbf-accent);
    border-color: var(--sbf-accent);
    color: #fff;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--sbf-accent) 35%, transparent);
}

.app-smartbooking-slot-btn.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

.app-smartbooking-no-slots {
    text-align: center;
    padding: 44px 20px;
    color: var(--sbf-muted);
    font-size: 14.5px;
}

.app-smartbooking-tooltip {
    position: fixed;
    transform: translate(-50%, -100%);
    background: #16191f;
    color: #fff;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    z-index: 100000;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    animation: sbfTooltipIn 0.12s ease;
}

@keyframes sbfTooltipIn {
    from { opacity: 0; transform: translate(-50%, -95%); }
    to { opacity: 1; transform: translate(-50%, -100%); }
}

.app-smartbooking-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app-smartbooking-field-group {
    margin-bottom: 14px;
}

.app-smartbooking-field-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 7px;
    color: var(--sbf-text);
}

.app-smartbooking-req-mark {
    color: var(--sbf-accent);
    margin-left: 2px;
}

.app-smartbooking-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--sbf-border);
    border-radius: var(--sbf-radius-sm);
    font-size: 15.5px;
    font-family: inherit;
    color: var(--sbf-text);
    background: var(--sbf-bg);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.app-smartbooking-input:focus {
    outline: none;
    border-color: var(--sbf-accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--sbf-accent) 14%, transparent);
}

textarea.app-smartbooking-input {
    resize: vertical;
    min-height: 64px;
}

.iti {
    width: 100%;
    display: block;
}

.iti input.app-smartbooking-input,
.iti input.app-smartbooking-phone-iti {
    width: 100%;
    padding-left: 90px;
    border: 1.5px solid var(--sbf-border);
    border-radius: var(--sbf-radius-sm);
    background: var(--sbf-bg);
    color: var(--sbf-text);
    font-family: inherit;
}
.iti .iti__selected-dial-code {
    font-size: 14px;
}
.iti--allow-dropdown input {
    margin-top: 0 !important;
    border-radius: 0;
    height: 46px;
}
.iti input.app-smartbooking-input:focus {
    outline: none;
    border-color: var(--sbf-accent);
    box-shadow: 0 0 0 4px var(--sbf-accent-light);
}

.iti__flag-container {
    display: flex;
    align-items: center;
}

.iti__selected-country {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--sbf-radius-sm) 0 0 var(--sbf-radius-sm);
    background: none;
}

.iti input.app-smartbooking-input, .iti input.app-smartbooking-phone-iti{height:50px}
.iti__selected-country-primary {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 50px;
}

.iti__arrow {
    border-top-color: var(--sbf-muted);
}

.iti__dropdown-content,
.iti__country-list {
    border-radius: var(--sbf-radius-md);
    box-shadow: var(--sbf-shadow-lg);
    border: 1px solid var(--sbf-border);
    z-index: 999999;
    margin-top: 6px;
    font-family: var(--sbf-font);
}

.iti__country {
    padding: 10px 14px;
    font-size: 14.5px;
}

.iti__country.iti__highlight {
    background: var(--sbf-accent-light);
}

.iti__search-input {
    border: 1.5px solid var(--sbf-border);
    border-radius: var(--sbf-radius-sm);
    padding: 10px 14px;
    font-family: inherit;
    font-size: 14.5px;
}

.iti__search-input:focus {
    outline: none;
    border-color: var(--sbf-accent);
}

.app-smartbooking-note-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--sbf-accent);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 0 16px;
    font-family: inherit;
    align-self: flex-start;
}

.app-smartbooking-note-area {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    margin-bottom: 0;
}

.app-smartbooking-note-area.is-visible {
    max-height: 140px;
    margin-bottom: 14px;
}

.app-smartbooking-privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--sbf-muted);
    cursor: pointer;
    margin: 6px 0 20px;
    line-height: 1.5;
}

.app-smartbooking-privacy-check input {
    display: none;
}

.app-smartbooking-checkbox-visual {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--sbf-border);
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 1px;
    position: relative;
    transition: all 0.15s ease;
}

.app-smartbooking-privacy-check input:checked + .app-smartbooking-checkbox-visual {
    background: var(--sbf-accent);
    border-color: var(--sbf-accent);
}

.app-smartbooking-privacy-check input:checked + .app-smartbooking-checkbox-visual::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.app-smartbooking-privacy-check a {
    color: var(--sbf-accent);
    font-weight: 600;
}

.app-smartbooking-form-error {
    color: #e64545;
    font-size: 13.5px;
    font-weight: 600;
    min-height: 18px;
    margin-bottom: 8px;
}

.app-smartbooking-submit-btn {
    width: 100%;
    padding: 18px;
    border-radius: 999px;
    border: none;
    background: var(--sbf-accent);
    color: #fff;
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s var(--sbf-ease);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--sbf-accent) 32%, transparent);
}

.app-smartbooking-submit-btn:hover {
    background: var(--sbf-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--sbf-accent) 40%, transparent);
}

.app-smartbooking-submit-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.app-smartbooking-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sbfSpin 0.7s linear infinite;
}

@keyframes sbfSpin {
    to { transform: rotate(360deg); }
}

.app-smartbooking-btn-secondary {
    padding: 15px 28px;
    border-radius: 999px;
    border: 1.5px solid var(--sbf-border);
    background: var(--sbf-bg);
    color: var(--sbf-text);
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

.app-smartbooking-btn-secondary:hover {
    border-color: var(--sbf-accent);
    color: var(--sbf-accent);
}

.app-smartbooking-step-success {
    text-align: center;
    padding: 24px 0;
    animation: sbfFadeIn 0.4s ease;
}

.app-smartbooking-success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.app-smartbooking-success-circle {
    stroke: var(--sbf-accent);
    stroke-width: 2.5;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    animation: sbfCircle 0.5s ease forwards;
}

.app-smartbooking-success-check {
    stroke: var(--sbf-accent);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: sbfCheck 0.35s ease 0.4s forwards;
}

@keyframes sbfCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes sbfCheck {
    to { stroke-dashoffset: 0; }
}

.app-smartbooking-success-msg {
    max-width: 380px;
    margin: 0 auto 28px;
    font-size: 15px;
    color: var(--sbf-muted);
    line-height: 1.6;
}

.app-smartbooking-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 18, 24, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.app-smartbooking-modal-overlay.is-visible {
    opacity: 1;
}

.app-smartbooking-modal-wrapper {
    background: var(--sbf-bg);
    border-radius: var(--sbf-radius-lg);
    box-shadow: var(--sbf-shadow-lg);
    max-width: 920px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-smartbooking-modal-overlay.is-visible .app-smartbooking-modal-wrapper {
    transform: translateY(0) scale(1);
}

.app-smartbooking-modal-x {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #000;
    color: #ffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.15s ease;
}

.app-smartbooking-calendar-popup .app-smartbooking-modal-x{
    top: -10px;
    right: -10px;
}
.app-smartbooking-modal-x:hover {
    background: var(--sbf-accent);
}

.app-smartbooking-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    background: var(--sbf-accent);
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--sbf-accent) 40%, transparent);
    transition: all 0.2s ease;
    font-family: var(--sbf-font);
}

.app-smartbooking-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--sbf-accent) 48%, transparent);
}

.app-smartbooking-trigger-floating {
    animation: sbfFloatIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sbfFloatIn {
    from { opacity: 0; transform: scale(0.8) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.app-smartbooking-calendar-overlay .app-smartbooking-calendar-popup {
    background: var(--sbf-bg);
    border-radius: var(--sbf-radius-lg);
    box-shadow: var(--sbf-shadow-lg);
    padding: 28px;
    width: 100%;
    max-width: 380px;
    position: relative;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-smartbooking-calendar-overlay.is-visible .app-smartbooking-calendar-popup {
    transform: translateY(0) scale(1);
}

.app-smartbooking-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.app-smartbooking-cal-head strong {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--sbf-text);
}

.app-smartbooking-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 8px;
}

.app-smartbooking-cal-weekdays span {
    text-align: center;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--sbf-muted);
    text-transform: uppercase;
}

.app-smartbooking-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.app-smartbooking-cal-cell {
    aspect-ratio: 1;
    border: none;
    background: none;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: var(--sbf-text);
    cursor: pointer;
    transition: all 0.15s ease;
}

.app-smartbooking-cal-cell:hover:not(.is-disabled) {
    background: color-mix(in srgb, var(--sbf-accent) 12%, transparent);
    color: var(--sbf-accent);
}

.app-smartbooking-cal-cell.is-selected {
    background: var(--sbf-accent);
    color: #fff;
}

.app-smartbooking-cal-cell.is-muted {
    color: var(--sbf-muted);
    opacity: 0.4;
}

.app-smartbooking-cal-cell.is-disabled {
    opacity: 0.25;
    cursor: not-allowed;
    text-decoration: line-through;
}

@media (max-width: 640px) {
    .app-smartbooking-modal-wrapper {
        padding: 22px;
        border-radius: var(--sbf-radius-md);
    }
    .app-smartbooking-title {
        font-size: 20px;
    }
    .app-smartbooking-slot-grid {
        grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    }
    .app-smartbooking-business-cover {
        height: 100px;
    }
    .app-smartbooking-business-logo {
        width: 60px;
        height: 60px;
        margin-top: -32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-smartbooking-root * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
.app-smartbooking-module-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 8px;
    color: var(--sbf-text);
}

.app-smartbooking-module-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--sbf-muted);
    margin: 0 0 22px;
}
.app-smartbooking-standalone {
    display: block;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 100px 24px;
}

@media (max-width: 640px) {
    .app-smartbooking-standalone {
        padding: 100px 16px;
    }
}
.app-smartbooking-module-title~.app-smartbooking-step .app-smartbooking-title {
    font-size:20px;
}
.app-smartbooking-field-group.has-error .app-smartbooking-input {
    border-color: #e64545;
}

.app-smartbooking-field-group.has-error .app-smartbooking-input:focus {
    border-color: var(--sbf-accent);
    box-shadow: 0 0 0 4px var(--sbf-accent-light);
}

.app-smartbooking-field-inline-error {
    display: block;
    color: #e64545;
    font-size: 12.5px;
    font-weight: 600;
    margin-top: 6px;
}
.app-smartbooking-slot-btn,
.app-smartbooking-day-chip {
    transform: scale(1);
}

.app-smartbooking-slot-btn:active:not(.is-disabled),
.app-smartbooking-day-chip:active:not(.is-disabled) {
    transform: scale(0.94);
    transition: transform 0.1s ease;
}

.app-smartbooking-slot-btn.is-selected,
.app-smartbooking-day-chip.is-selected {
    animation: sbfPop 0.25s var(--sbf-ease);
}

@keyframes sbfPop {
    0% { transform: scale(0.92); }
    60% { transform: scale(1.03); }
    100% { transform: scale(1); }
}
.app-smartbooking-svc-thumb-clickable {
    cursor: zoom-in;
    position: relative;
}

.app-smartbooking-svc-thumb-clickable::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(0, 0, 0, 0);
    transition: background 0.15s ease;
}

.app-smartbooking-svc-thumb-clickable:hover::after {
    background: rgba(0, 0, 0, 0.15);
}

.app-smartbooking-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 16, 0.92);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.app-smartbooking-lightbox.is-visible {
    opacity: 1;
}

.app-smartbooking-lightbox-viewport {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
}

.app-smartbooking-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    transition: transform 0.15s ease;
    user-select: none;
}

.app-smartbooking-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.app-smartbooking-lightbox-controls {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    border-radius: 999px;
    z-index: 2;
}

.app-smartbooking-lightbox-btn {
    min-width: 44px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.app-smartbooking-lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 640px) {
    .app-smartbooking-lightbox-img {
        max-width: 96vw;
        max-height: 80vh;
    }
}
.app-smartbooking-redirect-spinner { display: flex; justify-content: center; margin-top: 12px; }
.app-smartbooking-submit-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.app-smartbooking-submit-btn:disabled:hover { transform: none; }