/**
 * B2B Login Page Styles
 */

/* CSS Variables */
:root {
    --b2b-banner-color: #1a1a2e;
    --b2b-banner-opacity: 0.85;
    --b2b-primary: #4a90d9;
    --b2b-primary-dark: #3a7bc8;
    --b2b-secondary: #1a1a2e;
    --b2b-secondary-light: #2d2d44;
    --b2b-text: #333;
    --b2b-text-light: #6c757d;
    --b2b-border: #ddd;
    --b2b-bg: #f8f9fa;
}

/* Standalone page reset */
.b2b-standalone-page {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--b2b-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.b2b-standalone-page *,
.b2b-standalone-page *::before,
.b2b-standalone-page *::after {
    box-sizing: border-box;
}

/* Reset and base styles for the login page */
.b2b-login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--b2b-bg);
}

/* Header */
.b2b-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.b2b-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.b2b-logo img {
    max-height: 50px;
    width: auto;
}

/* Main content */
.b2b-main {
    flex: 1;
    padding: 0;
}

/* Container */
.b2b-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Grid */
.b2b-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.b2b-col {
    padding: 0 15px;
    width: 100%;
}

/* Top section - Login and Register */
.b2b-top-section {
    margin-bottom: 0;
    padding-top: 50px;
    padding-bottom: 60px;
    background-image: url('/herbslider.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.b2b-top-section .b2b-row {
    align-items: stretch;
}

.b2b-login-col {
    flex: 0 0 50%;
    max-width: 50%;
}

.b2b-register-col {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Login box — aligned to the left of its column */
.b2b-login-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    max-width: 460px;
    margin: 0;
}

/* Register CTA — readable card, aligned to the right so it clears the banner */
.b2b-register-cta {
    padding: 36px 40px;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Typography */
.b2b-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--b2b-secondary);
    margin: 0 0 15px 0;
}

.b2b-subtitle {
    font-size: 16px;
    color: var(--b2b-text-light);
    margin: 0 0 25px 0;
    line-height: 1.6;
}

/* Form styles */
.b2b-form-group {
    margin-bottom: 20px;
}

.b2b-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--b2b-text);
    margin-bottom: 8px;
}

.b2b-form-group label small {
    font-weight: 400;
    color: var(--b2b-text-light);
}

.b2b-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid var(--b2b-border);
    border-radius: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff;
}

.b2b-input:focus {
    outline: none;
    border-color: var(--b2b-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.15);
}

.b2b-input::placeholder {
    color: #aaa;
}

/* Password toggle */
.b2b-password-wrapper {
    position: relative;
}

.b2b-password-wrapper .b2b-input {
    padding-right: 45px;
}

.b2b-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: var(--b2b-text-light);
    transition: color 0.2s;
}

.b2b-toggle-password:hover {
    color: var(--b2b-text);
}

.b2b-toggle-password .eye-icon {
    fill: currentColor;
}

/* Buttons */
.b2b-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.b2b-btn-primary {
    background-color: var(--b2b-primary);
    color: #fff;
}

.b2b-btn-primary:hover {
    background-color: var(--b2b-primary-dark);
}

.b2b-btn-secondary {
    background-color: var(--b2b-secondary);
    color: #fff;
}

.b2b-btn-secondary:hover {
    background-color: var(--b2b-secondary-light);
}

.b2b-btn-small {
    padding: 10px 16px;
    font-size: 13px;
}

.b2b-btn-full {
    width: 100%;
}

.b2b-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form actions */
.b2b-form-actions {
    margin-top: 25px;
}

.b2b-form-links {
    text-align: center;
    margin-top: 20px;
}

.b2b-link {
    color: var(--b2b-primary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.b2b-link:hover {
    color: var(--b2b-primary-dark);
    text-decoration: underline;
}

/* Description section */
.b2b-description-section {
    background-color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Banner background */
.b2b-description-section.b2b-has-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.b2b-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--b2b-banner-color);
    opacity: var(--b2b-banner-opacity);
    z-index: 0;
}

.b2b-has-banner .b2b-description-content,
.b2b-has-banner .b2b-description-content h2,
.b2b-has-banner .b2b-description-content p,
.b2b-has-banner .b2b-description-content em,
.b2b-has-banner .b2b-description-content ul li {
    color: #fff;
}

.b2b-description-section .b2b-row {
    align-items: center;
}

.b2b-description-col {
    flex: 0 0 50%;
    max-width: 50%;
}

.b2b-description-col.b2b-full-width {
    flex: 0 0 100%;
    max-width: 100%;
}

.b2b-description-col.b2b-full-width .b2b-description-content {
    padding-right: 0;
    max-width: 800px;
}

.b2b-image-col {
    flex: 0 0 50%;
    max-width: 50%;
}

.b2b-description-content {
    padding-right: 40px;
}

.b2b-description-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--b2b-secondary);
    margin: 0 0 20px 0;
}

.b2b-description-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 15px 0;
}

.b2b-description-content em {
    color: var(--b2b-text-light);
}

.b2b-description-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.b2b-description-content ul li {
    font-size: 15px;
    color: var(--b2b-text);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.b2b-description-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.b2b-footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    padding: 25px 0;
}

.b2b-footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.b2b-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.b2b-footer-links a {
    color: var(--b2b-text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.b2b-footer-links a:hover {
    color: var(--b2b-primary);
}

.b2b-copyright {
    color: var(--b2b-text-light);
    font-size: 13px;
    margin: 0;
}

/* Modal */
.b2b-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.b2b-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.b2b-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.b2b-modal-container {
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.b2b-modal-container.b2b-modal-small {
    max-width: 450px;
}

.b2b-modal[aria-hidden="false"] .b2b-modal-container {
    transform: translateY(0);
}

.b2b-form-description {
    color: var(--b2b-text-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.b2b-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.b2b-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--b2b-secondary);
    margin: 0;
}

.b2b-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.b2b-modal-close:hover {
    color: var(--b2b-text);
}

.b2b-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

/* Fieldset */
.b2b-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.b2b-fieldset legend {
    font-size: 16px;
    font-weight: 600;
    color: var(--b2b-secondary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--b2b-primary);
    display: block;
    width: 100%;
}

/* Form row */
.b2b-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
}

.b2b-form-row .b2b-form-group {
    margin-bottom: 20px;
}

.b2b-half {
    flex: 1;
}

.b2b-third {
    flex: 0 0 30%;
}

.b2b-two-thirds {
    flex: 0 0 calc(70% - 15px);
}

/* NIP field with GUS button */
.b2b-nip-wrapper {
    display: flex;
    gap: 10px;
}

.b2b-nip-wrapper .b2b-input {
    flex: 1;
}

.b2b-form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--b2b-text-light);
}

/* Checkbox */
.b2b-checkbox-group {
    margin-bottom: 15px;
}

.b2b-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.b2b-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.b2b-checkbox .checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--b2b-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-top: 2px;
}

.b2b-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: var(--b2b-primary);
    border-color: var(--b2b-primary);
}

.b2b-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.b2b-checkbox .label-text {
    color: #555;
    display: inline;
}

.b2b-checkbox .label-text p {
    display: inline;
    margin: 0;
    padding: 0;
}

.b2b-checkbox .label-text a {
    color: var(--b2b-primary);
}

.b2b-checkbox .label-text .required-star,
.b2b-consents .required-star {
    color: #e74c3c;
    display: inline;
    margin-left: 2px;
}

/* Radio buttons */
.b2b-radio-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.b2b-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    min-width: 80px;
}

.b2b-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.b2b-radio .radio-mark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--b2b-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.b2b-radio input[type="radio"]:checked + .radio-mark {
    border-color: var(--b2b-primary);
}

.b2b-radio input[type="radio"]:checked + .radio-mark::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--b2b-primary);
    border-radius: 50%;
}

.b2b-radio .label-text {
    color: #555;
}

/* Question sections */
.b2b-questions-section {
    margin-top: 15px;
}

.b2b-question {
    transition: opacity 0.2s ease, max-height 0.3s ease;
}

/* Alerts */
.b2b-alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.b2b-alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.b2b-alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

.b2b-alert ul {
    margin: 0;
    padding-left: 20px;
}

.b2b-alert li {
    margin-bottom: 5px;
}

.b2b-alert li:last-child {
    margin-bottom: 0;
}

/* Spinner animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 991px) {
    .b2b-login-col,
    .b2b-register-col,
    .b2b-description-col,
    .b2b-image-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .b2b-description-col.b2b-full-width {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* The stacked (login + CTA) section gets tall on mobile; with
       background-size:cover the photo zoomed enormously. Scale it to the
       full width instead and fill the rest with a neutral tone. */
    .b2b-top-section {
        background-size: 100% auto;
        background-position: top center;
        background-color: #eef1f4;
    }

    .b2b-login-box {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .b2b-register-cta {
        padding: 30px 24px;
        max-width: 100%;
        text-align: center;
    }

    .b2b-description-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .b2b-description-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .b2b-main {
        padding: 20px 0 0 0;
    }

    .b2b-login-box {
        padding: 25px;
    }

    .b2b-title {
        font-size: 24px;
    }

    .b2b-form-row {
        flex-direction: column;
        gap: 0;
    }

    .b2b-third,
    .b2b-two-thirds {
        flex: 0 0 100%;
    }

    .b2b-modal-container {
        width: 95%;
        max-height: 95vh;
    }

    .b2b-modal-body {
        padding: 20px;
    }

    .b2b-nip-wrapper {
        flex-direction: column;
    }

    .b2b-footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* ===== Toast Notification ===== */
#b2b-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    min-width: 320px;
    max-width: 480px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
#b2b-toast.b2b-toast--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
#b2b-toast.b2b-toast--hiding {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
}
.b2b-toast__content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
}
.b2b-toast__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}
.b2b-toast__text {
    flex: 1;
    font-size: 14px;
    line-height: 1.45;
    color: #333;
}
.b2b-toast__close {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}
.b2b-toast__close:hover {
    color: #333;
}
.b2b-toast__progress {
    height: 3px;
    background: #e5e5e5;
}
.b2b-toast__bar {
    height: 100%;
    width: 100%;
    background: #22c55e;
    border-radius: 0 0 0 3px;
}
@media (max-width: 480px) {
    #b2b-toast {
        bottom: 12px;
        right: 12px;
        left: 12px;
        min-width: 0;
        max-width: none;
    }
}

/* ===== Consent Popup Overlay ===== */
.b2b-consent-popup {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.b2b-consent-popup--visible {
    opacity: 1;
    pointer-events: auto;
}
.b2b-consent-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.b2b-consent-popup__container {
    position: relative;
    width: 90vw;
    max-width: 800px;
    height: 80vh;
    max-height: 700px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s ease;
}
.b2b-consent-popup--visible .b2b-consent-popup__container {
    transform: translateY(0) scale(1);
}
.b2b-consent-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
.b2b-consent-popup__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.b2b-consent-popup__close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s;
}
.b2b-consent-popup__close:hover {
    color: #333;
}
.b2b-consent-popup__body {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.b2b-consent-popup__loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--b2b-primary, #4a90d9);
}
.b2b-consent-popup__loader .spinner {
    animation: spin 1s linear infinite;
}
.b2b-consent-popup__content {
    padding: 24px 28px;
    overflow-y: auto;
    height: 100%;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.b2b-consent-popup__content h1,
.b2b-consent-popup__content h2,
.b2b-consent-popup__content h3 {
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: #1a1a2e;
}
.b2b-consent-popup__content h1 { font-size: 20px; }
.b2b-consent-popup__content h2 { font-size: 17px; }
.b2b-consent-popup__content h3 { font-size: 15px; }
.b2b-consent-popup__content p { margin-bottom: 0.8em; }
.b2b-consent-popup__content ul,
.b2b-consent-popup__content ol {
    padding-left: 24px;
    margin-bottom: 1em;
}
.b2b-consent-popup__content a {
    color: var(--b2b-primary, #4a90d9);
    text-decoration: underline;
}
@media (max-width: 600px) {
    .b2b-consent-popup__container {
        width: 96vw;
        height: 90vh;
        max-height: none;
        border-radius: 8px;
    }
}

/* ===================================================================
   HERO LAYOUT (układ 2) - dark hero with headline, cards and strip.
   Scoped to body.b2b-layout-hero so the classic layout is untouched.
   =================================================================== */

/* Header: dark bar, logo left, phone + CTA right */
.b2b-layout-hero .b2b-header {
    background: var(--b2b-secondary, #12131a);
    border-bottom: none;
}
.b2b-layout-hero .b2b-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.b2b-layout-hero .b2b-logo { margin: 0; }
.b2b-header-right { display: flex; align-items: center; gap: 22px; }
.b2b-header-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.25;
    text-decoration: none !important;
}
.b2b-header-phone strong { color: #fff; font-size: 15px; }
.b2b-header-phone span { color: rgba(255, 255, 255, 0.55); font-size: 11.5px; }
.b2b-header-cta {
    background: transparent;
    border: 1px solid var(--b2b-primary, #e02b2b);
    color: var(--b2b-primary, #e02b2b);
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}
.b2b-header-cta:hover { background: var(--b2b-primary, #e02b2b); color: #fff; }

/* Hero section */
.b2b-layout-hero .b2b-top-section {
    background-color: var(--b2b-secondary, #12131a);
    background-size: cover;
    background-position: center right;
}
.b2b-hero-text { max-width: 640px; padding: 10px 0 28px; }
.b2b-hero-text h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.b2b-hero-text h1 .b2b-accent { color: var(--b2b-primary, #e02b2b); }
.b2b-hero-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.6;
    max-width: 520px;
}

/* Cards: dark login box + light register card, equal height, side by side */
.b2b-layout-hero .b2b-login-col { flex: 0 0 auto; max-width: 400px; }
.b2b-layout-hero .b2b-register-col { flex: 0 0 auto; max-width: 400px; justify-content: flex-start; }
.b2b-layout-hero .b2b-top-section .b2b-row {
    justify-content: flex-start;
    gap: 22px;
    align-items: stretch;
}
.b2b-layout-hero .b2b-login-box {
    background: rgba(15, 17, 26, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 28px;
    max-width: 400px;
    backdrop-filter: blur(4px);
}
.b2b-layout-hero .b2b-login-box .b2b-title { color: #fff; font-size: 21px; }
.b2b-layout-hero .b2b-login-box .b2b-subtitle { color: rgba(255, 255, 255, 0.6); }
.b2b-layout-hero .b2b-login-box label { color: rgba(255, 255, 255, 0.85); }
.b2b-layout-hero .b2b-login-box .b2b-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
}
.b2b-layout-hero .b2b-login-box .b2b-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.b2b-layout-hero .b2b-login-box .b2b-toggle-password .eye-icon { fill: rgba(255, 255, 255, 0.55); }
.b2b-layout-hero .b2b-register-cta {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    max-width: 400px;
    text-align: left;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* Benefits checklist in the register card */
.b2b-hero-benefits ul { list-style: none; margin: 0 0 18px; padding: 0; }
.b2b-hero-benefits li {
    position: relative;
    padding: 4px 0 4px 26px;
    font-size: 14px;
    color: #374151;
}
.b2b-hero-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--b2b-primary, #e02b2b);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.6 5.9-4.2 4.6a.75.75 0 0 1-1.1.02L4.4 8.6a.75.75 0 1 1 1.08-1.04l1.35 1.4 3.66-4.02a.75.75 0 0 1 1.11 1z'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.6 5.9-4.2 4.6a.75.75 0 0 1-1.1.02L4.4 8.6a.75.75 0 1 1 1.08-1.04l1.35 1.4 3.66-4.02a.75.75 0 0 1 1.11 1z'/></svg>") no-repeat center / contain;
}

/* Note under buttons */
.b2b-verify-note {
    margin-top: 14px;
    font-size: 12.5px;
    color: #9ca3af;
    text-align: center;
}
.b2b-layout-hero .b2b-login-box .b2b-verify-note { color: rgba(255, 255, 255, 0.5); }

/* Feature strip under the cards */
.b2b-hero-strip {
    margin-top: 26px;
    background: rgba(15, 17, 26, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 0;
    backdrop-filter: blur(4px);
}
.b2b-strip-item {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    padding: 0 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.b2b-strip-item:first-child { border-left: none; padding-left: 0; }
.b2b-strip-item strong { color: #fff; font-size: 14px; }
.b2b-strip-item span { color: rgba(255, 255, 255, 0.55); font-size: 12.5px; }

/* Responsive */
@media (max-width: 991px) {
    .b2b-layout-hero .b2b-header-inner { flex-wrap: wrap; justify-content: center; }
    .b2b-hero-text { padding-top: 0; text-align: center; margin: 0 auto; }
    .b2b-hero-text h1 { font-size: 30px; }
    .b2b-layout-hero .b2b-login-col,
    .b2b-layout-hero .b2b-register-col { max-width: 100%; flex: 0 0 100%; }
    .b2b-layout-hero .b2b-login-box,
    .b2b-layout-hero .b2b-register-cta { max-width: 100%; }
    .b2b-strip-item { flex: 1 1 100%; border-left: none; padding: 6px 0; }
}

/* --- Hero layout: refinements to match the design --- */
.b2b-layout-hero .b2b-header-inner,
.b2b-layout-hero .b2b-top-section .b2b-container {
    max-width: 1500px;
}
.b2b-layout-hero .b2b-top-section { padding-top: 42px; }
.b2b-layout-hero .b2b-hero-text { padding-bottom: 24px; }
.b2b-layout-hero .b2b-hero-text h1 { font-size: 40px; }

.b2b-layout-hero .b2b-login-col { max-width: 392px; }
.b2b-layout-hero .b2b-register-col { max-width: 448px; }
.b2b-layout-hero .b2b-login-box,
.b2b-layout-hero .b2b-register-cta {
    max-width: 100%;
    width: 100%;
    padding: 26px;
}
.b2b-layout-hero .b2b-login-box .b2b-title { font-size: 19px; margin-bottom: 18px; }
.b2b-layout-hero .b2b-register-cta .b2b-title { font-size: 20px; margin-bottom: 10px; }
.b2b-layout-hero .b2b-register-cta .b2b-subtitle { font-size: 14px; margin-bottom: 16px; }
.b2b-hero-benefits > p { font-size: 14px; color: #374151; margin: 0 0 10px; }

/* Full-width CTAs in both cards */
.b2b-layout-hero .b2b-login-box .b2b-btn,
.b2b-layout-hero .b2b-register-cta .b2b-btn {
    width: 100%;
    padding: 13px 20px;
    border-radius: 8px;
}

/* Reset-password link: small, right-aligned, subtle on the dark card */
.b2b-layout-hero .b2b-form-links { text-align: right; margin-top: 12px; }
.b2b-layout-hero .b2b-form-links .b2b-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}
.b2b-layout-hero .b2b-form-links .b2b-link:hover { color: #fff; }

.b2b-layout-hero .b2b-top-section .b2b-row { gap: 20px; }
.b2b-layout-hero .b2b-verify-note { margin-top: 12px; }
.b2b-hero-strip { margin-top: 30px; }

/* Smaller inputs on the dark card, matching the design */
.b2b-layout-hero .b2b-login-box .b2b-input { padding: 11px 14px; font-size: 14px; border-radius: 8px; }
.b2b-layout-hero .b2b-login-box .b2b-form-group { margin-bottom: 16px; }
.b2b-layout-hero .b2b-login-box label { font-size: 13px; margin-bottom: 6px; }

/* --- Hero layout: white header (per design) --- */
.b2b-layout-hero .b2b-header {
    background: #fff;
    border-bottom: 1px solid #ececec;
    box-shadow: none;
}
.b2b-layout-hero .b2b-header-phone strong { color: #111827; }
.b2b-layout-hero .b2b-header-phone span { color: #9ca3af; }

/* Register card title with a small icon (person-plus) in the brand color */
.b2b-layout-hero .b2b-register-cta .b2b-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.b2b-layout-hero .b2b-register-cta .b2b-title::before {
    content: "";
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    background: var(--b2b-primary, #e02b2b);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/><circle cx='9' cy='7' r='4'/><line x1='19' y1='8' x2='19' y2='14'/><line x1='22' y1='11' x2='16' y2='11'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/><circle cx='9' cy='7' r='4'/><line x1='19' y1='8' x2='19' y2='14'/><line x1='22' y1='11' x2='16' y2='11'/></svg>") no-repeat center / contain;
}

/* Verify note with a small shield icon */
.b2b-verify-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.b2b-verify-note::before {
    content: "";
    width: 14px;
    height: 14px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><polyline points='9 12 11 14 15 10'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><polyline points='9 12 11 14 15 10'/></svg>") no-repeat center / contain;
}

/* Strip items with an icon on the left (SVG pasted in the config HTML) */
.b2b-strip-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
}
.b2b-strip-item svg {
    grid-row: 1 / span 2;
    width: 34px;
    height: 34px;
    color: var(--b2b-primary, #e02b2b);
}
.b2b-strip-item strong { grid-column: 2; align-self: end; }
.b2b-strip-item span { grid-column: 2; align-self: start; }

/* --- Hero: remember-me row (checkbox left, password link right) --- */
.b2b-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
}
.b2b-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
}
.b2b-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--b2b-primary, #e02b2b);
    cursor: pointer;
}
.b2b-remember-row .b2b-link { font-size: 13px; color: rgba(255, 255, 255, 0.65); }
.b2b-remember-row .b2b-link:hover { color: #fff; }
.b2b-layout-hero .b2b-form-actions { margin-top: 16px; }

/* --- Hero: phone icon in the header --- */
.b2b-layout-hero .b2b-header-phone {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    text-align: right;
}
.b2b-layout-hero .b2b-header-phone::before {
    content: "";
    grid-row: 1 / span 2;
    width: 20px;
    height: 20px;
    background: var(--b2b-primary, #e02b2b);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/></svg>") no-repeat center / contain;
}
.b2b-layout-hero .b2b-header-phone strong,
.b2b-layout-hero .b2b-header-phone span { grid-column: 2; }

/* --- Hero: envelope icon inside the e-mail input --- */
.b2b-layout-hero #login-email {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='4' width='20' height='16' rx='2'/><path d='m22 7-10 6L2 7'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

/* --- Strip icons via CSS classes (HTMLPurifier strips inline <svg> from the
   config HTML, so icons are picked with a class on the item) --- */
.b2b-strip-item[class*="b2b-ico-"]::before {
    content: "";
    grid-row: 1 / span 2;
    width: 34px;
    height: 34px;
    background: var(--b2b-primary, #e02b2b);
    -webkit-mask: var(--b2b-ico) no-repeat center / contain;
    mask: var(--b2b-ico) no-repeat center / contain;
}
.b2b-ico-shield  { --b2b-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><polyline points='9 12 11 14 15 10'/></svg>"); }
.b2b-ico-truck   { --b2b-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='1' y='3' width='15' height='13' rx='1'/><path d='M16 8h4l3 3v5h-7V8z'/><circle cx='5.5' cy='18.5' r='2.5'/><circle cx='18.5' cy='18.5' r='2.5'/></svg>"); }
.b2b-ico-box     { --b2b-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/><polyline points='3.27 6.96 12 12.01 20.73 6.96'/><line x1='12' y1='22.08' x2='12' y2='12'/></svg>"); }
.b2b-ico-headset { --b2b-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 18v-6a9 9 0 0 1 18 0v6'/><path d='M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z'/></svg>"); }
.b2b-ico-star    { --b2b-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"); }
.b2b-ico-tag     { --b2b-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M20.59 13.41 12 22 2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/><circle cx='7' cy='7' r='1.5'/></svg>"); }

/* --- Hero header tweaks: smaller logo, divider before CTA, dark phone icon --- */
.b2b-layout-hero .b2b-logo img { max-height: 30px; }
.b2b-layout-hero .b2b-header-phone {
    padding-right: 18px;
    border-right: 1px solid #e5e7eb;
}
.b2b-layout-hero .b2b-header-phone::before { background: #111827; }

/* Hero headline size per design */
.b2b-layout-hero .b2b-hero-text h1 { font-size: 30px; }

/* ===================================================================
   HERO: description ("O platformie") section + footer, per design
   =================================================================== */

/* Red overline, e.g. <p class="b2b-overline">O platformie</p> */
.b2b-overline {
    color: var(--b2b-primary, #e02b2b) !important;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 0 10px !important;
}

.b2b-layout-hero .b2b-description-section { padding: 56px 0; }
.b2b-layout-hero .b2b-description-content h2 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 14px;
}
.b2b-layout-hero .b2b-description-content p { font-size: 15px; }

/* Two-column checklist:
   <ul class="b2b-check-grid"><li><strong>Tytuł</strong><span>opis</span></li>...</ul> */
.b2b-check-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
    list-style: none !important;
    margin: 22px 0 !important;
    padding: 0 !important;
}
.b2b-check-grid li {
    position: relative;
    padding: 0 0 0 28px !important;
    display: block !important;
    font-size: 14px;
}
.b2b-check-grid li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 17px;
    height: 17px;
    background: var(--b2b-primary, #e02b2b);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.6 5.9-4.2 4.6a.75.75 0 0 1-1.1.02L4.4 8.6a.75.75 0 1 1 1.08-1.04l1.35 1.4 3.66-4.02a.75.75 0 0 1 1.11 1z'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.6 5.9-4.2 4.6a.75.75 0 0 1-1.1.02L4.4 8.6a.75.75 0 1 1 1.08-1.04l1.35 1.4 3.66-4.02a.75.75 0 0 1 1.11 1z'/></svg>") no-repeat center / contain;
}
.b2b-check-grid li strong { display: block; color: #111827; font-size: 14px; }
.b2b-check-grid li span { display: block; color: #6b7280; font-size: 13px; }

/* Outline button, e.g. <a class="b2b-btn-outline" href="/...">Dowiedz się więcej</a> */
.b2b-btn-outline {
    display: inline-block;
    border: 1px solid var(--b2b-primary, #e02b2b);
    color: var(--b2b-primary, #e02b2b) !important;
    background: transparent;
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.b2b-btn-outline:hover { background: var(--b2b-primary, #e02b2b); color: #fff !important; }

/* Image: rounded, with a floating white note card */
.b2b-layout-hero .b2b-description-image { position: relative; }
.b2b-layout-hero .b2b-description-image img { border-radius: 14px; }
.b2b-image-note {
    position: absolute;
    right: -18px;
    bottom: 26px;
    max-width: 270px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
    padding: 16px 18px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #4b5563;
}
.b2b-image-note strong { color: #111827; }

/* Footer: centered links with divider bars + copyright */
.b2b-layout-hero .b2b-footer {
    background: #fff;
    border-top: 1px solid #ececec;
    padding: 22px 0;
}
.b2b-layout-hero .b2b-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-bottom: 10px;
}
.b2b-layout-hero .b2b-footer-links a {
    color: #374151;
    font-size: 13.5px;
    text-decoration: none;
    padding: 0 18px;
    border-right: 1px solid #d1d5db;
}
.b2b-layout-hero .b2b-footer-links a:last-child { border-right: none; }
.b2b-layout-hero .b2b-footer-links a:hover { color: var(--b2b-primary, #e02b2b); }
.b2b-layout-hero .b2b-copyright {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    margin: 0;
}

@media (max-width: 767px) {
    .b2b-check-grid { grid-template-columns: 1fr; }
    .b2b-image-note { position: static; margin-top: 14px; max-width: 100%; }
}

/* --- Hero polish round: subtitle size, section bg, image frame, dark footer --- */
.b2b-layout-hero .b2b-hero-text p { font-size: 14px; }

.b2b-layout-hero .b2b-description-section { background-color: #f7f7f7; }
.b2b-layout-hero .b2b-description-image img {
    border-radius: 0;
    box-shadow: none;
}

/* Dark footer (per design) */
.b2b-layout-hero .b2b-footer {
    background: var(--b2b-secondary, #12131a);
    border-top: none;
    padding: 24px 0;
}
.b2b-layout-hero .b2b-footer-links a {
    color: rgba(255, 255, 255, 0.85);
    border-right-color: rgba(255, 255, 255, 0.25);
}
.b2b-layout-hero .b2b-footer-links a:hover { color: #fff; }
.b2b-layout-hero .b2b-copyright { color: rgba(255, 255, 255, 0.6); }
.b2b-powered {
    text-align: center;
    margin: 6px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}
.b2b-powered a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}
.b2b-powered a:hover { color: #fff; }

/* --- Image-note rotator: stacked slides with a cross-fade --- */
.b2b-image-note { min-height: 88px; }
.b2b-image-note-slide {
    opacity: 0;
    transition: opacity 0.6s ease;
    position: absolute;
    inset: 16px 18px;
    pointer-events: none;
}
.b2b-image-note-slide--active {
    opacity: 1;
    position: static;
    pointer-events: auto;
}

/* ===================================================================
   HERO: registration wizard (4 steps)
   =================================================================== */
.b2b-layout-hero #b2b-register-modal .b2b-modal-container { max-width: 760px; }

.b2b-wizard .b2b-step { display: none; }
.b2b-wizard .b2b-step--active { display: block; }
.b2b-wizard .b2b-fieldset { border: none; padding: 0; margin: 0 0 10px; }

/* Progress indicator */
.b2b-wizard-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 20px;
}
.b2b-wp-item { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.b2b-wp-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid #d1d5db;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
}
.b2b-wp-label { font-size: 13.5px; color: #6b7280; font-weight: 500; }
.b2b-wp-line { flex: 1 1 auto; height: 2px; background: #e5e7eb; border-radius: 2px; min-width: 18px; }
.b2b-wp-item--current .b2b-wp-dot,
.b2b-wp-item--done .b2b-wp-dot {
    background: var(--b2b-primary, #e02b2b);
    border-color: var(--b2b-primary, #e02b2b);
    color: #fff;
}
.b2b-wp-item--current .b2b-wp-label { color: var(--b2b-primary, #e02b2b); font-weight: 700; }

/* Info box under account fields */
.b2b-wizard-info {
    background: #f6f7f9;
    border: 1px solid #eceef1;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13.5px;
    color: #4b5563;
    margin-top: 6px;
}

/* Nav buttons */
.b2b-wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}
.b2b-wizard-back {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
}
.b2b-wizard-next { margin-left: auto; min-width: 180px; }

/* Invalid field marker */
.b2b-input--error { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important; }

/* Summary (step 4) */
.b2b-step-heading { font-size: 17px; margin: 0 0 14px; color: #111827; }
.b2b-summary-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.b2b-summary-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.b2b-summary-head strong { font-size: 14.5px; color: #111827; }
.b2b-summary-edit {
    background: transparent;
    border: none;
    color: var(--b2b-primary, #e02b2b);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 4px;
}
.b2b-summary-body { font-size: 13.5px; color: #4b5563; line-height: 1.55; }
.b2b-summary-consents { margin: 14px 2px 4px; }
.b2b-summary-consents strong { font-size: 14px; color: #111827; }
.b2b-summary-consents ul { list-style: none; margin: 8px 0 0; padding: 0; }
.b2b-summary-consents li {
    position: relative;
    padding: 3px 0 3px 26px;
    font-size: 13.5px;
    color: #374151;
}
.b2b-summary-consents li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 15px;
    height: 15px;
    background: #16a34a;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M13.7 4.3a1 1 0 0 1 0 1.4l-6 6a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L7 9.6l5.3-5.3a1 1 0 0 1 1.4 0z'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M13.7 4.3a1 1 0 0 1 0 1.4l-6 6a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L7 9.6l5.3-5.3a1 1 0 0 1 1.4 0z'/></svg>") no-repeat center / contain;
}

/* --- GUS fetched-company box (wizard, Firma step) --- */
.b2b-gus-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #f6f7f9;
    border: 1px solid #eceef1;
    border-radius: 10px;
    padding: 13px 16px;
    margin: 4px 0 18px;
}
.b2b-gus-result-main { display: flex; flex-direction: column; min-width: 0; }
.b2b-gus-result-main strong { font-size: 14px; color: #111827; }
.b2b-gus-result-main span { font-size: 12.5px; color: #6b7280; }
.b2b-gus-result-badge {
    flex: 0 0 auto;
    color: #16a34a;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* --- Wizard: sticky footer with the nav/submit buttons (no scrolling to
   reach the CTA) --- */
.b2b-wizard .b2b-wizard-nav {
    position: sticky;
    bottom: 0;
    z-index: 3;
    background: #fff;
    margin: 18px -4px 0;
    padding: 14px 4px;
    border-top: 1px solid #eef0f3;
}
.b2b-wizard .b2b-wizard-nav #b2bWizardSubmitWrap {
    flex: 1 1 auto;
    margin: 0 0 0 auto;
    max-width: 340px;
}
.b2b-wizard .b2b-wizard-nav #b2bWizardSubmitWrap .b2b-btn { width: 100%; }
