
body {
    /*margin: 0;
    padding: 0;*/
    font-family: "IRANSans", Tahoma, sans-serif;
    background: #f7f8fc;
    color: #333;
    direction: rtl;
}

.booking-wrapper {
    width: 100%;
    padding: 30px 15px;
    box-sizing: border-box;
}

.booking-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    padding: 30px;
    box-sizing: border-box;
}

/* هدر */
.booking-header {
    text-align: center;
    margin-bottom: 30px;
}

    .booking-header h2 {
        margin: 0 0 10px;
        font-size: 28px;
        color: #222;
        font-weight: 700;
    }

    .booking-header p {
        margin: 0;
        color: #777;
        font-size: 15px;
        line-height: 1.8;
    }

/* سکشن‌ها */
.booking-section {
    margin-bottom: 28px;
    padding: 20px;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    background: #fcfcfd;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 700;
    color: #222;
}

.bullet {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #8e2de2, #ff6ec7);
    border-radius: 50%;
    display: inline-block;
}

/* Select */
.custom-select-wrapper {
    margin-bottom: 12px;
}

.form-control-custom {
    width: 100%;
    height: 50px;
    border: 1px solid #dce1ea;
    border-radius: 12px;
    background: #fff;
    padding: 0 14px;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

    .form-control-custom:focus {
        border-color: #a855f7;
        box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12);
    }

/* مبلغ بیعانه */
.deposit-box {
    margin-top: 15px;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #faf5ff, #fdf2f8);
    border: 1px solid #eed7ff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #444;
}

    .deposit-box strong {
        color: #7e22ce;
        font-size: 18px;
        font-weight: 800;
    }

/*.d-none {
    display: none !important;
}*/

/* روزها */
.days-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

    .days-slider::-webkit-scrollbar {
        height: 8px;
    }

    .days-slider::-webkit-scrollbar-thumb {
        background: #d7dce5;
        border-radius: 20px;
    }

.day-item {
    min-width: 110px;
    background: #fff;
    border: 1px solid #dce1ea;
    border-radius: 14px;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

    .day-item:hover {
        border-color: #c084fc;
        transform: translateY(-2px);
    }

    .day-item.active {
        background: linear-gradient(135deg, #a855f7, #ec4899);
        color: #fff;
        border-color: transparent;
        box-shadow: 0 10px 20px rgba(168, 85, 247, 0.25);
    }

    .day-item .day-name {
        display: block;
        font-size: 14px;
        margin-bottom: 6px;
        font-weight: 600;
    }

    .day-item .day-date {
        display: block;
        font-size: 13px;
        opacity: 0.9;
    }

/* ساعات */
.time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.time-slot {
    height: 48px;
    border: 1px solid #dce1ea;
    border-radius: 12px;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 14px;
    font-weight: 600;
}

    .time-slot:hover {
        border-color: #c084fc;
        transform: translateY(-2px);
    }

    .time-slot.active {
        background: linear-gradient(135deg, #8b5cf6, #d946ef);
        color: #fff;
        border-color: transparent;
        box-shadow: 0 10px 20px rgba(139, 92, 246, 0.22);
    }

    .time-slot.disabled {
        background: #f1f3f7;
        color: #aaa;
        cursor: not-allowed;
        border-color: #e3e7ef;
        box-shadow: none;
    }

/* اطلاعات کاربر */
.row-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

    .input-group label {
        margin-bottom: 8px;
        font-size: 14px;
        color: #555;
        font-weight: 600;
    }

    .input-group input {
        height: 48px;
        border: 1px solid #dce1ea;
        border-radius: 12px;
        padding: 0 14px;
        font-size: 14px;
        color: #333;
        background: #fff;
        outline: none;
        transition: all 0.25s ease;
        box-sizing: border-box;
    }

        .input-group input:focus {
            border-color: #a855f7;
            box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12);
        }

/* فوتر */
.booking-footer {
    margin-top: 24px;
    text-align: center;
}

.btn-submit {
    min-width: 240px;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #8e2de2, #ff4fa3);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 24px rgba(142, 45, 226, 0.22);
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(142, 45, 226, 0.28);
    }

/* ریسپانسیو */
@media (max-width: 768px) {
    .booking-container {
        padding: 20px 15px;
        border-radius: 16px;
    }

    .booking-header h2 {
        font-size: 22px;
    }

    .row-inputs {
        grid-template-columns: 1fr;
    }

    .time-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn-submit {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .booking-wrapper {
        padding: 15px 10px;
    }

    .booking-section {
        padding: 16px;
    }

    .booking-header h2 {
        font-size: 20px;
    }

    .booking-header p {
        font-size: 14px;
    }

    .time-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .day-item {
        min-width: 95px;
        padding: 12px 8px;
    }
}

/* استایل کارت‌های روز */
/* =========================
   Day Cards - New Design
   ========================= */

.days-wrapper {
    margin-top: 10px;
}

.days-slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 8px 2px 14px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #d8b4fe #f3f4f6;
}

    .days-slider::-webkit-scrollbar {
        height: 8px;
    }

    .days-slider::-webkit-scrollbar-track {
        background: #f3f4f6;
        border-radius: 20px;
    }

    .days-slider::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, #c084fc, #f472b6);
        border-radius: 20px;
    }

/* کارت روز */
.day-card {
    min-width: 118px;
    max-width: 118px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcff 100%);
    border: 1px solid #ececf3;
    border-radius: 22px;
    padding: 16px 10px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.28s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    flex-shrink: 0;
}

    /* نوار رنگی بالای کارت */
    .day-card::before {
        content: "";
        position: absolute;
        top: 0;
        right: 18px;
        left: 18px;
        height: 5px;
        border-radius: 0 0 12px 12px;
        background: linear-gradient(90deg, #c084fc, #f472b6);
        opacity: 0.9;
    }

    /* افکت hover */
    .day-card:hover:not(.disabled) {
        transform: translateY(-6px);
        border-color: #d8b4fe;
        box-shadow: 0 16px 34px rgba(168, 85, 247, 0.16);
    }

    /* حالت انتخاب شده */
    .day-card.active {
        background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
        border-color: transparent;
        box-shadow: 0 18px 34px rgba(168, 85, 247, 0.28);
        transform: translateY(-4px);
    }

        .day-card.active::before {
            background: rgba(255, 255, 255, 0.85);
        }

    /* غیرفعال / تعطیل */
    .day-card.disabled {
        background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
        border-color: #e5e7eb;
        cursor: not-allowed;
        opacity: 0.88;
        box-shadow: none;
    }

        .day-card.disabled::before {
            background: #cbd5e1;
        }

/* نام روز */
.day-name {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    line-height: 1.6;
}

/* عدد روز */
.day-num {
    font-size: 30px;
    font-weight: 900;
    color: #111827;
    line-height: 1.1;
    margin: 2px 0;
    letter-spacing: -0.5px;
}

/* نام ماه */
.month-name {
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
    line-height: 1.5;
}

/* متن‌ها در حالت فعال */
.day-card.active .day-name,
.day-card.active .day-num,
.day-card.active .month-name {
    color: #fff;
}

/* badge */
.status-badge {
    margin-top: 8px;
    min-width: 62px;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 999px;
    text-align: center;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
}

    .status-badge.active {
        background: #ecfdf5;
        color: #059669;
        border: 1px solid #bbf7d0;
    }

    .status-badge.holiday {
        background: #fef2f2;
        color: #dc2626;
        border: 1px solid #fecaca;
    }

/* badge در حالت انتخاب */
.day-card.active .status-badge.active {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

/* badge تعطیل */
.day-card.disabled .status-badge.holiday {
    background: #fff;
    color: #b91c1c;
    border-color: #fecaca;
}

/* فوکوس برای دسترسی بهتر */
.day-card:focus-visible {
    outline: 3px solid rgba(168, 85, 247, 0.22);
    outline-offset: 3px;
}

/* موبایل */
@media (max-width: 768px) {
    .day-card {
        min-width: 104px;
        max-width: 104px;
        border-radius: 18px;
        padding: 14px 8px 12px;
    }

    .day-num {
        font-size: 26px;
    }

    .day-name {
        font-size: 12px;
    }

    .month-name {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .days-slider {
        gap: 10px;
        padding-bottom: 10px;
    }

    .day-card {
        min-width: 92px;
        max-width: 92px;
        padding: 12px 6px 10px;
        border-radius: 16px;
    }

    .day-num {
        font-size: 23px;
    }

    .status-badge {
        min-width: 54px;
        font-size: 9px;
        padding: 4px 8px;
    }
}

/* کانتینر اصلی ساعت‌ها */
/* کانتینر زمان‌ها: یک سطر افقی */
/* wrapper اصلی */
.time-slots-wrapper {
    width: 100%;
    margin-top: 14px;
}

/* شبکه ۵ تایی منظم */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 16px;
    width: 100%;
}

.time-slot-btn {
    width: 100%;
    min-height: 118px;
    padding: 18px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
    /* بهبود استایل Hover */
    .time-slot-btn:hover:not(:disabled) {
        border-color: #a855f7;
        background: #faf5ff;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(168, 85, 247, 0.15);
    }

    /* بهبود استایل Active (انتخاب شده) */
    .time-slot-btn.selected-slot {
        background: linear-gradient(135deg, #8b5cf6, #d946ef) !important;
        border-color: transparent !important;
        box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3) !important;
    }

        .time-slot-btn.selected-slot .time-text {
            color: #ffffff !important;
        }

        .time-slot-btn.selected-slot .capacity-info {
            background: rgba(255, 255, 255, 0.25) !important;
            color: #ffffff !important;
        }

.time-text {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.7;
    color: #111827;
    white-space: nowrap;
}

.capacity-info {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* استایل غیرفعال (تکمیل ظرفیت) */
.time-slot-btn.full-capacity {
    background: #f8fafc;
    border-color: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.6;
}

    .time-slot-btn.full-capacity .time-text {
        color: #94a3b8;
        text-decoration: line-through;
    }

    .time-slot-btn.full-capacity .capacity-info.full {
        background: #fee2e2;
        color: #ef4444;
    }

/* --- بخش اطلاعات کاربر و افکت فعال‌سازی --- */
.user-info-section {
    margin-top: 30px;
    padding: 20px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
}

/* حالت غیرفعال با opacity و فیلتر تار کننده ملایم */
.disabled-section {
    opacity: 0.5;
    pointer-events: none; /* جلوگیری از کلیک روی این بخش قبل از انتخاب نوبت */
    filter: grayscale(40%);
}

.custom-input {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 14px;
    transition: all 0.2s;
}

    .custom-input:focus {
        border-color: #8b5cf6;
        box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
    }

.btn-payment-submit {
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    color: #fff;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    transition: all 0.2s;
}

    .btn-payment-submit:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(139, 92, 246, 0.3);
        color: #fff;
    }

/* ریسپانسیو ستون‌ها در تبلت و موبایل */
@media (max-width: 992px) {
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .slots-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

















.booking-invoice-page {
    --primary-purple: #6f2dbd;
    --primary-purple-hover: #5f22a7;
    --icon-bg: #f3effd;
    --border-color: #ece7f7;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    direction: rtl;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
}

    .booking-invoice-page .booking-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        background-color: #f9fafb;
        padding: 20px;
    }

    .booking-invoice-page .booking-card {
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: 24px;
        box-shadow: var(--card-shadow);
        width: 100%;
        max-width: 440px;
        padding: 32px 24px;
    }

    .booking-invoice-page .brand-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin-bottom: 30px;
    }

    .booking-invoice-page .brand-logo {
        background-color: var(--icon-bg);
        padding: 10px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .booking-invoice-page .brand-info {
        text-align: right;
    }

    .booking-invoice-page .brand-name {
        font-size: 18px;
        font-weight: 700;
        color: var(--text-dark);
        margin: 0;
    }

    .booking-invoice-page .brand-subtitle {
        font-size: 13px;
        color: var(--text-muted);
        margin: 4px 0 0 0;
    }

    .booking-invoice-page .details-box {
        border: 1px solid var(--border-color);
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 24px;
        background: #fff;
    }

    .booking-invoice-page .detail-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        background-color: #ffffff;
    }

        .booking-invoice-page .detail-row:not(:last-child) {
            border-bottom: 1px solid var(--border-color);
        }

    .booking-invoice-page .detail-label-group {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .booking-invoice-page .detail-label {
        font-size: 14px;
        font-weight: 500;
        color: var(--text-dark);
    }

    .booking-invoice-page .icon-wrapper {
        width: 44px;
        height: 44px;
        background-color: var(--icon-bg);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .booking-invoice-page .detail-value {
        font-size: 14px;
        font-weight: 600;
        color: #374151;
        text-align: left;
    }

    /* اینجا باکس بیعانه را کاملاً سفید کردیم */
    .booking-invoice-page .price-box {
        background: #ffffff !important;
        background-color: #fef7ff !important;
        border: 1px solid var(--border-color);
        border-radius: 16px;
        padding: 20px;
        margin-bottom: 24px;
        box-shadow: none;
    }

    .booking-invoice-page .price-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .booking-invoice-page .price-label {
        font-size: 14px;
        font-weight: 600;
        color: var(--text-dark);
    }

    .booking-invoice-page .price-value {
        font-size: 18px;
        font-family: 'IRANSansFA';
        font-weight: 700;
        color: var(--primary-purple);
    }

    .booking-invoice-page .price-subtitle {
        text-align: right;
        font-size: 12px;
        color: var(--text-muted);
        margin-top: 6px;
        margin-bottom: 16px;
    }

    .booking-invoice-page .security-note {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        border-top: 1px dashed #e2ddf7;
        padding-top: 14px;
    }

    .booking-invoice-page .security-text {
        font-size: 12px;
        color: var(--text-muted);
        text-align: right;
        line-height: 1.9;
    }

    .booking-invoice-page .security-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .booking-invoice-page .btn-submit {
        width: 100%;
        background: #6f2dbd;
        color: #ffffff;
        border: none;
        border-radius: 14px;
        padding: 14px 16px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        margin-bottom: 16px;
        text-align: center;
        box-shadow: 0 8px 18px rgba(111, 45, 189, 0.18);
    }

        .booking-invoice-page .btn-submit:hover {
            background: #5f22a7;
            transform: translateY(-1px);
        }

        .booking-invoice-page .btn-submit:active {
            transform: translateY(0);
        }

    /* استایل کامل secure-footer */
    .booking-invoice-page .secure-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 12px;
        color: var(--text-muted);
        text-align: center;
        margin-top: 4px;
        line-height: 1.8;
    }

        .booking-invoice-page .secure-footer svg {
            flex-shrink: 0;
            stroke: #9ca3af;
        }

        .booking-invoice-page .secure-footer span {
            display: inline-block;
        }


/* محدود کردن متغیرها و فونت در بدنه والد صفحه */
.payment-success-page {
    --success-green: #10b981;
    --success-green-bg: #f0fdf4;
    --success-green-border: #e6f4ea;
    --primary-purple: #7c3aed;
    --light-purple-bg: #f5f3ff;
    --light-purple-border: #ede9fe;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #f3f4f6;
    direction: rtl;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
}

    /* تراز وسط کلی برای جایگذاری کارت در صفحه */
    .payment-success-page .receipt-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        background-color: #fafafa;
        padding: 20px;
    }

    /* کارت اصلی فاکتور */
    .payment-success-page .receipt-card {
        background: #ffffff;
        border: 1px solid #f1f1f1;
        border-radius: 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
        width: 100%;
        max-width: 440px;
        padding: 36px 28px;
        box-sizing: border-box;
    }

    /* بخش هدر موفقیت */
    .payment-success-page .success-header {
        text-align: center;
        margin-bottom: 24px;
    }

    .payment-success-page .success-icon-container {
        display: flex;
        justify-content: center;
        margin-bottom: 8px;
    }

    .payment-success-page .success-title {
        font-size: 20px;
        font-weight: 700;
        color: var(--text-dark);
        margin: 8px 0;
    }

    .payment-success-page .success-subtitle {
        font-size: 13px;
        color: var(--text-muted);
        margin: 0;
    }

    /* باکس سبز رنگ شماره پیگیری */
    .payment-success-page .tracking-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: var(--success-green-bg);
        border: 1px solid var(--success-green-border);
        border-radius: 14px;
        padding: 12px 18px;
        margin-bottom: 28px;
    }

    .payment-success-page .tracking-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
        text-align: right;
    }

    .payment-success-page .tracking-label {
        font-size: 11px;
        font-weight: 600;
        color: #4b5563;
    }

    .payment-success-page .tracking-value {
        font-size: 15px;
        font-weight: 700;
        color: #15803d;
        letter-spacing: 0.5px;
    }

    /* دکمه کپی کوچک داخل باکس سبز */
    .payment-success-page .copy-btn {
        background: #ffffff;
        border: 1px solid #e1e8e4;
        border-radius: 10px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s;
        outline: none;
        padding: 0;
    }

        .payment-success-page .copy-btn:hover {
            background-color: #f9fbf9;
            transform: scale(1.02);
        }

    /* جزئیات پرداخت به صورت ردیفی بدون بوردر */
    .payment-success-page .receipt-details {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 28px;
        padding: 0 4px;
    }

    .payment-success-page .detail-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .payment-success-page .detail-label {
        font-size: 13.5px;
        color: var(--text-muted);
    }

    .payment-success-page .detail-value {
        font-size: 14px;
        font-weight: 600;
        color: var(--text-dark);
    }

    /* استایل اعداد انگلیسی یکدست */
    .payment-success-page .text-mono {
        font-family: 'Vazirmatn', 'Tahoma', monospace;
        font-weight: 500;
        letter-spacing: 0.3px;
    }

    /* استایل ویژه مبلغ پرداختی (سبز پررنگ) */
    .payment-success-page .amount-green {
        font-size: 16px;
        font-weight: 700;
        color: #16a34a;
    }

    /* باکس پیام اطلاع‌رسانی ایمیل */
    .payment-success-page .email-alert {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background-color: var(--light-purple-bg);
        border: 1px solid var(--light-purple-border);
        border-radius: 12px;
        padding: 14px;
        margin-bottom: 24px;
    }

    .payment-success-page .alert-text {
        font-size: 12.5px;
        font-weight: 500;
        color: var(--primary-purple);
    }

    .payment-success-page .alert-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* دکمه‌های پایینی کارت */
    .payment-success-page .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* دکمه اصلی بنفش */
    .payment-success-page .btn-primary {
        width: 100%;
        background-color: var(--primary-purple);
        color: #ffffff;
        border: none;
        border-radius: 12px;
        padding: 14px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
    }

        .payment-success-page .btn-primary:hover {
            background-color: #6d28d9;
        }

    /* دکمه دوم دانلود رسید */
    .payment-success-page .btn-secondary {
        width: 100%;
        background-color: #ffffff;
        color: #4b5563;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 14px;
        font-size: 15px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
    }

        .payment-success-page .btn-secondary:hover {
            background-color: #f9fafb;
            border-color: #d1d5db;
        }


.detail-value-service p, span {
    font-size: 14px !important;
}


.payment-success-page,
.payment-failed-page {
    width: 100%;
    padding: 50px 15px;
    background: #f8fafc;
}

.receipt-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.receipt-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid #eef2f7;
}

.success-header {
    text-align: center;
    margin-bottom: 24px;
}

.success-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.success-title {
    font-size: 24px;
    font-weight: 800;
    color: #065f46;
    margin: 0 0 8px;
}

.failed-title {
    color: #b91c1c;
}

.success-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.tracking-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    margin-bottom: 22px;
}

.failed-tracking-box {
    background: #fef2f2;
    border-color: #fecaca;
}

.tracking-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tracking-label {
    font-size: 13px;
    color: #6b7280;
}

.tracking-value {
    font-size: 20px;
    font-weight: 800;
    color: #047857;
    direction: ltr;
    text-align: right;
}

.failed-tracking-value {
    color: #dc2626;
}

.copy-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.receipt-details {
    border: 1px solid #eef2f7;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 22px;
}

    .receipt-details .detail-row,
    .details-box .detail-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 15px 18px;
        border-bottom: 1px solid #eef2f7;
    }

        .receipt-details .detail-row:last-child,
        .details-box .detail-row:last-child {
            border-bottom: 0;
        }

.detail-label {
    color: #6b7280;
    font-size: 14px;
    white-space: nowrap;
}

.detail-value {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}

.detail-label-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-wrapper {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f5f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
}

.details-box {
    border: 1px solid #eef2f7;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 22px;
    background: #fff;
}

.detail-value-service {
    text-align: left;
}

.text-mono {
    direction: ltr;
    font-family: Tahoma, Arial, sans-serif;
}

.amount-green {
    color: #059669;
}

.amount-red {
    color: #dc2626;
}

.email-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f3ff;
    color: #5b21b6;
    border: 1px solid #ddd6fe;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 22px;
}

.failed-alert {
    background: #fff1f2;
    color: #b91c1c;
    border-color: #fecdd3;
}

.alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.alert-text {
    font-size: 14px;
    line-height: 1.8;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-primary,
.btn-secondary {
    min-height: 46px;
    border-radius: 12px;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    flex: 1;
}

.btn-primary {
    background: #7c3aed;
    color: #fff;
}

    .btn-primary:hover {
        color: #fff;
        background: #6d28d9;
    }

.failed-primary-btn {
    background: #dc2626;
}

    .failed-primary-btn:hover {
        background: #b91c1c;
        color: #fff;
    }

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

    .btn-secondary:hover {
        color: #111827;
        background: #e5e7eb;
    }

@media (max-width: 575px) {
    .receipt-card {
        padding: 22px 16px;
        border-radius: 14px;
    }

    .success-title {
        font-size: 20px;
    }

    .receipt-details .detail-row,
    .details-box .detail-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .detail-value,
    .detail-value-service {
        text-align: right;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}


