/* Expected Height Calculator Styles */
.ehc-calculator-box {
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    max-width: 500px;
    margin: 20px auto;
    font-family: Tahoma, Arial, sans-serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    direction: rtl; /* Force RTL */
    text-align: right;
}

.ehc-calculator-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    font-size: 1.2em;
}

.ehc-form-group {
    margin-bottom: 15px;
}

.ehc-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.ehc-form-group input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.ehc-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.ehc-radio-group label {
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

#ehc-calculate-btn {
    width: 100%;
    padding: 12px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

#ehc-calculate-btn:hover {
    background-color: #005177;
}

.ehc-result-box {
    margin-top: 20px;
    padding: 15px;
    background-color: #e7f6e7;
    border: 1px solid #c3e6c3;
    border-radius: 4px;
    color: #2c662d;
    text-align: center;
}

.ehc-result-text {
    font-size: 1.1em;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.ehc-warning {
    font-size: 0.85em;
    color: #666;
    margin: 0;
    font-style: italic;
}

.ehc-error-box {
    margin-top: 20px;
    padding: 15px;
    background-color: #fdeaea;
    border: 1px solid #fadbd8;
    border-radius: 4px;
    color: #a94442;
    text-align: center;
    font-weight: bold;
}

/* RTL Support is handled by direction: rtl on container */
