/* public/style.css */

/* --- Estilos Generales y Tipografía --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    -webkit-font-smoothing: antialiased; /* Mejora el renderizado de fuentes */
    -moz-osx-font-smoothing: grayscale;
}

/* --- Clases de Utilidad --- */
.hidden {
    display: none !important;
}

/* --- Contenedores Principales --- */
#profile-container, #error-container {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    box-sizing: border-box; /* Asegura que el padding no afecte el ancho total */
}

/* --- Elementos del Perfil --- */
#status-banner {
    background-color: #e74c3c; /* Rojo de emergencia */
    color: white;
    font-weight: 700;
    padding: 12px;
    border-radius: 8px;
    margin: -10px -10px 20px -10px; /* Un poco más grande que el padding */
    text-transform: uppercase;
    font-size: 1.2em;
    letter-spacing: 1px;
}

#pet-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover; /* Asegura que la imagen no se deforme */
    border: 5px solid #7f5af0; /* Color principal de la marca */
    margin-bottom: 20px;
}

#pet-name {
    font-size: 2.5em;
    font-weight: 700;
    color: #2cb67d; /* Color secundario de la marca */
    margin: 0 0 10px 0;
}

.message-box {
    background-color: #f9f9f9;
    border-left: 5px solid #7f5af0;
    padding: 15px;
    margin: 20px 0;
    text-align: left;
    border-radius: 0 8px 8px 0;
}

.message-box p {
    margin: 0;
}

/* --- Botones de Acción --- */
.action-button {
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 700;
    color: white;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s, transform 0.2s;
}

.action-button:hover {
    transform: translateY(-2px); /* Efecto sutil al pasar el cursor */
}

.call-button { background-color: #2cb67d; }
.call-button:hover { background-color: #25a26d; }

.whatsapp-button { background-color: #25D366; }
.whatsapp-button:hover { background-color: #1ebe58; }

.found-button {
    background-color: #f39c12; /* Naranja llamativo */
    margin-bottom: 20px;
}
.found-button:hover { background-color: #e67e22; }
.found-button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

/* --- Mensaje de Feedback (Fase 22) --- */
.feedback-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid #a5d6a7;
}

/* --- Sección para Compartir en Redes Sociales (Fase 17) --- */
.share-section {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.share-section p {
    font-weight: 700;
    color: #555;
    margin-bottom: 15px;
}

.share-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5em;
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
}

.share-button:hover {
    transform: scale(1.1);
}

.share-whatsapp { background-color: #25D366; }
.share-facebook { background-color: #1877F2; }
.share-twitter { background-color: #1DA1F2; }

/* --- Loader y Contenedor de Error --- */
#loader {
    font-size: 1.5em;
    font-weight: 700;
    color: #555;
}

#error-container h1 {
    color: #e74c3c;
}

#error-container p {
    font-size: 1.1em;
}

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