
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f0f5f3;
    color: #173d39;
}

.contenedor {
    width: 90%;
    max-width: 520px;
    margin: 100px auto;
    padding: 40px 25px;
    background: white;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.logo {
    font-size: 60px;
}

h1 {
    margin-bottom: 12px;
}

p {
    color: #64748b;
    line-height: 1.6;
}

.acciones {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.boton {
    padding: 14px;
    background: #16734a;
    color: white;
    text-decoration: none;
    border-radius: 9px;
    font-weight: bold;
}

.secundario {
    background: #e5efeb;
    color: #173d39;
}


.formulario {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    margin-top: 25px;
}

.formulario label {
    font-weight: bold;
    font-size: 14px;
}

.formulario input {
    padding: 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
}

.formulario input:focus {
    outline: 2px solid #16734a;
    border-color: transparent;
}

button.boton {
    border: none;
    cursor: pointer;
    font-size: 15px;
    width: 100%;
}

.mensaje {
    background: #fff3d6;
    color: #805600;
    padding: 12px;
    border-radius: 8px;
}

.panel {
    background: #f0f5f3;
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
}


.formulario select {
    padding: 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: white;
    font-size: 16px;
}

.tarjeta-mascota {
    background: #f0f5f3;
    border-radius: 12px;
    padding: 18px;
    margin: 18px 0;
    text-align: center;
}

.foto-mascota {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #16734a;
}

.tarjeta-mascota h3 {
    margin-bottom: 5px;
}

.tarjeta-mascota p {
    margin: 5px 0;
}

a.boton {
    display: block;
}


.boton-editar {
    display: block;
    margin-top: 18px;
    padding: 12px;
    background: #16734a;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.boton-editar:hover {
    background: #105c3b;
}


/* ---------------------------------
   FICHA PUBLICA PETID
--------------------------------- */

.ficha-publica {
    max-width: 480px;
}

.ficha-publica h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.ficha-publica .foto-mascota {
    width: 190px;
    height: 190px;
    margin-top: 15px;
}

.ficha-publica .panel {
    text-align: left;
    margin-top: 25px;
}

.boton-whatsapp {
    display: block;
    background: #16834b;
    margin-top: 15px;
}

.boton-whatsapp:hover {
    background: #11663a;
}

.boton-llamar {
    display: block;
    background: #164a70;
    margin-top: 12px;
}

.boton-llamar:hover {
    background: #103751;
}

.texto-ayuda {
    margin-top: 25px;
    font-size: 13px;
    color: #64748b;
}


.boton-ficha {
    display: block;
    margin-top: 10px;
    padding: 12px;
    background: #164a70;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.boton-ficha:hover {
    background: #103751;
}


.boton-qr {
    display: block;
    margin-top: 10px;
    padding: 12px;
    background: #7046a3;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.boton-qr:hover {
    background: #563580;
}


/* ADMINISTRACION NFC */

.boton-nfc {
    display: block;
    margin-top: 10px;
    background: #164a45;
}

.estado-nfc {
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
}

.estado-nfc.activo {
    background: #d7f4df;
    color: #166534;
}

.estado-nfc.inactivo {
    background: #fee2e2;
    color: #991b1b;
}

#enlace-nfc {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
}

.boton-estado {
    background: #b45309;
    margin-top: 12px;
}

.boton-regenerar {
    background: #991b1b;
    margin-top: 12px;
}


.enlace-etiqueta {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: white;
    font-size: 13px;
}


/* CONTROL INDIVIDUAL DE ETIQUETAS */

.boton-desactivar-etiqueta {
    background: #b45309;
    color: white;
    margin-top: 12px;
}

.boton-desactivar-etiqueta:hover {
    background: #92400e;
}

.boton-activar-etiqueta {
    background: #16734a;
    color: white;
    margin-top: 12px;
}

.boton-activar-etiqueta:hover {
    background: #105c3b;
}

.boton-reemplazar {
    background: #6d28d9;
    color: white;
    margin-top: 12px;
}

.boton-reemplazar:hover {
    background: #5b21b6;
}

.boton-admin {
    display: inline-block;
    background: #176b48;
    color: white;
    padding: 9px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.boton-admin:hover {
    background: #105236;
}

