﻿/* Reset básico */
body, h1, h2, div {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #000;
}

/* Cabecera */
.site-header {
    background-color: #fff;
    border-bottom: 4px solid #c00;
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.header-logo img {
    height: 80px;
    margin-right: 15px;
}

.site-title {
    font-size: 1.8em;
}

.highlight {
    color: #c00;
}

/* Contenido */
.main-content {
    padding: 20px;
}

/* Sección de producto */
.product-header {
    background-color: #f9f9f9;
    border: 2px solid #eee;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

    .product-header h2 {
        margin-bottom: 10px;
        color: #c00;
    }

    .product-header .info {
        font-size: 1em;
        line-height: 1.6;
    }

/* Botón de verificación */
.btn-verify {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #c00;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

    .btn-verify:hover {
        background-color: #a00;
    }

.verify-result {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

/* Grid de cards de animales */
.animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.animal-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    background-color: #fff;
}

.card-header {
    font-weight: bold;
    margin-bottom: 5px;
}

/* Pie de página */
.site-footer {
    text-align: center;
    font-size: 0.8em;
    padding: 10px;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

/* Enlaces de toggle */
.toggle-details {
    display: inline-block;
    margin-top: 10px;
    color: #c00;
    cursor: pointer;
    font-size: 0.85em;
    text-decoration: none;
}

    .toggle-details:hover {
        text-decoration: underline;
    }

/* Sección oculta */
.animal-details {
    /* display: none !important;  siempre oculta al cargar */
    margin-top: 8px;
    padding: 8px;
    border-top: 1px solid #eee;
    font-size: 0.4em; /* tamaño reducido */
    line-height: 1.4;
}

    .animal-details h4 {
        margin: 4px 0;
        color: #c00;
        font-size: 0.9em;
    }

    .animal-details div {
        margin-left: 10px;
    }
