.elementor-6252 .elementor-element.elementor-element-4bfe017{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-18a6571 *//* ===================================
   Order Tracking Professional UI
   Based on Your Original CSS
   =================================== */

/* Page Wrapper */
.track-page-wrapper {
    display: flex;
    justify-content: center;
    padding: 120px 70px;
}

/* Left Container */
.track-page-left {
    width: 100%;
}

/* Heading */
.track-page-left h1 {
    text-align: center;
    margin-bottom: 35px;
}

/* =========================
   FORM STYLING
   ========================= */

#order_tracking_form label {
    display: none;
}

#order_tracking_form {
    display: flex;
    align-items: stretch;
    gap: 0;
}

#order_input {
    flex: 1;
    padding: 14px 18px;
    font-size: 15px;
    border-radius: 12px 0 0 12px;
    border: 1px solid #d1d5db;
    border-right: none;
    outline: none;
    transition: all 0.3s ease;
}

#order_input:focus {
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

/* Track Button */
#track_button {
    position: relative;
    overflow: hidden;
    padding: 0 28px;
    border: 1px solid #000;
    border-radius: 0 12px 12px 0;
    background: #000;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#track_button:hover {
    background: #222;
}

#track_button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner */
#track_button.loading .btn-text {
    visibility: hidden;
}

.btn-spinner {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#track_button.loading .btn-spinner {
    opacity: 1;
    animation: btnSpin 0.7s linear infinite;
}

@keyframes btnSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =========================
   RESULT SECTION
   ========================= */

#order_result {
    margin-top: 30px;
}

.order-details-result {
    background: #f9fafb;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    animation: smoothFade 0.4s ease;
}

.order-details-result h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

/* =========================
   TABLE STYLING
   ========================= */

.order-details-table {
    width: 100%;
    border-collapse: collapse;
}

.order-details-table th,
.order-details-table td {
    padding: 14px;
    font-size: 14px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    vertical-align: middle;
}

/* Status Badge */
.order-status-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 30px;
    text-transform: capitalize;
}

.status-completed { background: #dcfce7; color: #166534; }
.status-processing { background: #fef9c3; color: #854d0e; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-on-hold { background: #e0e7ff; color: #3730a3; }
.status-pending { background: #f3f4f6; color: #374151; }

/* Error */
.track-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
}

/* ===================================
   MOBILE RESPONSIVE FIXED
   =================================== */

@media (max-width: 767px) {

    .track-page-wrapper {
        padding: 40px 12px;
    }

    #order_tracking_form {
        flex-direction: column;
    }

    #order_input {
        border-radius: 12px;
        border-right: 1px solid #d1d5db;
        margin-bottom: 10px;
    }

    #track_button {
        border-radius: 12px;
        padding: 14px;
        width: 100%;
    }

    .order-details-result {
        padding: 18px;
        border: none; /* 🔥 remove outer border */
        box-shadow: none;
    }

    /* Remove table layout */
    .order-details-table,
    .order-details-table tbody {
        display: block;
        width: 100%;
    }

    .order-details-table tr {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 14px;
        margin-bottom: 10px;
    }

    .order-details-table td {
        display: inline-block;
        border: none;
        padding: 0;
        font-size: 14px;
    }

    /* label */
    .order-details-table td:first-child {
        font-weight: 600;
        color: #111827;
    }

    /* value */
    .order-details-table td:last-child {
        text-align: right;
    }

    /* remove unwanted top/left visual effect */
    .order-details-table tr:first-child {
        margin-top: 0;
    }
}

/* Animation */
@keyframes smoothFade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================================
   ACCORDION MULTI ORDER
   =================================== */

.multi-order h3 {
    margin-bottom: 20px;
}

.order-accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

.order-accordion-item.active {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.accordion-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    background: #f9fafb;
}

.accordion-header:hover {
    background: #f3f4f6;
}

.accordion-total {
    font-weight: 700;
}

.accordion-body {
    display: none;
    padding: 15px;
    font-size: 14px;
    background: #ffffff;
    animation: fadeIn 0.3s ease-in-out;
}

/* Animation polish */
.order-details-result {
    animation: smoothFade 0.4s ease;
}

@keyframes smoothFade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}/* End custom CSS */