.date-inputs select {
    display: inline-block;
    width: 58% !important;
    /* Adjust the width as needed */
    margin-right: 2%;
    /* Add some space between the inputs */
}

.date-inputs select:invalid {
    color: gray;
    opacity: 0.5;
}

.date-inputs select option {
    color: black;
}

.date-inputs input {
    display: inline-block;
    width: 38% !important;
    /* Adjust the width as needed */
    margin-right: 0;
    /* Remove the margin for the text input */
}

.date-inputs input {
    height: auto !important;
}

.date-inputs input::placeholder {
    color: gray;
    opacity: 0.5;
}

.age-inputs .age-inputs-year {
    display: inline-block;
    width: 52% !important;
    /* Adjust the width as needed */
    margin-right: 2%;
    /* Add some space between the inputs */
}

.age-inputs .age-inputs-month {
    display: inline-block;
    width: 42% !important;
    /* Adjust the width as needed */
    margin-right: 0;
    /* Add some space between the inputs */
}

.mp_wrapper {
    width: calc(100% / 1.2);
    /* Aims for 1/3 of the screen width */
    max-width: 975px;
    /* Sets an absolute max-width to prevent it from getting too big */
    margin: 0 auto;
}

.mp-form-row.mepr_username input[type="text"] {
    border-radius: 100px !important;
    /* Ensures rounded corners are applied */
}

/* Moving .mepr-unauthorized-message 200px to the right */
.mepr-unauthorized-message {
    margin-left: 80px;
    /* Pushes the text 200px to the right */
}

#plannerOutputArea {
    overflow-x: auto;
}

#blazor-output {
    min-width: 660px;
    width: 95%;
    max-width: 1100px;
    margin: 10px auto 0 auto;
    padding: 10px;
    aspect-ratio: 16 / 9;
    background-color: white;
}

#image-output {
    min-width: 660px;
    width: 100%;
    max-width: 1100px;
    margin: 10px auto 0 auto;
}

.read-only-field {
    color: #555;
    /* Change the text color to indicate it's read-only */
    border: 1px solid #ccc;
    /* Adjust border color */
    background-color: #f5f5f5;
    /* Set a background color */
    cursor: not-allowed;
    /* Change cursor to indicate unselectable */
}

.plannerSubmitButtons {
    display: flex;
    justify-content: center;
}

.plannerSubmitButtons button {
    margin: 0 0.25em;
}

.remove-column {
    min-width: 90px;
}

/* Global Styles for Text Inputs and Dropdowns */
input[type="text"],
input[type="number"],
select {
    border-width: 1px !important;
    border-radius: 10px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 8px !important;
    border: 1px solid #ccc !important;
}

/* Global Styles for Buttons */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    border: none;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: #005077;
    /* Darker WordPress blue */
}

button:disabled,
input[type="button"]:disabled,
input[type="submit"]:disabled,
input[type="reset"]:disabled {
    background-color: #888888;
    /* Mid Gray */
}

.income-planner-container {
    overflow: auto;
    max-height: calc(100vh - 300px);
    min-width: 330px;
    text-align: left;
    /* Ensures content is left-aligned */
}

.income-planner-footer {
    max-width: 100% !important;
}

.inner-wrapper {
    padding-right: 10px;
    /* Adjust the padding to create a gap on the right side */
}

h3 {
    font-size: 30px !important;
    /* Adjusting to match the h4 size */
}

#client1ContributionsContainer {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    /* Ensures the inner elements don't overflow the rounded corners */
}

#client1ContributionsContainer th,
#client1ContributionsContainer td {
    border-style: solid;
    border-width: 1px;
    /* Adjust border width as necessary */
    border-color: transparent;
    /* Adjust border color as necessary */
}

#client1ContributionsContainer th:first-child,
#client1ContributionsContainer td:first-child {
    border-top-left-radius: 10px;
}

#client1ContributionsContainer th:last-child,
#client1ContributionsContainer td:last-child {
    border-top-right-radius: 10px;
}

#client1ContributionsContainer tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

#client1ContributionsContainer tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

#client2ContributionsContainer {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    /* Ensures the inner elements don't overflow the rounded corners */
}

#client2ContributionsContainer th,
#client2ContributionsContainer td {
    border-style: solid;
    border-width: 1px;
    /* Adjust border width as necessary */
    border-color: transparent;
    /* Adjust border color as necessary */
}

#client2ContributionsContainer th:first-child,
#client2ContributionsContainer td:first-child {
    border-top-left-radius: 10px;
}

#client2ContributionsContainer th:last-child,
#client2ContributionsContainer td:last-child {
    border-top-right-radius: 10px;
}

#client2ContributionsContainer tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

#client2ContributionsContainer tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

#client1ContributionsContainer th,
#client2ContributionsContainer th {
    padding: 1em 0.5em;
}

#client1ContributionsContainer td,
#client2ContributionsContainer td {
    padding: 1em 0.25em;
}

/* Width */
::-webkit-scrollbar {
    width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
    background: lightgrey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: darkgrey;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: grey;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Container for centering spinner with specified properties */
.spinner-container {
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 660px;
    width: 100%;
    max-width: 1100px;
    margin: 10px auto 0 auto;
    background-color: rgba(255, 255, 255, 0.8); /* Optional: Background to cover content */
}
