/**
 * Balkaya Teklif Form Styles
 * Primary: #C0D137, Dark: #9aab0f
 * Form inputs: theme classes (w-form, etc.) - no custom styling
 */

.balkaya-teklif-form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Header row - centered logo only */
.bt-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 1.5rem;
}

.bt-header-row .bt-logo {
    margin-bottom: 0;
}

.bt-header-row .bt-logo img {
    max-width: 150px;
    height: auto;
}

/* Trust bar - at bottom of form, compact Google reviews + TÜV seal */
.bt-trust-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.bt-trust-google {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bt-trust-google > svg {
    flex-shrink: 0;
}

.bt-trust-google-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bt-trust-google-title {
    font-weight: 500;
    color: #333;
}

.bt-trust-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 700;
    color: #9aab0f;
    font-size: 1rem;
}

.bt-trust-stars-svg {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

.bt-trust-stars .bt-star {
    fill: #C0D137;
}

.bt-trust-reviews {
    color: #555;
    font-size: 0.6rem;
}

.bt-trust-justiz,
.bt-trust-tuv {
    flex-shrink: 0;
    object-fit: contain;
}

/* 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;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #9aab0f 0%, #C0D137 50%, #d4db6a 100%);
    box-shadow: 0 4px 16px rgba(154, 171, 15, 0.4);
}

.balkaya-teklif-form.bt-price-bar-visible {
    padding-top: 4.5rem;
}

.bt-fixed-price-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3108;
}

.bt-fixed-price-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #c0392b;
}

.bt-fixed-price-value .bt-price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1.25rem;
    margin-right: 0.5rem;
    animation: bt-strikethrough 0.5s ease-out forwards;
}

.bt-fixed-price-value .bt-price-new {
    color: #c0392b;
}

@keyframes bt-strikethrough {
    from { opacity: 0.5; }
    to { opacity: 1; text-decoration: line-through; }
}

.bt-fixed-price-badge {
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* 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: 150px;
    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 #9aab0f;
    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: #C0D137;
    background: #f8f9e8;
}

.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: 2rem;
}

.bt-price-card {
    background: linear-gradient(145deg, #f8fae6 0%, #e8eca8 50%, #d4db6a 100%);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(192, 209, 55, 0.25), 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: 1.5rem 0 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.bt-form-section-label:first-child {
    margin-top: 0;
}

.bt-contact-hint {
    margin: 0.25rem 0 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.bt-invoice-same,
.bt-delivery-toggle {
    margin: 1.25rem 0 0.5rem;
}

.bt-form-sections-wrapper {
    width: 100%;
}

/* Target language section */
.bt-target-language-section {
    width: 100%;
    margin: 1rem 0;
}

.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: 1rem 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: 1rem;
    margin: 1.25rem 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%;
}

/* Contact section: title above fields, below invoice block */
.bt-contact-section {
    margin-top: 1.5rem;
}

.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: 1rem;
    margin-top: 2rem;
    text-align: center;
}

.bt-step3-actions .w-btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.bt-step3-actions .bt-payment-btn {
    padding: 0.9rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.bt-step3-actions .bt-help-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #9aab0f;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
}

.bt-step3-actions .bt-help-link:hover {
    color: #C0D137;
    text-decoration: underline;
}

.bt-step3-actions .bt-help-link i {
    font-size: 1.1em;
}

.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;
}
