/* Sitter Registration Styles */

.sitter-step-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.sitter-step-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sitter-step-header {
    margin-bottom: 2rem;
    text-align: center;
}

.sitter-step-indicator {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.sitter-step-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

/* Sitter profile (edit mode) – sekundárna navigácia nad obsahovou kartou */
.sitter-step-wrapper.petbnb-sitter-profile {
    max-width: 660px;
    padding-top: 0;
}

.sitter-step-wrapper.petbnb-customer-profile {
    padding-top: 0;
}

.petbnb-sitter-profile .petbnb-sitter-profile-header .sitter-step-header {
    margin-bottom: 1rem;
    text-align: left;
}

.petbnb-sitter-profile .petbnb-sitter-profile-nav-wrap {
    /*margin-bottom: 1.25rem;*/
}

.petbnb-sitter-profile .petbnb-sitter-profile-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0.35rem 0;
    border-bottom: 1px solid #e5e7eb;
    scrollbar-width: thin;
}

.petbnb-sitter-profile .petbnb-sitter-profile-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0.55rem 0.85rem;
    border-radius: 8px 8px 0 0;
    border-bottom: 2px solid transparent;
    color: #4b5563;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.petbnb-sitter-profile .petbnb-sitter-profile-tab:hover,
.petbnb-sitter-profile .petbnb-sitter-profile-tab:focus {
    color: #1f2937;
    background-color: #f9fafb;
}

.petbnb-sitter-profile .petbnb-sitter-profile-tab.is-active {
    color: #111827;
    background-color: #f3f4f6;
    border-bottom-color: #111827;
}

.petbnb-sitter-profile .petbnb-sitter-profile-panel > :first-child {
    margin-top: 0;
}

.petbnb-registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Riadok vo formulári (p + div.petbnb-field) */
.petbnb-registration-form p,
.petbnb-registration-form .petbnb-field {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.petbnb-registration-form label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
}

.petbnb-registration-form label .required {
    color: #e74c3c;
}

/* Základný vzhľad inputov (bez !important) */
.petbnb-registration-form input[type="text"],
.petbnb-registration-form input[type="email"],
.petbnb-registration-form input[type="password"],
.petbnb-registration-form input[type="tel"],
.petbnb-registration-form input[type="number"],
.petbnb-registration-form select {
    box-sizing: border-box;
    /*height: 48px;*/
    padding: 0 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    background-color: #fff;
}

.petbnb-registration-form input[type="text"]:focus,
.petbnb-registration-form input[type="email"]:focus,
.petbnb-registration-form input[type="password"]:focus,
.petbnb-registration-form input[type="tel"]:focus,
.petbnb-registration-form input[type="number"]:focus,
.petbnb-registration-form select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.petbnb-registration-form .petbnb-password-input-wrap {
    position: relative;
    width: 100%;
}

.sitter-step-card .petbnb-registration-form .petbnb-password-input-wrap input[type="password"],
.sitter-step-card .petbnb-registration-form .petbnb-password-input-wrap input[type="text"] {
    padding-right: 2.75rem !important;
}

.petbnb-registration-form .petbnb-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #4b5563;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.petbnb-registration-form .petbnb-password-toggle[hidden] {
    display: none !important;
}

.petbnb-registration-form .petbnb-password-field {
    gap: 0.35rem;
}

.petbnb-registration-form .petbnb-password-help {
    margin-top: 0.1rem;
}

/* Hard override – všetky inputy v wizard karte majú jednotnú výšku a radius
   (prebijeme globálne štýly témy, ktoré idú cez ID/typy) */
.sitter-step-card .petbnb-registration-form input[type="text"],
.sitter-step-card .petbnb-registration-form input[type="email"],
.sitter-step-card .petbnb-registration-form input[type="password"],
.sitter-step-card .petbnb-registration-form input[type="tel"],
.sitter-step-card .petbnb-registration-form input[type="number"],
.sitter-step-card .petbnb-registration-form select {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    box-sizing: border-box !important;
    /*height: 48px !important;*/
    padding: 0 1rem !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
}

.sitter-step-card .petbnb-registration-form input[type="number"] {
    border-radius: 8px 0 0 8px !important;
}

.sitter-step-card .petbnb-registration-form input[type="number"] {
    text-align: right;
    padding: 0 4px 0 8px !important;
}

.petbnb-registration-form small {
    font-size: 0.8125rem;
    color: #666;
    margin-top: 0.25rem;
}

.petbnb-errors {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.petbnb-errors ul {
    margin: 0;
    padding-left: 1.5rem;
}

.petbnb-errors li {
    color: #c33;
    margin-bottom: 0.5rem;
}

.petbnb-errors li:last-child {
    margin-bottom: 0;
}

.petbnb-success {
    background: #edf9f0;
    border: 1px solid #b7e4c0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #1f6b34;
}

/* Buttons */

.petbnb-btn {
    display: inline-block;
    box-sizing: border-box;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s, opacity 0.15s;
}

.petbnb-btn-primary {
    width: 100%;
    height: 48px;
    background-color: #0073aa;
    color: #ffffff;
}

.petbnb-btn-primary:hover {
    background-color: #005a87;
}

.petbnb-btn-primary:active {
    transform: translateY(1px);
}

/* Secondary button (used in step 4 upload) */
.petbnb-btn-secondary {
    width: 100%;
    height: 48px;
    background-color: #f3f4f6;
    color: #111827;
    border: 1px solid #d1d5db;
}

.petbnb-btn-secondary:hover {
    background-color: #e5e7eb;
}

/* Disabled state – užitočné pre budúci JS/AJAX */
.petbnb-btn[disabled],
.petbnb-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Telefón – input + nalepený button v jednom riadku */
.sitter-step-card .petbnb-phone-field .petbnb-phone-row {
    display: flex;
    align-items: stretch;
}

/* Input v telefónnom riadku – ľavá časť "pill" */
.sitter-step-card .petbnb-phone-row input[type="tel"] {
    flex: 1 1 auto;
    /* prebijeme hard override radius na "ľavú" polovicu */
    border-radius: 8px 0 0 8px !important;
    box-sizing: border-box;
}

/* Verify button – pravá časť "pill" nalepená na input */
.sitter-step-card .petbnb-phone-verify-btn {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 1.25rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background-color: #f3f4f6;
    color: #111827;
    border: 1px solid #d1d5db;
    cursor: default;
    margin: 0;
}

.sitter-step-card .petbnb-phone-verify-btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Jemné doladenie na menších displejoch */
@media (max-width: 480px) {
    .sitter-step-card {
        padding: 1.5rem 1.25rem;
    }

    .sitter-step-title {
        font-size: 1.5rem;
    }
}

/* Trochu viac „airbnb“ spacingu na väčších displejoch */
@media (min-width: 768px) {
    .sitter-step-wrapper {
        padding: 3rem 1rem;
    }
}

/* ----- STEP 2 – nadpis + podnadpis ----- */

.petbnb-step-2 .sitter-step-subtitle {
    margin: 0.5rem auto 0;
    max-width: 36rem;
    font-size: 0.95rem;
    color: #555;
}

.petbnb-step2-address-group {
    display: grid;
    row-gap: 1rem;
}

.petbnb-step2-address-group .petbnb-step2-address-row {
    margin: 0;
}

.petbnb-step2-address-group .petbnb-field-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.petbnb-step2-address-group .petbnb-field > label {
    margin: 0 0 0.35rem;
}

.petbnb-step2-map-button {
    margin-bottom: 1rem;
}

.petbnb-field-group.petbnb-step2-billing {
    background: #f6f7f8;
    border: 1px solid #e3e5e8;
    border-radius: 12px;
    padding: 16px;
}

.petbnb-step2-billing .petbnb-step2-billing-title {
    margin-bottom: 0.85rem;
}

.petbnb-step2-billing-controls {
    display: grid;
    row-gap: 0.5rem;
}

.petbnb-step2-billing-toggle {
    margin: 0;
}

.petbnb-step2-billing-toggle > label {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    line-height: 1.35;
    font-weight: 500;
}

.petbnb-step2-billing-toggle input[type="checkbox"] {
    margin-top: 0.15rem;
    flex: 0 0 auto;
}

.petbnb-step2-billing-fields {
    display: grid;
    row-gap: 0.85rem;
    margin-top: 0.85rem;
}

.petbnb-step2-billing-fields[hidden],
.petbnb-step2-billing-address[hidden] {
    display: none !important;
}

.petbnb-step2-billing-fields > * + * {
    margin-top: 0;
}

.petbnb-step2-billing-address {
    margin-top: 0.25rem;
}

.petbnb-step2-billing-address > * + * {
    margin-top: 0.85rem;
}

.petbnb-step2-billing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.petbnb-step2-billing-grid .petbnb-field {
    margin: 0;
}

.petbnb-step2-billing-address > .petbnb-step2-billing-field-full {
    margin: 0;
}

.petbnb-step2-billing-grid .petbnb-step2-billing-field-full {
    grid-column: 1 / -1;
}

.petbnb-step2-billing-spacer {
    min-height: 1px;
}

.petbnb-step2-billing-grid .petbnb-field > label {
    margin: 0 0 0.35rem;
}

/* Sekcie vo formulári (label + pomocný text) */

.petbnb-section-label {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.petbnb-label-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.petbnb-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background-color: #e5e7eb;
    color: #374151;
    font-size: 0.75rem;
    font-weight: 600;
}

.petbnb-section-help {
    font-size: 0.875rem;
    color: #666;
    margin: 0 0 0.75rem;
}

.petbnb-section-help {
    margin-bottom: 0.75rem;
}

/* ----- PET TYPES – Psy / Mačky toggle ----- */

.petbnb-pet-types {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pet-type-toggle {
    position: relative;
    cursor: pointer;
    flex: 1 1 140px;
}

.pet-type-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pet-type-toggle span {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

/* Aktívny stav */
.pet-type-toggle input:checked + span {
    background-color: #0f766e;
    border-color: #0f766e;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

/* ----- SERVICES LIST ----- */

.petbnb-services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.petbnb-service-card {
    display: grid;
    grid-template-columns: auto 1fr 140px;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.petbnb-service-icon span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background-color: #ecfdf5;
    font-size: 1.25rem;
}

.petbnb-service-title {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.petbnb-service-description {
    margin: 0;
    font-size: 0.875rem;
    color: #555;
}

/* Price column */

.petbnb-service-price {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.petbnb-service-price__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.petbnb-service-price__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.petbnb-service-price__toggle {
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.petbnb-input-suffix {
    display: flex;
    align-items: stretch;
}

.petbnb-input-suffix .petbnb-service-price__input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.petbnb-input-suffix__addon {
    display: inline-flex;
    align-items: center;
    padding: 0 0.75rem;
    border: 1px solid #d1d5db;
    border-left: 0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    background: #f9fafb;
    color: #6b7280;
    font-weight: 600;
    line-height: 1;
}


/* Simple custom switch */
.petbnb-switch {
    position: relative;
    display: inline-block;
    /*width: 44px;*/
    /*height: 24px;*/
    width: 40px;
    height: 20px;
}

.petbnb-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.petbnb-switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #d1d5db;
    border-radius: 999px;
    transition: background-color 0.2s;
}

.petbnb-switch-slider::before {
    content: "";
    position: absolute;
    /*height: 18px;*/
    /*width: 18px;*/
    height: 14px;
    width: 14px;
    left: 4px;
    top: 3px;
    background-color: #ffffff;
    border-radius: 999px;
    transition: transform 0.2s;
}

/* Checked state */
.petbnb-switch input:checked + .petbnb-switch-slider {
    background-color: #0f766e;
}

.petbnb-switch input:checked + .petbnb-switch-slider::before {
    transform: translateX(18px);
}

/* Responsívne jemné úpravy */
@media (max-width: 640px) {
    .petbnb-service-card {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .petbnb-service-price {
        width: 100%;
    }
}

/* STEP 3 – titulok */

.petbnb-step-3 .sitter-step-subtitle {
    margin: 0.5rem auto 0;
    max-width: 40rem;
    font-size: 0.95rem;
    color: #555;
}

/* Fieldset grupping */

.petbnb-field-group {
    border: 0;
    padding: 0;
    margin: 0 0 1.75rem;
}

.petbnb-field-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Riadok label + input v jednom riadku (Step 3 inputs: max_pets, visit_distance_km, visit_max_pets) */
.petbnb-registration-form .petbnb-field.petbnb-field-row {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

/* STEP 3: medzera medzi help textom a pill buttonmi */
.petbnb-step-3 .petbnb-section-help + .petbnb-choice-row {
    margin-top: 0.75rem;
}

/* STEP 3: medzera medzi legendom a pill buttonmi (fieldsets bez help textu) */
.petbnb-step-3 .petbnb-field-group > .petbnb-section-label + .petbnb-choice-row {
    margin-top: 0.75rem;
}

/* STEP 3: medzera medzi help textom a pill buttonmi (fieldsets s help textom) */
.petbnb-step-3 .petbnb-section-help + .petbnb-choice-row {
    margin-top: 0.75rem;
}

/* Step 3 – inline row: input hneď za labelom (nie na pravom okraji) */
.petbnb-registration-form .petbnb-field.petbnb-field-row.petbnb-field-row--inline {
    justify-content: flex-start;
}

.petbnb-registration-form .petbnb-field.petbnb-field-row.petbnb-field-row--inline > label {
    flex: 0 0 auto;
    margin: 0;
}

.petbnb-step-3 .petbnb-field.petbnb-field-row.petbnb-field-row--inline input[type="number"] {
    margin-left: 12px;
}


.petbnb-registration-form .petbnb-field.petbnb-field-row > label {
    flex: 1 1 auto;
    margin: 0;
}

/* STEP 3 – number input v riadku: riešime už len layout (šírka/align), vzhľad rieši base input štýl vyššie */
.petbnb-step-3 .petbnb-field.petbnb-field-row input[type="number"] {
    flex: 0 0 auto;
    width: 120px;
    max-width: 120px;
    text-align: right;
}

/* Jemne posuň "kompaktný" riadok pod legend (vizuálne 2. riadok) */
.petbnb-step-3 .petbnb-field-row--compact {
    margin-top: 0.25rem;
}

.petbnb-step-3 .petbnb-field-row--compact > label {
    line-height: 1.2;
}

.petbnb-field-question {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

/* Generic choice pills (radio/checkbox v jednom štýle) */

.petbnb-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.petbnb-step-5 .petbnb-choice-row {
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.petbnb-step-5 .petbnb-choice-row--cols-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    overflow-x: visible;
}

.petbnb-step-5 .petbnb-choice-row--cols-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    overflow-x: visible;
}

.petbnb-choice-pill {
    position: relative;
    cursor: pointer;
    flex: 0 0 auto;
}

.petbnb-choice-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.petbnb-choice-pill span {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

/* Checked state pre radio aj checkbox */
.petbnb-choice-pill input:checked + span {
    background-color: #0f766e;
    border-color: #0f766e;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

/* Card-style choices (step 5) */

.petbnb-choice-card {
    position: relative;
    cursor: pointer;
    flex: 1 1 160px;
}

.petbnb-step-5 .petbnb-choice-card {
    display: flex;
    align-self: stretch;
    flex: 1 1 0;
    min-width: 140px;
}

.petbnb-step-5 .petbnb-choice-row--cols-4 .petbnb-choice-card {
    min-width: 0;
}

.petbnb-step-5 .petbnb-choice-row--cols-3 .petbnb-choice-card {
    min-width: 0;
}

.petbnb-choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.petbnb-choice-card > span {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.petbnb-step-5 .petbnb-choice-card > span {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    height: 100%;
    white-space: normal;
    line-height: 1.3;
}

.petbnb-choice-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    height: 100%;
}

.petbnb-choice-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.15;
}

.petbnb-choice-meta {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.15;
    opacity: 0.9;
}

.petbnb-choice-row--cols-4 .petbnb-choice-label {
    min-width: 0;
}

.petbnb-choice-row--cols-4 .petbnb-choice-title,
.petbnb-choice-row--cols-4 .petbnb-choice-meta {
    overflow-wrap: anywhere;
}

.petbnb-choice-row--cols-3 .petbnb-choice-label {
    min-width: 0;
}

.petbnb-choice-row--cols-3 .petbnb-choice-title,
.petbnb-choice-row--cols-3 .petbnb-choice-meta {
    overflow-wrap: anywhere;
}

.petbnb-choice-card input:checked + span {
    background-color: #0f766e;
    border-color: #0f766e;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.petbnb-select-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.petbnb-select-row select {
    flex: 0 0 120px;
    width: auto;
}

.petbnb-select-unit {
    font-size: 0.9rem;
    color: #4b5563;
}

.petbnb-experience-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.petbnb-experience-hint {
    font-size: 0.9rem;
    color: #4b5563;
}

.petbnb-experience-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.petbnb-experience-control select {
    width: 140px;
    max-width: 100%;
}

/* Mobilné doladenie */

@media (max-width: 640px) {
    .petbnb-step2-address-group .petbnb-field-inline,
    .petbnb-step2-billing-grid {
        grid-template-columns: 1fr;
    }

    .petbnb-field-inline {
        flex-direction: column;
    }

    .petbnb-registration-form .petbnb-field.petbnb-field-row {
        flex-direction: column;
        align-items: stretch;
    }

    .petbnb-experience-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .petbnb-experience-control {
        width: 100%;
    }

    .petbnb-experience-control select {
        width: 100%;
    }

    .petbnb-step-3 .petbnb-field.petbnb-field-row input[type="number"] {
        width: 100%;
        max-width: 100%;
        text-align: left;
    }
}

/* STEP 6 – success screen */

.petbnb-step-6 {
    text-align: center;
}

.sitter-step-card.petbnb-step-6 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

/* Success ikona – zelený kruh s checkom */
.petbnb-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 999px;
    background-color: #ecfdf3;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.petbnb-step-6 .sitter-step-title {
    margin-bottom: 0.5rem;
}

.petbnb-step-6 .sitter-step-subtitle {
    margin: 0 auto 1.5rem;
    max-width: 32rem;
    font-size: 0.95rem;
    color: #555;
}

/* Button centrovaný, na mobile full width, na väčších max 280px */
.petbnb-step-6 .petbnb-success-btn {
    display: block;
    max-width: 280px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .petbnb-step-6 .petbnb-success-btn {
        max-width: 100%;
    }
}

/* STEP 4 – upload UI */
.petbnb-upload {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
}

.petbnb-upload-preview {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background-color: #fafafa;
    overflow: hidden;
    flex: 0 0 auto;
}

.petbnb-upload-preview-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.petbnb-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.petbnb-thumb-upload-overlay {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: auto;
    opacity: 1;
}

.petbnb-gallery-thumb-wrap .petbnb-thumb-upload-overlay {
    border-radius: 10px;
}

.petbnb-thumb-upload-overlay.is-hidden {
    opacity: 0;
    transition: opacity .22s ease;
}

.petbnb-thumb-upload-shade {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, .56);
    transform: translateY(0%);
    transition: transform .18s linear;
}

.petbnb-thumb-upload-percent {
    position: relative;
    z-index: 1;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

.petbnb-gallery-thumb-wrap-uploading .petbnb-gallery-thumb {
    pointer-events: none;
}

.petbnb-thumb-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 999px;
    background: #d97706;
    background-image: linear-gradient(135deg, #e61e4d 0%, #bc2e54 100%);
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    z-index: 3;
}

.petbnb-thumb-remove:hover {
    background: rgba(17, 24, 39, 0.96);
}

.petbnb-thumb-remove:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.petbnb-upload-actions {
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.petbnb-upload-input {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.petbnb-upload-help {
    font-size: 0.8125rem;
    color: #666;
}

.petbnb-upload-error {
    display: none;
    color: #c33;
    font-size: 0.875rem;
}

/* Step 2 – force gallery preview to show multiple thumbs */
.petbnb-step-2 .petbnb-upload-preview.petbnb-gallery-preview {
    display: grid !important;
    grid-template-columns: repeat(3, 56px) !important;
    grid-auto-rows: 56px !important;
    gap: 8px !important;

    /* override single-preview box sizing */
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.petbnb-step-2 .petbnb-upload-preview.petbnb-gallery-preview .petbnb-gallery-thumb {
    width: 56px !important;
    height: 56px !important;
    display: block !important;
}

.petbnb-step-2 .petbnb-upload-preview.petbnb-gallery-preview .petbnb-gallery-thumb-wrap {
    width: 56px !important;
    height: 56px !important;
    position: relative;
}

.petbnb-step-2 .petbnb-upload-preview.petbnb-gallery-preview img {
    width: 56px !important;
    height: 56px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    display: block !important;
}

/* show only first 6 thumbs */
.petbnb-step-2 .petbnb-upload-preview.petbnb-gallery-preview .petbnb-gallery-thumb-wrap:nth-child(n+7) {
    display: none !important;
}

.petbnb-gallery-hidden-links {
    display: none;
}

/* Mapa pri sitter registracii */
.petbnb-step2-map {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    background: #f2f2f2;
    overflow: hidden;
}

.petbnb-field-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}
.petbnb-field-error-msg {
    color: #dc2626;
    font-size: 13px;
    line-height: 1.35;
    margin-top: 6px;
}

.petbnb-radius-checker-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    max-height: 260px;
    overflow-y: auto;
    z-index: 999998;
}

.petbnb-radius-checker-suggest[hidden] {
    display: none !important;
}

.petbnb-radius-checker-suggest-item {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #f1f1f1;
    background: #fff;
    color: #333;
    text-align: left;
    cursor: pointer;
    padding: 10px 12px;
    font-size: 0.95rem;
    line-height: 1.35;
}

.petbnb-radius-checker-suggest-item:last-child {
    border-bottom: 0;
}

.petbnb-radius-checker-suggest-item:hover,
.petbnb-radius-checker-suggest-item:focus,
.petbnb-radius-checker-suggest-item.is-active {
    background: #f3f4f6;
    color: #111827;
    outline: none;
}

.petbnb-registration-form .petbnb-step2-radius-checker .petbnb-radius-checker-help,
.petbnb-registration-form .petbnb-step2-radius-checker #petbnb-radius-checker-error,
.petbnb-registration-form .petbnb-step2-radius-checker #petbnb-radius-checker-result {
    margin-top: 0;
}

/* Google Places dropdown nad témou */
.pac-container { z-index: 999999 !important; }

/* Step 4 */

.petbnb-step-4 .petbnb-field {
    margin-bottom: 1.5em;
}

/* Step 5 */

.petbnb-step-5 .petbnb-field {
    margin-bottom: 1.5em;
}

.petbnb-step-5 .petbnb-field-group {
    border: 0;
    padding: 0;
    margin: 0;
}
