/**
 * Balkaya Teklif Form Styles
 * Primary: #C0D137, Dark: #9aab0f
 * Form inputs: theme classes (w-form, etc.) - no custom styling
 */

.balkaya-teklif-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    --bt-primary: #c0d137;
    --bt-primary-dark: #9aab0f;
    --bt-ink: #2f3318;
    --bt-muted: #5b6247;
    --bt-surface: #fcfdf8;
    --bt-surface-soft: #f4f7e8;
    --bt-border: #d9e0b8;
    --bt-on-primary: #1a1a1a;
    --bt-price: #c0392b;
    --bt-radius: 16px;
}

.balkaya-teklif-form {
    --bt-primary: inherit;
    --bt-primary-dark: inherit;
    --bt-ink: inherit;
    --bt-muted: inherit;
    --bt-surface: inherit;
    --bt-surface-soft: inherit;
    --bt-border: inherit;
    --bt-on-primary: inherit;
    --bt-price: inherit;
    --bt-radius: 16px;

    max-width: 800px;
    margin: 0.75rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    box-sizing: border-box;
    padding: 1rem 1rem 1.25rem;
    background:
        linear-gradient(180deg, var(--bt-surface) 0%, #fff 42%, #fafbf4 100%);
    border: 1px solid var(--bt-border);
    border-top: 4px solid var(--bt-primary);
    border-radius: var(--bt-radius);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 8px 28px rgba(42, 48, 8, 0.06);
    position: relative;
}

.balkaya-teklif-form > .bt-step,
.balkaya-teklif-form > .bt-fixed-price-bar,
.balkaya-teklif-form > .bt-back-home-wrap {
    width: 100%;
}

.bt-step-3 {
    width: 100%;
}

.bt-step-3 #bt-shipping-form,
.bt-step-3 .bt-documents-section,
.bt-step-3 .bt-usp-bar,
.bt-step-3 .bt-written-quote-wrap,
.bt-step-3 .bt-contact-section,
.bt-step-3 .bt-coupon-section,
.bt-step-3 .bt-step3-actions {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Header row - centered logo only */
.bt-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
}

.bt-header-row .bt-logo {
    margin-bottom: 0;
}

.bt-header-row .bt-logo img {
    max-width: 250px;
    height: auto;
}

/* Step 1 top: logo + USPs above the form */
.bt-step1-top {
    width: 100%;
    margin-bottom: 0.5rem;
}

.bt-step-1 .bt-header-row {
    justify-content: center;
    margin-bottom: 0.35rem;
}

.bt-step-1 .bt-logo {
    margin-bottom: 0;
    text-align: center;
}

.bt-step-1 .bt-logo img {
    max-width: 120px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* USP panel - trust signals */
.bt-usp-bar {
    width: 100%;
    margin: 0;
}

.bt-usp-bar--step3 {
    margin: 0 0 0.85rem;
}

/* Slightly tighter USP on step 3 so the form doesn't feel tall */
.bt-usp-bar--step3 .bt-usp-panel {
    gap: 0.35rem;
    padding: 0.45rem;
}

.bt-usp-bar--step3 .bt-usp-google {
    padding: 0.5rem 0.7rem;
}

.bt-usp-bar--step3 .bt-usp-row {
    padding: 0.42rem 0.55rem;
}

.bt-usp-bar--step3 .bt-usp-row-text {
    font-size: 0.74rem;
}

@media (min-width: 641px) {
    .bt-usp-bar--step3 .bt-usp-row-text {
        font-size: 0.82rem;
    }
}

.bt-usp-panel {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.55rem;
    background: linear-gradient(180deg, #fafbf6 0%, #f3f6e8 100%);
    border: 1px solid #e0e8c8;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(42, 48, 8, 0.04);
}

/* Google reviews hero - full-width focus element */
.bt-usp-google {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.6rem 0.8rem;
    background: #fff;
    border: 1px solid #e8edda;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(42, 48, 8, 0.05);
}

.bt-usp-google-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #f4f6f9;
    font-size: 1.2rem;
    line-height: 1;
    color: #4285f4;
}

.bt-usp-google-main {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.bt-usp-google-top {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.bt-usp-google-sub {
    font-size: 0.76rem;
    font-weight: 500;
    color: #5b6247;
    line-height: 1.2;
}

.bt-usp-rating {
    font-weight: 800;
    color: #2f3318;
    font-size: 1.25rem;
    line-height: 1;
}

.bt-usp-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    color: #f5b301;
    font-size: 0.85rem;
    line-height: 1;
}

/* Vertical USP list */
.bt-usp-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.bt-usp-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.65rem;
    background: #fff;
    border: 1px solid #e0e8c8;
    border-radius: 10px;
    border-left: 3px solid #b8c92e;
    text-align: left;
}

.bt-usp-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: #f0f4dc;
    color: #7a8f12;
    flex-shrink: 0;
    font-size: 0.78rem;
    line-height: 1;
}

.bt-usp-row-text {
    flex: 1;
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.3;
    font-weight: 500;
    color: #3d4428;
}

.bt-usp-row-text a {
    color: inherit;
    text-decoration: underline;
}

.bt-usp-row-text strong,
.bt-usp-row-text b {
    font-weight: 700;
}

.bt-usp-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #7a8f12;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
}

@media (hover: hover) {
    .bt-usp-help-btn:hover {
        color: #5a6d0c;
    }
}

.bt-usp-help-btn:focus {
    outline: 2px solid #c0d137;
    outline-offset: 2px;
}

.bt-usp-official-modal {
    max-width: 480px;
}

.bt-usp-official-modal-body p {
    margin: 0 0 0.75rem;
}

.bt-usp-official-modal-body p:last-child {
    margin-bottom: 0;
}

.bt-usp-official-modal-body ul {
    margin: 0.35rem 0 0.85rem;
    padding-left: 1.15rem;
    text-align: left;
}

.bt-usp-official-modal-body li {
    margin: 0.25rem 0;
}

.bt-step-1 .bt-dropzone-wrapper {
    margin: 0 0 0.35rem;
}

@media (max-width: 640px) {
    .balkaya-teklif-form {
        margin: 0.4rem auto 0;
        padding: 16px;
        border-radius: 12px;
    }

    .bt-step1-top {
        margin-bottom: 0.4rem;
    }

    .bt-usp-panel {
        padding: 0.45rem;
        gap: 0.35rem;
    }

    .bt-usp-google {
        padding: 0.55rem 0.65rem;
        gap: 0.55rem;
    }

    .bt-usp-google-icon {
        width: 2rem;
        height: 2rem;
        font-size: 1.05rem;
    }

    .bt-usp-rating {
        font-size: 1.1rem;
    }

    .bt-usp-stars {
        font-size: 0.75rem;
    }

    .bt-usp-google-sub {
        font-size: 0.7rem;
    }

    .bt-usp-row-text {
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .bt-step-1 .bt-dropzone-wrapper .bt-dropzone,
    .bt-step-1 .bt-dropzone-wrapper .dropzone {
        min-height: 100px;
        padding: 0.45rem;
    }

    .bt-step-1 .bt-dropzone-wrapper .bt-dropzone .dz-message,
    .bt-step-1 .bt-dropzone-wrapper .dropzone .dz-message {
        font-size: 0.92rem;
        padding: 0.3rem;
    }

    .bt-step-1 .bt-dropzone-hint {
        margin: 0.3rem 0 0;
        font-size: 0.72rem;
    }

    .bt-step-1 .bt-terms-text {
        font-size: 0.78rem;
    }

    .bt-step-1 .bt-actions {
        margin-top: 0.55rem;
    }
}

@media (min-width: 641px) {
    .balkaya-teklif-form {
        padding: 1.25rem 1.35rem 1.5rem;
    }

    .bt-usp-panel {
        padding: 0.7rem;
        gap: 0.5rem;
    }

    .bt-usp-google {
        padding: 0.75rem 1rem;
        gap: 0.8rem;
    }

    .bt-usp-google-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.35rem;
    }

    .bt-usp-rating {
        font-size: 1.4rem;
    }

    .bt-usp-stars {
        font-size: 0.95rem;
    }

    .bt-usp-google-sub {
        font-size: 0.82rem;
    }

    .bt-usp-list {
        gap: 0.4rem;
    }

    .bt-usp-row {
        padding: 0.6rem 0.8rem;
        gap: 0.7rem;
    }

    .bt-usp-card-icon {
        width: 1.95rem;
        height: 1.95rem;
        font-size: 0.88rem;
    }

    .bt-usp-row-text {
        font-size: 0.86rem;
        line-height: 1.35;
    }

    .bt-usp-help-btn {
        width: 1.4rem;
        height: 1.4rem;
        font-size: 1.05rem;
    }
}

@media (min-width: 900px) {
    .bt-step1-top {
        margin-bottom: 0.65rem;
    }

    .bt-usp-panel {
        padding: 0.85rem 0.95rem;
        gap: 0.55rem;
        border-radius: 14px;
    }

    .bt-usp-google {
        padding: 0.85rem 1.15rem;
        gap: 0.95rem;
        border-radius: 12px;
    }

    .bt-usp-google-icon {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.5rem;
    }

    .bt-usp-rating {
        font-size: 1.55rem;
    }

    .bt-usp-stars {
        font-size: 1.05rem;
        gap: 0.12rem;
    }

    .bt-usp-google-sub {
        font-size: 0.88rem;
    }

    .bt-usp-list {
        gap: 0.45rem;
    }

    .bt-usp-row {
        padding: 0.7rem 0.95rem;
        gap: 0.75rem;
        border-radius: 11px;
        border-left-width: 4px;
    }

    .bt-usp-card-icon {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 0.95rem;
    }

    .bt-usp-row-text {
        font-size: 0.92rem;
        line-height: 1.4;
    }

    .bt-usp-help-btn {
        width: 1.45rem;
        height: 1.45rem;
        font-size: 1.1rem;
    }
}

/* Back to homepage link - shown when no contact behavior is set */
.bt-back-home-wrap {
    margin-top: 1rem;
    text-align: center;
}

.bt-back-home-link {
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
}

.bt-back-home-link:hover {
    color: #9aab0f;
    text-decoration: underline;
}

/* Fixed price bar - sticky at very top when Step 3 */
.bt-fixed-price-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.85rem 1.25rem 1rem;
    background: linear-gradient(135deg, var(--bt-primary-dark) 0%, var(--bt-primary) 55%, color-mix(in srgb, var(--bt-primary) 45%, white) 100%);
    box-shadow: 0 6px 22px rgba(154, 171, 15, 0.45);
}

.bt-fixed-price-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
}

.balkaya-teklif-form.bt-price-bar-visible {
    padding-top: 7.75rem;
}

.balkaya-teklif-form.bt-price-bar-visible.bt-price-needs-update {
    padding-top: 9.5rem;
}

.balkaya-teklif-form.bt-price-bar-visible.bt-price-classifying {
    padding-top: 9.35rem;
}

.bt-fixed-price-label {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--bt-on-primary) 85%, transparent);
    line-height: 1.2;
}

.bt-fixed-price-value {
    width: 100%;
    line-height: 1;
}

.bt-price-ai-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.15rem;
    color: color-mix(in srgb, var(--bt-on-primary) 94%, transparent);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
}

.bt-price-ai-pulse {
    flex: 0 0 auto;
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65);
    animation: bt-ai-pulse 1.4s ease-out infinite;
}

@keyframes bt-ai-pulse {
    0% {
        transform: scale(0.85);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.85);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.bt-price-bar-prices {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.bt-price-compare-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    line-height: 1;
}

.bt-price-compare-row--single {
    gap: 0.55rem;
}

.bt-price-compare-row .bt-price-old,
.bt-price-compare-row .bt-price-old-secondary {
    text-decoration: line-through;
    color: color-mix(in srgb, var(--bt-on-primary) 72%, transparent);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2;
    animation: bt-strikethrough 0.5s ease-out forwards;
}

.bt-price-compare-row .bt-price-old-secondary {
    font-size: 0.95rem;
    opacity: 0.85;
}

.bt-price-bar-prices .bt-price-new {
    display: block;
    color: var(--bt-price);
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.bt-price-compare-row--single .bt-price-new {
    font-size: 2.35rem;
}

.bt-price-old-wrap,
.bt-price-new-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
}

/* Price breakdown info button + tooltip */
.bt-price-info-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.bt-price-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    border: 1.5px solid color-mix(in srgb, var(--bt-on-primary) 55%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--bt-on-primary) 14%, transparent);
    color: var(--bt-on-primary);
    font-size: 0.72rem;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0;
}

.bt-price-info-btn:hover,
.bt-price-info-btn:focus,
.bt-price-info-wrap:hover .bt-price-info-btn,
.bt-price-info-btn[aria-expanded="true"] {
    background: #2d3108;
    border-color: #2d3108;
    color: #fff;
    outline: none;
}

.bt-price-info-tooltip {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    min-width: 220px;
    max-width: 280px;
    padding: 0.7rem 0.85rem;
    background: #fff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    font-size: 0.82rem;
    font-weight: 400;
    text-decoration: none;
    line-height: 1.35;
    white-space: normal;
}

.bt-price-info-tooltip.bt-visible {
    display: block;
}

.bt-price-info-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: #fff;
}

.bt-price-info-table {
    width: 100%;
    border-collapse: collapse;
}

.bt-price-info-table th,
.bt-price-info-table td {
    padding: 0.28rem 0;
    vertical-align: baseline;
}

.bt-price-info-table th {
    text-align: left;
    font-weight: 500;
    color: #555;
    padding-right: 0.85rem;
}

.bt-price-info-table td {
    text-align: right;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
}

.bt-price-info-table td.bt-price-info-strike,
.bt-pay-summary-value.bt-price-info-strike,
.bt-price-info-strike {
    text-decoration: line-through;
    color: #888;
    font-weight: 500;
}

.bt-price-info-table td.bt-price-info-zero,
.bt-pay-summary-value.bt-price-info-zero,
.bt-price-info-zero {
    color: #5a7a0a;
    font-weight: 700;
}

.bt-price-info-table tr.bt-price-info-total th,
.bt-price-info-table tr.bt-price-info-total td {
    border-top: 1px solid #e3e6cf;
    padding-top: 0.45rem;
    margin-top: 0.2rem;
    color: var(--bt-price);
        left: auto;
        right: 0;
        transform: none;
        min-width: 200px;
    }
    .bt-price-info-tooltip::before {
        left: auto;
        right: 0.4rem;
        transform: none;
    }
}

@keyframes bt-strikethrough {
    from { opacity: 0.5; }
    to { opacity: 1; text-decoration: line-through; }
}

.bt-fixed-price-badge {
    background: rgba(45, 49, 8, 0.72);
    color: #fff;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
}

.bt-fixed-price-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 0;
}

.bt-fixed-price-discount {
    display: inline-block;
    background: #2d3108;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    line-height: 1.2;
    animation: bt-discount-pop 0.4s ease-out;
}

@keyframes bt-discount-pop {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 600px) {
    .bt-fixed-price-bar {
        padding: 0.75rem 1rem 0.9rem;
    }
    .bt-price-bar-prices .bt-price-new,
    .bt-price-compare-row--single .bt-price-new {
        font-size: 2rem;
    }
    .bt-price-compare-row .bt-price-old {
        font-size: 0.95rem;
    }
    .balkaya-teklif-form.bt-price-bar-visible {
        padding-top: 7.25rem;
    }
    .balkaya-teklif-form.bt-price-bar-visible.bt-price-needs-update {
        padding-top: 9rem;
    }
    .balkaya-teklif-form.bt-price-bar-visible.bt-price-classifying {
        padding-top: 8.85rem;
    }
}

/* Btn spinner (coupon apply loading, etc.) */
.bt-btn-spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bt-spin 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes bt-spin {
    to { transform: rotate(360deg); }
}

/* Contact and invoice buyer options - same card style as delivery */
.bt-contact-options,
.bt-invoice-buyer-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.75rem 0 1rem;
    align-items: stretch;
    width: 100%;
}

.bt-contact-card .bt-delivery-card-inner,
.bt-invoice-buyer-card .bt-delivery-card-inner {
    min-height: 56px;
}

.bt-invoice-different-toggle {
    margin: 1rem 0 0.5rem;
}

.bt-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.bt-logo img {
    max-width: 250px;
    height: auto;
}

.bt-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.bt-dropzone-wrapper {
    margin: 1rem 0;
    width: 100%;
    cursor: pointer;
}

.bt-dropzone-wrapper .bt-dropzone,
.bt-dropzone-wrapper .dropzone {
    border: 2px dashed var(--bt-primary-dark);
    border-radius: 8px;
    background: #fafafa;
    min-height: 180px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bt-dropzone-wrapper .bt-dropzone.dz-drag-hover,
.bt-dropzone-wrapper .dropzone.dz-drag-hover {
    border-color: var(--bt-primary);
    background: color-mix(in srgb, var(--bt-primary) 12%, white);
}

.bt-dropzone-wrapper .bt-dropzone .dz-message,
.bt-dropzone-wrapper .dropzone .dz-message {
    margin: 0;
    padding: 1rem;
    color: #333;
    text-align: center;
    font-size: 1.1rem;
    width: 100%;
    pointer-events: none;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.bt-dropzone-wrapper .bt-dropzone .dz-message .bt-dz-text,
.bt-dropzone-wrapper .dropzone .dz-message .bt-dz-text {
    display: block;
}

.bt-dropzone-wrapper .bt-dropzone.dz-started .dz-message,
.bt-dropzone-wrapper .dropzone.dz-started .dz-message {
    display: block !important;
    margin: 0;
}

.bt-dropzone-hint {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: #888;
    text-align: center;
}

#bt-step1-form label.error,
#bt-step1-form .bt-step1-error {
    font-size: 0.75rem;
    color: #c00;
    font-weight: normal;
    margin-top: 0.25rem;
    display: block;
}

.bt-file-list {
    width: 100%;
    margin-top: 0.5rem;
}

.bt-file-list .dz-preview {
    margin: 0;
}

.bt-file-list .dz-preview .dz-image,
.bt-file-list .dz-preview .dz-success-mark,
.bt-file-list .dz-preview .dz-error-mark {
    display: none !important;
}

.bt-file-list .bt-file-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border: 1px solid #cbcbcb;
    border-radius: 5px;
}

.bt-file-list .bt-file-name {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
}

.bt-file-list .bt-file-remove {
    color: #c00;
    padding: 0.25rem;
    text-decoration: none;
    display: inline-flex;
}

.bt-file-list .bt-file-remove:hover {
    color: #a00;
}

.bt-file-list .bt-file-remove svg {
    pointer-events: none;
}

.bt-contact-display {
    margin: 0.5rem 0;
    text-align: center;
}

.bt-dimmed {
    color: #999;
    font-size: 0.9rem;
}

.bt-terms {
    text-align: left;
    width: 100%;
}

.bt-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.bt-terms-text {
    font-size: 0.9rem;
}

.bt-terms-text a {
    color: #9aab0f;
}

.bt-terms-text a:hover {
    color: #C0D137;
}

.bt-actions {
    margin-top: 1rem;
    text-align: center;
    width: 100%;
}

.bt-actions .w-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #C0D137;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.bt-actions .w-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.bt-actions .w-btn:not(:disabled):hover {
    background: #9aab0f;
}

/* Step 2 Loading */
.bt-step-2.bt-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1rem;
}

.bt-loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.bt-loading-indicator {
    width: 64px;
    height: 64px;
    animation: bt-loading-rotate 3s linear infinite;
}

@keyframes bt-loading-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.bt-loading-text {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

/* Step 3 - Fancy Price Card */
.bt-step-3 {
    text-align: left;
    width: 100%;
}

.bt-price-celebration {
    position: relative;
    margin-bottom: 1rem;
}

.bt-price-card {
    background: linear-gradient(145deg, #f8fae6 0%, #e8eca8 50%, #d4db6a 100%);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    text-align: center;
    box-shadow: 0 12px 36px rgba(192, 209, 55, 0.2), 0 0 0 1px rgba(154, 171, 15, 0.1);
    position: relative;
    overflow: hidden;
}

.bt-price-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 50%);
    animation: bt-shine 3s ease-in-out infinite;
}

@keyframes bt-shine {
    0%, 100% { transform: translate(0, 0); opacity: 0; }
    50% { opacity: 1; }
}

.bt-price-pages {
    font-size: 1.2rem;
    color: #5a6310;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.bt-price-total {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2d3108;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Form section labels - minimal, theme handles inputs */
.bt-form-section-label {
    margin: 1rem 0 0.4rem;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.bt-form-section-label:first-child {
    margin-top: 0;
}

.bt-contact-hint {
    margin: 0.2rem 0 0.4rem;
    font-size: 0.85rem;
    color: #666;
}

.bt-invoice-same,
.bt-delivery-toggle {
    margin: 0.85rem 0 0.4rem;
}

.bt-form-sections-wrapper {
    width: 100%;
}

/* Target language section */
.bt-target-language-section {
    width: 100%;
    margin: 1rem 0;
}

.bt-consulate-section {
    width: 100%;
    margin: 0.75rem 0 1rem;
}

.bt-consulate-hint {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.bt-consulate-info {
    margin-top: 0.75rem;
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #333;
    background: #f7f8f1;
    border-left: 3px solid #C0D137;
    white-space: pre-wrap;
}

.bt-consulate-info.is-visible {
    display: block !important;
}

.bt-target-language-section .bt-delivery-options {
    margin-bottom: 0.5rem;
}

.bt-another-language-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #9aab0f;
    text-decoration: none;
}

.bt-another-language-link:hover {
    color: #C0D137;
    text-decoration: underline;
}

.bt-target-language-other .bt-another-language-link {
    margin-top: 0.5rem;
}

.bt-target-language-section select {
    width: 100%;
    max-width: 100%;
    padding: 0.6rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

/* Coupon section */
.bt-coupon-section {
    width: 100%;
    margin: 0.75rem 0;
}

.bt-coupon-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    flex-wrap: wrap;
}

.bt-coupon-input {
    flex: 1;
    min-width: 140px;
    padding: 0.6rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.bt-coupon-apply {
    flex-shrink: 0;
}

.bt-coupon-message {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.bt-coupon-message.bt-coupon-success {
    color: #2d7a3e;
}

.bt-coupon-message.bt-coupon-error {
    color: #c0392b;
}

/* Document info hints (needs_original, needs_apostile, no_type_info) */
.bt-document-info-hints {
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.bt-doc-info-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #555;
    position: relative;
}

.bt-doc-info-hint-text {
    flex-shrink: 0;
}

.bt-doc-info-hint-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #9aab0f;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    border: none;
    padding: 0;
    line-height: 1;
}

.bt-doc-info-hint-icon:hover {
    background: #C0D137;
}

.bt-doc-info-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 260px;
    max-width: 320px;
    padding: 0.75rem 1rem;
    background: #333;
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.4;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 100;
    white-space: normal;
}

.bt-doc-info-tooltip.bt-visible {
    display: block;
}

.bt-doc-info-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
}

/* Debug skip button */
.bt-debug-skip {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
}

.bt-debug-btn {
    background: #666 !important;
    color: #fff !important;
    font-size: 0.85rem !important;
    padding: 0.4rem 0.8rem !important;
}

.bt-debug-btn:hover {
    background: #555 !important;
}

/* Delivery options - card style radio selections */
.bt-delivery-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.85rem 0;
    align-items: stretch;
    width: 100%;
}

.bt-delivery-card {
    flex: 1;
    min-width: 200px;
    cursor: pointer;
    margin: 0;
    display: flex;
}

.bt-delivery-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bt-delivery-card-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    min-height: 72px;
    padding: 1rem 1.25rem;
    padding-left: 2.5rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    position: relative;
}

.bt-delivery-card-hint {
    font-size: 0.8rem;
    color: #777;
    margin-top: 0.35rem;
}

.bt-delivery-card-inner::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #bbb;
    border-radius: 50%;
    background: #fff;
    transition: border-color 0.2s, background 0.2s;
}

.bt-delivery-card:hover .bt-delivery-card-inner {
    border-color: #bbb;
    background: #f5f5f5;
}

.bt-delivery-card:hover .bt-delivery-card-inner::before {
    border-color: #9aab0f;
}

.bt-delivery-card input:checked + .bt-delivery-card-inner {
    border-color: #9aab0f;
    background: #f8fae6;
    box-shadow: 0 0 0 1px #9aab0f;
}

.bt-delivery-card input:checked + .bt-delivery-card-inner::before {
    border-color: #9aab0f;
    background: #9aab0f;
    box-shadow: inset 0 0 0 3px #fff;
}

.bt-delivery-card input:focus-visible + .bt-delivery-card-inner {
    outline: 2px solid #C0D137;
    outline-offset: 2px;
}

.bt-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
}

/* jQuery Validation - error messages under inputs */
#bt-shipping-form .w-form-row-field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#bt-shipping-form .w-form-row-field input,
#bt-shipping-form .w-form-row-field select,
#bt-shipping-form .w-form-row-field .iti {
    flex: 0 0 auto;
}

#bt-shipping-form .error,
#bt-shipping-form label.error {
    font-size: 0.75rem;
    color: #c00;
    font-weight: normal;
    margin-top: 0.25rem;
    display: block;
    flex: 0 0 auto;
}

#bt-shipping-form input.error,
#bt-shipping-form select.error {
    border-color: #c00;
}

.bt-invoice-fields,
.bt-delivery-fields {
    margin-top: 0.5rem;
    width: 100%;
}

/* Layout only: compact rows - NO input styling, theme handles inputs */
#bt-shipping-form .w-form-row.bt-layout-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

#bt-shipping-form .w-form-row-field.bt-layout-half {
    flex: 1;
    min-width: 120px;
}

#bt-shipping-form .w-form-row-field.bt-layout-street {
    flex: 1;
    min-width: 140px;
}

#bt-shipping-form .w-form-row-field.bt-layout-narrow {
    flex: 0 0 120px;
    max-width: 120px;
}

#bt-shipping-form .w-form-row-field.bt-layout-postcode {
    flex: 0 0 150px;
    max-width: 150px;
}

#bt-shipping-form .w-form-row-field.bt-layout-city {
    flex: 1;
    min-width: 120px;
}

#bt-shipping-form .w-form-row.bt-country-row .w-form-row-field {
    flex: 1;
}

.bt-country-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    color: #666;
}

#bt-shipping-form .w-form-row-field.bt-layout-phone {
    flex: 1;
}

#bt-shipping-form .w-form-row-field.bt-layout-phone .iti {
    width: 100%;
    display: block;
}

#bt-shipping-form .w-form-row-field.bt-layout-phone .iti__country-container {
    max-height: 100%;
}

#bt-shipping-form .w-form-row-field.bt-layout-phone .iti input[type="tel"] {
    width: 100%;
}

/* Contact section: title above fields, below invoice block */
.bt-contact-section {
    margin-top: 1rem;
}

.bt-contact-section .bt-form-section-label {
    margin-top: 0;
}

/* Step 3 actions: centered, Pay bigger than support */
.bt-step3-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    text-align: center;
}

.bt-step3-actions .w-btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Pre-payment summary block */
.bt-pay-summary {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 1rem 1.15rem;
    background: linear-gradient(180deg, #fafbf6 0%, #f6f8f0 100%);
    border: 1px solid #e4e9d4;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 1px 2px rgba(42, 48, 8, 0.04);
}

.bt-pay-summary-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #2f3318;
    margin-bottom: 0.7rem;
    line-height: 1.35;
}

.bt-estimate-badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.08rem 0.45rem;
    border-radius: 999px;
    background: #eef3c8;
    color: #5a6410;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    vertical-align: middle;
}

.bt-pay-summary-estimate {
    margin: -0.35rem 0 0.65rem;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #6b7a11;
}

.bt-pay-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.bt-pay-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.86rem;
    color: #4a5136;
}

.bt-pay-summary-label {
    flex: 1;
    min-width: 0;
}

.bt-pay-summary-value {
    font-weight: 600;
    color: #3d4428;
    white-space: nowrap;
}

.bt-pay-summary-row--total {
    margin-top: 0.4rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e0e5cf;
    font-size: 1rem;
}

.bt-pay-summary-row--total .bt-pay-summary-label {
    font-weight: 700;
    color: #2f3318;
}

.bt-pay-summary-row--total .bt-pay-summary-value {
    font-weight: 800;
    color: #2f3318;
}

.bt-pay-methods {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #dbe1c7;
}

.bt-pay-methods-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: #6b7355;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.bt-pay-methods-icons {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.bt-pay-method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.6rem;
    min-width: 1.6rem;
    padding: 0 0.35rem;
    color: #3d4428;
    font-size: 1.35rem;
    line-height: 1;
}

.bt-pay-method--klarna {
    padding: 0 0.5rem;
    background: #ffb3c7;
    color: #17120f;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.bt-calc-id-line {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    color: color-mix(in srgb, var(--bt-on-primary) 75%, transparent);
    text-align: center;
}

.bt-step3-actions .bt-payment-btn {
    padding: 0.9rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.bt-step3-actions .bt-payment-btn.bt-payment-btn--stale {
    opacity: 0.72;
    background: #6b7a11;
}

/* Full-width support stripe (outside the bordered form box) */
.bt-support-stripe {
    width: 100vw;
    max-width: 100vw;
    margin: 0.85rem 0 0;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
    padding: 1.15rem 1rem 1.25rem;
    background: linear-gradient(135deg, var(--bt-primary-dark) 0%, var(--bt-primary) 60%, color-mix(in srgb, var(--bt-primary) 45%, white) 100%);
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25) inset;
    text-align: center;
}

.bt-support-stripe-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

.bt-support-stripe .bt-help-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--bt-on-primary);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bt-on-primary) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--bt-on-primary) 22%, transparent);
}

.bt-support-stripe .bt-help-link:hover {
    background: color-mix(in srgb, var(--bt-on-primary) 22%, transparent);
    color: var(--bt-on-primary);
    text-decoration: none;
}

.bt-support-stripe .bt-help-link i {
    font-size: 1.2em;
    color: inherit;
}

.bt-support-stripe .bt-phone-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.15rem;
    font-size: 0.95rem;
}

.bt-support-stripe .bt-phone-link {
    color: var(--bt-on-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
}

.bt-support-stripe .bt-phone-link:hover {
    color: var(--bt-on-primary);
    text-decoration: underline;
}

.bt-support-stripe .bt-phone-link i {
    color: inherit;
}

.bt-support-stripe .bt-opening-hours {
    color: color-mix(in srgb, var(--bt-on-primary) 80%, transparent);
    font-size: 0.88rem;
}

.bt-phone-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.bt-phone-link {
    color: #333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.bt-phone-link:hover {
    color: #9aab0f;
}

.bt-phone-link i {
    color: #9aab0f;
}

.bt-opening-hours {
    color: #666;
    font-size: 0.85rem;
}

/* Error / success messages - compact */
.bt-error-message {
    color: #c00;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.bt-success-message {
    color: #080;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 600px) {

    .bt-price-total {
        font-size: 2.5rem;
    }

    .bt-price-card {
        padding: 1.5rem 1.25rem;
    }

    .bt-dropzone-wrapper .bt-dropzone,
    .bt-dropzone-wrapper .dropzone {
        min-height: 150px;
    }

    .bt-step-2.bt-loading-overlay {
        padding: 1rem;
    }

    #bt-shipping-form .w-form-row-field.bt-layout-half,
    #bt-shipping-form .w-form-row-field.bt-layout-street,
    #bt-shipping-form .w-form-row-field.bt-layout-narrow,
    #bt-shipping-form .w-form-row-field.bt-layout-postcode,
    #bt-shipping-form .w-form-row-field.bt-layout-city {
        flex: 1 1 100%;
        max-width: none;
    }

    .bt-delivery-card,
    .bt-contact-card,
    .bt-invoice-buyer-card {
        min-width: 100%;
    }
}

/* Dropzone customizations */
.bt-dropzone-wrapper .dz-preview .dz-image,
.bt-dropzone-wrapper .dz-preview .dz-details,
.bt-dropzone-wrapper .dz-preview .dz-progress,
.bt-dropzone-wrapper .dz-preview .dz-error-message {
    display: none !important;
}

/* Thank you page */
.bt-thankyou-wrap {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
}

.bt-thankyou-content {
    background: #fafafa;
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid #e8e8e8;
}

.bt-thankyou-title {
    font-size: 2rem;
    color: #2d3108;
    margin: 0 0 0.5rem;
}

.bt-thankyou-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin: 0 0 2rem;
}

.bt-thankyou-order {
    text-align: left;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #eee;
}

.bt-thankyou-order-number,
.bt-thankyou-price,
.bt-thankyou-delivery {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.bt-thankyou-order-number {
    font-weight: 600;
    color: #333;
}

.bt-thankyou-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.bt-thankyou-pdf-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    background: #C0D137;
    color: #2d3108;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}

.bt-thankyou-pdf-btn:hover {
    background: #9aab0f;
    color: #fff;
}

.bt-thankyou-pdf-preparing {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.bt-thankyou-pdf-fallback {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

.bt-thankyou-error {
    color: #c0392b;
    text-align: center;
    padding: 2rem;
}

/* Tracking page - dark theme, animated timeline */
.bt-tracking-wrap {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: linear-gradient(180deg, #2a2d32 0%, #1e2126 100%);
    border-radius: 16px;
    color: #e8e8e8;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.bt-tracking-content {
    padding: 0.5rem;
}

.bt-tracking-missing .bt-tracking-content,
.bt-tracking-error-wrap .bt-tracking-content,
.bt-tracking-pickup .bt-tracking-content {
    text-align: center;
    padding: 2rem;
}

.bt-tracking-error,
.bt-tracking-pickup-msg {
    margin: 0;
    color: #f0a0a0;
    font-size: 1rem;
}

.bt-tracking-shipment {
    margin-bottom: 2rem;
}

.bt-tracking-shipment:last-child {
    margin-bottom: 0;
}

.bt-tracking-header {
    margin-bottom: 0.75rem;
}

.bt-tracking-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem;
}

.bt-tracking-id {
    font-size: 0.95rem;
    color: #b0b0b0;
    margin: 0;
}

.bt-tracking-current {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.bt-tracking-current-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 2px solid #4CAF50;
    border-radius: 50%;
    background: transparent;
    position: relative;
    animation: bt-tracking-pulse 2s ease-in-out infinite;
}

.bt-tracking-current-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
    opacity: 0.8;
}

.bt-tracking-current-icon-delivered {
    background: #4CAF50;
    animation: none;
}

.bt-tracking-current-icon-delivered::after {
    width: 6px;
    height: 10px;
    background: transparent;
    border: solid #1e2126;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

@keyframes bt-tracking-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
}

.bt-tracking-current-desc {
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.bt-tracking-est {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.bt-tracking-gogreen {
    margin: 0.5rem 0 1rem;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.bt-tracking-gogreen-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 0.35rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234CAF50'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm3.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    vertical-align: middle;
    color: #4CAF50;
}

.bt-tracking-gogreen-label {
    color: #4CAF50;
}

/* Events section */
.bt-tracking-events {
    margin-top: 1.5rem;
}

.bt-tracking-events-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
}

.bt-tracking-timeline {
    position: relative;
    padding-left: 0;
}

.bt-tracking-event {
    position: relative;
    display: flex;
    gap: 1rem;
    padding-bottom: 1.25rem;
    animation: bt-tracking-fade-in 0.4s ease-out backwards;
}

.bt-tracking-event:last-child {
    padding-bottom: 0;
}

.bt-tracking-event::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #4CAF50 0%, rgba(76, 175, 80, 0.3) 100%);
}

.bt-tracking-event:last-child::before {
    display: none;
}

@keyframes bt-tracking-fade-in {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.bt-tracking-event:nth-child(1) { animation-delay: 0.05s; }
.bt-tracking-event:nth-child(2) { animation-delay: 0.1s; }
.bt-tracking-event:nth-child(3) { animation-delay: 0.15s; }
.bt-tracking-event:nth-child(4) { animation-delay: 0.2s; }
.bt-tracking-event:nth-child(5) { animation-delay: 0.25s; }
.bt-tracking-event:nth-child(6) { animation-delay: 0.3s; }
.bt-tracking-event:nth-child(7) { animation-delay: 0.35s; }
.bt-tracking-event:nth-child(8) { animation-delay: 0.4s; }

.bt-tracking-dot {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #4CAF50;
    background: transparent;
    margin-top: 2px;
}

.bt-tracking-dot-done {
    background: #4CAF50;
    position: relative;
}

.bt-tracking-dot-done::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 10px;
    border: solid #1e2126;
    border-width: 0 2px 2px 0;
}

.bt-tracking-dot-current {
    border-color: #4CAF50;
    background: transparent;
}

.bt-tracking-dot-delivered {
    background: #4CAF50;
}

.bt-tracking-dot-delivered::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 10px;
    border: solid #1e2126;
    border-width: 0 2px 2px 0;
}

.bt-tracking-dot-active {
    background: transparent;
    animation: bt-tracking-dot-pulse 1.5s ease-in-out infinite;
}

@keyframes bt-tracking-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
}

.bt-tracking-event-body {
    flex: 1;
    min-width: 0;
}

.bt-tracking-event-date {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    margin: 0 0 0.25rem;
}

.bt-tracking-event-desc {
    color: #c8c8c8;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* ---- Step 3 overhaul: documents, note, pickup PDF, written quote, modal ---- */

/* Documents management in Step 3 */
.bt-documents-section {
    margin: 0 0 1rem;
    width: 100%;
    text-align: left;
    scroll-margin-top: 5.5rem;
}

.bt-documents-section .bt-form-section-label {
    text-align: left;
}

.bt-step3-file-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.5rem 0;
    width: 100%;
}

.bt-step3-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    background: #f6f7ef;
    border: 1px solid #e3e6cf;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

.bt-step3-file-name {
    font-size: 0.92rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.bt-step3-file-actions {
    display: inline-flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.bt-step3-file-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    color: var(--bt-primary-dark);
    font-weight: 600;
}

.bt-step3-file-btn:hover {
    background: color-mix(in srgb, var(--bt-primary) 18%, white);
}

.bt-step3-file-remove {
    color: var(--bt-price);
}

.bt-step3-file-remove:hover {
    background: #f8e3df;
}

.bt-add-doc-btn {
    font-size: 0.9rem;
    width: 100%;
}

.bt-price-stale-btn {
    display: inline-block;
    margin: 0.15rem 0 0;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    cursor: pointer;
}

.bt-price-stale-btn:hover,
.bt-price-stale-btn:focus {
    color: #fff8c4;
}

.bt-documents-section .bt-price-stale-btn {
    display: block;
    margin: 0.55rem 0 0;
    color: #6b7a11;
    font-size: 0.88rem;
    text-align: left;
}

.bt-documents-section .bt-price-stale-btn:hover,
.bt-documents-section .bt-price-stale-btn:focus {
    color: #4e590c;
}

.bt-price-recalc {
    font-size: 0.88rem;
    color: #6b7a11;
    margin: 0.5rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.bt-price-recalc::before {
    content: '';
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    border: 2px solid rgba(107, 122, 17, 0.35);
    border-top-color: #6b7a11;
    border-radius: 50%;
    animation: bt-spin 0.7s linear infinite;
}

/* Pickup: want-PDF checkbox */
.bt-pickup-pdf {
    margin: 0.5rem 0 1rem;
}

/* Invoice note */
.bt-invoice-note-section {
    margin-top: 1rem;
}

.bt-invoice-note-input {
    width: 100%;
    min-height: 72px;
    resize: vertical;
}

/* Written quote link */
.bt-written-quote-wrap {
    width: 100%;
    text-align: center;
    margin: 0.85rem 0 0.35rem;
}

.bt-written-quote-link {
    display: inline-block;
    color: #6b7a11;
    font-weight: 600;
    text-decoration: underline;
    font-size: 0.95rem;
    cursor: pointer;
}

.bt-written-quote-link:hover {
    color: #9aab0f;
}

/* Back to upload link */
.bt-back-upload-link {
    display: inline-block;
    color: #666;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
}

.bt-back-upload-link:hover {
    color: #333;
    text-decoration: underline;
}

/* Modal */
.bt-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(20, 22, 12, 0.6);
    backdrop-filter: blur(2px);
    animation: bt-fade-in 0.2s ease-out;
}

#bt-written-quote-modal,
#bt-usp-info-modal {
    z-index: 100050;
}

body.bt-modal-open {
    overflow: hidden;
}

@keyframes bt-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bt-modal {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 460px;
    width: 100%;
    padding: 2rem 1.75rem 1.75rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    animation: bt-modal-pop 0.25s ease-out;
}

@keyframes bt-modal-pop {
    from { transform: translateY(12px) scale(0.98); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.bt-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: #999;
    cursor: pointer;
}

.bt-modal-close:hover {
    color: #333;
}

.bt-modal-title {
    margin: 0 0 0.75rem;
    font-size: 1.4rem;
    color: #2d3108;
}

.bt-modal-text {
    margin: 0 0 1.25rem;
    color: #555;
    line-height: 1.5;
    font-size: 0.98rem;
}

.bt-modal-status {
    margin: 0 0 1rem;
    color: #6b7a11;
    font-weight: 600;
    font-size: 0.92rem;
}

.bt-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.bt-modal-actions .bt-modal-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.bt-modal-actions .bt-disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* In-browser document preview modal */
.bt-preview-modal-overlay {
    align-items: stretch;
    padding: 1rem;
}

.bt-preview-modal {
    max-width: min(960px, 100%);
    width: 100%;
    height: min(90vh, 900px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.25rem 1rem;
}

.bt-preview-modal .bt-modal-title {
    font-size: 1.05rem;
    margin: 0 2rem 0.75rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.bt-preview-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: #f4f5ee;
    border-radius: 10px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.bt-preview-pdf-pages {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    box-sizing: border-box;
}

.bt-preview-pdf-page {
    display: block;
    max-width: 100%;
    height: auto;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.bt-preview-loading {
    margin: auto;
    padding: 1.5rem;
    color: #666;
    text-align: center;
}

.bt-preview-open-external {
    display: inline-block;
    margin: 0.75rem auto 1rem;
    text-align: center;
    text-decoration: none;
}

.bt-preview-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bt-preview-frame {
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.bt-preview-fallback {
    padding: 1.5rem;
    color: #555;
}

/* ---- Driver license form ---- */
.balkaya-teklif-license-form {
    text-align: left;
}

.bt-license-upload[data-has-files="1"] #bt-license-dropzone,
.bt-license-upload[data-has-files="1"] #bt-license-dropzone-hint {
    display: none !important;
}

.bt-license-upload #bt-license-add-doc {
    display: none !important;
    margin-top: 0.5rem;
}

.bt-license-upload[data-has-files="1"][data-at-max="0"] #bt-license-add-doc {
    display: inline-flex !important;
}

.bt-license-details:not(.is-open) {
    display: none !important;
}

.bt-license-details.is-open {
    display: block !important;
}

.bt-license-header {
    text-align: center;
    margin-bottom: 0.65rem;
}

.bt-license-title {
    margin: 0 0 0.3rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bt-ink);
    line-height: 1.25;
}

.bt-license-desc {
    margin: 0;
    font-size: 0.88rem;
    color: var(--bt-muted);
    line-height: 1.35;
}

.bt-license-price-bar {
    display: block;
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 40;
    margin: 0 0 1rem;
    padding: 0.95rem 1rem 1.05rem;
    background: linear-gradient(145deg, var(--bt-primary-dark) 0%, var(--bt-primary) 70%, color-mix(in srgb, var(--bt-primary) 45%, white) 100%);
    border-radius: 12px;
    color: var(--bt-on-primary);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--bt-primary-dark) 35%, transparent);
}

.bt-license-price-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    text-align: center;
    width: 100%;
}

.bt-license-price-label {
    margin: 0;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--bt-on-primary) 85%, transparent);
    line-height: 1.2;
}

.bt-license-price-value {
    width: 100%;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.bt-license-price-value .bt-price-bar-prices {
    gap: 0.2rem;
}

.bt-license-price-value .bt-price-new {
    color: var(--bt-price);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.bt-license-price-value .bt-price-old {
    color: color-mix(in srgb, var(--bt-on-primary) 72%, transparent);
    font-size: 1.05rem;
    font-weight: 600;
}

.bt-license-price-save {
    display: inline-block;
    margin-top: 0.15rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bt-on-primary) 16%, transparent);
    color: var(--bt-on-primary);
    border: 1px solid color-mix(in srgb, var(--bt-on-primary) 28%, transparent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.bt-license-price-save[hidden] {
    display: none !important;
}

.bt-license-price-meta {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.3;
    color: color-mix(in srgb, var(--bt-on-primary) 92%, transparent);
}

.bt-license-price-meta[hidden] {
    display: none !important;
}

.bt-license-price-bar.is-checking .bt-license-price-value {
    font-size: 1.05rem;
    font-weight: 700;
}

.balkaya-teklif-license-form .bt-step3-file-item {
    align-items: flex-start;
}

.balkaya-teklif-license-form .bt-step3-file-name {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.bt-license-file-status {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bt-muted);
}

.bt-license-file-status.is-license {
    color: var(--bt-primary-dark);
}

.bt-license-file-status.is-not {
    color: #8a5a12;
}

.bt-license-skipped {
    margin: 0.65rem 0 0.35rem;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    background: #fff6e8;
    border: 1px solid #e6c48a;
    color: #6b4a12;
}

.bt-license-skipped[hidden] {
    display: none !important;
}

.bt-license-skipped-title {
    margin: 0 0 0.4rem;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
}

.bt-license-skipped-list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 0.8rem;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .bt-license-price-bar {
        margin-left: -0.35rem;
        margin-right: -0.35rem;
        border-radius: 0 0 12px 12px;
        padding: 0.7rem 0.85rem 0.8rem;
    }

    .bt-license-price-value .bt-price-new {
        font-size: 1.75rem;
    }

    .bt-license-header {
        margin-bottom: 0.45rem;
    }

    .balkaya-teklif-license-form .bt-step3-file-item {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .balkaya-teklif-license-form .bt-step3-file-actions {
        margin-left: auto;
    }
}

.bt-license-fields .w-form-row.bt-layout-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
    margin: 0 0 0.55rem;
    align-items: flex-start;
}

.bt-license-fields .w-form-row-field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}

.bt-license-fields .w-form-row-field input {
    width: 100%;
    box-sizing: border-box;
}

.bt-license-fields .w-form-row-field.bt-layout-half {
    flex: 1 1 0;
}

.bt-license-fields .w-form-row-field.bt-layout-street {
    flex: 1 1 0;
}

.bt-license-fields .w-form-row-field.bt-layout-narrow {
    flex: 0 0 5.5rem;
    max-width: 5.5rem;
}

.bt-license-fields .w-form-row-field.bt-layout-postcode {
    flex: 0 0 6.5rem;
    max-width: 6.5rem;
}

.bt-license-fields .w-form-row-field.bt-layout-city {
    flex: 1 1 0;
}

.bt-license-fields .w-form-row-field:only-child {
    flex: 1 1 100%;
}

.bt-license-actions {
    margin-top: 0.85rem;
    text-align: center;
}

.bt-license-actions .bt-payment-btn {
    width: 100%;
    max-width: 420px;
    padding: 0.85rem 1.75rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.balkaya-teklif-license-form .bt-terms {
    margin-top: 0.65rem;
}

.balkaya-teklif-license-form .bt-form-section-label {
    margin: 0.75rem 0 0.4rem;
}

.balkaya-teklif-license-form .bt-dropzone-hint {
    margin: 0.3rem 0 0.4rem;
}

.balkaya-teklif-license-form #bt-license-file-list {
    margin: 0.5rem 0;
}

.balkaya-teklif-license-form #bt-license-add-doc {
    margin-top: 0.35rem;
}

.balkaya-teklif-license-form label.error,
.balkaya-teklif-license-form .bt-license-field-error,
#bt-license-form label.error {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #c00 !important;
}

#bt-license-form input.error,
#bt-license-form input.error:focus {
    border-color: #c00 !important;
}

#bt-license-error {
    margin-top: 0.65rem;
    color: #c00;
}

.balkaya-teklif-license-form .bt-dropzone .dz-preview {
    display: none !important;
}

.bt-license-dz-previews {
    display: none !important;
}

@media (max-width: 480px) {
    .bt-license-fields .w-form-row.bt-layout-row {
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    .bt-license-fields .w-form-row-field.bt-layout-narrow,
    .bt-license-fields .w-form-row-field.bt-layout-postcode {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .bt-license-fields .w-form-row-field.bt-layout-street,
    .bt-license-fields .w-form-row-field.bt-layout-city {
        flex: 1 1 calc(65% - 0.45rem);
        max-width: none;
    }
}

