/* Google Fonts Import Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}
.centered-box {
    min-width: 300px;
    min-height: 200px;
    max-width: 700px;
    max-height: 85%;
    background-color: white;
    border: 2px solid #45BDEE;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: auto; /* Prevents content overflow */
    text-align: left; /* Ensures content is not centered */
    display: block; /* Removes flexbox alignment on content */
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Adds spacing between options */
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 600px) {
    .radio-option {
        display: block;
    }
}

.checkbox-group {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
label {
    font-size: 18px;
    cursor: pointer;
}
input[type="radio"],
input[type="checkbox"] {
    margin-right: 5px;
}
a {
    color: blue;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

#debtor_info_bak {
    display: grid;
    gap: 5px;
    /*    background-color: #2196F3;*/
    padding: 5px;
    grid-template-columns: max-content max-content;
}

.debtor_info {
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 40px
}

.debtor_info_inputs {
    display: block;
    width: 300px;
}

.debtor_info_submit {
    margin-top:10px;
  /*  width:90px;*/
    height: 39px;
    padding-left:3px;
    padding-right: 3px;
    background-color: #45BDEE;
    color: #f6f6f6;
    border: 1px solid #45BDEE;
    border-radius: 6px;
}

.input_defaults {
    border: 1px solid #45BDEE;
    border-radius: 6px;
    height: 30px;
    padding-left: 5px;
    color: #45BDEE;
}

.portal-input-field {
    position: relative;
    margin: 30px 0;
}

.portal-input-field input,
.portal-input-field select,
.portal-input-field textarea {
    padding: 5px;
    border: 1px solid #45BDEE;
    border-radius: 8px;
    /*  min-width: 250px;*/
}

.portal-input-field label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: #45BDEE;
    /*  font-size: 16px;*/
    pointer-events: none;
    transition: 0.15s ease;
}

.portal-input-field input:focus ~ label,
.portal-input-field input:not(:placeholder-shown) ~ label,
.portal-input-field input[type="date"]:focus ~ label,
.portal-input-field textarea:focus ~ label {
    /*  font-size: 0.8rem;*/
    top: 7px;
    transform: translateY(-135%);
    color: #0F0F0F;
}

/*input::placeholder {
  color: transparent; !* Light gray color *!
}*/

/* Placeholder color when the input is focused */
input:focus::placeholder {
    color: #999; /* Darker gray color */
}
.invalid_field {
    color: red;
}

.debtor_info_submit {
    background-color: #45BDEE; /* Green for enabled state */
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

/* Style for the disabled button */
.debtor_info_submit:disabled {
    background-color: #d3d3d3; /* Grey color for disabled state */
    color: #a1a1a1; /* Light grey text */
    cursor: not-allowed; /* Change cursor to show that it's not clickable */
}