﻿/*---My Orders----*/
:root {
    --gold-glow: rgba(212, 175, 55, 0.3);
    --luxe-blue: #00629b;
    --glass: rgba(255, 255, 255, 0.95);
}

.order-luxe-card {
    background: var(--glass);
    border-radius: 30px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    direction: rtl;
    position: relative;
    will-change: transform; /* به مرورگر کمک می‌کند انیمیشن را نرم‌تر اجرا کند */
    backface-visibility: hidden;
}

    .order-luxe-card:hover {
        /* به جای جابجایی زیاد، فقط سایه و کمی جابجایی نرم */
        transform: translateY(-5px) !important;
        box-shadow: 0 20px 40px rgba(0, 98, 155, 0.15) !important;
    }

/* Header */
.order-card-header {
    background: #f8fafc;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #edf2f7;
}

.order-id-label {
    font-size: 12px;
    color: #94a3b8;
    display: block;
}

.order-id-value {
    font-size: 18px !important;
    font-weight: 900;
    color: var(--luxe-blue);
}

.order-status-badge {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-red {
    background: #fef2f2;
    color: #ef4444;
}

.status-green {
    background: #f0fdf4;
    color: #22c55e;
}

.status-gold {
    background: #fffbeb;
    color: #d97706;
}

/* Body */
.order-card-body {
    padding: 30px;
}

.order-main-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .info-item i {
        width: 45px;
        height: 45px;
        background: #f0f9ff;
        color: #0092e6;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

.info-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
}

.info-value {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
}

.highlight-price .info-value {
    color: #00629b;
    font-size: 18px !important;
}

.order-sub-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 15px;
    margin-bottom: 30px;
}

.sub-item {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

    .sub-item i {
        color: #94a3b8;
        margin-left: 5px;
    }

/* Timeline Luxe */
.order-steps-container {
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.order-steps {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 7px;
    position: relative;
}

    .order-steps::before {
        content: '';
        position: absolute;
        top: 25px;
        left: 0;
        right: 0;
        height: 3px;
        background: #e2e8f0;
        z-index: 1;
    }

    .order-steps li {
        position: relative;
        z-index: 2;
        text-align: center;
        flex: 1;
    }

.step-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

    .step-icon img {
        width: 22px;
        filter: grayscale(1);
        opacity: 0.5;
    }

.step-label {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 800;
}

.order-steps li.active .step-icon {
    border-color: #d4af37;
    box-shadow: 0 0 15px var(--gold-glow);
}

.order-steps li.active li.active .step-icon img {
    filter: none;
    opacity: 1;
}

.order-steps li.completed .step-icon {
    border-color: #22c55e;
    background: #f0fdf4;
    box-shadow: 0 0 15px #22c55e4c;
}
.order-steps li.completed .step-label {
    color: rgb(34, 197, 94);
}
    .order-steps li.completed .step-icon img {
        filter: none;
        opacity: 1;
    }

.order-steps li.active .step-label {
    color: #d4af37;
}

/* Footer */
.order-card-footer {
    padding: 20px 30px;
    background: #fff;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-luxe-outline {
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid #e0f2fe;
    color: #00629b;
    font-weight: 800;
    font-size: 13px;
    transition: 0.3s;
    text-decoration: none;
}

    .btn-luxe-outline:hover {
        background: #00629b;
        color: #fff;
        border-color: #00629b;
    }

.order-timer-luxe {
    background: #fff1f2;
    color: #be123c;
    padding: 5px 15px;
    border-radius: 10px;
    font-weight: 900;
    margin-bottom: 10px;
    text-align: center;
    font-size: 14px;
}

.payment-buttons {
    display: flex;
    gap: 10px;
}

.btn-pay {
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
}

    .btn-pay.online {
        background: #0092e6;
        color: #fff;
    }

    .btn-pay.card {
        background: #f1f5f9;
        color: #475569;
    }

    .btn-pay:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }

@media (max-width: 768px) {
    .info-value {
        font-size: 12px !important;
    }
    .order-main-info {
        grid-template-columns: 1fr;
    }

    .order-card-footer {
        justify-content: center;
        text-align: center;
    }
}
.tracking-badge {
    background: #0092e6; /* رنگ برند */
    color: #fff !important;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 146, 230, 0.2);
}

    .tracking-badge:hover {
        background: #00629b;
        transform: scale(1.05);
    }

    .tracking-badge i {
        color: #fff !important; /* آیکون سفید داخل دکمه آبی */
        margin: 0 !important;
    }

.text-success {
    color: #22c55e !important;
    font-weight: 800;
}

.text-danger {
    color: #ef4444 !important;
    font-weight: 800;
}

/*---Orders Details---*/
/* =========================================
   فایل CSS جامع و نهایی (نسخه فیکس شده)
   مناسب برای اطلاعات سفارش، فاکتور و راهنما
   ========================================= */

:root {
    --primary-blue: #0092e6;
    --dark-blue: #00629b;
    --bg-light: #f8fafc;
    --border-color: #f1f5f9;
    --success-green: #22c55e;
}

/* ۱. استایل کلی بدنه و کانتینرها */
.luxe-cart-page {
    direction: rtl;
    font-family: inherit;
}

.invoice-card-right,
.payment-card-left {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 30px;
}

/* ۲. هدر مدرن (فیکس شده برای تمام بخش‌ها) */
/* --- اصلاح خط عمودی هدر (گرد و مدرن) --- */
/* --- اصلاح نهایی هدر مدرن با خط کج و گرد --- */
/* --- نسخه نهایی هدر با لبه‌های کج و گرد --- */
.modern-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-right: 6px solid #00629b !important;
    background: var(--bg-light);
    padding: 15px 25px;
    border-bottom: 2px solid #f1f5f9;
}

    .modern-header h1 {
        font-size: 19px;
        font-weight: 800;
        color: #00456e;
        margin: 0;
        display: flex;
        align-items: center;
    }

        .modern-header h1 i {
            color: var(--primary-blue);
            margin-left: 10px;
        }

/* ۳. استایل لیست اقلام سفارش (سمت راست) */
.luxe-cart-item {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
}

    .luxe-cart-item:last-child {
        border-bottom: none;
    }

.item-body-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.item-image {
    width: 110px;
    height: 110px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

    .item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.item-details {
    flex: 1;
}

.product-name {
    font-size: 15px;
    line-height: 23px;
    font-weight: 800;
    color: #004f7c;
    margin-bottom: 10px;
    text-decoration: none !important;
}

.item-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.luxe-badge {
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.unit-price-row {
    font-size: 13px;
    color: var(--text-muted);
}

    .unit-price-row strong {
        color: var(--text-dark);
    }

.item-price-sum {
    text-align: left;
    min-width: 160px;
}

.sum-label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.item-price-sum strong {
    font-size: 20px;
    color: var(--primary-blue);
    font-weight: 900;
}

/* ۴. استایل خلاصه فاکتور (سمت چپ) */
.invoice-details {
    list-style: none;
    padding: 20px 25px;
    margin: 0;
}

    .invoice-details li {
        display: flex;
        justify-content: space-between;
        padding: 15px 0;
        border-bottom: 1px dashed #e2e8f0;
        font-size: 14px;
        color: #475569;
    }

        .invoice-details li i {
            margin-left: 8px;
            color: var(--primary-blue);
        }

.total-payable-box {
    margin: 0 20px 20px 20px;
    padding: 20px;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-weight: 800;
    font-size: 15px;
}

.total-value b {
    font-size: 22px;
    font-weight: 900;
}

.btn-payment-final {
    display: block;
    margin: 0 20px 20px 20px;
    background: linear-gradient(135deg, #0092e6 0%, #00629b 100%);
    color: #fff !important;
    padding: 18px;
    border-radius: 18px;
    text-align: center;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(0, 146, 230, 0.2);
}

/* ۵. بخش راهنمای سریع (دقیقا مطابق HTML) */
.guide-box {
    margin: 0 20px 20px 20px;
    padding: 20px;
    background: #f0f9ff;
    border-radius: 18px;
    border-right: 4px solid var(--primary-blue);
}

.guide-header {
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-box p {
    font-size: 13px;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

/* ۶. تنظیمات موبایل (ریسپانسیو ۱۰۰٪) */
@media (max-width: 768px) {
    .product-name {
        font-size: 13px;
    }

        .modern-header h1 {
            font-size: 17px !important;
        }

        .item-body-flex {
            flex-direction: column !important;
            text-align: center;
        }

        .item-image {
            width: 140px !important;
            height: 140px !important;
            margin: 0 auto;
        }

        .item-details {
            width: 100%;
        }

        .item-badges {
            justify-content: center;
        }

        .item-price-sum {
            width: 100%;
            text-align: center;
            background: #f8fafc;
            padding: 15px;
            border-radius: 15px;
            border: 1px dashed #cbd5e1;
            margin-top: 15px;
        }
    }
.luxe-badge i{
    font-size:12px !important;
}
/*---کارت به کارت---*/
/* --- استایل اختصاصی صفحه کارت به کارت --- */

.transfer-card {
    background: #fff;
    border-radius: 25px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    overflow: hidden;
    direction: rtl;
    margin: 0 !important;
    width: 100%;
}

/* هدر اختصاصی با خط کج و گرد */
.transfer-header {
    background: #f8fafc;
    padding: 20px 25px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

    .transfer-header::after {
        content: "";
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 6px;
        background: #00629b;
        border-radius: 10px 0 0 10px;
    }

    .transfer-header h1 {
        font-size: 20px;
        font-weight: 800;
        color: #00456e;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .transfer-header h1 i {
            color: #0092e6;
        }

.transfer-body {
    padding: 25px;
}

/* باکس بانک */
.transfer-bank-zone {
    background: #fdfdfd;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    text-align: center;
}

.transfer-label {
    color: #64748b;
    font-size: 13px;
}

.transfer-price {
    margin: 10px 0 20px 0;
}

    .transfer-price b {
        font-size: 30px;
        color: #059669;
        font-weight: 900;
    }

    .transfer-price span {
        color: #059669;
        font-weight: 700;
    }

.transfer-card-box {
    background: #fff;
    padding: 20px;
    border-radius: 18px;
    border: 2px dashed #0092e6;
    cursor: pointer;
    transition: 0.3s;
}

    .transfer-card-box:hover {
        background: #f0f9ff;
    }

.transfer-sub-label {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.transfer-number {
    font-size: 24px;
    font-weight: 900;
    color: #00629b;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.transfer-owner {
    font-weight: 800;
    color: #1e293b;
}

.transfer-copy-hint {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 10px;
}

/* راهنما */
.transfer-guide {
    margin-top: 25px;
    padding: 20px;
    background: #f0f9ff;
    border-radius: 15px;
    border-right: 4px solid #0092e6;
}

.transfer-guide-title {
    font-weight: 800;
    color: #00456e;
    margin-bottom: 10px;
}

.transfer-order-id {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
    font-weight: 800;
    text-align: center;
}

    .transfer-order-id span {
        color: #ef4444;
        font-size: 18px;
    }

/* دکمه‌های اجتماعی */
.transfer-social-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.t-social-btn {
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none !important;
    transition: 0.3s;
}

.t-whatsapp {
    background: #25d366;
}

.t-telegram {
    background: #0088cc;
}

.t-insta {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2397, #bc1888);
}

.t-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.transfer-sms {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

.transfer-alert {
    margin-top: 20px;
    padding: 15px;
    background: #fff1f2;
    color: #be123c;
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.6;
}

.transfer-main-btn {
    display: block;
    margin-top: 20px;
    background: linear-gradient(135deg, #0092e6, #00629b);
    color: #fff !important;
    padding: 18px;
    border-radius: 15px;
    text-align: center;
    font-weight: 800;
    text-decoration: none !important;
}
.transfer-main-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .transfer-main-btn:hover {
        transform: translateY(-3px); /* دکمه کمی بالا می‌آید */
        box-shadow: 0 15px 35px rgba(0, 146, 230, 0.45); /* سایه عمیق‌تر و رنگی‌تر */
        filter: brightness(1.1); /* کمی روشن‌تر شدن رنگ گرادینت */
    }

    .transfer-main-btn:active {
        transform: translateY(-1px); /* حالت کلیک شدن */
    }

@media (max-width: 600px) {
    .transfer-price b {
        font-size: 25px !important;
    }
    .transfer-social-list {
        grid-template-columns: 1fr;
    }
    .transfer-number {
        font-size: 16px !important;
        font-weight: 900;
        color: #00629b;
        margin-bottom: 5px;
    }
    .transfer-card-box {
        padding: 18px !important;

    }
    .transfer-bank-zone {
        padding: 6px !important;

    }
    .transfer-body {
        padding: 13px !important;
    }
    .transfer-number {
        font-size: 19px;
    }
}
.t-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
}

.t-modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 700px;
    margin: 50px auto;
    border-radius: 25px;
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.t-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    border: none;
    background: #eee;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

/* برای اینکه هدر صفحه لود شده داخل مودال کج و گرد بماند */
.t-modal-content .transfer-header::after {
    top: 20% !important;
    height: 60% !important;
}
/* اصلاح بدنه مودال برای جلوگیری از اسکرول اضافی */
.t-modal-content {
    width: 95%;
    max-width: 650px; /* اندازه استاندارد برای جایگیری درست */
    margin: 30px auto;
    padding: 0; /* پدینگ داخلی را صفر می‌کنیم تا باکس‌های داخلی فاصله ایجاد کنند */
    border-radius: 20px;
    overflow-x: hidden; /* جلوگیری از اسکرول افقی */
    overflow-y: visible; /* اجازه بده محتوا ارتفاع بگیرد */
    border: none;
}

/* برای اینکه در موبایل هم اسکرول نخورد */
@media (max-width: 768px) {
    .t-modal-content {
        margin: 10px auto;
        width: 98%;
    }
}

/* استایل اعلان کپی مدرن (Toast) */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 10000;
    display: none; /* در حالت عادی مخفی */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
}
/* استایل نگهدارنده */
/* استایل تولتیپ کپی */
.copy-wrapper {
    position: relative;
}

.copy-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #10b981; /* سبز زنده */
    color: #fff;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

    /* فلش زیر تولتیپ */
    .copy-tooltip::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #10b981;
    }

    .copy-tooltip.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

/* رفع مشکل اسکرول مودال */
.t-modal-content {
    overflow-x: hidden !important;
}
/* اصلاح عرض مودال در دسکتاپ */
@media (min-width: 992px) {
    .t-modal-content {
        max-width: 480px !important; /* عرض استاندارد برای دسکتاپ */
        width: 100% !important;
        margin: 40px auto;
        overflow: hidden !important;
    }
}

/* حذف تاثیر کلاس‌های بوت استرپ داخل مودال */
.transfer-wrapper-ajax {
    width: 100% !important;
    padding: 0 !important;
    overflow: hidden;
}

/* استایل تولتیپ سبز رنگ کپی */
.copy-wrapper {
    position: relative;
}

.copy-tooltip {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #10b981;
    color: white;
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 13px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

    .copy-tooltip.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .copy-tooltip::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #10b981;
    }
/* نگهدارنده آیکون */
.success-icon-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    text-align: center;
}

/* استایل اختصاصی عکس */
.success-order-icon {
    width: 190px !important; /* اندازه ثابت برای موبایل و دسکتاپ */
    height: auto !important;
    display: block;
    margin: 0 auto;
    object-fit: contain; 
}

@media (max-width: 768px) {
    .success-order-icon {
        width: 130px !important; /* اندازه ثابت برای موبایل  */
    }
}
/* تنظیمات اختصاصی دسکتاپ (کامپیوتر) */
@media (min-width: 992px) {
    /* وسط‌چین کردن و محدود کردن عرض زون بانکی */
    .transfer-bank-zone {
        max-width: 450px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cartbycart {
        margin-right: 220px !important;
    }
    /* جلوگیری از کش آمدن باکس شماره کارت در دسکتاپ */
    .transfer-card-box {
        width: 100%;
        max-width: 380px;
    }

    /* تنظیم فاصله آیکون در مانیتور بزرگ */
    .success-icon-wrapper {
        margin-top: 10px;
    }
}

/* انیمیشن ملایم برای ظاهر شدن عکس */
.success-order-icon {
    animation: zoomInSuccess 0.5s ease-out;
}

@keyframes zoomInSuccess {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}
/*---online payment---*/
