.atas-b2b-statement {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.atas-b2b-statement__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.atas-b2b-cart-bar {
    margin-bottom: 14px;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 14px;
}

.atas-b2b-cart-bar.is-insufficient {
    background: #fef2f2;
    color: #7f1d1d;
}

.atas-b2b-progress {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.atas-b2b-progress span {
    display: block;
    height: 100%;
    background: #111827;
}

.atas-b2b-cart-bar.is-insufficient .atas-b2b-progress span {
    background: #ef4444;
}

.atas-b2b-card .woocommerce-form-register {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 16px;
    align-items: start;
}

.atas-b2b-card .woocommerce-form-register .form-row {
    margin: 0;
    width: auto !important;
    float: none !important;
    clear: none !important;
}

.atas-b2b-card .woocommerce-form-register .form-row-wide {
    width: auto !important;
}

.atas-b2b-card .woocommerce-form-register .form-row:not(.form-row-wide) {
    grid-column: auto;
}

.atas-b2b-card .woocommerce-form-register > .atas-b2b-half {
    grid-column: span 1 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.atas-b2b-card .woocommerce-form-register > .atas-b2b-span-2,
.atas-b2b-card .woocommerce-form-register > .atas-b2b-consent-group {
    grid-column: 1 / -1 !important;
}

.atas-b2b-card .woocommerce-form-register .atas-b2b-span-2 {
    grid-column: 1 / -1;
}

.atas-b2b-card .woocommerce-form-register input[type="text"],
.atas-b2b-card .woocommerce-form-register input[type="email"],
.atas-b2b-card .woocommerce-form-register input[type="file"],
.atas-b2b-card .woocommerce-form-register textarea {
    width: 100%;
    box-sizing: border-box;
}

.atas-b2b-card .woocommerce-form-register input[type="file"] {
    padding: 9px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}

.atas-b2b-card .woocommerce-form-register input[type="file"]::file-selector-button {
    margin-right: 10px;
    border: 0;
    border-radius: 6px;
    padding: 7px 10px;
    background: #f3f4f6;
    color: #111827;
    cursor: pointer;
}

.atas-b2b-card .atas-b2b-consent-row label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.55;
    font-size: 14px;
    color: #374151;
}

.atas-b2b-card .atas-b2b-consent-row input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #0070dc;
}

.atas-b2b-card .atas-b2b-consent-group {
    display: block;
    grid-column: 1 / -1;
}

.atas-b2b-card .atas-b2b-consent-group .atas-b2b-consent-row {
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    background: transparent;
}

.atas-b2b-card .atas-b2b-consent-group .atas-b2b-consent-row:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .atas-b2b-card .woocommerce-form-register {
        grid-template-columns: 1fr;
    }
}

@media print {
    header,
    footer,
    .site-header,
    .site-footer,
    .woocommerce-MyAccount-navigation,
    .button,
    button {
        display: none !important;
    }

    .atas-b2b-statement {
        box-shadow: none;
        padding: 0;
    }
}
