/* ==========================================================================
   Vendor subdomain — shared stylesheet
   Space Grotesk throughout, matching johnokoye.com. Five pastel themes
   below are the same five used for the service cards on the main site's
   home page, reused here to color-code vendor categories — the same
   palette that introduces John's own services now organizes the vendors
   he's vouching for.
   ========================================================================== */

body {
    font-family: 'Space Grotesk', sans-serif;
}

:root {
    --vp-black: #000000;
    --vp-white: #ffffff;
    --vp-muted: #999999;
    --vp-border: 1px solid rgba(0, 0, 0, .09);
    --vp-shadow: 0 1.5px 0 0 rgba(114, 135, 156, .25);
    --vp-radius: .6rem;
}

/* Every page on this subdomain uses <div class="alert-container"><div
   class="alert alert-success"><p></p></div></div> as a toast, driven by
   VendorApp.toast() calling .fadeIn()/.fadeOut(). That only works as a
   floating, hidden-until-triggered message with this CSS — without it,
   the box sits inline in normal page flow, visible-but-empty by default,
   easy to miss entirely. This was defined on the main site's main.css
   but never carried over here. */
.alert {
    display: none;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .15);
}

.alert p {
    margin-bottom: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
}

.alert-container {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.copy_to_clipboard {
    cursor: pointer;
}

/* ---- Category themes -----------------------------------------------------
   Reused across the directory filter chips, vendor cards, and each
   profile page's category chip. */
.vp-theme-purple { background-color: #f7eeff; border-color: #d9b4ff; }
.vp-theme-pink   { background-color: #f6deed; border-color: #e6aed3; }
.vp-theme-peach  { background-color: #fff0eb; border-color: #ffe6de; }
.vp-theme-blue   { background-color: #e3edff; border-color: #c8dafe; }
.vp-theme-teal   { background-color: #D8F1F4; border-color: #9CDCE3; }

/* ==========================================================================
   Vendor profile page
   ========================================================================== */

.vp-banner {
    width: 100%;
    height: 360px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 0 0 var(--vp-radius) var(--vp-radius);
}

.vp-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, .35));
    border-radius: inherit;
}

.vp-banner .vp-banner-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    padding: 0 60px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.vp-banner .vp-identity {
    display: flex;
    align-items: center;
    gap: 20px;
}

.vp-logo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 4px solid var(--vp-white);
    background-color: #D3D3D3;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, .15);
    flex-shrink: 0;
}

.vp-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.vp-banner h1 {
    color: var(--vp-white);
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 6px;
}

.vp-category-chip {
    display: inline-block;
    font-size: .75em;
    font-weight: 600;
    padding: .3rem .9rem;
    border-radius: 2rem;
    color: var(--vp-black);
    border: 1px solid transparent;
}

.vp-banner .vp-socials {
    display: flex;
    gap: 16px;
}

.vp-banner .vp-socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: var(--vp-white);
    font-size: 16px;
    text-decoration: none;
}

/* Sticky in-page nav, replaces Bootstrap tabs — everything below is one
   scrollable page (like a marketplace listing), the pills just jump you
   to a section instead of hiding the rest. */
.vp-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: hsla(0, 0%, 100%, .92);
    backdrop-filter: blur(6px);
    border-bottom: var(--vp-border);
}

.vp-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0 60px;
    overflow-x: auto;
}

.vp-nav a {
    display: block;
    padding: 16px 18px;
    font-size: .85em;
    font-weight: 600;
    color: var(--vp-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.vp-nav a.active {
    color: var(--vp-black);
    border-bottom-color: var(--vp-black);
}

.vp-section {
    padding: 50px 60px;
    scroll-margin-top: 60px;
    border-bottom: var(--vp-border);
}

.vp-section:last-of-type {
    border-bottom: none;
}

.vp-section h2 {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 20px;
}

.vp-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.vp-description {
    font-size: .95em;
    line-height: 1.9;
    color: #222;
}

.vp-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.vp-meta-grid h3 {
    font-size: .8em;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--vp-muted);
    margin-bottom: 10px;
}

.vp-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vp-meta-list li {
    font-size: .9em;
    padding: 4px 0;
}

.vp-meta-list a {
    color: var(--vp-black);
    text-decoration: none;
}

.vp-social-row {
    display: flex;
    gap: 14px;
    margin: 20px 0 0;
}

.vp-social-row a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--vp-black);
    color: var(--vp-white);
    text-decoration: none;
}

.vp-map {
    margin-top: 24px;
    border-radius: var(--vp-radius);
    overflow: hidden;
    border: var(--vp-border);
}

.vp-map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

.vp-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.vp-photo-grid .vp-photo {
    width: 100%;
    height: 220px;
    border-radius: var(--vp-radius);
    overflow: hidden;
}

.vp-photo-grid .vp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vp-review-card {
    background: #F5F6F9;
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: var(--vp-radius);
    padding: 16px 18px;
    margin-bottom: 16px;
}

.vp-review-card h3 {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 4px;
}

.vp-review-card p.vp-review-text {
    font-size: .9em;
    color: #222;
    margin-bottom: 6px;
}

.vp-review-card p.vp-review-date {
    font-size: .8em;
    color: #555;
    margin-bottom: 0;
}

.vp-form-box {
    background: var(--vp-white);
    border: var(--vp-border);
    box-shadow: var(--vp-shadow);
    border-radius: var(--vp-radius);
    padding: 24px;
}

.vp-form-box h3 {
    font-size: 1.05em;
    font-weight: 700;
    margin-bottom: 16px;
}

.vp-form-box label {
    color: var(--vp-muted);
    font-size: .8em;
}

.vp-form-box input,
.vp-form-box select,
.vp-form-box textarea {
    height: calc(2em + .75rem + 2px);
}

.vp-form-box textarea {
    height: auto;
}

.vp-form-box input::placeholder,
.vp-form-box textarea::placeholder {
    color: #aeaeae;
}

.vp-form-box button.btn {
    background: var(--vp-black);
    color: var(--vp-white);
    height: calc(2.3em + .75rem + 2px);
}

/* ==========================================================================
   Marketplace directory (base route)
   ========================================================================== */

.mkt-hero {
    padding: 120px 60px 40px;
    text-align: center;
}

.mkt-hero h1 {
    font-size: 2.4em;
    font-weight: 800;
    margin-bottom: 8px;
}

.mkt-hero p {
    color: #555;
    font-size: .95em;
    margin-bottom: 28px;
}

.mkt-search-form {
    display: flex;
    max-width: 560px;
    margin: 0 auto 24px;
    gap: 8px;
}

.mkt-search-form input {
    flex: 1;
    border: var(--vp-border);
    border-radius: var(--vp-radius);
    padding: 0 20px;
    height: 52px;
    font-family: inherit;
    font-size: .9em;
}

.mkt-search-form button {
    border: none;
    background: var(--vp-black);
    color: var(--vp-white);
    border-radius: var(--vp-radius);
    padding: 0 28px;
    font-family: inherit;
    font-size: .9em;
    font-weight: 600;
}

.mkt-chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.mkt-chip {
    border: 1px solid rgba(0, 0, 0, .12);
    background: var(--vp-white);
    border-radius: 2rem;
    padding: .45rem 1.1rem;
    font-size: .8em;
    font-weight: 600;
    cursor: pointer;
    color: var(--vp-black);
}

.mkt-chip.active {
    background: var(--vp-black);
    color: var(--vp-white);
    border-color: var(--vp-black);
}

.mkt-toolbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mkt-toolbar .mkt-count {
    font-size: .85em;
    color: var(--vp-muted);
}

.mkt-toolbar select {
    border: var(--vp-border);
    border-radius: var(--vp-radius);
    padding: 8px 14px;
    font-family: inherit;
    font-size: .85em;
}

.mkt-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px 60px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.mkt-card {
    border: var(--vp-border);
    border-radius: var(--vp-radius);
    box-shadow: var(--vp-shadow);
    overflow: hidden;
    background: var(--vp-white);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform .2s ease;
}

.mkt-card:hover {
    transform: translateY(-3px);
}

.mkt-card-cover {
    width: 100%;
    height: 150px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.mkt-card-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--vp-white);
    position: absolute;
    left: 16px;
    bottom: -28px;
    background: #D3D3D3;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, .12);
}

.mkt-card-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.mkt-card-body {
    padding: 36px 16px 18px;
}

.mkt-card-body h2 {
    font-size: 1.05em;
    font-weight: 700;
    margin-bottom: 8px;
}

.mkt-card-body .vp-category-chip {
    margin-bottom: 10px;
}

.mkt-card-body p {
    font-size: .85em;
    color: #555;
    line-height: 1.5;
    margin-bottom: 12px;
}

.mkt-card-views {
    font-size: .78em;
    color: var(--vp-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.mkt-empty,
.mkt-load-more-row {
    text-align: center;
    padding: 40px 0;
}

.mkt-load-more-row button {
    border: 1px solid rgba(0, 0, 0, .12);
    background: var(--vp-white);
    border-radius: var(--vp-radius);
    padding: 10px 28px;
    font-family: inherit;
    font-size: .85em;
    font-weight: 600;
    cursor: pointer;
}

/* ==========================================================================
   Registration wizard
   ========================================================================== */

.data-step {
    display: none;
}

.data-vendor-form {
    width: 100%;
    height: 100vh;
    overflow: auto;
    background: #f2f2f2;
    padding: 20px;
}

.data-vendor-form .info-data {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(to top, rgba(20, 24, 31, .9), rgba(20, 25, 32, .9)), url('https://test.3malgroup.com/images/net-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    padding: 50px;
}

a:hover {
    text-decoration: none;
}
.ig-signup-card {
    width: 100%;
    /*height: 100vh;*/
    overflow: auto;
    overflow-x: hidden;
    scrollbar-color: rgba(0, 0, 0, .1) #f2f2f2;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.ig-signup-card .data-step-tabs,
.ig-signup-card form {
    width: 100%;
}

.data-step h2 {
    color: #14181f;
}

.data-step label {
    color: #888;
    font-size: .8em;
}

.ig-signup-card button.btn {
    background: #14181f;
    color: #fff;
    height: calc(2.2em + .75rem + 2px);
}

.ig-signup-card input,
.ig-signup-card select {
    height: calc(2.2em + .75rem + 2px);
}

.ig-signup-card input::placeholder,
.ig-signup-card textarea::placeholder {
    color: #ccc;
    font-size: 14px;
}

.ig-signup-card .input-group {
    gap: 5px;
}

.ig-signup-card .input-group:not(.has-validation) > .form-control:not(:last-child) {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

.ig-signup-card .input-group > .input-group-prepend:not(:first-child) > .input-group-text {
    border-radius: .25rem;
}

.ig-signup-card .input-group > .input-group-prepend:not(:first-child) > .input-group-text.add-action {
    background: #14181f;
}

.ig-signup-card .input-group > .input-group-prepend:not(:first-child) > .input-group-text.remove-action {
    background: #dc3545;
    padding: 0 .35rem;
}

.ig-signup-card .input-group > .input-group-prepend:not(:first-child) > .input-group-text.add-action .btn i,
.ig-signup-card .input-group > .input-group-prepend:not(:first-child) > .input-group-text.remove-action .btn i {
    color: #fff;
    font-size: 15px;
}

.password-hint {
    font-size: .75em;
    color: #aeaeae;
    margin-top: 4px;
    margin-bottom: 0;
}

.show-cover-photo {
    width: 100%;
    height: 250px;
    background-color: #f2f2f2;
    position: relative;
    border-radius: .25rem;
}

.show-cover-photo label.cover_photo_label {
    margin-bottom: 0;
    background: #fff;
    color: #000;
    padding: 10px;
    border-radius: .25rem;
    bottom: 20px;
    right: 20px;
    position: absolute;
    font-size: .85em;
    box-shadow: 0 0 3px 2px rgba(0, 0, 0, .06);
}

.show-cover-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: .25rem;
}

.show-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    background-color: #D3D3D3;
    position: absolute;
    bottom: -70px;
    left: 50px;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, .09);
}

.show-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.show-logo label {
    margin-bottom: 0;
}

.show-logo span.logo-label {
    background: #B2BEB5;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.show-logo span.logo-label i {
    color: #000;
}

.data-profile-photo {
    width: 100%;
    height: 400px;
    position: relative;
}

.ig-signup-card .data-business-photo .img-group {
    border: 1px dashed #aeaeae;
    background-color: #f2f2f2;
    border-radius: 5px;
    padding: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.ig-signup-card .data-business-photo .img-group #select-images-button {
    border: none;
    background-color: transparent;
    color: #000;
    font-size: .8em;
}

.ig-signup-card .data-business-photo .show_images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ig-signup-card .data-business-photo .image-container {
    width: 100px;
    height: 100px;
    position: relative;
    display: inline-block;
}

.ig-signup-card .data-business-photo .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.ig-signup-card .data-business-photo .image-container .remove-image {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.ig-signup-card .data-business-photo .image-container .remove-image i {
    font-size: 10px;
}

.data-vendor-form .info-data .data-info-box-1 {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.data-vendor-form .info-data .data-info-box-1 .img-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.data-vendor-form .info-data .data-info-box-1 .img-box img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.data-vendor-form .info-data .data-info-box-1 h2 {
    font-size: 1.5em;
    color: #fff;
    font-weight: 800;
    margin-bottom: 0;
}

.data-vendor-form .info-data .data-info-box-2 h2 {
    font-size: 2em;
    color: #fff;
    font-weight: 800;
    margin-bottom: 30px;
}

.data-vendor-form .info-data .data-info-box-2 p {
    font-size: .9em;
    color: #fff;
    font-weight: 400;
    line-height: 2;
    margin-bottom: 0;
}

.data-vendor-form .form-group p {
    font-size: .75em;
    color: #ccc;
    margin-bottom: 0;
}

.data-vendor-form .info-data .data-info-box-3 .carousel-indicators {
    bottom: -40px;
    justify-content: center;
    z-index: 999;
}

.data-vendor-form .info-data .data-info-box-3 .carousel-indicators li {
    background-color: #f2f2f2;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.data-vendor-form .info-data .data-info-box-3 .carousel-indicators li.active {
    background-color: #fff;
    width: 30px;
    height: 5px;
    margin-top: 10px;
    border-radius: 5px;
    border-top: none;
    border-bottom: none;
}

.data-vendor-form .info-data .data-info-box-3 .carousel-item {
    width: 100%;
    height: 250px;
    border-radius: .25rem;
    background-image: linear-gradient(#1b1f2800 22%, #1b1f28e6 43%, #1b1f28 52%);
}

.data-vendor-form .info-data .data-info-box-3 .carousel-item .item_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 15px;
    width: 100%;
    height: 250px;
    padding: 30px;
}

.data-vendor-form .info-data .data-info-box-3 .carousel-item .img_box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #EEFCF3;
}

.data-vendor-form .info-data .data-info-box-3 .carousel-item .img_box img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.data-vendor-form .info-data .data-info-box-3 .carousel-item .item_box p {
    line-height: 2;
    font-size: .85em;
    color: #fff;
    font-weight: 400;
    margin-bottom: 0;
}

.data-vendor-form .info-data .data-info-box-3 .carousel-item .item_box h2 {
    font-size: 1em;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (max-width: 1366px) {
    .vp-layout { grid-template-columns: 1fr; }
    .vp-meta-grid { grid-template-columns: 1fr 1fr; }

    .data-vendor-form .info-data .data-info-box-2 h2 { font-size: 1.5em; }
    .data-vendor-form .info-data .data-info-box-2 p { font-size: .85em; line-height: 1.7; }
    .ig-signup-card input, .ig-signup-card select, .ig-signup-card button.btn { height: calc(2em + .75rem + 2px); }
    .show-cover-photo { height: 170px; }
    .data-profile-photo { height: 300px; }
    .ig-signup-card .data-business-photo .image-container { width: 70px; height: 70px; }
}

@media screen and (max-width: 1024px) {
    .info-data { display: none !important; }
    .data-vendor-form { padding: 0 15px; }

    .vp-banner .vp-banner-content { padding: 0 24px; }
    .vp-nav ul { padding: 0 24px; }
    .vp-section { padding: 36px 24px; }
    .mkt-hero { padding: 50px 24px 30px; }
    .mkt-toolbar, .mkt-grid { padding-left: 24px; padding-right: 24px; }
}

@media screen and (max-width: 768px) {
    .vp-banner { height: 300px; }
    .vp-banner .vp-banner-content { flex-direction: column; align-items: flex-start; gap: 14px; }
    .vp-logo { width: 72px; height: 72px; }
    .vp-banner h1 { font-size: 1.6em; }
    .vp-meta-grid { grid-template-columns: 1fr; }
    .mkt-hero h1 { font-size: 1.7em; }
}

@media screen and (max-width: 576px) {
    .ig-signup-card { padding: 15px; }
    .show-logo { width: 100px; height: 100px; left: 20px; bottom: -40px; }
    .show-cover-photo { height: 200px; }
    .data-profile-photo { height: 280px; }
    .ig-signup-card .data-business-photo .image-container { width: 50px; height: 50px; }

    .vp-section { padding: 28px 16px; }
    .vp-form-box { padding: 18px; }
    .mkt-search-form { flex-direction: column; }
    .mkt-search-form button { height: 46px; }
}

/* ==========================================================================
   Instagram-web-inspired profile redesign ("ig-" prefix)
   Deliberately lighter than the rest of the site: hairline borders
   instead of the heavier drop-shadow language used elsewhere, generous
   whitespace, and a single accent color (black) instead of colored
   buttons — Instagram's own restraint, adapted to this site's tokens.
   ========================================================================== */

:root {
    --ig-border-color: #dbdbdb;
    --ig-text-muted: #8e8e8e;
}

.ig-pending-banner,
.ig-owner-bar {
    text-align: center;
    font-size: .85em;
    padding: 10px 16px;
}

.ig-pending-banner {
    background: #FFF5EB;
    color: #7a5b1f;
}

.ig-owner-bar {
    background: #F5F6F9;
    color: #555;
}

.ig-pending-banner a,
.ig-owner-bar a {
    color: inherit;
    text-decoration: underline;
    margin-left: 8px;
}

.ig-page {
    max-width: 935px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.ig-cover {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: #f2f2f2;
    position: relative;
    margin-top: 24px;
}

.ig-photo-edit-btn {
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ig-cover-edit-btn {
    bottom: 12px;
    right: 12px;
}

.ig-header {
    display: flex;
    gap: 32px;
    padding: 28px 8px;
    border-bottom: 1px solid var(--ig-border-color);
}

.ig-avatar {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    margin-top: -55px;
}

.ig-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    background: #eee;
}

.ig-avatar-edit-btn {
    width: 30px;
    height: 30px;
    bottom: 4px;
    right: 4px;
}

.ig-header-info {
    flex: 1;
    min-width: 0;
}

.ig-header-top {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ig-header-top h1 {
    font-size: 1.5em;
    font-weight: 600;
    margin: 0;
}

.ig-edit-btn,
.ig-btn-outline {
    background: #efefef;
    border: none;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: .85em;
    font-weight: 600;
    cursor: pointer;
}

.ig-share a {
    color: var(--vp-black);
    font-size: 1.1em;
}

.ig-stats {
    display: flex;
    gap: 32px;
    margin: 18px 0;
}

.ig-stats div {
    display: flex;
    flex-direction: column;
    font-size: .85em;
}

.ig-stats strong {
    font-size: 1.1em;
    font-weight: 700;
}

.ig-stats span {
    color: var(--ig-text-muted);
}

.ig-bio {
    font-size: .9em;
    line-height: 1.6;
    margin-bottom: 12px;
    white-space: pre-line;
}

.ig-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: .82em;
    color: #444;
    margin-bottom: 10px;
}

.ig-contact a {
    color: #444;
    text-decoration: none;
}

.ig-social-row {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
}

.ig-social-row a {
    color: var(--vp-black);
    font-size: 1.1em;
}

.ig-map {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--ig-border-color);
    margin-top: 12px;
}

.ig-map iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}

/* ---- Inline edit panel -------------------------------------------------- */

.ig-edit-panel {
    border: 1px solid var(--ig-border-color);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 8px;
}

.ig-edit-panel h3 {
    font-size: 1.05em;
    font-weight: 700;
    margin-bottom: 16px;
}

.ig-add-field {
    float: right;
    font-size: .85em;
    font-weight: 600;
    cursor: pointer;
    color: var(--vp-black);
}

.ig-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

.ig-btn {
    background: var(--vp-black);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: .9em;
    font-weight: 600;
}

.ig-btn-outline {
    background: #fff;
    border: 1px solid var(--ig-border-color);
}

/* ---- Tabs ---------------------------------------------------------------- */

.ig-tabs {
    display: flex;
    justify-content: center;
    gap: 50px;
    border-top: 1px solid var(--ig-border-color);
    margin-top: 8px;
}

.ig-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 4px;
    font-size: .75em;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ig-text-muted);
    text-decoration: none;
    border-top: 1px solid transparent;
    margin-top: -1px;
}

.ig-tab.active {
    color: var(--vp-black);
    border-top-color: var(--vp-black);
}

.ig-tab-panel {
    padding-top: 28px;
}

.ig-empty {
    text-align: center;
    color: var(--ig-text-muted);
    padding: 40px 0;
}

/* ---- Photo grid ------------------------------------------------------------ */

.ig-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.ig-photo-tile,
.ig-photo-add-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
    background: #f2f2f2;
}

.ig-photo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ig-photo-add-tile {
    border: 1px dashed #bbb;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6em;
    color: #999;
    cursor: pointer;
}

.ig-photo-remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: .75em;
    cursor: pointer;
}

.ig-photo-tile:hover .ig-photo-remove-btn {
    display: flex;
}

/* ---- Review / booking forms ------------------------------------------------ */

.ig-review-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ig-review-layout .ig-form-box:only-child {
    grid-column: 1 / -1;
    max-width: 480px;
}

.ig-form-box {
    border: 1px solid var(--ig-border-color);
    border-radius: 12px;
    padding: 20px;
}

.ig-form-box h3 {
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 14px;
}

.ig-form-box label {
    font-size: .8em;
    color: var(--ig-text-muted);
}

@media screen and (max-width: 768px) {
    .ig-header { flex-direction: column; gap: 10px; }
    .ig-avatar { margin-top: -60px; }
    .ig-review-layout { grid-template-columns: 1fr; }
    .ig-photo-grid { grid-template-columns: repeat(2, 1fr); }
    .ig-tabs { gap: 24px; }
}

/* ---- Login page ----------------------------------------------------------- */

.ig-auth {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ig-auth-box {
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--ig-border-color);
    border-radius: 12px;
    padding: 36px 32px;
    text-align: center;
}

.ig-auth-box h1 {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 4px;
}

.ig-auth-sub {
    color: var(--ig-text-muted);
    font-size: .85em;
    margin-bottom: 24px;
}

.ig-auth-box .form-group {
    text-align: left;
    margin-bottom: 14px;
}

.ig-auth-box label {
    font-size: .8em;
    color: var(--ig-text-muted);
}

.ig-auth-box .ig-btn {
    width: 100%;
    padding: 10px 0;
}

.ig-auth-alt {
    font-size: .82em;
    color: var(--ig-text-muted);
    margin-top: 18px;
    margin-bottom: 0;
}

.ig-auth-alt a {
    color: var(--vp-black);
    font-weight: 600;
    text-decoration: none;
}

.ig-forgot-link {
    text-align: right;
    font-size: .78em;
    margin: -6px 0 16px;
}

.ig-forgot-link a {
    color: var(--ig-text-muted);
    text-decoration: none;
}

/* ==========================================================================
   Registration wizard — stepper redesign
   ========================================================================== */

.ig-signup-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #fafafa;
}

.ig-signup-card {
    width: 100%;
    max-width: 620px;
    background: #fff;
    border: 1px solid var(--ig-border-color);
    border-radius: 16px;
    padding: 40px 44px;
}

.ig-signup-card h2 {
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 6px;
}

.ig-signup-sub {
    color: var(--ig-text-muted);
    font-size: .85em;
    margin-bottom: 28px;
}

/* ---- Stepper -------------------------------------------------------------- */

.ig-stepper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
}

.ig-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ig-step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--ig-border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78em;
    font-weight: 700;
    color: var(--ig-text-muted);
    background: #fff;
    transition: all .2s ease;
}

.ig-step-item span {
    font-size: .68em;
    font-weight: 600;
    color: var(--ig-text-muted);
    white-space: nowrap;
}

.ig-step-item.active .ig-step-circle {
    border-color: var(--vp-black);
    background: var(--vp-black);
    color: #fff;
}

.ig-step-item.active span,
.ig-step-item.done span {
    color: var(--vp-black);
}

.ig-step-item.done .ig-step-circle {
    border-color: var(--vp-black);
    background: var(--vp-black);
    color: #fff;
}

.ig-step-line {
    flex: 1;
    height: 2px;
    background: var(--ig-border-color);
    margin: 14px 4px 0;
    transition: background .2s ease;
}

.ig-step-line.done {
    background: var(--vp-black);
}

/* ---- Form steps ------------------------------------------------------------ */

.ig-form-step {
    display: none;
}

.ig-form-step.active {
    display: block;
}

.ig-signup-card .form-group label {
    font-size: .8em;
    font-weight: 600;
    color: #333;
}

.ig-field-error {
    color: #d9534f;
    font-size: .75em;
    margin-top: 4px;
    display: none;
}

.is-invalid ~ .ig-field-error,
.ig-field-error.show {
    display: block;
}

.ig-step-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 24px;
}

.ig-step-actions .ig-btn,
.ig-step-actions .ig-btn-outline {
    flex: 1;
}

/* ---- Password field with show/hide toggle ----------------------------------- */

.ig-password-wrap {
    position: relative;
}

.ig-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--ig-text-muted);
    cursor: pointer;
    font-size: .9em;
}

/* ---- Upload zones ------------------------------------------------------------ */

.ig-upload-zone {
    border: 1px dashed var(--ig-border-color);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease;
    color: var(--ig-text-muted);
    font-size: .82em;
}

.ig-upload-zone:hover {
    border-color: var(--vp-black);
    color: var(--vp-black);
}

.ig-upload-zone i {
    display: block;
    font-size: 1.4em;
    margin-bottom: 6px;
}

@media screen and (max-width: 576px) {
    .ig-signup-card { padding: 28px 20px; }
    .ig-step-item span { display: none; }
}

/* ---- Confirmation modal (replaces native confirm()) ------------------------- */

.ig-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.ig-modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px 0;
    max-width: 320px;
    width: 100%;
    text-align: center;
}

.ig-modal-message {
    font-size: .9em;
    line-height: 1.5;
    margin-bottom: 24px;
}

.ig-modal-actions {
    display: flex;
    border-top: 1px solid var(--ig-border-color);
    margin: 0 -24px;
}

.ig-modal-actions button {
    flex: 1;
    border: none;
    background: none;
    padding: 14px 0;
    font-size: .85em;
    font-weight: 600;
    cursor: pointer;
}

.ig-modal-cancel {
    border-right: 1px solid var(--ig-border-color);
    color: #333;
}

.ig-modal-confirm--danger {
    color: #d9534f;
}

/* ---- Registration "done" panel ---------------------------------------------- */

.ig-signup-done {
    text-align: center;
    padding: 12px 0 4px;
}

.ig-signup-done h2 {
    font-size: 1.3em;
    margin-bottom: 12px;
}

.ig-done-icon {
    font-size: 2.6em;
    color: #28a745;
    margin-bottom: 12px;
}

.ig-signup-done .ig-btn {
    display: inline-block;
    text-decoration: none;
    margin-top: 12px;
    padding: 10px 28px;
}

/* Honeypot field for the booking/review/rate-card forms — moved
   offscreen rather than display:none, since some bots specifically
   skip display:none fields but still fill ones simply positioned out
   of view. */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    display: none;
}