:root {
    --primary: #007782;
    --secondary: #2ecc71;
    --accent: #e67e22;
    --danger: #e74c3c;
    --dark: #333;
    --light: #f4f7f6;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    margin: 0;
    padding: 10px;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 100%;
    width: 1000px;
    margin: 0 auto;
}

header { text-align: center; margin-bottom: 20px; color: var(--primary); }

/* Tarjetas de Mascota */
.card {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    margin-bottom: 20px;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    background: #eee;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    overflow: hidden;
}

.info-grid p {
    text-align: left;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    margin: 0;
}

/* Botones */
.btn-call {
    display: block;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    margin-top: 15px;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

/* Formulario */
.form-group { margin-bottom: 15px; text-align: left; }
input, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

/* TABLAS RESPONSIVAS (Modo Admin) */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th { background-color: var(--primary); color: white; text-transform: uppercase; font-size: 0.8rem; }

/* Efecto móvil para las tablas */
@media screen and (max-width: 600px) {
    table, thead, tbody, th, td, tr { 
        display: block; 
    }
    
    thead tr { position: absolute; top: -9999px; left: -9999px; }
    
    tr { border: 1px solid #ccc; margin-bottom: 10px; border-radius: 10px; background: #fff; }
    
    td { 
        border: none;
        border-bottom: 1px solid #eee; 
        position: relative;
        padding-left: 50%; 
        text-align: right;
    }
    
    td:before { 
        position: absolute;
        top: 12px;
        left: 12px;
        width: 45%; 
        padding-right: 10px; 
        white-space: nowrap;
        content: attr(data-label);
        font-weight: bold;
        text-align: left;
        color: var(--primary);
    }
}
