#wp-pool-wrapper {
    background-color: #94a3b8; /* Zayada grey background as requested */
    padding: 30px 15px;
    border-radius: 8px;
}

.pool-card {
    background: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    font-family: 'Segoe UI', Arial, sans-serif;
}

.pool-card h2 {
    color: #16a34a;
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
}

.input-section, .field {
    margin-bottom: 15px;
}

.pool-card label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 5px;
}

.pool-card input, .pool-card select {
    width: 100%;
    padding: 10px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

/* Mobile Responsive Grid */
.grid-row {
    display: flex;
    gap: 15px;
}
.grid-row .field { flex: 1; }

@media (max-width: 480px) {
    .grid-row { flex-direction: column; gap: 0; }
}

.pool-card button {
    width: 100%;
    padding: 14px;
    background: #22c55e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.pool-card button:hover { background: #16a34a; }

/* Result Box Styling */
.result-display {
    display: none;
    margin-top: 25px;
    padding: 20px;
    background: #f0fdf4;
    border: 2px solid #22c55e;
    border-radius: 10px;
    text-align: center;
}

.res-value {
    font-size: 30px;
    font-weight: 800;
    color: #15803d;
}

.res-sub {
    font-size: 16px;
    color: #475569;
    margin-top: 5px;
}

/* Formula Table Styling */
.formula-container {
    margin-top: 30px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.formula-container h3 {
    font-size: 16px;
    color: #334155;
    margin-bottom: 10px;
}

.formula-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.formula-table th, .formula-table td {
    border: 1px solid #e2e8f0;
    padding: 8px;
    text-align: left;
}

.formula-table th { background: #f8fafc; color: #64748b; }

.note { font-size: 11px; color: #94a3b8; margin-top: 5px; }
.hidden { display: none; }
.info-text { font-size: 12px; color: #64748b; margin-bottom: 10px; }