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

*, *:before, *:after {
    box-sizing: border-box;
}

:root {
    --bg:#eaf4fb;
    --primary:#0047ba;
}

body {
    background: #f5f7fa;
    margin: 0;
    font-family: system-ui, Arial;
}

.page {
    max-width: 460px;
    margin: 20px auto;
    padding: 15px;

    background: var(--bg);

    border: 1px solid #d8e3ed;
    border-radius: 18px;

    box-shadow:
            0 10px 25px rgba(0,0,0,.08),
            0 2px 8px rgba(0,0,0,.04);
}

.note {
    font-size: 14px;
    padding-left: 10px;
    padding-right: 5px;
}

.terms {
    font-size: 14px;
}

.header_img {
    height: 180px;
    /*width: 60px;*/
    padding: 8px;
}

.logo { text-align:center; }
.logo img { max-width:260px; }

.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;
    }
}

.terms-checkbox {
    padding-left: 10px;
}

.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;
}

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

.center_content {
    width: 88%;
    max-width: 360px;
    margin: 0 auto 14px auto;
    margin-bottom:14px;
}

.center_btn {
    width: 88%;
    max-width: 360px;
    margin: 0 auto 14px auto;
    text-align: center;
}

.field {
    width: 88%;
    max-width: 360px;
    margin: 0 auto 14px auto;
    margin-bottom:14px;
}

.field label {
    display:block;
    font-weight:bold;
    margin-bottom:6px;
    color: #2A8EBC;
}

.field input,
.field select {
    width: 100%;
    display: block;
    padding: 13px;
    border-radius: 14px;
    border: 1px solid #ddd;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.field input:hover,
.field select:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    border-color: #bbb;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
/*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 {
    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;
}*/

.debtor_info_submit {
    background-color: #45BDEE; /* Green for enabled state */
    color: #f6f6f6;
    /*  padding: 10px 20px;*/
    cursor: pointer;
    width: 300px;
    /*    border: 1px solid #45BDEE;*/
    border-radius: 30px;
    font-size: 17px;
    border: none;
    height: 50px;
}

.debtor_info_submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    border-color: #bbb;
}

/* 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 */
}

.debtor_info_submit:hover {
    background-color: #003a99;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.debtor_info_submit:active {
    transform: translateY(0);
    box-shadow: none;
}

.language-wrapper {
    /*    display: flex;
        justify-content: flex-start;*/
    padding-left: 35px;
    padding-bottom: 10px;
}

@media (min-width: 768px) {

    body {
        background: #f5f7fa;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }

    .page {
        width: 460px;
        height: 820px;
        margin: 0;

        border: 1px solid #d8e3ed;
        border-radius: 18px;

        box-shadow:
                0 10px 25px rgba(0,0,0,.08),
                0 2px 8px rgba(0,0,0,.04);

        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .form-card {
        flex: 1;
        overflow-y: auto;
        scrollbar-gutter: stable;
    }
}
.form-card::-webkit-scrollbar {
    width: 15px;   /* 🔧 adjust thickness here */
}

.form-card::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 20px;
}

.form-card::-webkit-scrollbar-thumb {
    background-color: #2A8EBC;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.form-card::-webkit-scrollbar-thumb:hover {
    background-color: #45BDEE;
}

.assistance {
    display: flex;
    align-items: center;           /* vertical alignment */
    justify-content: center;
    position: relative;
    padding: 5px 0;
}

.assist-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.assist-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Keep link simple */
.assist-icons a {
    display: inline-block;
}

/* Image size */
.assist-icons img {
    height: 48px;
    width: 48px;
    transition: all 0.2s ease;
}

.assist-icons img:hover {
    transform: translateY(-4px) scale(1.05);
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.15));
    cursor: pointer;
}

.assist-icons img:active {
    transform: translateY(0) scale(1);
    filter: none;
}

.phone-link{
    text-decoration:none;
    font-weight:600;
}
.phone-link:hover{
    text-decoration:underline;
}

#nuvana-spin {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.7); /* optional overlay */
    z-index: 9999;
}

.nuvana-loader {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border-top: 10px solid #4c55a7;
    border-right: 10px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    position: relative; /* fixes pseudo element positioning */
}

.nuvana-loader::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border-left: 10px solid #c5d622;
    border-bottom: 10px solid transparent;
    box-sizing: border-box;
    animation: rotation 0.5s linear infinite reverse;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}