// Automatic Generated Stylesheets
@import "/_assets/styles/variables/colors.less";
@import "/_assets/styles/variables/icons.less";
@import "/_assets/styles/variables/media-queries.less";
@import "/_assets/styles/variables/spacing.less";
@import "/_assets/styles/variables/typography.less";

// Helper Stylesheets
@import "/_assets/styles/flex.less";
@import "/_assets/styles/spacing.less";
@import "/_components/loader/loader.less";
@import "/_components/svg-icon/svg-icon.less";

// Custom Stylesheets
// -------------

// Global Styles
* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-size: 14px;
    font-family: @fontFamily;
    outline: none;
    
    animation-name: opacityanimation;
    animation-duration: 0.2s;
}

@keyframes opacityanimation {
    
    0% {

        opacity: 0;

    }

    100% {

        opacity: 1;

    }

}

[v-cloak] {
    display: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #F8F9FA;
}

button{
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.svg-icon__wrapper svg {
    pointer-events: none;
}

.page__container {
    .p-g;

    @max-width: 1200px;

    padding-left: 320px;
    padding-top: 68px;
    padding-right: calc((100% - @max-width) / 2);

    @headerHeight: 48px;
    @footerHeight: 70px;

    min-height: calc(100vh - @footerHeight);
}

.page__container-full{
    width: 100vw;
    min-height: 100vh;
}

.hyperlink {
    font-size: @fontSize-medium;
    color: @primary;
    font-weight: @fontWeights-bold;
    text-decoration: none;

    &:hover {
        text-decoration: underline;
    }
}

.error-message{
    font-size: @fontSize-small;
    color: @error;
}

.scroll{
    /* width */
    &::-webkit-scrollbar {
        width: 10px;
    }

    /* Track */
    &::-webkit-scrollbar-track {
        background: #EDF0FF;
        border-radius: 20px;
        cursor: pointer;
    }

    /* Handle */
    &::-webkit-scrollbar-thumb {
        background: @primary;
        border-radius: 20px;
        border: solid 2px #EDF0FF;
    }

    /* Handle on hover */
    &::-webkit-scrollbar-thumb:hover {
        background: @primary;
    }
}

.table__container{
    max-height: 100vh;
    overflow: auto;

    .scroll;

    .table{
        width: 100%;
        border-radius: 10px;
        border: 1px solid #EBEDF0;
        text-align: left;
        border-collapse: collapse;

        thead{
            tr{
                background-color: @primary;
                border-radius: 10px;
            }

            th{
                font-size: @fontSize-extra-medium;
                font-weight: @fontWeights-bold;
                padding: @spacing-large;
                color: @white;
                border-right: 0.5px solid #DEE2E6;
                
                &:first-child{
                    border-top-left-radius: 10px;
                }

                &:last-child{
                    border-top-right-radius: 10px;
                    border-right: none;
                }
            }

        }

        tbody{
            tr{
                border-bottom: 1px solid #DEE2E6;
                transition: all 0.6s ease;
            }
        }

        td{
            color: @grey-label;
            font-size: @fontSize-small;
            padding: 20px;
        }

        .table-center{
            text-align: center
        }
    }
}
.radio{
    &-options{
        .d-flex;
        .flex-align-center;
    }

    &-container{
        display: flex;
        position: relative;
        padding-right: 25px;
        margin-bottom: 10px;
        cursor: pointer;
        font-size: @fontSize-medium;
        margin-top: 10px;

        input{
            margin-right: 10px;
            width: 20px;
            height: 20px;
        }

        span{
            margin: auto;
        }
    }
}

.side-by-side{
    .d-flex;
    .flex-align-center;
    .flex-justify-between;

    > div {
        width: calc(50% - 20px);
    }
}

.w-100{
    width: 100%;
}