:root {
    --turquesa: #348e91;
    --verde-oscuro: #1a4a4b;
    --gris-fondo: #f4f7f6;
    --blanco: #ffffff;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--gris-fondo);
    color: #444;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: var(--blanco);
}

.menu {
    display: flex;
    list-style: none;
    background-color: #558889;
    padding: 8px 25px;
    border-radius: 30px;
    gap: 20px;
}

.menu a { text-decoration: none; color: white; font-size: 0.9rem; }
.menu a.active { font-weight: bold; border-bottom: 2px solid white; }


.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 8%;
    background: white;
}

.bienvenida h1 { font-size: 2rem; color: var(--verde-oscuro); max-width: 400px; }
.btn-cita { background: var(--turquesa); color: white; border: none; padding: 12px 25px; border-radius: 20px; cursor: pointer; }
.main-img { border-radius: 20px; width: 400px; }

.chatbot { 
    width: 280px; 
    background: white; 
    border-radius: 15px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.1); 
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header { 
    background: var(--verde-oscuro); 
    color: white; 
    padding: 12px; 
    font-weight: bold;
}

.chat-body { 
    padding: 15px; 
    background: #f9f9f9; 
    height: 250px; /* Aumentamos altura */
    overflow-y: auto; /* Permite scroll */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bot-msg-container { 
    display: flex; 
    align-items: flex-start; 
    gap: 8px; 
}

.bot-msg { 
    background: #e1eeee; 
    padding: 10px; 
    border-radius: 15px 15px 15px 0px; 
    font-size: 0.85rem; 
    margin: 0;
    max-width: 85%;
}

.chat-footer {
    border-top: 1px solid #eee;
}

.chat-footer input { 
    width: 100%; 
    padding: 12px; 
    border: none; 
    outline: none; 
    font-size: 0.9rem;
    box-sizing: border-box;
}


.contenedor-inferior { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; padding: 20px 8%; }
.seccion-web { background: white; padding: 20px; border-radius: 20px; }
.grid-productos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }

.card { border: 1px solid #eee; padding: 10px; border-radius: 15px; text-align: center; }
.card img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; }

.btn-card { width: 100%; border: none; padding: 8px; border-radius: 8px; color: white; background: var(--turquesa); cursor: pointer; }
.btn-card.second { background: #558889; }
.btn-card.third { background: #8ba888; }


.grid-veterinarios { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.card-vet { display: flex; align-items: center; padding: 10px; border: 1px solid #eee; border-radius: 15px; }
.vet-img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin-right: 10px; }
.vet-info h3 { margin: 0; font-size: 0.9rem; }
.vet-info p { margin: 2px 0; font-size: 0.75rem; color: #777; }
.btn-perfil { background: var(--turquesa); color: white; border: none; border-radius: 5px; padding: 4px 10px; font-size: 0.7rem; }


.citas-box, .accesibles-box { background: white; padding: 20px; border-radius: 20px; margin-bottom: 20px; }
.item-cita { border-bottom: 1px solid #eee; padding: 10px 0; font-size: 0.85rem; }
.status { font-size: 0.7rem; padding: 2px 8px; border-radius: 5px; float: right; }
.confirmado { background: #d4edda; color: #155724; }
.pendiente { background: #eee; color: #666; }

.acc-row { font-size: 0.8rem; padding: 10px 0; border-bottom: 1px solid #f9f9f9; display: flex; align-items: center; }
.acc-icon { width: 30px; height: 30px; border-radius: 8px; display: flex; justify-content: center; align-items: center; margin-right: 10px; }
.acc-icon.blue { background: #e3f2fd; }
.acc-icon.green { background: #e8f5e9; }
.acc-icon.cyan { background: #e0f7fa; }