body {
    font-family: 'Vazir', sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f7fa;
    color: #333;
}
a{
    text-decoration: none;
}
header {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    flex-direction: column;
}

header .logo {
    font-weight: bold;
    font-size: 22px;
    color: #3498db;
}

header .date {
    font-size: 14px;
    color: #555;
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filters select,
input {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.filters button {
    padding: 6px 12px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td{
    text-align: right;
}
.filters button:hover {
    background: #2980b9;
}

.table-card {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

.dataTables_wrapper .dataTables_filter input {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 5px;
}

tfoot {
    background: #f9fafb;
    font-weight: bold;
}

.bottom-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.bottom-box {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
    text-align: center;
    font-weight: bold;
    color: #2c3e50;
}

@media(max-width:768px) {
    .filters {
        flex-direction: column;
    }

    .filters select,
    input,
    button {
        width: auto;
        margin: 5px;
        display: inline-block;
    }
}


.footer-bottom a {
    color: #3498db;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Desktop: hide labels completely */
@media (min-width: 769px) {
    table.dataTable tbody td::before {
        display: none !important;
        content: none !important;
    }
}

td.dtr-control {
    text-align: center;
    cursor: pointer;
}

td.dtr-control::before {
    content: "▼";
    font-size: 14px;
    color: #1e88e5;
    margin-right: 5px;
    transition: transform 0.3s ease;
}

tr.parent td.dtr-control::before {
    transform: rotate(-180deg);
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.price-buttons button {
    padding: 8px 14px;
    border: none;
    border-radius: 20px;
    background: #2563eb;
    color: #fff;
    cursor: pointer
}

.price-buttons button:hover {
    background: #1e40af
}

.table-card {
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .05)
}
.info-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 50px 0;
}

.info-box {
    background: #ffffff;
    padding: 24px 26px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    line-height: 1.9;
    font-size: 14px;
    color: #2c3e50;
}

.info-box h4 {
    margin-bottom: 12px;
    font-size: 16px;
    color: #1f2937;
}

.info-box p {
    margin-bottom: 10px;
}

.info-box ul {
    padding-right: 18px;
    margin: 10px 0;
}

.info-box ul li {
    margin-bottom: 6px;
    list-style: disc;
}

.info-box .note {
    margin-top: 10px;
    font-size: 13px;
    color: #555;
    background: #f9fafb;
    padding: 10px 12px;
    border-radius: 10px;
}

/* تم رنگی ملایم برای هر ستون */
.info-box.official {
    border-top: 4px solid #2563eb;
}

.info-box.offices {
    border-top: 4px solid #16a34a;
}

.info-box.guarantee {
    border-top: 4px solid #dc2626;
}

/* ریسپانسیو */
@media(max-width:992px) {
    .info-sections {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:600px) {
    .info-sections {
        grid-template-columns: 1fr;
    }
}
.brand-authority {
    margin: 50px 0;
    text-align: center;
}

.brand-authority h3 {
    margin-bottom: 25px;
    color: #2c3e50;
}

.brand-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.brand-box {
    padding: 20px;
    border-radius: 14px;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
}

.brand-box span {
    display: block;
    font-size: 14px;
    margin-top: 8px;
    opacity: .9;
}

.minelab {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.okm {
    background: linear-gradient(135deg, #232526, #414345);
}

.xp {
    background: linear-gradient(135deg, #005c97, #363795);
}

.quest {
    background: linear-gradient(135deg, #93291e, #ed213a);
}

.authority-text {
    margin-top: 20px;
    font-size: 15px;
    color: #444;
}

.faq-section {
    margin: 60px 0;
}

.faq-section h3 {
    text-align: center;
    margin-bottom: 25px;
}

.faq-item {
    background: #fff;
    padding: 18px 22px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
    margin-bottom: 12px;
}

.faq-item h4 {
    margin: 0 0 8px;
    color: #2c3e50;
}

.faq-item p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.cta-box {
    background: linear-gradient(135deg, #16a085, #27ae60);
    color: #fff;
    padding: 35px 25px;
    border-radius: 18px;
    text-align: center;
    margin: 60px 0;
}

.cta-box h3 {
    margin-bottom: 12px;
}

.cta-box p {
    font-size: 15px;
    margin-bottom: 20px;
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: #27ae60;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: .3s;
}

.cta-btn:hover {
    background: #ecf0f1;
}

.fresh {
    background: #dcfce7;
    padding: 4px 8px;
    border-radius: 6px;
    color: #166534;
    font-weight: bold;
}

.up {
    color: #16a34a;
    font-weight: bold
}

.down {
    color: #dc2626;
    font-weight: bold
}

@media(max-width:768px) {
    table.dataTable td {
        font-size: 13px;
        padding: 8px;
    }

    .filters {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.price-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.price-filters button {
    background: #ecf0f1;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
}

.price-filters button:hover {
    background: #3498db;
    color: #fff;
}
.site-footer {
    background: #0f172a;
    color: #e5e7eb;
    margin-top: 80px;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #38bdf8;
}

.footer-col p {
    line-height: 1.9;
    color: #cbd5f5;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #e5e7eb;
    text-decoration: none;
    transition: .3s;
}

.footer-col ul li a:hover {
    color: #38bdf8;
    padding-right: 5px;
}

.brands li {
    background: #020617;
    padding: 6px 10px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 6px;
}

.footer-cta {
    display: inline-block;
    margin-top: 10px;
    background: #22c55e;
    color: #022c22;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: .3s;
}

.footer-cta:hover {
    background: #16a34a;
    color: #ecfdf5;
}

.footer-bottom {
    text-align: center;
    background: #020617;
    padding: 15px;
    font-size: 13px;
    color: #94a3b8;
}

/* موبایل */
@media(max-width:768px) {
    .footer-container {
        text-align: center;
    }
}