* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-image:url(/imagenes/PopplioC.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-image: url(/imagenes/PopplioCont.jpg);
     background-size: 400px;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

h1 {
    color: #6c6afa;
    text-align: center;
    margin-bottom: 24px;
    font-size: 24px;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #0cd3f7;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #a8f5ff;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #110b64;
    outline: none;
}

button {
    width: 100%;
    background-color: #1891c0;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #07365c;
}

.result-box {
    margin-top: 25px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    display: none;
}

.result-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.result-value {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
}

/* Clases dinámicas para los estados de salud */
.bajo-peso { background-color: #e3f2fd; color: #0d47a1; }
.normal { background-color: #e8f5e9; color: #1b5e20; }
.sobrepeso { background-color: #fff3e0; color: #e65100; }
.obesidad { background-color: #ffebee; color: #b71c1c; }