.btn-mydigitalid {
    background-color: #fff1ef;
}
.btn-mydigitalid:hover {
    background-color: #b3b3b3;
}

.fix-form-floating > label {
    padding-left: 0;
}
.fix-form-floating > input {
    padding-left: 1.6rem !important;
}

.k-shadow {
    box-shadow: -2px 1px 18px 1px rgba(150,145,145,0.8);
    -webkit-box-shadow: -2px 1px 18px 1px rgba(150,145,145,0.8);
    -moz-box-shadow: -2px 1px 18px 1px rgba(150,145,145,0.8);
}

.k-bg-login {
    background: #002B7F;
}


.k-card {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
}

.k-card-color {
    background-color: var(--card-bg);
}


.k-header {
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 1px 0px inset;
}

.k-border {
    border: 1px solid var(--border-color);
}

.cursor-pointer {
    cursor: pointer;
}

.navbar-transparent {
    background-color: var(--navbar-transparent) !important;
}

.k-body {
    height: 100vh;
}

.h-100vh {
    height: 100vh !important;
}

.nav-link {
    color: var(--nav-link-color) !important;
}

.k-logo-text-blue {
    color: var(--logo-text-blue) !important;
    font-weight: 500;
}

.k-logo-text-blue-light {
    color: var(--logo-text-blue-light) !important;
    font-weight: 500;
}

.k-logo-text-red {
    color: var(--logo-text-red) !important;
    font-weight: 700;
}

.k-layer {
    background-color: transparent !important;
}

.bg-logo {
    background-color: var(--bg-white) !important;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--nav-width) + 170px);
    height: calc(var(--header-height) + 1rem);
}

/* Hide background-image on screens 640px and smaller */
@media (max-width: 767px) {
    .k-shadow {
        box-shadow: none !important;
    }
    .k-card-color {
        background-color: transparent !important;
    }
    .k-border {
        border: none !important;
    }
    .k-card {
        background-color: transparent !important;
    }
    .body-user {
        background-image: none !important;
        background-color: var(--body-bg) !important;
    }
}


/*
    https://dev.to/robsonmuniz16/animated-menu-toggle-button-html-css-javascript-296a
 */
.toggle-menu {
    display: block;
    position: relative;
    margin-left: 1rem;
    margin-top: 0.5rem;
    width: 2rem;
    height: 100%;
    text-indent: -999em;
    cursor: pointer;
}

.toggle-menu--clicked {

    .menu__bar {

        &:nth-child(1) {
            top: 1.25rem;
            transform: rotate(45deg);
        }

        &:nth-child(2) {
            transform: translateX(100%) scale(0);
        }

        &:nth-child(3) {
            top: 1.25rem;
            transform: rotate(-45deg);
        }
    }
}

.menu__bar {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: .3rem;
    transition: top .4s ease-out, transform .4s ease-out;
    background-color: #222;

    &:nth-child(1) {
        top: 0;
    }

    &:nth-child(2) {
        top: 0.7rem;
    }

    &:nth-child(3) {
        top: 1.4rem;
    }
}


/*
    Avatar Picture
 */
.avatar-picture {
    width: 128px;
    height:128px;
    border-top-left-radius: 50% 50%;
    border-top-right-radius: 50% 50%;
    border-bottom-right-radius: 50% 50%;
    border-bottom-left-radius: 50% 50%;
    border: 2px solid #CCC;
    margin-bottom: 2px;
}

.avatar-icon {
    width: 50px;
    height:50px;
    border-top-left-radius: 50% 50%;
    border-top-right-radius: 50% 50%;
    border-bottom-right-radius: 50% 50%;
    border-bottom-left-radius: 50% 50%;
    border: 2px solid #CCC;
    margin-bottom: 2px;
}

.avatar-container {
    position: relative;
    display: inline-block;
}


/*
    Input with icon
 */
.input-container {
    padding-bottom: 1em;
}
.left-input-addon {
    position: relative;
}
.left-input-addon input {
    padding-left: 35px !important;
}
.left-input-addon i {
    position: absolute;
    padding: 12px 12px;
    pointer-events: none;
}
.right-input-addon {
    position: relative;
}
.right-input-addon input {
    padding-right: 35px !important;
}
.right-input-addon i {
    position: absolute;
    right: 0;
    top: 0.34rem;
    padding: 12px 12px;
    pointer-events: none;
}


/*
  width class
 */
.width-auto {
    width: auto !important;
}
.width-1 {
    width: 1% !important;
}
.width-2 {
    width: 2% !important;
}
.width-3 {
    width: 3% !important;
}
.width-4 {
    width: 4% !important;
}
.width-5 {
    width: 5% !important;
}
.width-6 {
    width: 6% !important;
}
.width-7 {
    width: 7% !important;
}
.width-8 {
    width: 8% !important;
}
.width-9 {
    width: 9% !important;
}
.width-10 {
    width: 10% !important;
}
.width-15 {
    width: 15% !important;
}
.width-20 {
    width: 20% !important;;
}
.width-30 {
    width: 30% !important;;
}
.width-40 {
    width: 40% !important;;
}
.width-50 {
    width: 50% !important;;
}
.width-60 {
    width: 60% !important;;
}
.width-70 {
    width: 70% !important;;
}
.width-80 {
    width: 80% !important;;
}
.width-90 {
    width: 90% !important;;
}
.width-100 {
    width: 100% !important;;
}

.w-1rem {
    width: 1rem !important;
}
.w-2rem {
    width: 2rem !important;
}
.w-3rem {
    width: 3rem !important;
}
.w-4rem {
    width: 4rem !important;
}
.w-5rem {
    width: 5rem !important;
}
.w-6rem {
    width: 6rem !important;
}
.w-7rem {
    width: 7rem !important;
}
.w-8rem {
    width: 8rem !important;
}
.w-9rem {
    width: 9rem !important;
}
.w-10rem {
    width: 10rem !important;
}



.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: var(--secondary) !important;
}

.tooltip-inner {
    background-color: #333; /* Dark background */
    color: #fff; /* White text */
    font-size: 1rem;
    border-radius: 5px;
    padding: 8px 12px;
}

.readonly > input {
    cursor: default !important;
}
.readonly > label {
    background-color: transparent !important;
}


.k-progress {
    width: 100%;
    height: 0.25rem;
    background-color: transparent;
    border-radius: 0.25rem;
    overflow: hidden;
    position: relative;
}
.k-progress-bar {
    height: 0.25rem;
    border-radius: 0.25rem;
    transition: width 0.4s ease-in-out;
}


/*
    User Login
 */
.left-sidebar {
    display:flex;
    flex-wrap:wrap;
}

.left-sidebar > * {
    width:100%;
    padding:1rem;
}

.left-sidebar-container {
    height: calc(100vh / 1.5);
}

/* tablet breakpoint */
@media (min-width:768px) {
    .left-sidebar > *:nth-child(1) {
        width:500px;
        min-width: 500px;
        max-width: 500px;
    }
    .left-sidebar > *:nth-child(2) {
        width:auto;
    }
    .left-sidebar-container {
        height: 100vh;
    }

    .bog {
        padding-top: 10rem;
    }
}

/*
    virtual select component
 */
.vscomp-toggle-button {
    border: none;
    padding: 0;
    box-shadow: none !important;
}
.vscomp-wrapper {
    font-size: inherit;
    font-family: inherit;
}
.vscomp-arrow {
    width: auto;
}
.vscomp-arrow:after {
    margin-top: 0;
    height: 12px;
    width: 16px;
    background-size: 16px 12px;
    background-image: var(--bs-form-select-bg-img);
    border: none;
    transform: none;
}
.form-select.pop-comp-active {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 252, 0.25);
}
.vscomp-ele {
    max-width: 100% !important;
}
.vscomp-toggle-button {
    border: none !important;
}


.error {
    color: var(--bs-danger) !important;
}


/* Avatar Upload */
.profile-user-img{
    width: 125px;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
}

.avatar-upload {
    position: relative;
    max-width: 205px;
    margin: auto;
    margin-bottom: 20px;

    .avatar-edit {
        position: absolute;
        z-index: 1;
        right: 0;
        top: 90px;
        input {
            display: none;
            + label {
                display: inline-block;
                width: 34px;
                height: 34px;
                margin-bottom: 0;
                border-radius: 100%;
                background: #FFFFFF;
                border: 1px solid #d2d6de;
                box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
                cursor: pointer;
                font-weight: normal;
                transition: all .2s ease-in-out;
                &:hover {
                    background: #f1f1f1;
                    border-color: #d6d6d6;
                }
                &:after {
                    content: "\f030";
                    font-family: 'FontAwesome';
                    color: #337AB7;
                    position: absolute;
                    left: 0;
                    right: 0;
                    text-align: center;
                    line-height: 34px;
                    margin: auto;
                }
            }
        }
    }
}

/* Login */
body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: scroll;
    flex: 1;
}

.login-container {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.landing-container {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    background-color: var(--card-bg);
    height: 100vh;
    padding: 2rem;
    width: 30rem;
}

.landing-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    background-color: var(--card-bg);
    height: 100vh;
    padding: 2rem;
    width: 30rem;
}


.carousel-container {

}

@media (min-width: 60rem) {
    .login-container {
        flex-direction: row;
    }

    .login-form {
        margin: 0;
        box-shadow: none;
    }

    .login-banner {
        margin: 2rem;
    }
}

@media (max-width: 60rem) {
    .login-form {
        width: 100vw;
    }
    .login-banner {
        display: none;
    }
}


.login-admin-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    background-color: rgba(48,92,222, 0.4);
}

.landing-background-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    background-color: rgba(48,92,222, 0.4);
}


.body-user {
    background-image: url('../../assets/images/background/gradient.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


.readonly-floating > input {
    color: #6c757d;

}


.input-captcha {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--input-border-color);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: white;
}

.btn-client {
    background-color: var(--bg-white);
}

.btn-client:hover {
    background-color: var(--primary);
}

.k-navbar {
    background-color: #E3F2FD !important; /* Soft sky blue */
    min-height: var(--headheight);
    max-width: var(--headwidth);
    

    /* Deeper shadow for a floating effect */
    box-shadow: 0 3px 10px rgba(1, 1, 0.5, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}


.k-app-logo {
    width: 100%;
    height: 100%;
    
    border-radius: 10px;
    background-color: #fff;
}
.k-app-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.k-bg2 {
    background-image: url('../../assets/images/background/bg2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.search-box {
    max-width: 300px;
}
