/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

#mc-embedded-subscribe-form .input-group {
    display: flex;
    align-items: center;
    max-width: 400px; /* Adjust width as needed */
    margin: 0 auto; /* Center form */
    border-radius: 5px;
    overflow: hidden;
    background-color: transparent; /* No padding white */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#mc-embedded-subscribe-form .form-control {
    border: none;
    padding: 10px;
    font-size: 16px;
    flex-grow: 1;
    background-color: #e0e0e0; /* Light grey background */
    color: #000; /* Black text color */
    border-radius: 0; /* Ensure input field has no rounded corners */
    height: 50px; /* Set consistent height */
    line-height: 50px; /* Align text vertically */
}

#mc-embedded-subscribe-form .form-control::placeholder {
    color: #555; /* Placeholder color */
    font-weight: bold;
    text-transform: uppercase;
}

#mc-embedded-subscribe-form .btn {
    border: none;
    display: flex;
    justify-content: center; /* Center SVG horizontally */
    align-items: center; /* Center SVG vertically */
    padding: 0 20px; /* Remove vertical padding and set horizontal padding */
    font-size: 16px;
    color: #48A13F; /* Keep green text color */
    background-color: #ffffff; /* White background */
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    height: 50px; /* Set consistent height */
    transition: none; /* No hover effect */
}

#mc-embedded-subscribe-form .btn svg {
    display: block; /* Ensure no extra spacing around the SVG */
    width: 20px; /* Adjust size as needed */
    height: 20px;
}

#mc-embedded-subscribe-form .btn:hover {
    background-color: #ffffff; /* Keep background white on hover */
    color: #48A13F; /* Keep text green on hover */
}


/* Income Tax Calculator Form */
.income-tax-calculator-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0;
}

.income-tax-label {
    margin-bottom: 8px;
}

.income-tax-input {
    margin-bottom: 12px;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.income-tax-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.income-tax-button:hover {
    background-color: #45a049;
}

/* Dividend Tax Calculator Form */
.dividend-tax-calculator-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0;
}

.dividend-tax-label {
    margin-bottom: 8px;
}

.dividend-tax-input {
    margin-bottom: 12px;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.dividend-tax-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.dividend-tax-button:hover {
    background-color: #45a049;
}
