/* ========== TABLEAU MES ANIMAUX ========== */
.mes-animaux {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}
.mes-animaux th,
.mes-animaux td {
    padding: 12px 15px;
    text-align: left;
}
.mes-animaux th {
    background-color: #f5f5f5;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mes-animaux tr {
    border-bottom: 1px solid #eee;
}
.mes-animaux tr:last-child {
    border-bottom: none;
}
.mes-animaux tr:hover {
    background-color: #f9f9f9;
}
/* Ligne détails */
.detail-row td {
    background-color: #fafafa;
    padding: 10px 15px;
    font-size: 13px;
    color: #555;
}

/* ========== BOUTONS DANS LE TABLEAU ========== */
.mes-animaux .actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}
.mes-animaux .btn-edit,
.mes-animaux .btn-delete,
.mes-animaux .view-details {
    font-size: 14px;
    cursor: pointer;
    color: #766f64;
    text-decoration: none;
    transition: color 0.2s;
}
.mes-animaux .btn-edit:hover,
.mes-animaux .btn-delete:hover,
.mes-animaux .view-details:hover {
    color: #b666d2;
}

/* ========== BOUTONS HORS TABLEAU ========== */
/* Ajouter un animal */
.btn-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    background-color: #4CAF50;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-add:hover {
    background-color: #45a049;
}

/* Mettre à jour - icône seule */
.btn-update {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #5c7c60;
    margin-right: 6px;
    transition: color 0.2s;
}
.btn-update:hover {
    color: #4e6b53;
}

/* Fermer - icône seule */
.btn-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #e53935;
    margin-right: 6px;
    transition: color 0.2s;
}
.btn-close:hover {
    color: #c62828;
}

/* Responsive */
@media (max-width: 768px) {
    .mes-animaux th, .mes-animaux td {
        padding: 10px;
        font-size: 13px;
    }
    .mes-animaux .btn-edit,
    .mes-animaux .btn-delete,
    .mes-animaux .view-details {
        font-size: 14px;
    }
    .btn-add {
        padding: 5px 10px;
        font-size: 13px;
    }
}