/* Reset y estructura base */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(to bottom, #fef6e4, #ffffff);
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Contenedor principal */
.container {
    padding: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo principal */
.logo {
    width: 60%;
    max-width: 600px;
    height: auto;
    margin-bottom: 0px;
}

/* Título */
h1 {
    color: #ff8364;
    margin-bottom: 0px;
}

/* Párrafos */
p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 0px;
}

/* Texto central (por ejemplo descripción) */
.contenido {
    width: 60%;
    margin-bottom: 0px;
}

/* Enlaces */
a {
    text-decoration: none;
    color: inherit;
}

/* Botones */
button {
    padding: 12px 25px;
    font-size: 1em;
    background-color: #ff8364;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

button:hover {
    background-color: #e67355;
}

.botones {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Formulario (registro / login) */
.form-box {
    padding: 10px;
    border-radius: 10px;
    border: 0px solid #ccc;
    width: 100%;
    max-width: 30%; /* NUEVO: Limita el ancho máximo */
    box-sizing: border-box;
    font-size: 16px;
    margin: 0 auto 15px auto; /* CENTRA el formulario */
    text-align: center;
}


.form-box2 {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 30%; /* NUEVO: Limita el ancho máximo */
    box-sizing: border-box;
    font-size: 16px;
    margin: 0 auto 15px auto; /* CENTRA el formulario */
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 5px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1em;
    box-sizing: border-box;
}

form button {
    width: 100%;
}

.uppercase {
    text-transform: uppercase;
}

/* Errores */
.error {
    background-color: #ffe0e0;
    color: #c00;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: left;
}

/* Mascotas (index visual) */
.mascotas {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.mascota {
    cursor: pointer;
    transition: transform 0.3s;
}

.mascota:hover {
    transform: scale(1.1);
}

.mascota img {
    width: 120px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button.btn {
    padding: 10px 20px;
    border: none;
    background-color: #ff8364;
    color: white;
    border-radius: 12px;
    font-size: 1em;
    cursor: pointer;
    min-height: 40px;
    transition: background-color 0.3s ease;
}

button.btn:hover {
    background-color: #e67355;
}