/*
Theme Name: بخت آزمایی ملی
Theme URI: https://yourwebsite.com/
Author: Your Name
Author URI: https://yourwebsite.com/
Description: A WordPress theme for a national lottery website, based on the UK National Lottery design.
Version: 3.2 FINAL
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: rtl-language-support, custom-header, custom-menu, featured-images, theme-options, translation-ready, custom-page-templates
Text Domain: bakhtazmayi
*/

/* استایل‌های سفارشی از فایل HTML اصلی */
body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f8fafc;
}
.hero-bg {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}
.card-bg {
     background: linear-gradient(145deg, #ffffff, #f0f2f5);
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
/* استایل برای اعداد انتخاب شده در صفحه بازی */
.number-ball, .lucky-star {
    transition: all 0.2s ease-in-out;
}
.number-ball.selected {
    background-color: #f59e0b; /* رنگ نارنجی */
    color: white;
    transform: scale(1.1);
    border-color: #f59e0b;
}
.lucky-star.selected {
    background-color: #3b82f6; /* رنگ آبی */
    color: white;
    transform: scale(1.1);
    border-color: #3b82f6;
}

/* Payment Modal Styles */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    direction: rtl;
}
.payment-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    color: #333; /* Dark text for the modal */
    text-align: right;
}
.payment-modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem; /* Adjusted for RTL */
    right: auto;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
}
#wallet-qr-code {
    padding: 10px;
    background: white;
    display: inline-block;
}

/* My Tickets Table Styles */
.tickets-table-container {
    overflow-x: auto;
}
.tickets-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}
.tickets-table th, .tickets-table td {
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    text-align: right;
}
.tickets-table th {
    background-color: #f8fafc;
    font-weight: 700;
}
.tickets-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.status-badge {
    padding: 4px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: white;
    font-weight: 600;
}
.status-pending {
    background-color: #f59e0b; /* Orange */
}
.status-publish {
    background-color: #10b981; /* Green */
}
.status-failed {
    background-color: #ef4444; /* Red */
}

/* User Wallet Display Box */
.user-wallet-box {
    background-color: #eef2ff;
    border: 2px dashed #818cf8;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.user-wallet-box p {
    margin: 0;
    font-size: 1rem;
    color: #4338ca;
}
.user-wallet-box strong {
    font-family: monospace;
    font-size: 1.1rem;
    color: #3730a3;
    word-break: break-all;
}