@import url('../../../assets/login/css/font.css');

:root {
    --font-primay: 'Noto Sans Thai', sans-serif;
}

body {
    overflow-y: auto;
    font-family: var(--font-primay);
    background-color: white; /* Set a background color with opacity */
    position: relative;
    background-attachment: fixed;
    overflow-x: hidden;
}

    body::before {
        content: ''; /* Required for pseudo-elements */
        position: fixed; /* Position the pseudo-element */
        top: 0px;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 104% !important;
        background: url('../../../assets/login/image/bg_body.jpg');
        background-attachment: fixed;
        z-index: -3; /* Send the pseudo-element to the back */
        opacity: 0.0811; /* Adjust the opacity of the background color */
    }

.card {
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.1);
}

.card__from {
    background: var( --drt-gradient, linear-gradient(180deg, #5a65c2 0%, #20265b 100%) );
}

input[type='checkbox'] {
    position: relative;
    cursor: pointer;
    appearance: unset;
}

    input[type='checkbox']:before {
        content: '';
        position: absolute;
        width: 24px;
        height: 24px;
        top: 0;
        border-radius: 4px;
        left: 0;
        border: 1px solid #99afc1;
        border-radius: 4px;
        padding: 1px;
        background-color: inherit;
    }

    input[type='checkbox']:checked:before {
        background-color: var( --drt-gradient, linear-gradient(180deg, #5a65c2 0%, #20265b 100%) );
    }

    input[type='checkbox']:checked:after {
        content: '';
        display: block;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 2px 2px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        position: absolute;
        top: 4px;
        left: 10px;
    }

input[type='text']:-webkit-autofill {
    -webkit-box-shadow: 200px 200px 100px #2D3473 inset;
    box-shadow: 200px 200px 100px #2D3473 inset;
    -webkit-text-fill-color:white;
}
input[type='password']:-webkit-autofill {
    -webkit-box-shadow: 200px 200px 100px #2D3473 inset;
    box-shadow: 200px 200px 100px #2D3473 inset;
    -webkit-text-fill-color: white;
}

.button {
    cursor: pointer;
    border-radius: 12px;
    display: flex;
    height: 60px;
    padding: 11px 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.box__item {
    /*border-radius: 20px;*/
    /*background: var(--dg-1, linear-gradient(180deg, #5a65c2 0%, #20265b 100%));*/
    border-radius: 12px;
    background: #2d3aab;
    /* DRT_Shadow */
    /*box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.1);*/
    box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.2);
}

    .box__item:hover {
        /*background: var(--dg-1, linear-gradient(180deg, #858fea 0%, #0d1147 100%));*/
        background: #2b3488;
    }
