.green {
    color: #1d6666;
}

button >i.fa-trash{
    font-size : 16px;
}

.move-repeat{
    position: absolute;
    top: 0px;
    left: 13px;
}

.ver_top{
    vertical-align: top !important;
}

.author_name_field{
    width : 650px;
}

.author_num_bib{
    width : 200px;
}

tr.main_author > td{
    border-top: none !important;
}

.sub_author{
    text-indent:  20px;
}


.icon_detail{
    width: 20px;
    padding: 3px;
    cursor: pointer;
}
.icon_detail_sub{
    width: 20px;
    text-indent:0px;
    padding: 3px;
    cursor: pointer;
}

.detail_auth{
    max-height: 80px;
    overflow: scroll;
    margin-top: 5px;
    border: 1px solid;
    background-color: #fff;
    margin-bottom: 0px;
    padding: 2px;
    text-indent: 0px;
}

.text_hilight{
    font-weight: bold;
    color: #cb5e5e;
}

.addNewAuthority{
    border: none;
    background-color: #fff;
}

.select-custom { 
    position: relative;
    background-color: #fff;
}

.select-custom ul {
    margin-left: 0;
    list-style: none;
    border: 1px solid #d5d5d5;
    background-color: #fff;
    width: 100%;
}

.select-custom li {
    cursor: pointer;
    list-style: none;
    padding: 5px 10px;
    color: #858585;
}

.select-custom li:hover {
    background-color: #ccc;
    margin: 1px 1px;
    padding: 4px 9px;
    color: #111;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.w-10 {
    width: 10% !important;
}

.w-100px {
    width: 100px !important;
}

.onlyOneField {
    overflow: hidden;
    margin-bottom: 10px;
    margin-top: 10px;
}

.mrl-0 {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

.btn-mini {
    padding: 5.5px 10px;
}

.btn-authority-edit {
    margin: 2px;
}

.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.w-10 {
    width: 10%;
}

.table-sbs-digital > tbody > tr > td, .table-sbs-digital > tbody > tr > th {
    padding: 10px 10px !important;
}

.close-modal-sbs {
    font-size: 32px;
    font-weight: bold;
    color: #e77171; 
    opacity: 1;
}

.select-lang {
    font-size: 1rem;
    border-color: #ebedf2;
    padding: 0.5rem !important;
    height: unset;
    border-width: 2px;
    border-radius: 5px;
    width: 150px;
}

span.round-tab {
    width: 70px;
    height: 70px;
    line-height: 70px;
    display: inline-block;
    border-radius: 100px;
    background: #fff;
    border: 2px solid #e0e0e0;
    z-index: 2;
    position: absolute;
    left: 0;
    text-align: center;
    font-size: 25px;
}

span.round-tab i {
    color: #555555;
}

span.round-tab:hover {
    /*color: #333;*/
    /*border: 2px solid #333;*/
}

.mt10 {
    margin-top: 10px !important;
}

.mt13 {
    margin-top: 13px !important;
}

.mt25 {
    margin-top: 25px !important;
}

.mr20 {
    margin-right: 20px !important;
}

.mceLayout table,
.mceLayout table td {
    border: none !important;
}

/*    .ace-file-input {
    margin-top: 20px;
    height: 32px;
    margin-bottom: 0;
}*/

.widget-body .table thead:first-child tr {
    background: #F3F3F3 linear-gradient(to bottom, #F8F8F8, #ECECEC) repeat-x scroll 0% 0%;
}

/* .ace-file-input label.selected {
    right: 0 !important;
}*/

.easyPieChart {
    /*margin-left: 1em;*/
    display: inline-block;
    height: 70px;
    position: relative;
    text-align: center;
    width: 70px;
}

.percent {
    display: inline-block;
    line-height: 70px;
    z-index: 2;
}

.percent:after {
    content: '%';
    margin-left: 0.1em;
    font-size: .8em;
}

.msg {
    /*        height: 1.6em;
            margin: 0px;
            padding: 0px 0 0 6em;
            color: #b3b3b3;
            margin-top: -5%;
            font-size: 14px;*/
    text-align: center;
}

table td {
    vertical-align: middle !important;
}

.widget-box {
    border-bottom: none;
}

.widget-box {
    padding: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    margin: 3px 0;
    border-bottom: 1px solid #CCC;
}

.widget-header {
    position: relative;
    min-height: 38px;
    background: #f7f7f7;
    background-color: #f8f8f8;
    background-image: -moz-linear-gradient(top, #fff, #eee);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#eee));
    background-image: -webkit-linear-gradient(top, #fff, #eee);
    background-image: -o-linear-gradient(top, #fff, #eee);
    background-image: linear-gradient(to bottom, #fff, #eee);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffeeeeee', GradientType=0);
    color: #669fc7;
    border: 1px solid #CCC;
    border-bottom: 1px solid #DDD;
    padding-left: 12px;
}

.widget-header:before,
.widget-header:after {
    content: "";
    display: table;
    line-height: 0;
}

.widget-header>.widget-caption,
.widget-header> :first-child {
    line-height: 36px;
    padding: 0;
    margin: 0;
    display: inline;
}

h5 {
    font-size: 15px;
    font-weight: normal;
}

.badge {
    text-shadow: none;
    font-size: 12px;
    padding-top: 1px;
    padding-bottom: 3px;
    font-weight: normal;
    line-height: 15px;
    background-color: #abbac3 !important;
}

.badge {
    padding-right: 9px;
    padding-left: 9px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}

.widget-toolbar {
    display: inline-block;
    padding: 0 10px;
    line-height: 37px;
    float: right;
    position: relative;
}

.widget-toolbar:before {
    display: inline-block;
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: -1px;
    border: 1px solid #d9d9d9;
    border-width: 0 1px 0 0;
}

.widget-toolbar>[data-action="collapse"],
.header-color-dark>.widget-toolbar>[data-action="collapse"] {
    color: #aaa;
}

.widget-toolbar>a {
    font-size: 14px;
    margin: 0 1px;
    display: inline-block;
    padding: 0;
    line-height: 24px;
}

.widget-toolbar>[data-action]>[class*="icon-"] {
    margin-right: 0;
}

[class*=" icon-"],
[class^="icon-"] {
    display: inline-block;
    text-align: center;
}

.widget-header:after {
    clear: right;
}

.widget-header:before,
.widget-header:after {
    content: "";
    display: table;
    line-height: 0;
}

.widget-body {
    border: 1px solid #CCC;
    border-top: 0;
    background-color: #FFF;
}

.widget-main {
    padding: 12px;
}

label,
.lbl {
    vertical-align: middle;
}

.btn-info:hover {
    background-color: #4f99c6 !important;
}

.btn-small {
    padding: 0 8px;
    line-height: 24px;
    border-width: 4px;
    /*font-size: 13px;*/
}

.btn-ace {
    display: inline-block;
    color: #FFF !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25) !important;
    background-image: none !important;
    border: 5px solid;
    border-radius: 0;
    box-shadow: none !important;
    -webkit-transition: all ease .15s;
    -moz-transition: all ease .15s;
    -o-transition: all ease .15s;
    transition: all ease .15s;
    cursor: pointer;
    vertical-align: middle;
    margin: 0;
    position: relative;
    padding: 0 12px 1px;
    line-height: 32px;
    font-size: 14px;
}

.ace-file-input label:hover {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-color: #f59942;
}

.easyPieChart canvas {
    position: absolute;
    top: 0;
    left: 0;
}

.easyPieChart {
    position: relative;
    text-align: center;
}

.percentage {
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    vertical-align: top;
}

.ace-file-input {
    position: relative;
    height: 38px;
    line-height: 38px;
    margin-bottom: 9px;
}

.ace-file-input label.selected [class*="icon-"] {
    background-color: #efad62;
}

.widget-body .table {
    border-top: 1px solid #e5e5e5;
}

.table thead tr {
    color: #707070;
}

.fix_cc {
    height: auto !important;
    margin-bottom: 5px !important;
}

.fix_cc .list_img {
    display: inline-block;
    margin: 0px auto 90px;
    padding: 0 10px;
    text-align: center;
}

.fix_cc {
    text-align: center;
}

.fix_cc img {
    width: 90px;
}

.fix_cc .title_list {
    color: #0b7ba9;
    font-size: 15px;
    font-weight: bold;
    margin-top: -70px;
    text-align: center;
}

.box_show_cc {
    min-height: 120px;
    text-align: center;
}

.tab-content {
    border: 1px solid #d7e0e2 !important;
    border-radius: 0px 0px 6px 6px !important;
    padding: 20px 10px 10px 10px;
}

@media screen and (max-width: 767px) and (min-width: 0px) {
    .form-group {
        margin-left: 4px !important;
        margin-right: 4px !important;
    }
}

h3 {
    border: 0px !important;
}

h3>span {
    border: 0px !important;
    padding-bottom: 0px !important;
}

.box {
    border: 1px solid #d7e0e2;
    border-radius: 5px;
    margin: 0px 0px 10px 0px !important;
}

.add-icon {
    font-size: 12px !important;
    font-weight: bold !important;
    color: #689f38;
    cursor: pointer;
}

.add-icon:hover {
    color: #357100;
    cursor: pointer;
}

.delete-icon {
    color: #e84e40;
    cursor: pointer;
}

.delete-icon:hover {
    cursor: pointer;
    color: #90180e;
}

.title_lv1 {
    background-color: #1d6666;
    color: #fff;
    font-size: 15px;
    padding: 9px 12px;
    border: 2px solid #1d6666;
}

.h3_title_group {
    border-bottom: 2px solid #ccc !important;
    display: table;
    font-size: 16px;
    margin-left: 30px;
    padding-bottom: 0 !important;
    padding-top: 10px;
    padding-right: 5px;
}

.h3_title_group i {
    color: #D2882A;
}

.box_list {
    position: relative;
    /*border-top: 1px solid #ddd4d4;*/
    border-bottom: 1px solid #ddd4d4;
    background-color: #FFF;

}

.box_list:nth-child(even) {
    background-color: #FFF;
}

.box_list:nth-child(odd) {
    /*background-color: #fbfbfb;*/
}

.box_list:hover {
    /*background-color: #F8F8F8;*/
}

.del_group {
    display: table;
    position: absolute;
    right: 10px;
    top: 10px;
}

.div_btn_del {
    padding-top: 4px;
    position: absolute;
    right: 10px;
}

.del_group i {
    color: #FFF;
}

.add_group {
    background-color: #efefef;
    border-top: 1px dashed #CCC;
    color: #666;
    padding: 7px;
    text-align: center;
    cursor: pointer;
    transition: color 0.8s !important;
    margin-top: 10px;
}

.add_group:hover {
    color: #6EA435;
}

.title_cc {
    font-size: 18px;
    color: #e3a400;
}

.title_cc i {
    padding-right: 5px;
    color: #FBBC05;
}

.body_cc {
    padding-top: 4px;
    padding-left: 20px;
    margin-bottom: 15px;
}

.fld_description {
    color: #eaa23d;
    padding-left: 22px;
}

.control-label {
    padding: 0px !important;
}

#modal-1 {
    display: none;
    width: 100 !important;

}

.fancybox-wrap {
    width: 90% !important;
}

.fancybox-inner {
    min-width: 100%;
}

#wizard-sbs > .nav {
    height: 105px !important;
}

.sw {
    position: relative;
}

.sw *, .sw ::after, .sw ::before {
    box-sizing: border-box;
}

.sw > .nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
}

.wizard-sbs > .nav .nav-link {
    position: relative;
    margin-top: 40px;
}

.sw > .nav .nav-link {
    display: block;
    padding: .5rem 1rem;
}

.wizard-sbs > .nav::before {
    content: " ";
    position: absolute;
    left: 0;
    border-radius: 3px;
    z-index: 1;
    width: 75%;
    margin-left: 12%;
    top: 21px;
    height: 2px;
    background-color: #BCBCBC;
}

.wizard-sbs > .nav .nav-link.active {
    cursor: default;
    color: #1d6666 !important;
}

.wizard-sbs > .nav {
    position: relative;
    margin-bottom: 10px;
}

.sw.wizard-sbs > .nav .nav-link, 
.sw.wizard-sbs > .nav > li {
    flex-basis: 0;
    flex-grow: 1;
    text-align: center;
}

.sw > .nav .nav-link > .num {
    justify-content: center;
    align-items: center;
    float: left;
    pointer-events: none;
    height: 100%;
    padding-left: .5rem;
    padding-right: .5rem;
    border-radius: 10em;
    text-align: center;
    font-weight: 800;
    clear: both;
    line-height: 1;
    text-decoration: none;
}

.wizard-sbs > .nav .nav-link.active > .num {
/*        color: var(--sw-anchor-active-secondary-color) !important;*/
    color: #FFFF !important;
}

.wizard-sbs > .nav .nav-link > .num {
    color: #FFFF !important;
    font-size: 1.5em;
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    top: -31px;
    margin-left: auto;
    margin-right: auto;
    z-index: 100;
    transition: all .5s ease-in-out;
}

.wizard-sbs > .nav .nav-link.active::after {
    background: linear-gradient(90deg, #55b3b3 0%, #1d6666 100%) !important;
    box-shadow: 0 1px 7px 1px rgba(0, 0, 0, .3);
}

.wizard-sbs > .nav .nav-link::after {
    border: 2px solid var(--sw-border-color);
}

.wizard-sbs > .nav .nav-link::after {
    content: " ";
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    top: -42px;
    width: 46px;
    height: 46px;
    z-index: 99;
    transition: all .5s ease-in-out;
}

.wizard-sbs > .nav .nav-link.default::after {
    background: linear-gradient(270deg, #BEBEBE 0%, #BEBEBE 100%);
    cursor: default !important;
}

.wizard-sbs > .nav .nav-link.default {
    color: #1d6666;
    cursor: default !important;
}

.wizard-actions {
    text-align: end;
}

.hasDatepicker {
    border-radius: 0px 5px 5px 0px !important;
}

.w-240px {
    width: 240px;
}

.cc_banner_ref {
    width: 120px !important;
    margin-bottom: 10px;
}

.cc_text {
    color: #1d6666 !important;
}

.border-img-cover {
    border: solid 2px #fdfdfd;
    border-radius: 5px;
}

.kukr_input_checkbox {
    border: 2px solid #1c6667;  
}

.font-14 {
    font-size: 14px !important;
}

/* Tree View Styles */
.agency-list {
    margin-top: 10px;
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: white;
}

.agency-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 10px;
}

.agency-item:last-child {
    border-bottom: none;
}

.agency-tree-container {
    padding: 0;
}

.tree-view {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tree-node-wrapper {
    margin: 0;
}

.tree-node-content {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin: 2px 0;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.tree-node-content:hover {
    background: #f8f9fa;
    border-color: #1d6666;
    box-shadow: 0 2px 4px rgba(0,123,255,0.1);
}

.tree-toggle {
    cursor: pointer;
    margin-right: 10px;
    color: #1d6666;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.2s ease;
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 18px;
    border: 1px solid #1d6666;
    border-radius: 3px;
    background: #fff;
}

.tree-toggle:hover {
    color: #fff;
    background: #1d6666;
    transform: scale(1.1);
}

.tree-leaf {
    margin-right: 10px;
    color: #007bff;
    font-size: 16px;
}

.tree-label {
    flex: 1;
    cursor: pointer;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    margin-right: 15px;
    transition: color 0.2s ease;
}

.tree-label:hover {
    color: #007bff;
}

.tree-children {
    margin-left: 25px;
    border-left: 3px solid #e9ecef;
    padding-left: 15px;
    margin-top: 5px;
    position: relative;
}

.tree-children::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #e9ecef 0%, #e9ecef 50%, transparent 50%, transparent 100%);
    background-size: 3px 20px;
}

/* Dynamic indentation for deeper levels */
.tree-children .tree-children {
    margin-left: 20px;
}

.tree-children .tree-children .tree-children {
    margin-left: 18px;
}

.tree-children .tree-children .tree-children .tree-children {
    margin-left: 16px;
}

.tree-children .tree-children .tree-children .tree-children .tree-children {
    margin-left: 14px;
}

.btn-select-agency {
    margin-left: auto;
    font-size: 12px;
    padding: 4px 8px;
}

.tree-node-content.has-children {
    font-weight: 600;
}

.no-data-message {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 16px;
}

.no-data-message i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}