
/* استایل جدول اکسل - نسخه ساده */
.excel-table-container {
    margin: 20px 0;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #ee1760;
}

.excel-table-wrapper {
    overflow-x: auto;
    max-width: 100%;
}

.excel-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Vazir", "Tahoma", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    direction: rtl;
}

.excel-table thead {
    background: linear-gradient(45deg, #ee1760, #ff4081);
    color: white;
}

.excel-table thead th {
    padding: 15px 12px;
    font-weight: 700;
    text-align: center;
    border-bottom: none;
    position: relative;
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.excel-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.excel-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.excel-table tbody tr:hover {
    background: linear-gradient(90deg, #fff5f8, #ffffff, #fff5f8);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(238, 23, 96, 0.15);
}

.excel-table tbody td {
    padding: 12px;
    text-align: center;
    border-left: 1px solid #e8e8e8;
    vertical-align: middle;
    position: relative;
    transition: all 0.2s;
}

.excel-table tbody td:last-child {
    border-left: none;
}

.excel-table tbody tr:hover td {
    color: #333;
    font-weight: 500;
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    .excel-table-container {
        margin: 15px -15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .excel-table {
        font-size: 13px;
    }
    
    .excel-table thead th,
    .excel-table tbody td {
        padding: 8px 6px;
        min-width: 80px;
    }
    
    .excel-table thead th {
        font-size: 14px;
    }
}

/* استایل‌های کنترل جدول */
.table-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.search-container {
    flex: 1;
    min-width: 250px;
}

.table-search {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.table-search:focus {
    outline: none;
    border-color: #ee1760;
    box-shadow: 0 0 0 3px rgba(238, 23, 96, 0.1);
}

.table-info {
    margin-bottom: 15px;
    padding: 10px;
    background: #e8f5e8;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    color: #2c5530;
}

.no-results {
    background-color: #fff3cd !important;
    color: #856404 !important;
}
