/* ============================================================
   THEME: Traffic Connect — Premium v3
   Brand   : #8C1A30  (Traffic Connect Crimson)
   Refined : Better hierarchy, micro-animations, elegant spacing
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

.aus_vehicle_transport_pro {
    --tc-red        : #8C1A30;
    --tc-red-deep   : #65111f;
    --tc-red-soft   : #b84c63;
    --tc-red-pale   : #fff0f2;
    --tc-red-mist   : #fdf6f7;
    --tc-border     : #e8dde0;
    --tc-border-soft: #f0e8ea;
    --tc-text-900   : #1a0810;
    --tc-text-500   : #7a5f65;
    --tc-text-300   : #c4adb2;
    --tc-white      : #ffffff;
    --tc-bg         : #faf8f8;
    --tc-green      : #15803d;

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin-bottom: 30px;
}

/* ── Outer Shell ── */
.aus_ux_container {
    background: var(--tc-white);
    border: 1px solid var(--tc-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(140,26,48,0.04),
        0 2px 4px rgba(0,0,0,0.04),
        0 8px 24px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
}

.aus_ux_container:focus-within {
    box-shadow:
        0 0 0 1px rgba(140,26,48,0.08),
        0 2px 4px rgba(0,0,0,0.05),
        0 12px 32px rgba(140,26,48,0.1);
}

/* ─────────────────────────────────────────────
   HEADER — Strong brand accent top bar
───────────────────────────────────────────── */
.aus_ux_header {
    background: var(--tc-white);
    padding: 20px 24px 18px;
    border-bottom: 1px solid var(--tc-border-soft);
    border-top: 3px solid var(--tc-red);
    position: relative;
}

.aus_ux_header h3 {
    margin: 0 0 4px 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--tc-text-900) !important;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.aus_ux_header p {
    margin: 0 !important;
    font-size: 12px !important;
    color: var(--tc-text-500) !important;
    font-weight: 400;
    line-height: 1.5;
}

/* ─────────────────────────────────────────────
   STEPS AREA
───────────────────────────────────────────── */
.aus_ux_steps {
    padding: 20px 24px 8px;
    background: var(--tc-white);
}

.aus_step_box {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
    position: relative;
}

/* Vertical connector line between steps */
.aus_step_box:not(:last-of-type) .aus_step_num::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 30px;
    width: 2px;
    height: calc(100% + 8px);
    background: linear-gradient(to bottom, var(--tc-border), transparent);
    z-index: 0;
}

.aus_step_num {
    width: 24px;
    min-width: 24px;
    height: 24px;
    background: var(--tc-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    margin-top: 3px;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(140, 26, 48, 0.32);
    transition: transform 0.2s;
}

.aus_step_box:hover .aus_step_num {
    transform: scale(1.1);
}

.aus_step_content {
    flex: 1;
    min-width: 0;
}

.aus_step_content label {
    display: block;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: var(--tc-text-300) !important;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    margin-bottom: 8px !important;
}

/* ─────────────────────────────────────────────
   ROUTE ROW
───────────────────────────────────────────── */
.aus_route_inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aus_arrow {
    color: var(--tc-red);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.2s;
}

.aus_route_inputs:hover .aus_arrow {
    opacity: 0.7;
}

/* ─────────────────────────────────────────────
   INPUTS & SELECTS
───────────────────────────────────────────── */
.aus_ux_container select,
.aus_ux_container input[type="number"],
.aus_ux_container input[type="text"] {
    width: 100%;
    background: var(--tc-bg) !important;
    border: 1.5px solid var(--tc-border) !important;
    border-radius: 8px !important;
    color: var(--tc-text-900) !important;
    padding: 9px 12px !important;
    font-size: 13px !important;
    font-family: 'Inter', inherit !important;
    font-weight: 500 !important;
    line-height: 1.4;
    appearance: auto;
    cursor: pointer;
    outline: none;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s !important;
}

.aus_ux_container select:hover,
.aus_ux_container input[type="number"]:hover {
    border-color: var(--tc-red-soft) !important;
    background: var(--tc-red-mist) !important;
}

.aus_ux_container select:focus,
.aus_ux_container input[type="number"]:focus {
    border-color: var(--tc-red) !important;
    background: var(--tc-red-mist) !important;
    box-shadow: 0 0 0 3px rgba(140, 26, 48, 0.1) !important;
}

/* ─────────────────────────────────────────────
   ACTION ZONE
───────────────────────────────────────────── */
.aus_ux_action_zone {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding: 14px 0 4px;
    border-top: 1px solid var(--tc-border-soft);
}

.aus_live_price {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.aus_live_price {
    font-size: 11px;
    font-weight: 600;
    color: var(--tc-text-300);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.aus_current_preview {
    font-size: 22px;
    font-weight: 800;
    color: var(--tc-border);
    margin-left: 0;
    display: block;
    letter-spacing: -0.8px;
    line-height: 1.1;
    margin-top: 2px;
    transition: color 0.3s, transform 0.2s;
}

.aus_current_preview.aus_has_price {
    color: var(--tc-green);
    transform: scale(1.03);
}

/* Add Button */
.aus_pro_add_btn {
    background: var(--tc-red) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-family: 'Inter', inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap;
    letter-spacing: 0.1px;
    transition: background 0.18s, transform 0.15s, box-shadow 0.18s !important;
    box-shadow: 0 2px 10px rgba(140, 26, 48, 0.32) !important;
}

.aus_pro_add_btn:hover {
    background: var(--tc-red-deep) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(140, 26, 48, 0.38) !important;
}

.aus_pro_add_btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(140, 26, 48, 0.28) !important;
}

/* ─────────────────────────────────────────────
   PAYMENT NOTICE
───────────────────────────────────────────── */
.aus_payment_notice {
    margin: 14px 24px 0 !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.5;
    animation: fadeSlideIn 0.25s ease;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────
   SUMMARY CARD
───────────────────────────────────────────── */
.aus_pro_summary_card {
    background: var(--tc-bg);
    border-top: 1px solid var(--tc-border-soft);
    margin-top: 8px;
}

.aus_pro_card_title {
    padding: 12px 24px 6px;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    color: var(--tc-text-300) !important;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.aus_pro_vehicle_list {
    padding: 4px 24px 12px;
    min-height: 46px;
}

.aus_pro_empty_msg {
    text-align: center;
    color: var(--tc-text-300);
    font-style: italic;
    font-size: 12px;
    padding: 14px 0;
    opacity: 0.7;
}

/* Vehicle row */
.aus_pro_item_badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--tc-white);
    border: 1.5px solid var(--tc-border-soft);
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 7px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    animation: fadeSlideIn 0.2s ease;
}

.aus_pro_item_badge:hover {
    border-color: var(--tc-border);
    box-shadow: 0 2px 10px rgba(140, 26, 48, 0.07);
    transform: translateX(2px);
}

.aus_item_details strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--tc-text-900);
    line-height: 1.3;
}

.aus_item_details span {
    font-size: 11.5px;
    color: var(--tc-text-300);
    margin-top: 2px;
    display: block;
    font-style: italic;
}

.aus_item_price_wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.aus_item_price_wrap strong {
    color: var(--tc-green);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.aus_item_price_wrap strong.aus_quote_badge_text {
    color: #c28d05 !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0px;
}

.aus_pro_remove {
    background: transparent !important;
    color: var(--tc-red-soft) !important;
    border: none !important;
    font-size: 18px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 3px 5px !important;
    border-radius: 5px !important;
    opacity: 0.4;
    transition: opacity 0.15s, background 0.15s !important;
}

.aus_pro_remove:hover {
    opacity: 1 !important;
    background: var(--tc-red-pale) !important;
}

/* ─────────────────────────────────────────────
   FOOTER — Total Estimate
───────────────────────────────────────────── */
.aus_pro_card_footer {
    background: var(--tc-white);
    border-top: 1.5px solid var(--tc-border);
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aus_pro_total_label {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    color: var(--tc-text-300) !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.aus_pro_total_val {
    font-size: 22px;
    font-weight: 800;
    color: var(--tc-red);
    letter-spacing: -1px;
    transition: color 0.25s;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 600px) {
    .aus_ux_header        { padding: 18px 18px 16px; }
    .aus_ux_steps         { padding: 18px 18px 6px; }
    .aus_payment_notice   { margin: 12px 18px 0 !important; }
    .aus_pro_card_title   { padding: 12px 18px 6px; }
    .aus_pro_vehicle_list { padding: 4px 18px 12px; }
    .aus_pro_card_footer  { padding: 14px 18px; }

    .aus_route_inputs {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .aus_arrow {
        display: block;
        text-align: center;
        transform: rotate(90deg);
    }
    .aus_ux_action_zone {
        flex-wrap: wrap;
        gap: 10px;
    }
    .aus_pro_add_btn {
        width: 100% !important;
        text-align: center;
    }
    .aus_current_preview {
        font-size: 20px;
    }
}

/* ─────────────────────────────────────────────
   HIDDEN NATIVE ELEMENTS — collapse all space
───────────────────────────────────────────── */
.entry-header:not(:has(*:not([style*="display: none"]))),
.page-header,
.breadcrumb-wrapper,
.breadcrumb-container {
    margin: 0 !important;
    padding: 0 !important;
}

/* ─────────────────────────────────────────────
   PAGE HEADER BANNER STYLE — Premium Look (Full-width)
───────────────────────────────────────────── */
.aus_pro_custom_banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 0 !important; /* Edge to edge banner */
    margin-top: 0 !important;
    margin-bottom: 35px;
    overflow: hidden;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 6px 20px rgba(140, 26, 48, 0.08);
    transition: box-shadow 0.3s ease;
    animation: bannerFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.aus_pro_custom_banner:hover {
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.06),
        0 12px 32px rgba(140, 26, 48, 0.12);
}

.aus_pro_custom_banner_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    transition: background 0.3s ease;
}

.aus_pro_custom_banner_content {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
}

.aus_pro_custom_banner_title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 32px !important;
    font-weight: 850 !important;
    color: #ffffff !important;
    letter-spacing: -0.8px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    text-shadow: 0 2px 8px rgba(26, 8, 16, 0.24) !important;
}

/* Dynamic breadcrumbs style inside banner */
.aus_pro_banner_breadcrumbs {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    margin-bottom: 10px !important;
    text-shadow: 0 1px 4px rgba(26, 8, 16, 0.2) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.aus_pro_banner_breadcrumbs a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.aus_pro_banner_breadcrumbs a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.aus_pro_banner_breadcrumbs span,
.aus_pro_banner_breadcrumbs .sep {
    color: rgba(255, 255, 255, 0.45) !important;
    margin: 0 4px !important;
}

@media (max-width: 768px) {
    .aus_pro_custom_banner {
        margin-bottom: 25px;
    }
    .aus_pro_custom_banner_title {
        font-size: 26px !important;
    }
    .aus_pro_banner_breadcrumbs {
        font-size: 12px !important;
    }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Separate animation for the banner that preserves the translateX(-50%) positioning */
@keyframes bannerFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
