:root {
    --main-color: #ee0033;
    --text-color: #000;
    --title-color: #262626;
    --default-border: 1px solid #c2cad8;
    --focus-border: 1px solid #ee0033;
    --box-shadow: inset 0 1px 1px #fff, 0 0 4px #fd4b4b;
    --text-secondary: #73777a;
}

/* button */
.v-btn {
    min-height: 40px;
    max-height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    outline: none;
    white-space: nowrap;
}

.v-btn[disabled]{
    color: #00000040;
    background-color: #f5f5f5;
    border-color: #d9d9d9;
    cursor: not-allowed;
}

.v-btn-primary {
    background-color: var(--main-color);
    color: #fff;
    border: 1px solid var(--main-color);
}

.v-btn-primary:hover {
    background-color: #b70d02;
    border: 1px solid #b70d02;
}

.v-btn-secondary {
    background-color: #fff;
    color: var(--title-color);
    border: var(--default-border);
}

.v-btn-secondary:hover {
    color: var(--main-color);
    border: 1px solid var(--main-color);
}

.v-group-btn {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/*input*/
.v-input[disabled]:hover,
.v-select[disabled]:hover{
    border: var(--default-border);
    cursor: not-allowed;
}

.v-input[disabled],
.v-select[disabled]{
    background-color: #efefef4d;
}


.v-input {
    display: block;
    width: 100%;
    min-height: 40px;
    max-height: 40px;
    padding: 0 16px;
    border: var(--default-border);
    border-radius: 8px;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

.v-input:hover{
    border: var(--focus-border) ;
}

.v-input-datetime {
    display: block;
    width: 100%;
    min-height: 40px;
    max-height: 40px;
    padding: 4px 16px 0;
    border: var(--default-border);
    border-radius: 8px;
}

.v-input:focus-visible {
    outline: none;
    border: var(--focus-border);
    box-shadow: var(--box-shadow);
}

.v-input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
}

.v-input[type="number"]::-webkit-inner-spin-button,
.v-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.search-box-input{
    margin: 3px 8px;
    width: calc(100% - 16px);
}

/*select*/
.v-select-wrapper{
    position: relative;
}

.v-select {
    display: block;
    appearance: none;
    background: #fff url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" stroke="%236c757d" stroke-width="2" viewBox="0 0 24 24"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat right 13px center;
    background-size: 16px;
    cursor: pointer;
    border: var(--default-border);
    width: 100%;
    min-height: 40px;
    max-height: 40px;
    border-radius: 8px;
    padding: 0 32px 0 16px;
    position: relative;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

.v-select:hover{
    border: var(--focus-border);
}

.v-select:focus-visible {
    outline: none;
    border: var(--focus-border);
    box-shadow: var(--box-shadow);
}

.clear-icon{
    font-size: 20px;
    position: absolute;
    top: 49%;
    height: 14px;
    border-radius: 50%;
    cursor: pointer;
    right: 24px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v-clear-icon{
    font-size: 20px;
    position: absolute;
    top: 14px;
    height: 14px;
    border-radius: 50%;
    cursor: pointer;
    right: 16px;
    background: #fff;
    display: none;
    align-items: center;
    justify-content: center;
}

.clear-icon:hover{
    background-color: #e0e0e0;
}

/*form-control*/
.v-form-control {
    margin-bottom: 12px;
    color: var(--title-color);
}

.v-form-control .fa-calendar {
    position: absolute;
    top: 38px;
    right: 32px;
    color: var(--main-color);
}

.v-form-control #todateRequestList,
.v-form-control #fromdateRequestList{
    padding-top: 3px;
}

.v-form-control label {
    font-weight: 500;
    margin: 0;
}


/*table*/
.v-table-container {
    border: var(--default-border);
    background: #fff;
    border-radius: 16px;
}

.v-table-wrapper {
    padding: 20px;
}

.v-table {

}

.v-table-caption {
    display: flex;
    justify-content: space-between;
    background: #fafafa;
    align-items: center;
    height: 52px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 0px 24px;
}

.v-table-caption label {
    margin: 0;
    font-size: 16px;
    color: var(--title-color);
}

.v-table-scroll{
    overflow: auto;
}

.v-table th {
    white-space: nowrap;
    background-color: #fff;
    color: var(--title-color);
    font-weight: bold;
    border-bottom: 2px solid #d8d8d7 !important;
    border-top: none !important;
    padding: 8px 16px;
}

.v-table tbody tr{
    height: 40px;
}

.v-table tr td {
    color: var(--title-color);
    border-bottom: var(--default-border);
    white-space: nowrap;
    padding: 8px 16px;
}

.v-table > tbody > tr > td {
    border-top: none !important;
    border-right: none;
    border-left: none;
}

.v-table-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v-paginate-item{
    float: unset !important;
    height: 36px;
    width: 36px;
    border: none !important;
    border-radius: 6px;
    color: var(--title-color);
    background-color: #fafafa !important;
    margin: 0 6px !important;
    padding: 9px 13px !important;
}

.active .v-paginate-item{
    color: #ffffff !important;
    background-color: var(--main-color) !important;
}

.v-table-wrapper .pagination>li>a{
    float: unset !important;
    height: 36px;
    width: 36px;
    border: none !important;
    border-radius: 6px;
    color: var(--title-color);
    background-color: #fafafa !important;
    margin: 0 8px !important;
    padding: 8px 12px !important;
}

.v-table-wrapper .pagination>li.active>a {
    color: #ffffff !important;
    background-color: var(--main-color) !important;
}

.v-table-wrapper .dataTables_wrapper .dataTables_paginate{
    margin: 10px 0;
}

.v-table-wrapper .pagination>.disabled>a{
    color: #ddd;
}

.v-scroll-table{
    overflow-x: auto;
}

#record-count{
    color: var(--text-secondary);
}

.v-form-control .dropdown-menu{
    width: 95%;
    overflow-y: auto;
    max-height: 250px;
    top: 68px;
    background-color: #fff;
    box-shadow: 0 6px 8px #00000059;
}

/*Them css cho custom select common*/
.v-dropdown-menu{
    overflow-y: auto;
    max-height: 240px;
    background-color: #fff;
    box-shadow: 0 6px 8px #00000059;
}

.v-form-control .dropdown-menu::-webkit-scrollbar-thumb,
.v-dropdown-menu::-webkit-scrollbar-thumb{
    background-color: #ddd;
    border: unset;
    border-radius: 16px;
}

.v-form-control .dropdown-menu::-webkit-scrollbar,
.v-dropdown-menu::-webkit-scrollbar{
    width: 8px;
    background: #f9f9f9;
    border-radius: 4px;
}

.v-dropdown-item{
    list-style: none;
    height: 40px;
    line-height: 40px;
    padding: 0 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: pointer;
    color: var(--title-color);
}

.v-dropdown-item.active{
    background-color: #fac8ce;
}

.v-dropdown-item:hover{
    background-color: #00000013;
}

.custom-box{
    border-radius: 16px !important;
    padding: 16px !important;
}

.v-row{
    display: flex;
    flex-wrap: wrap;
    margin: auto -8px;
}

.v-row .col-md-1, .v-row .col-md-2,.v-row .col-md-3,.v-row .col-md-4,
.v-row .col-md-5,.v-row .col-md-6,.v-row .col-md-7,.v-row .col-md-8,
.v-row .col-md-9,.v-row .col-md-10,.v-row .col-md-11,.v-row .col-md-12,
.v-row .col-lg-1, .v-row .col-lg-2,.v-row .col-lg-3,.v-row .col-lg-4,
.v-row .col-lg-5,.v-row .col-lg-6,.v-row .col-lg-7,.v-row .col-lg-8,
.v-row .col-lg-9,.v-row .col-lg-10,.v-row .col-lg-11,.v-row .col-lg-12{
    padding-left: 8px;
    padding-right: 8px;
}

.no-border-btn {
    padding: 0;
    border: none;
    background: none;
}

.dropdown-menu.dropdown-order-mgt div:hover{
    background-color: var(--main-color);
    color: #fff;
    cursor: pointer;
}

.merge-trans-radio-group {
    margin-bottom: 20px;
}

.merge-trans-radio-options {
    margin-right: 20px;
    display: flex;
    justify-content: space-between;
    padding: 0 32px
}

.show-trans-avg-info{
    text-align: center;
}
.show-trans-txt-box{
    text-align: end;
}

.d-flex{
    display: flex;
    align-items: center;
}

.flex-center{
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-end{
    display: flex;
    justify-content: flex-end;
}

.md-radio label {
    padding-left: 30px;
}

.v-modal-header {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: var(--main-color);
    color: #fff;
    padding: 16px;
}

.upload-area {
    border: 2px dashed #c2cad8;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    color: #73777a;
    background-color: #fafafa;
    margin-bottom: 16px;
}

.modal-content {
    border-radius: 8px !important;
}

.v-modal-footer {
    justify-content: end;
    gap: 16px;
    display: flex;
    padding: 16px;
}

.v-modal-body {
    padding: 16px 16px 0;
}

.upload-description {
    margin-bottom: 16px;
}

.v-modal-body-title {
    margin-bottom: 8px;
}

.uploadfile-name {
    /*display: flex;*/
    /*justify-content: space-between;*/
    /*align-items: center;*/
}
.order-notice-span {
    color: var(--main-color);
    font-style: italic;
}

.text-overflow{
    text-overflow: ellipsis;
    overflow: hidden;
}

.clear-bg{
    border: unset !important;
    background: unset !important;
    padding: 0;
    margin: 0;
}

.text-leftI{
    text-align: left !important;
}

.text-rightI{
    text-align: right !important;
}

.sticky-table-column-right {
    position: sticky;
    right: 0;
    background: #fff;
    box-shadow: 0 6px 8px #00000059;
}

.sticky-table-column-left {
    position: sticky;
    left: 0;
    background: #fff;
    box-shadow: 0 6px 8px #00000059;
}

.account-info-inp-field {
    display: inline-block;
    width: 80%;
    margin: 20px 0 0;
}

/*tooltip*/

#custom-tooltip {
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
    z-index: 9999;
    pointer-events: none;
    white-space: normal;
    max-width: 350px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.2s ease;
    word-wrap: break-word;
}

.page-bar .page-breadcrumb > li > a{
    color: #636363;
}

.page-bar .page-breadcrumb > li > a:hover{
    color: #e03;
}

/* hidden long text,
add class text-ellipsis
and css property max-width  */
.text-ellipsis{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}