/**
 * Culture Digitali B2G PA Portal Styling
 * Designed with a premium, institutional but modern look (glassmorphic badges, interactive buttons, micro-animations).
 */

:root {
    --b2g-primary: #0056b3;
    --b2g-primary-hover: #003d82;
    --b2g-primary-dark: #002e6e;
    --b2g-mepa-color: #f57c00;
    --b2g-mepa-bg: rgba(245, 124, 0, 0.1);
    --b2g-pnrr-color: #2e7d32;
    --b2g-pnrr-bg: rgba(46, 125, 50, 0.1);
    --b2g-cyber-color: #c62828;
    --b2g-cyber-bg: rgba(198, 40, 40, 0.1);
    --b2g-access-color: #1565c0;
    --b2g-access-bg: rgba(21, 101, 192, 0.1);
    --b2g-cloud-color: #0288d1;
    --b2g-cloud-bg: rgba(2, 136, 209, 0.1);
    
    --b2g-border-radius: 8px;
    --b2g-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --b2g-shadow-hover: 0 10px 30px rgba(0, 86, 179, 0.12);
    --b2g-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 1. Badges above title */
.b2g-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.b2g-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    transition: var(--b2g-transition);
}

.b2g-badge-mepa {
    color: var(--b2g-mepa-color);
    background-color: var(--b2g-mepa-bg);
    border-color: rgba(245, 124, 0, 0.2);
}

.b2g-badge-pnrr {
    color: var(--b2g-pnrr-color);
    background-color: var(--b2g-pnrr-bg);
    border-color: rgba(46, 125, 50, 0.2);
}

.b2g-badge-access {
    color: var(--b2g-access-color);
    background-color: var(--b2g-access-bg);
    border-color: rgba(21, 101, 192, 0.2);
}

.b2g-badge-cyber {
    color: var(--b2g-cyber-color);
    background-color: var(--b2g-cyber-bg);
    border-color: rgba(198, 40, 40, 0.2);
}

.b2g-badge-cloud {
    color: var(--b2g-cloud-color);
    background-color: var(--b2g-cloud-bg);
    border-color: rgba(2, 136, 209, 0.2);
}

.b2g-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* 2. Custom B2G Prices */
.b2g-price-label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.b2g-price-amount {
    font-size: 26px;
    font-weight: 800;
    color: var(--b2g-primary-dark);
}

.b2g-price-tax-label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.b2g-price-on-request {
    font-size: 20px;
    font-weight: 700;
    color: var(--b2g-primary);
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.05) 0%, rgba(0, 86, 179, 0.1) 100%);
    padding: 10px 20px;
    border-radius: var(--b2g-border-radius);
    border-left: 4px solid var(--b2g-primary);
    display: inline-block;
}

/* 3. CTA Buttons in Single Product Summary */
.b2g-ctas-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.b2g-main-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    border-radius: var(--b2g-border-radius);
    text-decoration: none !important;
    transition: var(--b2g-transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.b2g-main-btn .btn-text {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.b2g-main-btn .btn-subtext {
    font-size: 11px;
    opacity: 0.85;
    margin-top: 3px;
}

.b2g-btn-quote {
    background-color: var(--b2g-primary);
    color: #ffffff !important;
}

.b2g-btn-quote:hover {
    background-color: var(--b2g-primary-hover);
    transform: translateY(-3px);
    box-shadow: var(--b2g-shadow-hover);
}

.b2g-btn-mepa {
    background-color: transparent;
    color: var(--b2g-mepa-color) !important;
    border: 2px solid var(--b2g-mepa-color);
}

.b2g-btn-mepa:hover {
    background-color: var(--b2g-mepa-color);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(245, 124, 0, 0.2);
}

.b2g-btn-rdo {
    background-color: #f1f3f5;
    color: #495057 !important;
    border: 1px solid #dee2e6;
}

.b2g-btn-rdo:hover {
    background-color: #e9ecef;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.b2g-meta-quick-info {
    font-size: 13px;
    color: #555;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.b2g-meta-quick-info code {
    background: #f1f3f5;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--b2g-primary-dark);
}

/* 4. Specifications Table in Tab */
.b2g-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.b2g-specs-table th, .b2g-specs-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.b2g-specs-table th {
    font-weight: 700;
    color: #495057;
    width: 35%;
    background-color: #f8f9fa;
}

.b2g-specs-table td code {
    background: #e9ecef;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: monospace;
}

/* Procurement Box in Tab */
.b2g-mepa-instruction-box {
    background: #fff8e1;
    border-left: 4px solid #ffb300;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.b2g-mepa-instruction-box h4 {
    margin-top: 0;
    color: #b78103;
    font-weight: 700;
}

.b2g-mepa-table {
    width: 100%;
    margin-top: 10px;
}

.b2g-mepa-table td {
    padding: 6px 0;
}

/* Documents Grid in Tab */
.b2g-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.b2g-doc-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #dee2e6;
    padding: 20px;
    border-radius: var(--b2g-border-radius);
    text-decoration: none !important;
    color: #333 !important;
    transition: var(--b2g-transition);
}

.b2g-doc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--b2g-shadow);
    border-color: var(--b2g-primary);
}

.b2g-doc-card .doc-icon {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.b2g-doc-pdf .doc-icon { color: #dc3545; }
.b2g-doc-zip .doc-icon { color: #ffc107; }

.b2g-doc-card .doc-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.b2g-doc-card .doc-action {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--b2g-primary);
}

/* 5. Lead Form Section at bottom of page */
.b2g-form-section-container {
    background: radial-gradient(circle at 10% 20%, rgba(248, 249, 250, 1) 0%, rgba(233, 236, 239, 0.7) 100%);
    padding: 60px 20px;
    margin-top: 50px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.b2g-form-inner-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.b2g-form-inner-wrapper h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--b2g-primary-dark);
    text-align: center;
    margin-bottom: 10px;
}

.b2g-form-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 15px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Ajax Form Grid styling */
.b2g-ajax-form {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--b2g-border-radius);
    box-shadow: var(--b2g-shadow);
}

.b2g-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .b2g-form-grid {
        grid-template-columns: 1fr;
    }
    .b2g-ajax-form {
        padding: 20px;
    }
}

.b2g-form-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--b2g-primary);
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.b2g-field-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.b2g-field-group label {
    font-size: 13px;
    font-weight: 700;
    color: #495057;
    margin-bottom: 6px;
}

.b2g-field-group input[type="text"],
.b2g-field-group input[type="email"],
.b2g-field-group input[type="tel"],
.b2g-field-group select,
.b2g-field-group textarea {
    padding: 12px 16px;
    border: 1.5px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    background: #ffffff;
    transition: var(--b2g-transition);
}

.b2g-field-group input:focus,
.b2g-field-group select:focus,
.b2g-field-group textarea:focus {
    border-color: var(--b2g-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
}

.field-hint {
    font-size: 11px;
    color: #868e96;
    margin-top: 5px;
}

.field-hint a {
    color: var(--b2g-primary);
    text-decoration: underline;
}

/* Selected Product summary inside form */
.b2g-selected-product-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--b2g-primary);
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 0 6px 6px 0;
}

.b2g-selected-product-box p {
    margin: 5px 0;
    font-size: 14px;
}

.b2g-form-full-width {
    grid-column: 1 / -1;
    margin-top: 15px;
}

/* Checkbox Style */
.b2g-checkbox-group {
    margin-bottom: 20px;
}

.b2g-checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    color: #495057;
    user-select: none;
    padding-left: 28px;
    margin-bottom: 12px;
}

.b2g-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.b2g-checkbox-container .checkmark {
    position: absolute;
    top: 3px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #eee;
    border-radius: 4px;
    transition: var(--b2g-transition);
}

.b2g-checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.b2g-checkbox-container input:checked ~ .checkmark {
    background-color: var(--b2g-primary);
}

.b2g-checkbox-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.b2g-checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.b2g-checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.b2g-gdpr-box {
    background: #f8f9fa;
    border: 1px dashed #ced4da;
    padding: 20px;
    border-radius: 6px;
    margin: 25px 0;
}

.gdpr-text {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Submit Button & Status */
.b2g-submit-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--b2g-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: var(--b2g-transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.b2g-submit-btn:hover {
    background-color: var(--b2g-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--b2g-shadow-hover);
}

.b2g-submit-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form status messages */
.b2g-form-status-msg {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.b2g-form-status-msg.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.b2g-form-status-msg.error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

/* Spinner anim */
.btn-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: b2g-spin 1s ease-in-out infinite;
}

@keyframes b2g-spin {
    to { transform: rotate(360deg); }
}

/* Landing Pages Shortcodes layout styles */
.b2g-landing-container {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

.b2g-landing-hero {
    position: relative;
    padding: 60px 40px;
    background: linear-gradient(135deg, #002e6e 0%, #0056b3 100%);
    color: #fff;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.b2g-landing-hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.b2g-landing-hero h1 {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.b2g-landing-hero .hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.b2g-hero-badge {
    display: inline-block;
    background-color: #ff9100;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 30px;
    margin-bottom: 15px;
}

.b2g-landing-hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}

@media (max-width: 991px) {
    .b2g-landing-hero {
        padding: 40px 20px;
    }
    .b2g-landing-hero-content {
        max-width: 100%;
    }
    .b2g-landing-hero-image {
        display: none;
    }
}

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

@media (max-width: 991px) {
    .b2g-landing-grid {
        grid-template-columns: 1fr;
    }
}

.b2g-landing-features {
    margin-bottom: 30px;
}

.b2g-feature-card {
    display: flex;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: var(--b2g-transition);
}

.b2g-feature-card:hover {
    border-color: var(--b2g-primary);
    transform: translateY(-2px);
    box-shadow: var(--b2g-shadow);
}

.b2g-feature-icon {
    font-size: 32px;
    color: var(--b2g-primary);
    flex-shrink: 0;
}

.b2g-feature-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--b2g-primary-dark);
}

.b2g-feature-content p {
    margin: 0;
    color: #555;
}

.b2g-landing-sidebar {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    align-self: flex-start;
}

.b2g-landing-sidebar h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--b2g-primary-dark);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--b2g-primary);
    padding-bottom: 8px;
}

.b2g-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.b2g-sidebar-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    font-size: 14px;
}

.b2g-sidebar-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--b2g-primary);
    font-weight: 700;
}

/* Homepage specific styles */
.b2g-home-container {
    padding: 10px 0;
}

.b2g-vertical-card {
    transition: var(--b2g-transition);
}

.b2g-vertical-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

.b2g-stat-item {
    transition: var(--b2g-transition);
}

.b2g-stat-item:hover {
    transform: scale(1.03);
}

.b2g-timeline-step {
    transition: var(--b2g-transition);
}

.b2g-timeline-step:hover {
    border-color: var(--b2g-primary) !important;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .b2g-stats-strip {
        grid-template-columns: 1fr 1fr !important;
    }
    .b2g-stat-item {
        border-right: none !important;
        border-bottom: 1px solid #e9ecef;
        padding-bottom: 15px !important;
    }
    .b2g-stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0 !important;
    }
}

/* ==========================================================================
   B2G Page Overrides (Stretches layout, removes sidebars, headers & footers)
   ========================================================================== */

/* 1. Full-width stretch & remove sidebar */
.b2g-pa-page .widget-area.woodmart-sidebar-content,
.b2g-pa-page .sidebar-container,
.b2g-pa-page aside.sidebar-container,
.b2g-pa-page .sidebar {
    display: none !important;
}

.b2g-pa-page .site-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
}

/* 2. Remove default grey page-title banner */
.b2g-pa-page .page-title-default,
.b2g-pa-page .page-title,
.b2g-pa-page .page-title-color-dark,
.b2g-pa-page .title-wrapper {
    display: none !important;
}

/* 3. Hide WooCommerce retail items from header on B2G pages */
.b2g-pa-page .woodmart-shopping-cart,
.b2g-pa-page .woodmart-wishlist-info-widget,
.b2g-pa-page .whb-search,
.b2g-pa-page .woodmart-search-dropdown,
.b2g-pa-page .whb-wishlist,
.b2g-pa-page .whb-cart,
.b2g-pa-page .shopping-cart-widget-body,
.b2g-pa-page .search-button,
.b2g-pa-page .search-extended,
.b2g-pa-page .wd-header-cart,
.b2g-pa-page .wd-header-search,
.b2g-pa-page .wd-header-my-account {
    display: none !important;
}

/* Hide breadcrumbs on homepage only */
.b2g-pa-page.home .woocommerce-breadcrumb,
.b2g-pa-page.home .yoast-breadcrumbs {
    display: none !important;
}

/* 4. Hide retail footer columns, keep copyrights */
.b2g-pa-page .footer-container .main-footer,
.b2g-pa-page .footer-container .footer-sidebar {
    display: none !important;
}

.b2g-pa-page .footer-container {
    padding-top: 0 !important;
}

/* ==========================================================================
   B2G Floating Support/Chat Widget Styles
   ========================================================================== */
.b2g-floating-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    font-family: 'Outfit', 'Inter', sans-serif;
}

.b2g-floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--b2g-primary);
    color: #ffffff !important;
    padding: 12px 22px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 86, 179, 0.3);
    cursor: pointer;
    transition: var(--b2g-transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.b2g-floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: var(--b2g-primary-hover);
    box-shadow: 0 12px 40px rgba(0, 86, 179, 0.4);
}

.b2g-floating-btn .btn-pulse {
    width: 10px;
    height: 10px;
    background-color: #00e676;
    border-radius: 50%;
    position: relative;
}

.b2g-floating-btn .btn-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00e676;
    border-radius: 50%;
    animation: b2g-pulse 1.5s infinite;
    opacity: 0.7;
}

@keyframes b2g-pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2.5); opacity: 0; }
}

.b2g-floating-btn .btn-text {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.b2g-floating-btn .btn-icon {
    font-size: 18px;
}

/* Chat window panel */
.b2g-chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid #e9ecef;
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.b2g-chat-window.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.b2g-chat-header {
    background: linear-gradient(135deg, var(--b2g-primary-dark) 0%, var(--b2g-primary) 100%);
    color: #ffffff;
    padding: 20px;
    position: relative;
}

.b2g-chat-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.b2g-chat-header p {
    margin: 4px 0 0 0;
    font-size: 11px;
    opacity: 0.9;
}

.b2g-chat-header .chat-close {
    position: absolute;
    top: 12px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
    color: #ffffff;
    opacity: 0.8;
    transition: var(--b2g-transition);
}

.b2g-chat-header .chat-close:hover {
    opacity: 1;
}

.b2g-chat-body {
    padding: 20px;
}

.b2g-chat-welcome {
    font-size: 12px;
    color: #666;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.4;
}

.b2g-chat-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.b2g-chat-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-decoration: none !important;
    color: #333 !important;
    transition: var(--b2g-transition);
}

.b2g-chat-link-item:hover {
    background: #e9ecef;
    border-color: var(--b2g-primary);
    transform: translateX(3px);
}

.b2g-chat-link-item .link-icon {
    font-size: 20px;
    color: var(--b2g-primary);
}

.b2g-chat-link-item.whatsapp .link-icon {
    color: #25d366;
}

.b2g-chat-link-item .link-info {
    display: flex;
    flex-direction: column;
}

.b2g-chat-link-item .link-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 1px;
}

.b2g-chat-link-item .link-value {
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.b2g-chat-footer-btn {
    display: block;
    text-align: center;
    background: var(--b2g-primary);
    color: #ffffff !important;
    padding: 11px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    margin-top: 15px;
    transition: var(--b2g-transition);
}

.b2g-chat-footer-btn:hover {
    background: var(--b2g-primary-hover);
}

/* Compliance strip styling hover effects */
.b2g-compliance-strip svg {
    transition: var(--b2g-transition);
}
.b2g-compliance-strip svg:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}
.b2g-certifications-section div > div:hover {
    transform: translateY(-5px);
    border-color: var(--b2g-primary) !important;
    box-shadow: 0 10px 25px rgba(0,86,179,0.08) !important;
}

/* ==========================================================================
   Dual-Channel Purchase Layout
   ========================================================================== */
.b2g-dual-channel-container {
    display: flex;
    gap: 24px;
    margin: 30px 0 20px;
    align-items: stretch;
}

.b2g-retail-channel,
.b2g-pa-channel {
    flex: 1;
    padding: 28px;
    border-radius: var(--b2g-border-radius);
    border: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    transition: var(--b2g-transition);
}

.b2g-retail-channel {
    flex: 1.15;
    background: #ffffff;
    box-shadow: var(--b2g-shadow);
    border-top: 4px solid #28a745;
}

.b2g-retail-channel:hover {
    box-shadow: var(--b2g-shadow-hover);
    transform: translateY(-2px);
}

.b2g-pa-channel {
    flex: 1;
    background: linear-gradient(180deg, rgba(0, 86, 179, 0.03) 0%, rgba(0, 86, 179, 0.08) 100%);
    border-top: 4px solid var(--b2g-primary);
}

.b2g-pa-channel:hover {
    box-shadow: 0 8px 24px rgba(0, 86, 179, 0.1);
    transform: translateY(-2px);
}

/* Channel Headers */
.b2g-channel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.b2g-channel-icon {
    font-size: 28px;
    line-height: 1;
}

.b2g-channel-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--b2g-primary-dark);
    line-height: 1.3;
}

.b2g-channel-desc {
    font-size: 13px;
    color: #6c757d;
    margin: 0 0 16px;
    line-height: 1.5;
}

/* Retail Price Box */
.b2g-retail-price-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.b2g-retail-price-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.b2g-retail-price-amount {
    font-size: 22px;
    font-weight: 800;
    color: #166534;
}

.b2g-retail-price-amount .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* WC Add to Cart Wrapper */
.b2g-wc-add-to-cart-wrapper {
    margin-bottom: 16px;
}

.b2g-wc-add-to-cart-wrapper .cart {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.b2g-wc-add-to-cart-wrapper .quantity {
    width: 80px;
}

.b2g-wc-add-to-cart-wrapper .single_add_to_cart_button {
    flex: 1;
    min-width: 180px;
    background-color: #28a745 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 20px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    transition: var(--b2g-transition);
    cursor: pointer;
}

.b2g-wc-add-to-cart-wrapper .single_add_to_cart_button:hover {
    background-color: #218838 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

/* Retail Trust Badges */
.b2g-retail-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #e9ecef;
}

.b2g-trust-item {
    font-size: 11px;
    font-weight: 600;
    color: #495057;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    white-space: nowrap;
}

/* PA Price Box */
.b2g-pa-price-box {
    background: rgba(0, 86, 179, 0.06);
    border: 1px solid rgba(0, 86, 179, 0.15);
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.b2g-pa-price-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.b2g-pa-price-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--b2g-primary-dark);
}

.b2g-pa-price-amount .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.b2g-pa-price-note {
    display: block;
    font-size: 11px;
    color: #868e96;
    margin-top: 4px;
}

/* PA Channel CTA overrides inside dual-channel */
.b2g-pa-channel .b2g-ctas-block {
    margin: 0;
}

.b2g-pa-channel .b2g-meta-quick-info {
    margin-top: auto;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .b2g-dual-channel-container {
        flex-direction: column;
    }

    .b2g-retail-channel,
    .b2g-pa-channel {
        flex: 1 1 100%;
    }
}

/* ==========================================================================
   Trust Signal Bar
   ========================================================================== */
.b2g-trust-bar {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 24px 30px;
    margin: 30px 0;
}

.b2g-trust-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.b2g-trust-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 160px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--b2g-transition);
}

.b2g-trust-bar-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.b2g-trust-bar-icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}

.b2g-trust-bar-text {
    display: flex;
    flex-direction: column;
}

.b2g-trust-bar-text strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--b2g-primary-dark);
    line-height: 1.2;
}

.b2g-trust-bar-text span {
    font-size: 11px;
    color: #6c757d;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .b2g-trust-bar-inner {
        justify-content: center;
    }

    .b2g-trust-bar-item {
        min-width: 140px;
    }
}

@media (max-width: 576px) {
    .b2g-trust-bar {
        padding: 16px;
    }

    .b2g-trust-bar-inner {
        gap: 10px;
    }

    .b2g-trust-bar-item {
        min-width: calc(50% - 10px);
    }
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.b2g-why-choose-us {
    margin: 40px 0;
}

.b2g-why-choose-us h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--b2g-primary-dark);
    text-align: center;
    margin-bottom: 30px;
}

.b2g-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.b2g-why-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: var(--b2g-border-radius);
    padding: 28px 22px;
    text-align: center;
    transition: var(--b2g-transition);
}

.b2g-why-card:hover {
    border-color: var(--b2g-primary);
    transform: translateY(-4px);
    box-shadow: var(--b2g-shadow-hover);
}

.b2g-why-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 14px;
    line-height: 1;
}

.b2g-why-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--b2g-primary-dark);
    margin: 0 0 10px;
}

.b2g-why-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .b2g-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .b2g-why-grid {
        grid-template-columns: 1fr;
    }

    .b2g-why-choose-us h2 {
        font-size: 22px;
    }
}

/* ==========================================================================
   NIS2 Urgency Banner
   ========================================================================== */
.b2g-urgency-banner {
    background: linear-gradient(135deg, #dc3545 0%, #e65100 50%, #ff6f00 100%);
    border-radius: 12px;
    padding: 4px;
    margin: 40px 0;
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.25);
}

.b2g-urgency-inner {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.95) 0%, rgba(230, 81, 0, 0.95) 100%);
    border-radius: 10px;
    padding: 32px 36px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    color: #ffffff;
}

.b2g-urgency-icon {
    font-size: 48px;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.b2g-urgency-content h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.b2g-urgency-content p {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.b2g-urgency-content p strong {
    color: #ffeb3b;
    font-weight: 800;
}

.b2g-urgency-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.b2g-urgency-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--b2g-transition);
}

.b2g-urgency-btn-primary {
    background: #ffffff;
    color: #dc3545 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.b2g-urgency-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #fff9c4;
}

.b2g-urgency-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.b2g-urgency-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .b2g-urgency-inner {
        flex-direction: column;
        padding: 24px 20px;
        text-align: center;
        align-items: center;
    }

    .b2g-urgency-ctas {
        justify-content: center;
    }

    .b2g-urgency-content h3 {
        font-size: 18px;
    }
}

/* ==========================================================================
   Social Proof Section
   ========================================================================== */
.b2g-social-proof {
    background: linear-gradient(135deg, var(--b2g-primary-dark) 0%, var(--b2g-primary) 100%);
    border-radius: 12px;
    padding: 40px 30px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.2);
}

.b2g-social-proof-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.b2g-proof-stat {
    text-align: center;
    flex: 1 1 auto;
    min-width: 120px;
}

.b2g-proof-number {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 6px;
}

.b2g-proof-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.b2g-proof-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .b2g-social-proof {
        padding: 30px 20px;
    }

    .b2g-proof-divider {
        display: none;
    }

    .b2g-proof-stat {
        min-width: calc(50% - 20px);
    }

    .b2g-proof-number {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .b2g-proof-stat {
        min-width: 100%;
    }
}


/* ==========================================================================
   GDPR Cookie Consent Banner
   ========================================================================== */

@keyframes cd-slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@keyframes cd-slideDown {
    from { transform: translateY(0);    opacity: 1; }
    to   { transform: translateY(100%); opacity: 0; }
}

.cd-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    animation: cd-slideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cd-cookie-banner.cd-hiding {
    animation: cd-slideDown 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cd-cookie-inner {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 30px;
    color: #e2e8f0;
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
}

.cd-cookie-main {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.cd-cookie-text {
    flex: 1;
}

.cd-cookie-text p {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.6;
    color: #cbd5e1;
}

.cd-cookie-text p strong {
    color: #ffffff;
    font-size: 14px;
}

.cd-cookie-company {
    font-size: 11px !important;
    color: #94a3b8 !important;
    margin-top: 4px !important;
}

.cd-cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cd-cookie-btn {
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.cd-cookie-btn-accept {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.cd-cookie-btn-accept:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.cd-cookie-btn-reject {
    background: transparent;
    color: #e2e8f0;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.cd-cookie-btn-reject:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.cd-cookie-btn-customize {
    background: none;
    color: #93c5fd;
    padding: 10px 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
}

.cd-cookie-btn-customize:hover {
    color: #bfdbfe;
}

/* Preferences panel */
.cd-cookie-preferences {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 20px;
    padding-top: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.cd-cookie-pref-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 18px;
}

.cd-cookie-pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
}

.cd-cookie-pref-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-right: 15px;
}

.cd-cookie-pref-info strong {
    color: #f1f5f9;
    font-size: 13px;
}

.cd-cookie-pref-desc {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
}

/* Toggle switch */
.cd-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.cd-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cd-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: 0.3s;
    border-radius: 26px;
}

.cd-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 50%;
}

.cd-toggle input:checked + .cd-toggle-slider {
    background-color: #22c55e;
}

.cd-toggle input:checked + .cd-toggle-slider:before {
    transform: translateX(22px);
}

.cd-toggle input:disabled + .cd-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cd-cookie-pref-actions {
    display: flex;
    justify-content: flex-end;
}

/* Responsive cookie banner */
@media (max-width: 900px) {
    .cd-cookie-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .cd-cookie-actions {
        flex-wrap: wrap;
        width: 100%;
    }
    .cd-cookie-btn-accept,
    .cd-cookie-btn-reject {
        flex: 1;
        text-align: center;
    }
    .cd-cookie-pref-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cd-cookie-inner {
        padding: 18px 16px;
    }
    .cd-cookie-actions {
        flex-direction: column;
    }
    .cd-cookie-btn {
        width: 100%;
        text-align: center;
    }
}


/* ==========================================================================
   Lead Capture Pop-up
   ========================================================================== */

@keyframes cd-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes cd-popIn {
    from { opacity: 0; transform: scale(0.85) translateY(30px); }
    to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

@keyframes cd-popOut {
    from { opacity: 1; transform: scale(1)    translateY(0);    }
    to   { opacity: 0; transform: scale(0.85) translateY(30px); }
}

.cd-lead-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999998;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cd-fadeIn 0.3s ease forwards;
    padding: 20px;
}

.cd-lead-overlay.cd-hiding {
    animation: cd-fadeIn 0.3s ease reverse forwards;
}

.cd-lead-popup {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    animation: cd-popIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
}

.cd-lead-overlay.cd-hiding .cd-lead-popup {
    animation: cd-popOut 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Close button */
.cd-lead-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 22px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}

.cd-lead-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

/* Header */
.cd-lead-header {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 50%, #a855f7 100%);
    padding: 32px 30px 28px;
    border-radius: 16px 16px 0 0;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cd-lead-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.cd-lead-header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.cd-lead-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.cd-lead-header h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.cd-lead-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.92;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Body */
.cd-lead-body {
    padding: 24px 30px 28px;
}

.cd-lead-inside-title {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0 0 12px;
}

.cd-lead-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.cd-lead-checklist li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
}

.cd-lead-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 800;
    font-size: 14px;
}

/* Form */
.cd-lead-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cd-lead-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: #f8fafc;
    transition: all 0.25s ease;
    color: #1e293b;
    box-sizing: border-box;
}

.cd-lead-field input::placeholder {
    color: #94a3b8;
}

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

.cd-lead-field input.cd-input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.cd-lead-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Privacy checkbox */
.cd-lead-privacy {
    margin-top: 4px;
}

.cd-lead-privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    cursor: pointer;
}

.cd-lead-privacy-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #6366f1;
}

.cd-lead-privacy-label a {
    color: #6366f1;
    text-decoration: underline;
}

/* Status messages */
.cd-lead-status {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.cd-lead-status.cd-success {
    background: #ecfdf5;
    color: #059669;
    border-left: 3px solid #10b981;
}

.cd-lead-status.cd-error {
    background: #fef2f2;
    color: #dc2626;
    border-left: 3px solid #ef4444;
}

/* Submit */
.cd-lead-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
}

.cd-lead-submit-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.cd-lead-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cd-lead-btn-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: b2g-spin 0.8s linear infinite;
}

/* No thanks */
.cd-lead-no-thanks {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 12px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.cd-lead-no-thanks:hover {
    color: #64748b;
    text-decoration: underline;
}

/* Responsive lead popup */
@media (max-width: 580px) {
    .cd-lead-popup {
        max-width: 100%;
        border-radius: 12px;
    }
    .cd-lead-header {
        padding: 24px 20px 22px;
        border-radius: 12px 12px 0 0;
    }
    .cd-lead-header h2 {
        font-size: 22px;
    }
    .cd-lead-body {
        padding: 20px;
    }
    .cd-lead-field-row {
        grid-template-columns: 1fr;
    }
}


/* B2G Institutional Footer */
.b2g-institutional-footer { background: #111; color: #fff; padding: 60px 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
.b2g-if-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.b2g-if-col h3 { color: #f97316; font-size: 20px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.b2g-if-desc { color: #aaa; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.b2g-if-contact { list-style: none; padding: 0; margin: 0; }
.b2g-if-contact li { color: #ccc; font-size: 14px; margin-bottom: 10px; }
.b2g-if-contact a { color: #fff; text-decoration: none; transition: color 0.2s; }
.b2g-if-contact a:hover { color: #f97316; }
.b2g-cert-badges { display: flex; flex-wrap: wrap; gap: 15px; }
.b2g-badge { background: #222; border: 1px solid #333; border-radius: 8px; padding: 10px 15px; display: flex; align-items: center; gap: 10px; flex: 1 1 120px; transition: transform 0.2s, border-color 0.2s; }
.b2g-badge:hover { transform: translateY(-3px); border-color: #f97316; }
.badge-icon { font-size: 24px; }
.badge-text { font-size: 14px; font-weight: bold; color: #fff; line-height: 1.2; }
.badge-text small { color: #888; font-size: 11px; font-weight: normal; display: block; text-transform: uppercase; }
.b2g-mepa-logos { display: flex; gap: 15px; }
.mepa-css-logo { background: #fff; border-radius: 6px; padding: 10px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 120px; border-bottom: 3px solid #005A9C; }
.mepa-css-logo strong { color: #005A9C; font-size: 20px; letter-spacing: 1px; }
.mepa-css-logo span { color: #333; font-size: 10px; text-transform: uppercase; font-weight: bold; }
.consip-css-logo { background: #005A9C; border-radius: 6px; padding: 10px; display: inline-flex; align-items: center; justify-content: center; width: 120px; }
.consip-css-logo strong { color: #fff; font-size: 20px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
