/* ==========================================================================
   B2B Publisher – Public Styles
   ========================================================================== */

/* ── Utilities ─────────────────────────────────────────────────────────────── */

.b2bp-notice {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
}

.b2bp-notice.b2bp-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.b2bp-notice.b2bp-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */

.b2bp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    line-height: 1;
    transition: background-color 0.2s, opacity 0.2s;
    text-decoration: none;
}

.b2bp-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.b2bp-btn-primary {
    background-color: #6366f1;
    color: #ffffff;
    padding: 20px 28px;
    font-size: 18px;
    border-radius: 6px;
}

.b2bp-btn-primary:hover:not(:disabled) {
    background-color: #4f46e5;
}

.b2bp-btn-small {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 5px;
}

.b2bp-btn-cancel {
    background-color: #f1f5f9;
    color: #64748b;
    border: none;
    cursor: pointer;
}

.b2bp-btn-cancel:hover:not(:disabled) {
    background-color: #e2e8f0;
}

/* ── Edit & Upload buttons ──────────────────────────────────────────────────── */

.b2bp-edit-btn,
.b2bp-upload-btn {
    background: none;
    border: none;
    color: #6366f1;
    cursor: pointer;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
    line-height: 1.4;
    transition: background-color 0.15s;
}

.b2bp-edit-btn:hover,
.b2bp-upload-btn:hover {
    background-color: #eef2ff;
}

/* ── Owner badge ────────────────────────────────────────────────────────────── */

.b2bp-owner-badge {
    display: inline-block;
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================================================
   Pre-registration Form
   ========================================================================== */

.b2bp-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 24px 16px;
}

.b2bp-form-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.b2bp-form-subtitle {
    color: #64748b;
    font-size: 15px;
    margin: 0 0 24px;
}

/* Form sections */
.b2bp-form-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.b2bp-form-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.b2bp-two-persons-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed #cbd5e1;
}

.b2bp-two-persons-section h3 {
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

/* Fields */
.b2bp-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.b2bp-field:last-child {
    margin-bottom: 0;
}

.b2bp-field label,
.b2bp-field > label {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
    margin-bottom: 20px;
}

.b2bp-field label small {
    font-weight: 400;
    color: #64748b;
    font-size: 12px;
}

.b2bp-field input[type="text"],
.b2bp-field input[type="email"],
.b2bp-field input[type="url"],
.b2bp-field input[type="tel"],
.b2bp-field input[type="password"],
.b2bp-field select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 15px;
    color: #1e293b;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: none;
    -webkit-appearance: none;
}

.b2bp-field input:focus,
.b2bp-field select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.b2bp-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

/* Submit area */
.b2bp-form-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

/* ==========================================================================
   Publisher Page Layout
   ========================================================================== */

.b2bp-page-wrap {
    padding: 24px 16px 48px;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile Safari */
}

.b2bp-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    align-items: start;
    padding-top: 100px;
    box-sizing: border-box;
}

/* ── Sidebar ────────────────────────────────────────────────────────────────── */

.b2bp-sidebar {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: sticky;
    top: 24px;
}

.b2bp-sidebar-title {
    padding: 12px 14px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

/* ── Grid layout: 3 per row ──────────────────────────────────────────────────── */
.b2bp-dir-list {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-height: 72vh;
    overflow-y: auto;
}

.b2bp-dir-item {
    border-bottom: none;
}

.b2bp-dir-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px 4px 6px;
    text-decoration: none;
    color: #1e293b;
    transition: background-color 0.15s, border-color 0.15s;
    border-radius: 6px;
    border: 1px solid transparent;
    text-align: center;
}

.b2bp-dir-link:hover {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    color: #1e293b;
}

.b2bp-dir-item.b2bp-active .b2bp-dir-link {
    background-color: #eef2ff;
    border-color: #c7d2fe;
    color: #6366f1;
}

.b2bp-dir-logo {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.b2bp-dir-logo-placeholder {
    width: 60px;
    height: 60px;
    background-color: #6366f1;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    border-radius: 6px;
    flex-shrink: 0;
}

.b2bp-dir-name {
    font-size: 12px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
    max-width: 80px;
    color: #475569;
}

.b2bp-dir-item.b2bp-active .b2bp-dir-name {
    color: #6366f1;
    font-weight: 600;
}

.b2bp-dir-empty {
    padding: 16px;
    color: #94a3b8;
    font-size: 13px;
    font-style: italic;
    text-align: center;
    grid-column: 1 / -1;
}

/* ── Main content ────────────────────────────────────────────────────────────── */

.b2bp-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    max-width: 100%;
}

/* ── 2-column profile grid (description 2fr + catalog 1fr) ──────────────────── */

.b2bp-profile-2col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Safari min-width fix: grid/flex children must have min-width:0 to shrink */
.b2bp-profile-2col > * {
    min-width: 0;
}

.b2bp-card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.b2bp-card-title {
    padding: 14px 20px;
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ── Publisher header card — 50 / 50 flex layout ───────────────────────────── */

.b2bp-pub-header {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Left half: logo + editorial name/meta */
.b2bp-pub-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding-right: 20px;
}

/* Right half: represented-by + meeting button */
.b2bp-pub-right {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    border-left: 1px solid #e2e8f0;
    padding-left: 20px;
}

.b2bp-pub-logo-wrap {
    flex-shrink: 0;
}

.b2bp-pub-logo {
    max-width: 90px;
    max-height: 90px;
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    display: block;
}

.b2bp-pub-logo-placeholder {
    width: 80px;
    height: 80px;
    background-color: #6366f1;
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
}

.b2bp-pub-info {
    min-width: 0;
}

.b2bp-pub-name {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.2;
}

.b2bp-pub-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.b2bp-country-flag {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.b2bp-pub-web {
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 260px;
}

.b2bp-pub-web:hover {
    color: #6366f1;
    text-decoration: underline;
}

/* ── Publisher editor column ─────────────────────────────────────────────────── */

.b2bp-pub-editor-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
    /* border-left now on .b2bp-pub-right */
}

.b2bp-represented-by {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.b2bp-editor-name-inline {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Publisher actions ───────────────────────────────────────────────────────── */

.b2bp-pub-actions {
    flex-shrink: 0;
}

/* ── Meeting button ─────────────────────────────────────────────────────────── */

.b2bp-btn-meeting {
    background-color: #4f46e5;
    color: #ffffff;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.b2bp-btn-meeting:hover:not(:disabled) {
    background-color: #4338ca;
}

.b2bp-btn-meeting.b2bp-sent {
    background-color: #6b7280;
    cursor: default;
}

.b2bp-btn-meeting.b2bp-confirmed {
    background-color: #16a34a;
    cursor: default;
}

.b2bp-btn-meeting:disabled {
    opacity: 1;
}

/* ── Editor section ─────────────────────────────────────────────────────────── */

.b2bp-editor-section {
    padding: 20px 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.b2bp-editor-photo-wrap {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.b2bp-editor-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    display: block;
}

.b2bp-editor-photo-placeholder {
    width: 80px;
    height: 80px;
    background-color: #4f46e5;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    border: 2px solid #e2e8f0;
}

.b2bp-editor-info {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.b2bp-editor-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}

.b2bp-editor-role {
    color: #64748b;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* ── Description section ────────────────────────────────────────────────────── */

.b2bp-description-section {
    padding: 20px 24px;
}

.b2bp-description-section .b2bp-card-title {
    padding: 0 0 12px;
    border-bottom-color: #f1f5f9;
    margin-bottom: 14px;
}

.b2bp-desc-view p {
    color: #334155;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.b2bp-edit-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

/* ── Catalog section ────────────────────────────────────────────────────────── */

.b2bp-catalog-section {
    padding: 20px 24px;
}

.b2bp-catalog-section .b2bp-card-title {
    padding: 0 0 12px;
    border-bottom-color: #f1f5f9;
    margin-bottom: 14px;
}

/* ── Catalog card (opens popup modal) ───────────────────────────────────────── */

.b2bp-catalog-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 16px;
    border: 2px dashed #c7d2fe;
    border-radius: 8px;
    background: #f8faff;
    color: #4f46e5;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    min-height: 90px;
}

.b2bp-catalog-card:hover {
    background: #eef2ff;
    border-color: #a5b4fc;
}

.b2bp-catalog-card .b2bp-catalog-icon {
    font-size: 32px;
    line-height: 1;
}

.b2bp-catalog-card-disabled {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
    cursor: default;
}

.b2bp-catalog-card-disabled:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

/* Legacy catalog link (used in owner view as upload anchor) */
.b2bp-catalog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin: 4px 0 8px;
    transition: background 0.15s, border-color 0.15s;
}

.b2bp-catalog-link:hover {
    background: #e0e7ff;
    border-color: #a5b4fc;
    color: #4338ca;
    text-decoration: none;
}

/* ── Catalog iframe popup modal ─────────────────────────────────────────────── */

.b2bp-catalog-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.b2bp-catalog-modal-overlay.b2bp-modal-open {
    display: flex;
}

.b2bp-catalog-modal {
    background: #fff;
    border-radius: 12px;
    width: 90vw;
    max-width: 960px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.b2bp-catalog-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.b2bp-catalog-modal-title {
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
}

.b2bp-catalog-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #64748b;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.b2bp-catalog-modal-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.b2bp-catalog-modal-body {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.b2bp-catalog-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── Shared section elements ────────────────────────────────────────────────── */

.b2bp-empty-field {
    color: #94a3b8;
    font-style: italic;
    font-size: 14px;
    margin: 0;
}

.b2bp-textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    color: #1e293b;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.6;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.b2bp-textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

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

@media (max-width: 900px) {
    .b2bp-layout {
        grid-template-columns: 220px 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .b2bp-layout {
        grid-template-columns: 1fr;
    }

    .b2bp-sidebar {
        position: static;
    }

    .b2bp-dir-list {
        max-height: 240px;
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }

    /* Header: stack left / right halves vertically */
    .b2bp-pub-header {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 16px;
        gap: 0;
    }

    .b2bp-pub-left {
        padding-right: 0;
        padding-bottom: 12px;
    }

    .b2bp-pub-right {
        border-left: none;
        border-top: 1px solid #e2e8f0;
        padding-left: 0;
        padding-top: 12px;
    }

    .b2bp-btn-meeting {
        padding: 9px 14px;
        font-size: 13px;
        white-space: normal;
        text-align: center;
        min-width: 96px;
    }

    .b2bp-editor-section {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Stack 2-col profile grid on tablet */
    .b2bp-profile-2col {
        grid-template-columns: 1fr;
    }

    /* Stack owner 2-col on tablet */
    .b2bp-owner-2col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .b2bp-pub-header {
        padding: 12px 14px;
    }

    /* Keep logo + info side by side; actions full-width below */
    .b2bp-pub-right {
        flex-wrap: wrap;
    }

    .b2bp-pub-actions {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }

    .b2bp-btn-meeting {
        width: 100%;
        padding: 11px 16px;
        font-size: 14px;
        border-radius: 8px;
    }

    /* Form */
    .b2bp-form-section {
        padding: 16px;
    }

    .b2bp-form-title {
        font-size: 22px;
    }

    .b2bp-btn-primary {
        width: 100%;
        text-align: center;
    }

    .b2bp-form-submit {
        justify-content: stretch;
    }
}

/* ─── Owner greeting card ───────────────────────────────────────────────── */
.b2bp-owner-greeting-card {
    padding: 20px 24px;
    margin-bottom: 20px;
}
.b2bp-greeting-text {
    font-size: 18px;
    margin: 0 0 6px;
    color: #0f172a;
}
.b2bp-intro-text {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* ─── Owner 2-column layout (meetings | description+catalog) ────────────── */
.b2bp-owner-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.b2bp-owner-2col > * {
    min-width: 0;
}

.b2bp-owner-left {
    /* left column: b2bm_meet shortcode output */
}

.b2bp-owner-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ─── Meet card wrapper ─────────────────────────────────────────────────── */
.b2bp-meet-card {
    overflow: visible;
}

/* ─── Pre-registration: slots availability ──────────────────────────────── */
.b2bp-slots-section {
    background: #f8fafc;
    border-color: #c7d2fe;
}
.b2bp-slots-desc {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 16px;
}
.b2bp-slots-day {
    margin-bottom: 20px;
	margin-top: 20px;
}
.b2bp-slots-day-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.b2bp-slots-day-label {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
    flex: 1;
}
.b2bp-slots-none {
    background: none;
    border: 1px solid #c7d2fe;
    color: #6366f1;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: background .15s;
    max-height: 28px;
    min-width: 120px;
    box-sizing: border-box;
    flex-shrink: 0;
	flex: 0 0 30%;
}
.b2bp-slots-none:hover {
    background: #eef2ff;
}
.b2bp-slots-grid {
  display: grid;
  flex-wrap: wrap;
  gap: 6px;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
}
.b2bp-slot-check {
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
}
.b2bp-slot-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.b2bp-slot-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-size: 12px;
    background: #fff;
    color: #475569;
    transition: background .15s, border-color .15s, color .15s;
    white-space: nowrap;
    user-select: none;
    min-width: 54px;
    max-height: 28px;
    box-sizing: border-box;
}
.b2bp-slot-check input:checked + .b2bp-slot-label {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
    font-weight: 600;
}
.b2bp-slot-check:hover .b2bp-slot-label {
    border-color: #6366f1;
    color: #6366f1;
}
.b2bp-slot-check input:checked:hover + .b2bp-slot-label {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
}
.b2bp-no-slots {
    color: #94a3b8;
    font-size: 13px;
    font-style: italic;
}

/* ─── Password visibility toggle ─────────────────────────────────────────── */
.b2bp-pass-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.b2bp-pass-wrap input[type="password"],
.b2bp-pass-wrap input[type="text"] {
    padding-right: 42px;
    flex: 1;
    min-width: 0;
}
.b2bp-pass-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: right;
    border-radius: 4px;
    transition: color 0.15s;
    line-height: 1;
    flex-shrink: 0;
	width: 25px;
}
.b2bp-pass-toggle:hover {
    color: #475569;
}

/* ─── Two-persons note ───────────────────────────────────────────────────── */
.b2bp-two-persons-note {
    font-size: 14px;
    color: #fff;
    margin: 8px 0 0;
    line-height: 1.55;
    padding: 10px 14px;
    background: #ff8b8b;
    border-radius: 10px;
    font-weight: 600;
}

/* ─── Inline password hints ─────────────────────────────────────────────── */
.b2bp-field-hint {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
    transition: color .2s;
}
.b2bp-hint-error { color: #ef4444; }
.b2bp-hint-ok    { color: #16a34a; }

/* Required asterisk */
.b2bp-req { color: #ef4444; }

/* ─── Catalog lazy-load placeholder ────────────────────────────────────────── */
.b2bp-catalog-lazy {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    background: #f8fafc;
}

.b2bp-catalog-load-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.b2bp-catalog-load-btn:hover {
    background: #e0e7ff;
    border-color: #a5b4fc;
}
