/* Basic styling for the calculator container */
.investment-calculator-wrapper {
    max-width: 400px;
    padding: 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    font-family: Arial, sans-serif !important;
    margin: 20px 0 !important;
    box-sizing: border-box !important;
    /* FIX: White background */
    background-color: #fff !important; 
}

.investment-calculator-wrapper p {
    margin: 0 0 10px 0 !important;
}

/* Style for the Min/Max Note */
.investment-calculator-wrapper .calc-min-max-note {
    font-size: 11px !important; /* FIX: Decreased Font Size */
    color: #666 !important;
    margin-bottom: 10px !important;
}

.investment-calculator-wrapper label {
    display: block !important;
    font-weight: normal !important;
    color: #333 !important;
    margin-bottom: 5px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

/* Input group styling to mimic the blue box */
.investment-calculator-wrapper .input-group {
    display: flex !important;
    border: 1px solid #0073AA !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    margin-bottom: 5px !important;
}

.investment-calculator-wrapper .input-group input {
    flex-grow: 1 !important;
    padding: 10px !important;
    border: none !important;
    font-size: 16px !important;
    outline: none !important;
    box-shadow: none !important;
    min-width: 0 !important;
}

.investment-calculator-wrapper .input-group .currency {
    background-color: #f0f0f0 !important;
    padding: 10px !important;
    color: #666 !important;
    font-weight: bold !important;
    border-left: 1px solid #0073AA !important;
    display: flex !important;
    align-items: center !important;
    min-width: 40px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* Output group styling for Total Profit */
.investment-calculator-wrapper .calc-output .output-group {
    display: flex !important;
    align-items: center !important;
    padding: 10px !important;
    background-color: #e6f7ff !important; /* Light blue background */
    border: 1px solid #b3e6ff !important;
    border-radius: 4px !important;
    margin-bottom: 10px !important;
}

.investment-calculator-wrapper #total-profit-display {
    flex-grow: 1 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #0073AA !important;
}

/* Daily Profit styling */
.investment-calculator-wrapper .calc-output-daily {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid #eee !important;
    padding-top: 10px !important;
    margin-top: 10px !important;
}

.investment-calculator-wrapper #daily-profit-display {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #333 !important;
}

/* Error Styling (Red and bold) */
.investment-calculator-wrapper #calc-error-display {
    color: red !important;
    font-weight: bold !important; /* Made bold to stand out */
    margin-bottom: 15px !important;
    font-size: 14px !important;
    /* This will be overwritten to 'block' by JS on error */
    display: none !important; 
}

.investment-calculator-wrapper .input-group.error-highlight, 
.investment-calculator-wrapper .input-group .error-highlight {
    border-color: red !important;
}

.investment-calculator-wrapper * {
    box-sizing: border-box !important;
}