/* استایل‌های فرانت */
.ta-search-form {
    margin-bottom: 20px;
}

.ta-search-form form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.ta-search-form input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.ta-search-form button {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.ta-search-form button:hover {
    background-color: #005a87;
}

.ta-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ta-table th,
.ta-table td {
    padding: 12px;
    text-align: right;
    border-bottom: 1px solid #ddd;
}

.ta-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.ta-table tbody tr:hover {
    background-color: #f5f5f5;
}

.ta-table a {
    color: #0073aa;
    text-decoration: none;
}

.ta-table a:hover {
    text-decoration: underline;
}

.ta-pagination {
    margin-top: 20px;
    text-align: center;
}

.ta-pagination ul {
    display: inline-block;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ta-pagination li {
    display: inline-block;
    margin: 0 5px;
}

.ta-pagination a,
.ta-pagination span {
    display: inline-block;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.ta-pagination .current {
    background-color: #0a00a;
    color: #fff;
    border-color: #0a00a;
}

.ta-pagination a:hover {
    background-color: #e9ecef;
}

@media (max-width: 768px) {
    .ta-table {
        font-size: 14px;
    }
    
    .ta-table th,
    .ta-table td {
        padding: 8px;
    }
    
    .ta-search-form form {
        flex-direction: column;
    }
}

.ta-search-form button {
    padding: 10px 20px;
    background-color: #0a00aa;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 11px;
}

/* استایل‌های صفحه تکی */
.ta-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ta-single-article {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.ta-single-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.ta-single-title {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.ta-single-content {
    padding: 20px;
}

.ta-details-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.ta-details-box h3 {
    margin-top: 0;
    color: #444;
    font-size: 18px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.ta-details-table {
    width: 100%;
    border-collapse: collapse;
}

.ta-details-table th {
    width: 150px;
    text-align: right;
    padding: 10px;
    background: #f1f1f1;
    border: 1px solid #ddd;
}

.ta-details-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.ta-description-box {
    margin-top: 30px;
}

.ta-description-box h3 {
    color: #444;
    font-size: 18px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.ta-description {
    line-height: 1.8;
    color: #555;
}

.ta-single-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    text-align: left;
}

.ta-back-button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.ta-back-button:hover {
    background: #005a87;
    color: #fff;
}

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .ta-details-table th {
        width: 100px;
    }
    
    .ta-details-table th,
    .ta-details-table td {
        display: block;
        width: 100%;
    }
}