/*
Theme Name: DNA - Gene Bank
Theme URI: https://alpagas-dna.ca
Author: DNA - Gene Bank
Author URI: https://alpagas-dna.ca
Description: Le thème du site web de DNA - Gene Bank
Version: 1.0
Text Domain: alpagas-dna
*/
/* 
 * Note: CSS files are now properly enqueued in functions/enqueue.php
 * rather than using @import statements
 */

/* Alpaga Table Styles */
.alpaga-table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.alpaga-table {
    width: 100%;
    border-collapse: collapse;
}

.alpaga-table th,
.alpaga-table td {
    padding: 4px 6px;
    text-align: left;
    border: 1px solid #ddd;
}

.alpaga-table th {
    background-color: #f2f2f2;
    font-weight: 600;
}

.alpaga-table th a {
    color: #333;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alpaga-table th a:hover {
    text-decoration: underline;
}

.alpaga-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.alpaga-table tr:hover {
    background-color: #f0f0f0;
}

.sort-indicator {
    display: inline-block;
    margin-left: 5px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .alpaga-table th,
    .alpaga-table td {
        padding: 6px 8px;
        font-size: 13px;
    }
}

/* Single Alpaga Styles */
.alpaga-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.alpaga-detail-table th,
.alpaga-detail-table td {
    padding: 10px 15px;
    text-align: left;
    border: 1px solid #ddd;
}

.alpaga-detail-table th {
    width: 30%;
    background-color: #f2f2f2;
    font-weight: 600;
}

.entry-navigation {
    margin: 30px 0;
}

.back-to-list {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f2f2f2;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.back-to-list:hover {
    background-color: #e0e0e0;
}
