/* ========================================
   Custom Table Styles for ChabokTool
   فقط برای Light Mode
======================================== */

/* جداول با گوشه‌های گرد */
.table-responsive {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.table {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0;
}

/* سطر اول (thead) - طوسی تیره با متن سفید */
.table thead {
    background-color: #2d3748 !important;
}

.table thead th {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-align: right !important;
    padding: 16px 20px !important;
    border: none !important;
    vertical-align: middle !important;
    background-color: transparent !important;
}

/* فیکس خاص برای table-hover */
.table-hover thead th {
    color: #ffffff !important;
}

/* گوشه‌های گرد برای سطر اول */
.table thead tr:first-child th:first-child {
    border-top-right-radius: 10px;
}

.table thead tr:first-child th:last-child {
    border-top-left-radius: 10px;
}

/* tbody - متن مشکی */
.table tbody td {
    text-align: right !important;
    vertical-align: middle !important;
    padding: 14px 20px !important;
    color: #000000 !important;
    font-weight: 600 !important;
    font-size: 0.95rem;
}

/* ستون اول - نام درخواست */
.table tbody td:first-child {
    color: #000000 !important;
    font-weight: 700 !important;
}

.table tbody td:first-child strong {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* همه strong ها */
.table tbody strong {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* سطرهای tbody - یکی سفید، یکی طوسی روشن */
.table tbody tr:nth-of-type(odd) {
    background-color: #ffffff !important;
}

.table tbody tr:nth-of-type(even) {
    background-color: #f7fafc !important;
}

/* Badge ها */
.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* دکمه‌های اکشن */
.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

.btn-action {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

/* Spinner */
.spinner-border-sm {
    width: 12px;
    height: 12px;
    border-width: 2px;
}

/* فیکس اضافی برای اطمینان */
.card .table thead th,
.card-body .table thead th,
.table-hover thead th {
    color: #ffffff !important;
    background: transparent !important;
}