/* _content/SingleSignOn/Components/Auth/CompanySelection.razor.rz.scp.css */
.company-selection-container[b-dfpciyybk8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
}

/* Remove width restrictions */
.company-selection-container > div[b-dfpciyybk8] {
    width: 100%;
}

.company-selection-container .ant-spin-nested-loading[b-dfpciyybk8] {
    width: 100%;
}

.company-selection-container .ant-spin-container[b-dfpciyybk8] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-tax-text[b-dfpciyybk8] {
    font-size: 11px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
}

.search-container[b-dfpciyybk8] {
    margin-bottom: 20px;
    min-height: 40px;
    width: 100%;
}

.search-container .ant-input-search-large[b-dfpciyybk8] {
    height: 40px !important;
}

.search-container .ant-input-lg[b-dfpciyybk8] {
    height: 40px !important;
}

.company-list-container[b-dfpciyybk8] {
    max-height: 216px; /* แสดงได้ 2 รายการ (100px + 16px margin) x 2 */
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Use data attributes for dynamic styling with CSS isolation */
.company-list-container[data-has-scrollbar="True"][b-dfpciyybk8] {
    padding-right: 8px !important;
}

/* Use ::deep to style child components */
.company-list-container[b-dfpciyybk8]  .ant-radio-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Apply styles to descendant cards */
.company-list-container[b-dfpciyybk8]  .ant-card {
    width: 100%;
    margin-bottom: 16px;
    margin-left: 0;
    margin-right: 0;
}

.company-list-container[b-dfpciyybk8]::-webkit-scrollbar {
    width: 8px;
}

.company-list-container[b-dfpciyybk8]::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.company-list-container[b-dfpciyybk8]::-webkit-scrollbar-thumb {
    background: #bfbfbf;
    border-radius: 3px;
}

.company-list-container[b-dfpciyybk8]::-webkit-scrollbar-thumb:hover {
    background: #8c8c8c;
}
/* _content/SingleSignOn/Components/Auth/LoginForm.razor.rz.scp.css */
.login-form-container[b-yd8li1mnoo] {
    padding: 10px 20px;
}

.forgot-password-link[b-yd8li1mnoo] {
    text-align: right;
    margin-bottom: 16px;
}

.external-login-btn[b-yd8li1mnoo] {
    height: 50px;
}

.external-login-icon[b-yd8li1mnoo] {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}
/* _content/SingleSignOn/Components/Auth/OtpChannelSelection.razor.rz.scp.css */
.otp-channel-container[b-kzl088jpic] {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

    /* Remove width restrictions for main container children */
    .otp-channel-container > div[b-kzl088jpic] {
        width: 100%;
    }

    /* Let form take full width like login form */
    .otp-channel-container .ant-form[b-kzl088jpic] {
        width: 100%;
    }

    /* Radio group takes full width */
    .otp-channel-container .ant-radio-group[b-kzl088jpic] {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    /* Cards take full width */
    .otp-channel-container .ant-card[b-kzl088jpic] {
        width: 100%;
        margin-bottom: 16px;
    }

    /* Form items take full width */
    .otp-channel-container .ant-form-item[b-kzl088jpic] {
        width: 100%;
    }

    /* Button takes full width like login button */
    .otp-channel-container .ant-btn-block[b-kzl088jpic] {
        width: 100%;
    }

    /* Back button container */
    .otp-channel-container > div[style*="text-align: center"][b-kzl088jpic] {
        width: 100%;
    }

.otp-alert__body[b-kzl088jpic] {
    margin-top: 4px;
}

.otp-alert__divider[b-kzl088jpic] {
    border: 0;
    height: 1px;
    background: #eaeaea;
    margin: 8px 0 12px;
}

.otp-alert__tel[b-kzl088jpic] {
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
}
/* _content/SingleSignOn/Components/Auth/OtpVerification.razor.rz.scp.css */
.otp-input[b-4ngamwio9x] {
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.otp-submit-btn[b-4ngamwio9x] {
    margin-top: 10px;
}
/* _content/SingleSignOn/Components/Layout/MainLayout.razor.rz.scp.css */
.panel-login[b-7ldw73fgce] {
    border-color: #ccc;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    /*    height: 550px;
    width: 550px;*/
    border-radius: 15px;
    border-top: 7px solid #d3cc58;
}

    .panel-login > .panel-heading[b-7ldw73fgce] {
        color: #00415d;
        background-color: #fff;
        border-color: #fff;
        text-align: center;
        margin-top: 20px;
    }

        .panel-login > .panel-heading a[b-7ldw73fgce] {
            text-decoration: none;
            color: red;
            font-weight: bold;
            -webkit-transition: all 0.1s linear;
            -moz-transition: all 0.1s linear;
            transition: all 0.1s linear;
        }

            .panel-login > .panel-heading a.active[b-7ldw73fgce] {
                color: black;
                font-size: 18px;
            }

#login-img[b-7ldw73fgce] {
    margin-top: -60px;
    width: 90px;
    height: auto;
}

.custom-password-icon[b-7ldw73fgce] {
    color: rgba(0,0,0,.45);
    cursor: pointer;
    transition: all .3s;
}
/* _content/SingleSignOn/Components/Pages/Login.razor.rz.scp.css */
.panel-login[b-5qqj5exkjm] {
    border-color: #ccc;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    /*    height: 550px;
    width: 550px;*/
    border-radius: 15px;
    border-top: 7px solid #d3cc58;
}

    .panel-login > .panel-heading[b-5qqj5exkjm] {
        color: #00415d;
        background-color: #fff;
        border-color: #fff;
        text-align: center;
        margin-top: 20px;
    }

        .panel-login > .panel-heading a[b-5qqj5exkjm] {
            text-decoration: none;
            color: red;
            font-weight: bold;
            -webkit-transition: all 0.1s linear;
            -moz-transition: all 0.1s linear;
            transition: all 0.1s linear;
        }

            .panel-login > .panel-heading a.active[b-5qqj5exkjm] {
                color: black;
                font-size: 18px;
            }

#login-img[b-5qqj5exkjm] {
    margin-top: -60px;
    width: 90px;
    height: auto;
}
.custom-password-icon[b-5qqj5exkjm] {
    color: rgba(0,0,0,.45);
    cursor: pointer;
    transition: all .3s;
}
