/* Order Manager Premium UI Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Hind+Siliguri:wght@400;500;600;700&family=Noto+Sans+Bengali:wght@400;500;600;700&display=swap');

.om-checkout-wrapper {
    width: 100% !important;
    max-width: 1290px !important;
    margin: 75px auto 20px !important; /* Balanced gap from header */
    font-family: 'Outfit', 'Hind Siliguri', sans-serif !important;
    color: #1a1a1a;
    padding: 20px 0 0 0 !important;
    background: #fff;
    border-radius: 12px;
    box-sizing: border-box !important;
    display: block;
    position: relative !important;
}

.om-checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    width: 100% !important;
}

.om-form-section {
    grid-row: 1 / 3;
}

.om-cart-section {
    grid-column: 2;
    grid-row: 1;
}

.om-checkout-footer {
    grid-column: 2;
    grid-row: 2;
}

.om-main-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
    margin-top: 10px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 15px;
    width: 100%;
}

.om-main-title::after {
    display: none !important;
}

.om-checkout-section {
    min-width: 0; /* Changed from 350px for grid compatibility */
}

.om-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
    position: relative;
    padding-bottom: 10px;
}

.om-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #16a34a;
    border-radius: 2px;
}

.om-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #006a4e; /* PutulShop Premium Green */
    font-family: 'Noto Sans Bengali', sans-serif;
    letter-spacing: 0.2px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #eceff1;
    border-radius: 12px;
    font-size: 16px;
    color: #334155;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #fdfdfd;
    font-family: 'Hind Siliguri', sans-serif;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #006a4e;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 106, 78, 0.08);
}

.om-checkout-wrapper button, .om-checkout-wrapper select {
    font-family: inherit;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

/* Baseline select style to prevent FOUC before Select2 loads */
select.om-select2 {
    width: 100% !important;
    height: 52px !important;
    padding: 10px 18px !important;
    border: 1.5px solid #eceff1 !important;
    border-radius: 12px !important;
    background-color: #fdfdfd !important;
    color: #475569 !important;
    font-size: 16px !important;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    appearance: none;
    -webkit-appearance: none;
}

/* Select2 Custom Styles */
.select2-container--default .select2-selection--single {
    border: 1.5px solid #eceff1 !important;
    border-radius: 12px !important;
    height: 52px !important;
    background: #fdfdfd !important;
    transition: all 0.3s ease;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #006a4e !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 106, 78, 0.08) !important;
    outline: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 52px !important;
    padding-left: 18px !important;
    color: #475569 !important;
    font-weight: 500 !important;
    font-family: 'Hind Siliguri', sans-serif;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 10px !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    height: 48px !important;
    line-height: 48px !important;
    margin-right: 25px !important;
    font-size: 18px !important;
    color: #ef4444 !important;
    display: flex;
    align-items: center;
}

.select2-dropdown {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
    z-index: 99999 !important;
}

.select2-search--dropdown .select2-search__field {
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 8px 12px !important;
}

.select2-results__option {
    padding: 10px 15px !important;
    font-family: 'Hind Siliguri', sans-serif;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: #006a4e !important;
}

/* District Dropdown Special Badge */
.om-free-badge {
    display: inline-block;
    padding: 1px 8px;
    margin-left: 10px;
    border: 1px solid #22c55e;
    border-radius: 6px;
    color: #16a34a;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    background: #f0fdf4;
    font-family: 'Inter', sans-serif;
    vertical-align: middle;
}

.select2-results__option--highlighted .om-free-badge {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
}

/* Order Summary */
.om-order-summary {
    padding: 0;
    overflow: hidden;
}

.om-order-inner {
    padding: 15px 30px;
}

.om-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
}

.om-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.om-product-image {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.om-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.om-product-title {
    font-weight: 700;
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}

.om-product-qty {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.om-product-price-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.om-remove-btn {
    background: transparent;
    border: 1px solid #ef4444;
    border-radius: 5px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ef4444;
    transition: 0.2s;
    padding: 0;
}
.om-remove-btn:hover {
    background: #fef2f2;
    transform: scale(1.05);
}

.om-product-price {
    font-weight: 800;
    font-size: 16px;
    color: #1e293b;
}

.om-qty-control {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
}

.om-qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: #64748b;
    transition: all 0.2s;
    padding: 0;
    line-height: 1;
}

.om-qty-btn:hover {
    border-color: #16a34a;
    color: #16a34a;
    background: #fffaf0;
}

.om-qty-input {
    width: 45px !important;
    text-align: center;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 6px !important;
    background: #fff !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    padding: 2px 0 !important;
    font-size: 16px !important;
    margin: 0 5px !important;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}

.om-qty-input::-webkit-outer-spin-button,
.om-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.om-summary-rows {
    margin-top: 5px;
}

.om-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-weight: 600;
    color: #475569;
    font-size: 15px;
}

.om-total-row {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 2px solid #f8fafc;
    font-weight: 800;
    color: #16a34a;
    font-size: 18px;
}

.om-total-price {
    font-size: 24px;
}

/* New Payment Section */
.om-payment-section {
    background: transparent;
    padding: 0;
    border: none;
    margin-top: 0px; /* Reduced from 15px */
    display: block; /* Ensure children stack vertically */
}

.om-payment-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.om-payment-section .om-section-title {
    margin: 0;
    white-space: nowrap;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #1e293b;
    border: none;
}

.om-payment-section .om-section-title::after {
    display: none;
}

.om-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.om-pm-card, .om-shipping-card {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    flex: 1;
    min-width: 140px;
    max-width: 200px;
}

.om-pm-card:hover, .om-shipping-card:hover {
    border-color: #16a34a;
    background: #fffaf5;
    transform: translateY(-2px);
}

.om-pm-card.active, .om-shipping-card.active {
    border-color: #10b981;
    background: #f0fdf4;
    box-shadow: 0 0 0 1px #10b981;
}

.om-pm-card input[type="radio"], .om-shipping-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.om-pm-content span {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    font-family: 'Noto Sans Bengali', sans-serif;
    white-space: nowrap;
}

.om-pm-card.active .om-pm-content span, .om-shipping-card.active .om-pm-content span {
    color: #065f46;
}

.om-submit-wrapper {
    margin-top: 15px; /* Reduced from 30px */
}

/* Specific override for the checkout footer card to remove border/shadow as per user request */
.om-checkout-footer .om-card {
    border: none !important;
    box-shadow: none !important;
    padding-top: 5px !important; /* Move content up */
}

@media (max-width: 992px) {
    .om-checkout-wrapper {
        width: 100% !important;
        left: 0 !important;
        margin: 20px 0 !important;
        border-radius: 0;
    }
    
    .om-checkout-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .om-cart-section {
        order: 1;
    }
    
    .om-form-section {
        order: 2;
    }
    
    .om-checkout-footer {
        order: 3;
    }
    
    .om-checkout-section {
        width: 100%;
    }
    
    .om-main-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .om-checkout-wrapper {
        margin: 75px 0 20px 0 !important; /* Increased top margin to clear fixed mobile header */
        padding: 5px 0 0 0 !important;
        border-radius: 0;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    .om-checkout-grid {
        gap: 0px; /* Reduced from 15px */
    }

    .om-card, .om-order-inner {
        padding: 25px 20px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        margin: 0 -15px; /* Pull it horizontally out to be full-width on mobile */
        border-bottom: 2px solid #f8fafc;
    }
    
    .om-main-title {
        font-size: 22px;
        margin-bottom: 20px;
        padding: 0 20px;
        font-weight: 800;
        color: #0f172a;
    }

    .om-section-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .om-card .form-group:last-child {
        margin-bottom: 0 !important;
    }
    
    .form-group input {
        height: 52px !important;
        font-size: 16px;
        padding: 12px 18px !important;
        background-color: #fdfdfd !important;
        border-radius: 12px !important;
        border: 1.5px solid #eceff1 !important;
    }

    .select2-container--default .select2-selection--single {
        height: 52px !important;
        background-color: #fdfdfd !important;
        border-radius: 12px !important;
        border: 1.5px solid #eceff1 !important;
        padding: 0 !important; /* Remove competing vertical padding */
    }

    .form-group textarea {
        min-height: 100px !important;
        font-size: 16px;
        padding: 15px 18px !important;
        background-color: #fdfdfd !important;
        border-radius: 12px !important;
        border: 1.5px solid #eceff1 !important;
        line-height: 1.5;
    }
    
    .form-group input:focus, .form-group textarea:focus {
        border-color: #006a4e !important;
        background-color: #fff !important;
        box-shadow: 0 4px 12px rgba(0, 106, 78, 0.08) !important;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 52px !important;
        padding-left: 18px !important;
        color: #334155 !important;
        text-align: left !important;
    }
    
    .form-group label {
        font-size: 15px;
        margin-bottom: 12px;
        color: #006a4e;
        letter-spacing: 0.2px;
    }
    
    .om-payment-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }
    
    .om-payment-grid {
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px;
    }
    
    .om-pm-card, .om-shipping-card {
        min-width: 100% !important;
        max-width: none !important;
        padding: 15px 10px !important;
        min-height: 50px !important;
    }

    .om-product-item {
        padding: 12px;
        background: #fff;
        border: 1px solid #f1f5f9;
    }

    .om-product-image {
        width: 60px;
        height: 60px;
    }

    .om-product-info {
        gap: 12px;
    }

    .om-product-title {
        font-size: 13px;
        line-height: 1.3;
    }

    .om-product-price {
        font-size: 15px;
    }
    
    .om-qty-btn {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }
    
    .om-qty-input {
        width: 40px !important;
        font-size: 14px !important;
        height: 24px !important;
    }
    
    .om-cod-text {
        font-size: 15px !important;
        white-space: normal;
    }
    
    .om-payment-details-box {
        padding: 20px 15px !important;
    }

    .om-submit-wrapper {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 15px;
        background: #fff;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
        margin: 20px -15px -15px -15px;
        z-index: 1000;
        border-top: 1px solid #f1f5f9;
        display: block !important;
        box-sizing: border-box !important;
        width: calc(100% + 30px) !important;
    }
    
    .om-checkout-btn {
        min-height: 54px !important;
        font-size: 18px;
        margin: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .om-payment-grid {
        grid-template-columns: 1fr !important;
    }
    
    .om-main-title {
        font-size: 22px;
    }

    .om-success-modal-body {
        padding: 0 20px 30px;
    }

    .om-success-modal-body h2 {
        font-size: 22px;
    }
}

/* Button */
@keyframes om-btn-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes om-btn-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(34,197,94,0.4); }
    50%       { box-shadow: 0 4px 40px rgba(34,197,94,0.75), 0 0 0 6px rgba(34,197,94,0.12); }
}
@keyframes om-cod-shake {
    0%   { transform: translateX(0); }
    15%  { transform: translateX(-8px); }
    30%  { transform: translateX(8px); }
    45%  { transform: translateX(-6px); }
    60%  { transform: translateX(6px); }
    75%  { transform: translateX(-3px); }
    90%  { transform: translateX(3px); }
    100% { transform: translateX(0); }
}
.om-cod-shake {
    animation: om-cod-shake 0.5s ease !important;
    border-color: #ef4444 !important;
    border-left-color: #ef4444 !important;
    background: #fff5f5 !important;
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.om-checkout-btn {
    width: 100%;
    position: relative;
    padding: 3px !important; /* Thickness for the animated border */
    min-height: 64px !important; /* Restored height to original prominence */
    background: transparent !important;
    border: none !important;
    border-radius: 50px !important;
    overflow: hidden;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    color: #fff !important; /* White text for contrast */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

/* Background gradient that rotates */
.om-checkout-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, #10b981, transparent, #fbbf24, transparent);
    animation: rotate-border 3s linear infinite;
    z-index: -2;
}

/* Inner overlay to create the border effect & background color */
.om-checkout-btn::after {
    content: '';
    position: absolute;
    inset: 2px; /* Leave space for border */
    background: #064e3b; /* Premium Dark Green */
    border-radius: 48px;
    z-index: -1;
    transition: all 0.3s ease;
}

.om-checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(6, 78, 59, 0.3);
}

.om-checkout-btn:hover::after {
    background: #065f46; /* Slightly lighter on hover */
}

.om-checkout-btn:active {
    transform: translateY(1px);
}

/* Pre-Order Button Variant */
.om-preorder-btn::before {
    background: conic-gradient(transparent, #f59e0b, transparent, #ef4444, transparent) !important;
}

.om-preorder-btn::after {
    background: #92400e !important; /* Deep amber */
}

.om-preorder-btn:hover {
    box-shadow: 0 10px 25px rgba(146, 64, 14, 0.35) !important;
}

.om-preorder-btn:hover::after {
    background: #b45309 !important;
}


/* Tracking results & Status */
.status {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.status-pending { background: #fff5e6; color: #16a34a; }
.status-paid { background: #e6f7ef; color: #10b981; }
.status-failed { background: #fee2e2; color: #dc2626; }
.status-refunded { background: #f1f5f9; color: #475569; }

/* Delivery Status */
.status-processing { background: #e0e7ff; color: #4338ca; }
.status-shipped { background: #fef08a; color: #854d0e; }
.status-delivered { background: #dcfce7; color: #14532d; }
.status-cancelled { background: #fecaca; color: #991b1b; }

/* Modern Success Modal */
.om-success-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.om-success-modal-content {
    background-color: #fff;
    padding: 0;
    width: 450px !important;
    max-width: 95%;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: omModalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes omModalPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.om-success-modal-header {
    padding: 30px 20px 20px;
    position: relative;
}

.om-success-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
}

.om-success-close:hover { color: #333; }

.om-success-badge {
    width: 70px;
    height: 70px;
    background: #4ade80;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

.om-check-icon {
    font-size: 36px;
    color: #fff;
}

.om-success-modal-body {
    padding: 0 40px 40px;
}

.om-success-modal-body h2 {
    margin: 10px 0;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.om-success-msg {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 25px;
}

.om-order-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.om-order-info-card .om-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
    font-weight: 600;
}

.om-order-id {
    font-size: 20px;
    font-weight: 700;
    color: #16a34a;
    font-family: monospace;
}

.om-track-hint {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.om-track-now-btn {
    display: block;
    width: 100%;
    background: #064e3b;
    color: #fff;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
    box-shadow: 0 4px 14px rgba(6, 78, 59, 0.2);
}

.om-track-now-btn:hover {
    background: #065f46;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(6, 78, 59, 0.3);
}

/* Order History Timeline */
.om-order-history-container {
    background: #fff;
}

.om-timeline {
    position: relative;
    padding-left: 50px;
    margin-top: 15px;
}

.om-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: #e2e8f0;
}

.om-timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.om-timeline-item:last-child {
    margin-bottom: 0;
}

.om-timeline-dot {
    position: absolute;
    left: -34px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: #fff;
    border: 2px solid #ef4444;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/* Make the top dot (most recent) more prominent if needed, but the user image shows red circles */
.om-timeline-item:first-child .om-timeline-dot {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* Delivered State Timeline */
.om-order-history-delivered .om-timeline::before {
    background: #bbf7d0;
}
.om-order-history-delivered .om-timeline-dot {
    border-color: #22c55e;
    background: #fff;
}
.om-order-history-delivered .om-timeline-item:first-child .om-timeline-dot {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.om-timeline-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.om-timeline-status {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    line-height: 1;
}

.om-timeline-message {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.om-timeline-date {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

/* Modern Tracking Page */
.om-tracking-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 150px !important; /* Gap from fixed header */
    margin-bottom: 20px !important; /* Back to original theme behavior */
    background: transparent;
    min-height: 400px;
}

.om-tracking-card {
    background: #fff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.om-tracking-header {
    margin-bottom: 35px;
}

.om-tracking-header h3 {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 10px;
}

.om-tracking-header p {
    color: #64748b;
    font-size: 16px;
}

.om-input-with-button {
    display: flex;
    gap: 10px;
    background: #f1f5f9;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.om-input-with-button:focus-within {
    border-color: #16a34a;
    box-shadow: 0 0 0 4px rgba(243, 164, 28, 0.1);
}

.om-input-with-button input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    outline: none !important;
}

.om-track-btn {
    background: #16a34a;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.om-track-btn:hover {
    background: #065f46;
    transform: translateX(2px);
}

.om-tracking-result {
    margin-top: 40px;
    text-align: left;
}

.om-tracking-details {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.om-tracking-details p {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.om-tracking-details p:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.om-tracking-details strong {
    color: #1e293b;
}

.om-tracking-details .status {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
}


/* Payment Details Box */
#om-payment-details-wrapper {
    animation: omFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.om-payment-details-box {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.om-payment-details-box h4 {
    border-bottom: 2px dashed rgba(0,0,0,0.05);
    padding-bottom: 12px;
    margin-bottom: 15px !important;
}

.om-display-number {
    letter-spacing: 1px;
    font-family: 'Inter', monospace;
}

.om-copy-btn {
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    transition: all 0.2s ease !important;
}

.om-copy-btn:hover {
    background: #059669 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
}

.om-copy-btn:active {
    transform: scale(0.95);
}

.om-input-group label {
    margin-bottom: 8px;
    color: #4b5563;
    font-weight: 600;
    display: block;
}

.om-input {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.25s ease;
    background: #fff;
    color: #1e293b;
    font-family: inherit;
}

.om-input:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 4px rgba(243, 164, 28, 0.1);
    outline: none;
    background: #fff !important;
}

.om-bank-info pre {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
}

/* File input styling */
input[type="file"].om-input {
    padding: 30px 20px;
    border-style: dashed;
    background: #f8fafc;
    text-align: center;
}

input[type="file"].om-input::-webkit-file-upload-button {
    background: #16a34a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    margin-right: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

input[type="file"].om-input::-webkit-file-upload-button:hover {
    background: #e69512;
}

@media (max-width: 600px) {
    .om-payment-details-box {
        padding: 15px !important;
    }
}

/* ==========================================================================
   Account & Authentication Page Styles
   ========================================================================== */
.om-auth-wrapper {
    max-width: 600px;
    margin: 80px auto 40px;
    padding: 20px;
    font-family: 'Outfit', sans-serif;
}

.om-auth-header-top {
    text-align: left;
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.om-auth-icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #064e3b, #059669);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    box-shadow: 0 10px 20px rgba(6, 78, 59, 0.2);
}

.om-auth-title-container h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.om-auth-title-container p {
    color: #64748b;
    margin: 5px 0 0;
}

.om-auth-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.om-auth-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.om-auth-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.om-input-group {
    position: relative;
    margin-bottom: 15px;
}

.om-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #064e3b;
}

.om-input-group input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.om-input-group input:focus {
    border-color: #064e3b;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    outline: none;
}

.om-pass-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
}

.om-auth-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.om-auth-btn.primary {
    background: #064e3b;
    color: #fff;
}

.om-auth-btn.primary:hover {
    background: #065f46;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.om-auth-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.om-auth-divider .line {
    width: 1px;
    flex: 1;
    background: #e2e8f0;
}

.or-badge {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 8px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    margin: 15px 0;
}

.om-auth-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 14px;
}

.om-auth-footer label {
    color: #64748b;
    cursor: pointer;
}

.om-forgot-link {
    color: #064e3b;
    text-decoration: none;
    font-weight: 600;
}

.om-auth-toggle-footer {
    text-align: center;
    margin-top: 25px;
    color: #64748b;
}

.om-auth-toggle-footer a {
    color: #064e3b;
    text-decoration: none;
    font-weight: 700;
}

/* Logged In State */
.om-account-page-logged-in {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.om-account-header {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.om-user-avatar i {
    font-size: 60px;
    color: #064e3b;
}

.om-user-welcome h2 {
    margin: 0;
    font-size: 24px;
    color: #1e293b;
}

.om-user-welcome p {
    margin: 5px 0 0;
    color: #64748b;
}

.om-logout-btn {
    margin-left: auto;
    background: #f1f5f9;
    color: #ef4444;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
}

.om-logout-btn:hover {
    background: #fee2e2;
}

.om-account-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.om-tab-btn {
    padding: 12px 25px;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.om-tab-btn.active {
    background: #064e3b;
    color: #fff;
}

.om-tab-content {
    display: none;
}

.om-tab-content.active {
    display: block;
}

.om-profile-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

#om-auth-message {
    margin-top: 20px;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
}

.om-auth-error {
    background: #fee2e2;
    color: #ef4444;
    padding: 12px;
}

.om-auth-success {
    background: #dcfce7;
    color: #16a34a;
    padding: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .om-auth-wrapper {
        margin: 100px auto 40px;
        padding: 15px;
    }
    
    .om-auth-card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    #om-auth-tabs-nav {
        flex-direction: column;
        gap: 0 !important;
        margin-bottom: 20px !important;
        border-bottom: none !important;
    }

    .om-auth-tab-btn {
        width: 100%;
        text-align: center;
        margin-bottom: 0 !important;
        border-bottom: 2px solid transparent !important;
        padding: 12px !important;
    }

    .om-auth-tab-btn.active {
        border-bottom: 2px solid #064e3b !important;
        background: #f1f5f9;
        border-radius: 8px;
    }

    .om-auth-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .om-auth-divider {
        flex-direction: row;
        width: 100%;
        height: auto;
    }
    
    .om-auth-divider .line {
        height: 1px;
        width: 100%;
    }
    
    .or-badge {
        margin: 0 15px;
    }
    
    .om-account-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .om-logout-btn {
        margin: 10px 0 0;
        width: 100%;
        text-align: center;
    }

    .om-account-page-logged-in {
        margin: 100px auto 30px;
        padding: 0 15px;
    }

    .om-account-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        margin-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .om-tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 10px 15px;
        font-size: 14px;
    }

    .om-profile-card {
        padding: 20px;
    }

    .om-tracking-wrapper {
        margin-top: 100px !important;
        padding: 0 15px;
    }

    .om-tracking-card {
        padding: 30px 20px;
    }

    #om-tracking-form > div {
        flex-direction: column !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        gap: 15px !important;
    }
    
    #om-tracking-form input {
        width: 100% !important;
        background: #f1f5f9 !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        text-align: center;
    }
    
    #om-track-btn {
        width: 100% !important;
        border-radius: 12px !important;
    }
}

/* Account Dashboard Grid */
.om-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.om-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.om-stat-card:hover {
    transform: translateY(-5px);
}

.om-stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #064e3b, #059669);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.om-stat-info h3 {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.om-stat-value {
    margin: 5px 0 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.om-stat-desc {
    margin: 5px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #064e3b;
}

.om-welcome-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    line-height: 1.6;
}

.om-welcome-card h3 {
    margin: 0 0 15px;
    font-size: 20px;
    color: #333;
}

.om-welcome-card p {
    margin: 0;
    color: #555;
    font-size: 15px;
}

.om-welcome-card a {
    color: #064e3b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.om-welcome-card a:hover {
    color: #065f46;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .om-dashboard-grid {
        grid-template-columns: 1fr;
    }
}



/* Product Reviews Section */
.om-reviews-container {
    margin-top: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    max-width: 1290px;
    margin-left: auto;
    margin-right: auto;
}

.om-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 15px;
}

.om-reviews-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
}

.om-average-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.om-stars {
    display: flex;
    color: #cbd5e1;
    font-size: 20px;
}

.om-stars .star.filled {
    color: #f59e0b;
}

.om-rating-summary {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.om-reviews-list {
    margin-bottom: 40px;
}

.om-review-item {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.om-review-item:hover {
    background: #f8fafc;
    border-radius: 8px;
}

.om-review-item:last-child {
    border-bottom: none;
}

.om-review-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.om-rev-author {
    font-weight: 700;
    color: #1e293b;
    font-size: 15px;
}

.om-rev-stars {
    display: flex;
    color: #cbd5e1;
    font-size: 14px;
}

.om-rev-stars .star.filled {
    color: #f59e0b;
}

.om-rev-date {
    font-size: 13px;
    color: #94a3b8;
    margin-left: auto;
}

.om-review-content {
    color: #475569;
    line-height: 1.6;
    font-size: 15px;
}

.om-review-content p {
    margin: 0;
}

.om-no-reviews {
    text-align: center;
    padding: 30px;
    color: #94a3b8;
    font-style: italic;
    background: #f8fafc;
    border-radius: 8px;
}

/* Review Form */
.om-review-form-wrapper {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.om-review-form-wrapper h4 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.om-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.om-star-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.om-star-input input {
    display: none;
}

.om-star-input label {
    font-size: 30px;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.2s;
}

.om-star-input label:hover,
.om-star-input label:hover ~ label,
.om-star-input input:checked ~ label {
    color: #f59e0b;
}

.om-btn-submit-rev {
    background: #064e3b;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.om-btn-submit-rev:hover {
    background: #065f46;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2);
}

#om-review-msg {
    margin-top: 15px;
    font-weight: 600;
}

.om-msg-success {
    color: #16a34a;
}

.om-msg-error {
    color: #ef4444;
}

@media (max-width: 768px) {
    .om-reviews-container {
        padding: 20px 15px;
        margin-top: 20px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .om-form-row {
        grid-template-columns: 1fr;
    }
    
    .om-reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

}
