body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    max-width: 900px;
    width: 100%;
    overflow: hidden;
}

.left, .right {
    padding: 2rem;
    flex: 1;
    min-width: 300px;
}

.left h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

label {
    display: block;
    margin: 12px 0 5px;
    font-size: 0.95rem;
    color: #555;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus {
    border-color: #999;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    outline: none;
}

/* Right side */
.right { 
    background: #f9f9f9; 
    border-left: 1px solid #ddd; 
}

.right h3 {
    color: #333;
    margin-bottom: 10px;
}

.formula {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    background: #d9f2d9; /* Light green background */
    padding: 15px;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 10px;
}

.example {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

@media(max-width: 768px){
    .container { flex-direction: column; }
    .right { border-left: none; border-top: 1px solid #ddd; }
}