/* Unique Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #2b5876, #4e4376);
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

/* Main container */
.container {
    background: rgba(255, 255, 255, 0.15);
    padding: 40px;
    width: 350px;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-align: center;
    animation: fadeIn 1.3s ease-in-out;
}

/* Button styling */
button {
    padding: 15px 30px;
    background: #00eaff;
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s ease;
}

button:hover {
    background: #00b3c7;
    transform: scale(1.06);
}

/* Result box */
#result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    font-size: 19px;
    font-weight: bold;
    min-height: 40px;
    color: #fff;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.35s ease;
}

/* Animated classes for result */
.showResult {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Result color themes */
.healthy {
    background: rgba(0, 255, 0, 0.25);
    box-shadow: 0 0 12px #15ff00;
}

.overweight {
    background: rgba(255, 196, 0, 0.25);
    box-shadow: 0 0 12px #ffc400;
}

.obese {
    background: rgba(255, 0, 0, 0.25);
    box-shadow: 0 0 12px #ff0000;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
