#antenati-wrapper {
    max-width: 100%;
    margin: 20px auto;
    font-family: inherit; /* Eredita dal tema */
}

.antenati-controls {
    margin-bottom: 20px;
}

#antenati-search {
    width: 100%;
    max-width: 400px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.antenati-modern-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.antenati-modern-table th, 
.antenati-modern-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.antenati-modern-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.antenati-row:hover {
    background-color: #fbfcff;
}

/* Stile bottone espansione */
.antenati-toggle-btn {
    background: transparent;
    border: 1px solid #0073aa;
    color: #0073aa;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.antenati-toggle-btn:hover {
    background: #0073aa;
    color: #fff;
}

/* Stile pannello dettagli a tendina */
.antenati-details-content {
    background: #fdfdfd;
    padding: 20px;
    border-left: 4px solid #0073aa;
    margin: 10px 0;
    border-radius: 0 6px 6px 0;
}

.antenati-locked-content {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

/* Paginazione */
#antenati-pagination {
    margin-top: 20px;
    display: flex;
    gap: 5px;
}

.antenati-page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
}

.antenati-page-btn.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}