/* CSP extraction: Views/Account/Login.cshtml; preserve original presentation values. */
/* Moved the source Razor @Html.Raw("@")media as standard CSS @media. */

#content-mycorner {
    background-color: #FFFFFF;
    width: 905px;
    margin: 0 auto;
    float: left;
    min-height: 400px;
}

input[type=text] {
    width: 100%;
    padding: 12px 20px;
    font-size: 24px;
    box-sizing: border-box;
    border: 1px solid #ced4da;
    border-radius: 1em/5em;
    height: 34px;
    border-radius: 10px !important
}

input[type=password] {
    width: 100%;
    padding: 12px 20px;
    font-size: 24px;
    box-sizing: border-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    height: 34px;
    border-radius: 10px !important
}

.unnamed1 {
    font-family: thaisans_neueregular;
    font-size: 18px;
    color: #333333;
}

ul {
    list-style: none;
    font-size: 17px;
    font-family: 'thaisans_neueregular';
    color: red;
    padding-left: 0px;
}

li {
    list-style: none;
    font-size: 17px;
    width: 100%;
    font-family: 'thaisans_neueregular';
    color: red;
}

.responsive {
    width: 100%;
    max-width: 1682;
    height: auto;
}

.buttonsub2 {
    background-color: #7c7c7c;
}

.buttonmain {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 21px;
    margin: 3px 2px;
    cursor: pointer;
}

a:link, a:visited, a:active {
    font-size: 18px;
    text-decoration: none;
    color: #026cb6;
    font-weight: normal;
    font-family: thaisans_neueregular;
}

.btn-grad {
    background: linear-gradient(90deg, #00A1E9 0%, #004EBA 100%);
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: .5s;
    background-size: 200% auto;
    color: #fff;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
}

    .btn-grad:hover {
        background-position: right center;
        color: #fff;
        text-decoration: none;
    }

.btnt {
    border: 0px solid #FFFFFF;
    background-color: transparent;
    height: 0px;
    width: 0px;
    color: #3498db;
    font-size: 1.5em;
}

h5 {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #cbcaca;
    line-height: 0.1em;
    margin: 10px 0 20px;
}

    h5 span {
        background: #fff;
        padding: 0 10px;
    }


/* Tablet เดิม */
@media only screen and (max-width: 769px) and (min-width: 700px) {

    .paddtalet {
        padding-right: 0px !important;
    }
}


/* Mobile */
@media only screen and (max-width: 767px) {

    .portal-login-row {
        height: auto !important;
        display: block !important;
    }

    .portal-login-left {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        float: none !important;
        flex: none !important;
    }

        .portal-login-left > div {
            float: none !important;
            width: 100% !important;
            max-width: 100% !important;
        }

        .portal-login-left .paddtalet {
            padding-left: 15px !important;
            padding-right: 15px !important;
            box-sizing: border-box;
        }

            .portal-login-left .paddtalet > div {
                width: 100% !important;
                max-width: 350px !important;
                margin-left: auto !important;
                margin-right: auto !important;
            }

    .portal-banner {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        float: none !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

        .portal-banner a {
            display: block !important;
            width: 100% !important;
            height: auto !important;
        }

        .portal-banner img {
            display: block !important;
            width: 100% !important;
            height: auto !important;
            max-width: 100% !important;
            object-fit: contain !important;
        }
}



.csp-d02cd3ec82 {
    position: relative;
    width: 100%;
}

.csp-41dd45b5e3 {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.csp-d58c1f9851 {
    position: absolute;
    left: 5%;
    right: 6%;
    bottom: 8.5%;
    height: 11%;
    display: block;
    z-index: 10;
    cursor: pointer;
}

.csp-6805d7d63b {
    padding: 0;
    margin: 0;
    height: calc(100vh - 69px);
    display: flex;
    flex-wrap: wrap;
}

.csp-fa3d6f6191 {
    height: 100%;
}

.csp-7a2aa65faf {
    float: right;
}

.csp-bc912ecabb {
    align-self: stretch;
    padding-top: 48px;
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-flex;
}

.csp-a4391479e0 {
    width: 100%;
    align-self: stretch;
    flex: 1 1 0;
    padding-bottom: 56px;
    padding-left: 0px;
    padding-right: 40px;
    background: white;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    display: flex;
}

.csp-3fd26b11ee {
    align-self: stretch;
    width: 350px;
    height: 376px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    display: flex;
}

.csp-e26a7278a3 {
    align-self: stretch;
    flex: 1 1 0;
    padding-bottom: 56px;
    padding-left: 45px;
    padding-right: 0px;
    background: white;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    display: flex;
}

.csp-ab7ae1d2b8 {
    align-self: stretch;
    height: 376px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    display: flex;
}

.csp-e29cbe225f {
    align-self: stretch;
    height: 328px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 32px;
    display: flex;
}

.csp-f132326dd4 {
    align-self: stretch;
    height: 248px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 32px;
    display: flex;
    text-align: center;
}

.csp-6337bdedd8 {
    align-self: stretch;
    color: black;
    font-size: 36px;
    font-family: thaisans_neueregular;
    font-weight: 700;
    line-height: 48px;
    word-wrap: break-word;
    text-align: center;
}

.csp-1baaf4e7bd {
    align-self: stretch;
    height: 168px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    display: flex;
}

.csp-7e00ee129d {
    width: 100%;
    height: 40px;
}

.csp-964162eda9 {
    font-size: 22px;
    border-radius: 10px !important;
}

.csp-ded94b04be {
    font: red;
}

.csp-bd826b9272 {
    width: 100%;
}

.csp-5006888f4b {
    font-size: 22px;
}

.csp-5662d75d3b {
    font-size: 17px;
    color: white;
}

.csp-a7b6b46f7e {
    align-self: stretch;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    display: inline-flex;
}

.csp-4d0f488278 {
    flex: 1 1 0;
    text-align: right;
    color: #0246A6;
    font-size: 16px;
    font-family: thaisans_neueregular;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word;
}

.csp-9d3594dc90 {
    align-self: stretch;
    height: 48px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    background: linear-gradient(90deg, #00A1E9 0%, #004EBA 100%);
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    display: inline-flex;
    cursor: pointer;
}

.csp-35da263aa5 {
    color: white;
    font-size: 16px;
    font-family: thaisans_neueregular;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word;
}

.csp-f9fc99cbe5 {
    align-self: stretch;
    height: 20px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.csp-2be9aa7326 {
    border-color: #67a0ef;
    border-style: solid;
    align-self: stretch;
    height: 48px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 100%);
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    display: inline-flex;
    cursor: pointer;
}

.csp-a2ed3e3634 {
    color: #004EBA;
    font-size: 16px;
    font-family: thaisans_neueregular;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word;
}

.csp-0a255d7069 {
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    display: flex;
}

.csp-7777fa0902 {
    color: rgba(0, 0, 0, 0.60);
    font-size: 16px;
    font-family: thaisans_neueregular;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}

.csp-95e8cdd72e {
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    display: inline-flex;
}

.csp-e66ae7f326 {
    padding-left: 45px;
    color: rgba(0, 0, 0, 0.60);
    font-size: 14px;
    font-family: thaisans_neueregular;
    font-weight: 400;
    line-height: 70px;
    word-wrap: break-word;
}

.csp-9198b6b07a {
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.csp-9ee068d130 {
    display: block;
    width: 100%;
    height: 100%;
}

.csp-d0faf051f4 {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    display: block;
}

/* Extracted from Razor HtmlHelper / residual HTML style attributes */
.csp-helper-961d80f49b {
    align-self: stretch;
    height: 88px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    display: flex;
}

/* Mobile layout fix: login with National ID + copyright overlap.
   CSS-only; preserves desktop layout and existing login/navigation logic. */
@media only screen and (max-width: 767px) {
    .portal-login-row,
    .portal-login-left {
        height: auto !important;
        min-height: 0 !important;
    }

        .portal-login-left .csp-7a2aa65faf {
            float: none !important;
            width: 100% !important;
            max-width: 100% !important;
        }

        /* Remove fixed-height flex constraints that cause following elements to overlap. */
        .portal-login-left .csp-bc912ecabb,
        .portal-login-left .csp-a4391479e0,
        .portal-login-left .csp-3fd26b11ee,
        .portal-login-left .csp-e26a7278a3,
        .portal-login-left .csp-ab7ae1d2b8,
        .portal-login-left .csp-e29cbe225f,
        .portal-login-left .csp-f132326dd4,
        .portal-login-left .csp-1baaf4e7bd {
            height: auto !important;
            min-height: 0 !important;
            max-height: none !important;
            box-sizing: border-box;
        }

        .portal-login-left .csp-bc912ecabb {
            padding-top: 12px;
            width: 100%;
        }

        .portal-login-left .csp-a4391479e0,
        .portal-login-left .csp-e26a7278a3 {
            padding-bottom: 0;
        }

        .portal-login-left .csp-e26a7278a3 {
            padding-left: 0;
        }

        /* Let the login column expand to its content height on mobile. */
        .portal-login-left .csp-a4391479e0,
        .portal-login-left .csp-e26a7278a3 {
            flex: 0 0 auto !important;
            min-width: 0;
        }

        .portal-login-left .csp-3fd26b11ee,
        .portal-login-left .csp-ab7ae1d2b8,
        .portal-login-left .csp-e29cbe225f,
        .portal-login-left .csp-f132326dd4,
        .portal-login-left .csp-1baaf4e7bd {
            width: 100% !important;
        }

        /* Content grows vertically instead of crossing the ID-login link. */
        .portal-login-left .csp-f9fc99cbe5 {
            height: auto;
            min-height: 20px;
            box-sizing: border-box;
        }

        .portal-login-left .csp-2be9aa7326 {
            position: relative;
            height: auto;
            min-height: 48px;
            box-sizing: border-box;
            z-index: 1;
        }

            .portal-login-left .csp-2be9aa7326 a {
                position: relative;
                display: inline-block;
                white-space: normal;
                line-height: 1.35;
                z-index: 2;
            }

        /* The six spacer <br>s are not reliable responsive spacing. */
        .portal-login-left .csp-7a2aa65faf > br {
            display: none;
        }

        .portal-login-left .csp-e66ae7f326 {
            position: static;
            padding-left: 15px;
            padding-right: 15px;
            margin-top: 32px;
            margin-bottom: 16px;
            line-height: 1.5;
            text-align: center;
            box-sizing: border-box;
            clear: both;
        }
}
