/* class="form-group"

*/

html {
    background-color: #f0f3f4;
}

body {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    line-height: 1.42857143;
    color: #58666e;
    background-color: transparent;
}

*:focus {
    outline: 0 !important;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
}

label {
    font-weight: normal;
}

small,
.small {
    font-size: 13px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.badge,
.label {
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.badge.bg-light,
.label.bg-light {
    text-shadow: none;
}

.badge {
    background-color: #cfdadd;
}


.custom-centered-modal .modal-dialog {
    position: fixed;
    top: 8% !important;
    left: 30%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
}

.centered-modal {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.centered-modal .modal-dialog {
    margin: 0 auto;
}

.badge.up {
    position: relative;
    top: -10px;
    padding: 3px 6px;
    margin-left: -10px;
}

.badge-sm {
    padding: 2px 5px !important;
    font-size: 85%;
}

.label-sm {
    padding-top: 0;
    padding-bottom: 1px;
}

.badge-white {
    padding: 2px 6px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.badge-empty {
    color: inherit;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

blockquote {
    border-color: #dee5e7;
}

.caret-white {
    border-top-color: #fff;
    border-top-color: rgba(255, 255, 255, 0.65);
}

a:hover .caret-white {
    border-top-color: #fff;
}

.thumbnail {
    border-color: #dee5e7;
}

.progress {
    background-color: #edf1f2;
}

.progress-xxs {
    height: 2px;
}

.progress-xs {
    height: 6px;
}

.progress-sm {
    height: 12px;
}

.progress-sm .progress-bar {
    font-size: 10px;
    line-height: 1em;
}

.progress,
.progress-bar {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.progress-bar-primary {
    background-color: #7266ba;
}

.progress-bar-info {
    background-color: #23b7e5;
}

.progress-bar-success {
    background-color: #27c24c;
}

.progress-bar-warning {
    background-color: #fad733;
}

.progress-bar-danger {
    background-color: #f05050;
}

.progress-bar-black {
    background-color: #1c2b36;
}

.progress-bar-white {
    background-color: #fff;
}

.accordion-group,
.accordion-inner {
    border-color: #dee5e7;
    border-radius: 2px;
}

.alert {
    font-size: 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.alert .close i {
    display: block;
    font-size: 12px;
    font-weight: normal;
}

.form-control {
    border-color: #cfdadd;
    border-radius: 2px;
}

.form-control,
.form-control:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.form-control:focus {
    border-color: #23b7e5;
}

.form-horizontal .control-label.text-left {
    text-align: left;
}

.form-control-spin {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 2;
    margin-top: -7px;
}

.input-group-addon {
    background-color: #edf1f2;
    border-color: #cfdadd;
}

.list-group {
    border-radius: 2px;
}

.list-group.no-radius .list-group-item {
    border-radius: 0 !important;
}

.list-group.no-borders .list-group-item {
    border: none;
}

.list-group.no-border .list-group-item {
    border-width: 1px 0;
}

.list-group.no-bg .list-group-item {
    background-color: transparent;
}

.list-group-item {
    padding-right: 15px;
    border-color: #e7ecee;
}

a.list-group-item:hover,
a.list-group-item:focus,
a.list-group-item.hover {
    background-color: #f6f8f8;
}

.list-group-item.media {
    margin-top: 0;
}

.list-group-item.active {
    color: #fff;
    background-color: #23b7e5 !important;
    border-color: #23b7e5 !important;
}

.list-group-item.active .text-muted {
    color: #ace4f5 !important;
}

.list-group-item.active a {
    color: #fff;
}

.list-group-item.focus {
    background-color: #e4eaec !important;
}

.list-group-item.select {
    position: relative;
    z-index: 1;
    background-color: #dbeef9 !important;
    border-color: #c5e4f5;
}

.list-group-alt .list-group-item:nth-child(2n+2) {
    background-color: rgba(0, 0, 0, 0.02) !important;
}


.task-comment-content  {
    word-break: break-all;
    overflow-wrap: break-word;
}

.list-group-lg .list-group-item {
    padding-top: 15px;
    padding-bottom: 15px;
}

.list-group-sm .list-group-item {
    padding: 6px 10px;
}

.list-group-sp .list-group-item {
    margin-bottom: 5px;
    border-radius: 3px;
}

.list-group-item > .badge {
    margin-right: 0;
}

.list-group-item > .fa-chevron-right {
    float: right;
    margin-top: 4px;
    margin-right: -5px;
}

.list-group-item > .fa-chevron-right + .badge {
    margin-right: 5px;
}

.nav-pills.no-radius > li > a {
    border-radius: 0;
}

.nav-pills > li.active > a {
    color: #fff !important;
    background-color: #23b7e5;
}

.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:active {
    background-color: #19a9d5;
}

.nav > li > a:hover,
.nav > li > a:focus {
    background-color: rgba(0, 0, 0, 0.05);
}

.nav.nav-lg > li > a {
    padding: 20px 20px;
}

.nav.nav-md > li > a {
    padding: 15px 15px;
}

.nav.nav-sm > li > a {
    padding: 6px 12px;
}

.nav.nav-xs > li > a {
    padding: 4px 10px;
}

.nav.nav-xxs > li > a {
    padding: 1px 10px;
}

.nav.nav-rounded > li > a {
    border-radius: 20px;
}

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-tabs {
    border-color: #dee5e7;
}

.nav-tabs > li > a {
    border-bottom-color: #dee5e7;
    border-radius: 2px 2px 0 0;
}

.nav-tabs > li:hover > a,
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover {
    border-color: #dee5e7;
}

.nav-tabs > li.active > a {
    border-bottom-color: #fff !important;
}

.nav-tabs-alt .nav-tabs.nav-justified > li {
    display: table-cell;
    width: 1%;
}

.nav-tabs-alt .nav-tabs > li > a {
    background: transparent !important;
    border-color: transparent !important;
    border-bottom-color: #dee5e7 !important;
    border-radius: 0;
}

.nav-tabs-alt .nav-tabs > li.active > a {
    border-bottom-color: #23b7e5 !important;
}

.tab-container {
    margin-bottom: 15px;
}

.tab-container .tab-content {
    padding: 15px;
    background-color: #fff;
    border: 1px solid #dee5e7;
    border-top-width: 0;
    border-radius: 0 0 2px 2px;
}

.pagination > li > a {
    border-color: #dee5e7;
}

.pagination > li > a:hover,
.pagination > li > a:focus {
    background-color: #edf1f2;
    border-color: #dee5e7;
}

.panel {
    border-radius: 2px;
}

.panel .accordion-toggle {
    display: block;
    font-size: 14px;
    cursor: pointer;
}

.panel .list-group-item {
    border-color: #edf1f2;
}

.panel.no-borders {
    border-width: 0;
}

.panel.no-borders .panel-heading,
.panel.no-borders .panel-footer {
    border-width: 0;
}

.panel-heading {
    border-radius: 2px 2px 0 0;
}

.panel-default .panel-heading {
    background-color: #f6f8f8;
}

.panel-heading.no-border {
    margin: -1px -1px 0 -1px;
    border: none;
}

.panel-heading .nav {
    margin: -10px -15px;
}


.panel-heading .list-group {
    background: transparent;
}

.panel-footer {
    background-color: #ffffff;
    border-color: #edf1f2;
    border-radius: 0 0 2px 2px;
}

.panel-default {
    border-color: #dee5e7;
}

.panel-default > .panel-heading,
.panel-default > .panel-footer {
    border-color: #edf1f2;
}

.panel-group .panel-heading + .panel-collapse .panel-body {
    border-top: 1px solid #eaedef;

}

.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 8px 15px;
    border-top: 1px solid #eaeff0;
}

.table > thead > tr > th {
    overflow: hidden;
    padding: 8px 15px;
    border-bottom: 1px solid #eaeff0;
}

.table-bordered {
    border-color: #eaeff0;
}

.table-bordered > tbody > tr > td {
    border-color: #eaeff0;
}

.table-bordered > thead > tr > th {
    border-color: #eaeff0;
}

.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #fafbfc;
}

.table-striped > thead > th {
    background-color: #fafbfc;
    border-right: 1px solid #eaeff0;
}

.table-striped > thead > th:last-child {
    border-right: none;
}

.well,
pre {
    background-color: #edf1f2;
    border-color: #dee5e7;
}

.dropdown-menu {
    border: 1px solid #dee5e7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.pull-left {
    left: 100%;
}

.dropdown-menu > .panel {
    margin: -5px 0;
    border: none;
}

.dropdown-menu > li > a {
    padding: 5px 15px;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    color: #58666e;
    background-color: #edf1f2 !important;
    background-image: none;
    filter: none;
}

.dropdown-header {
    padding: 5px 15px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
    color: #58666e;
    background-color: #edf1f2 !important;
}

.dropdown-submenu:hover > .dropdown-menu,
.dropdown-submenu:focus > .dropdown-menu {
    display: block;
}

.dropdown-submenu.pull-left {
    float: none !important;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
}

.dropup .dropdown-submenu > .dropdown-menu {
    top: auto;
    bottom: 0;
}

.btn-group > .btn {
    margin-left: -1px;
}

/*cols*/

.col-lg-2-4 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-0 {
    clear: left;
}

.row.no-gutter {
    margin-right: 0;
    margin-left: 0;
}

.no-gutter [class*="col"] {
    padding: 0;
}

.row-sm {
    margin-right: -10px;
    margin-left: -10px;
}

.row-sm > div {
    padding-right: 10px;
    padding-left: 10px;
}

.modal-backdrop {
    background-color: #3a3f51;
}

.modal-backdrop.in {
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.modal-over {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.modal-center {
    position: absolute;
    top: 50%;
    left: 50%;
}

/*layout*/

html,
body {
    width: 100%;
    height: 100%;
}

body {
    overflow-x: hidden;
}

.app {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100%;
}

.app:before {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -1;
    display: block;
    width: inherit;
    border: inherit;
    content: "";
}

.app-header-fixed {
    padding-top: 50px;
}

.app-header-fixed .app-header {
    position: fixed;
    top: 0;
    width: 100%;
}

.app-header {
    z-index: 1125;
    border-radius: 0;
}

body.modal-open .app-header {
    z-index: 900;
}

.app-aside {
    float: left;
}

.app-aside:before {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -1;
    width: inherit;
    background-color: inherit;
    border: inherit;
    content: "";
}

.app-aside-footer {
    position: absolute;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    max-width: 200px;
}

.app-aside-folded .app-aside-footer {
    max-width: 60px;
}

.app-aside-footer ~ div {
    padding-bottom: 50px;
}

.app-aside-right {
    padding-bottom: 50px;
}

.app-content {
    height: 100%;
}

.app-content:before,
.app-content:after {
    display: table;
    content: " ";
}

.app-content:after {
    clear: both;
}

.app-content-full {
    position: absolute;
    top: 50px;
    bottom: 50px;
    width: auto !important;
    height: auto;
    padding: 0 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.app-content-full.h-full {
    bottom: 0;
    height: auto;
}

.app-content-body {
    float: left;
    width: 100%;
    /*padding-bottom: 50px;*/
}
.error-message {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 800px;
    box-sizing: border-box;
    font-weight: bold;
}
.app-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1005;
}

.app-footer.app-footer-fixed {
    position: fixed;
}

.hbox {
    display: table;
    width: 100%;
    height: 100%;
    border-spacing: 0;
    table-layout: fixed;
}

.hbox .col {
    display: table-cell;
    float: none;
    height: 100%;
    vertical-align: top;
}

.v-middle {
    vertical-align: middle !important;
}

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

.v-bottom {
    vertical-align: bottom !important;
}

.vbox {
    position: relative;
    display: table;
    width: 100%;
    height: 100%;
    min-height: 240px;
    border-spacing: 0;
}

.vbox .row-row {
    display: table-row;
    height: 100%;
}

.vbox .row-row .cell {
    position: relative;
    width: 100%;
    height: 100%;
}

.ie .vbox .row-row .cell {
    display: table-cell;
    overflow: auto;
}

.ie .vbox .row-row .cell .cell-inner {
    overflow: visible !important;
}

.vbox .row-row .cell .cell-inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.navbar {
    margin: 0;
    border-width: 0;
    border-radius: 0;
}

.navbar .navbar-form-sm {
    margin-top: 10px;
    margin-bottom: 10px;
}

.navbar-md {
    min-height: 60px;
}

.navbar-md .navbar-btn {
    margin-top: 13px;
}

.navbar-md .navbar-form {
    margin-top: 15px;
}

.navbar-md .navbar-nav > li > a {
    padding-top: 20px;
    padding-bottom: 20px;
}

.navbar-md .navbar-brand {
    line-height: 60px;
}

.navbar-header > button {
    padding: 10px 17px;
    font-size: 16px;
    line-height: 30px;
    text-decoration: none;
    background-color: transparent;
    border: none;
}

.navbar-brand {
    display: inline-block;
    float: none !important;
    height: auto;
    padding: 0 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: 50px;
    text-align: center;
}

.navbar-brand:hover {
    text-decoration: none;
}

.navbar-brand img {
    display: inline;
    max-height: 20px;
    margin-top: -4px;
    vertical-align: middle;
}

@media (min-width: 768px) {
    .app-aside,
    .navbar-header {
        width: 200px;
    }

    .navbar-collapse,
    .app-content,
    .app-footer {
        margin-left: 200px;
    }

    .app-aside-right {
        position: absolute;
        top: 50px;
        right: 0;
        bottom: 0;
        z-index: 1000;
    }

    .app-aside-right.pos-fix {
        z-index: 1010;
    }

    .visible-folded {
        display: none;
    }

    .app-aside-folded .hidden-folded {
        display: none !important;
    }

    .app-aside-folded .visible-folded {
        display: inherit;
    }

    .app-aside-folded .text-center-folded {
        text-align: center;
    }

    .app-aside-folded .pull-none-folded {
        float: none !important;
    }

    .app-aside-folded .w-auto-folded {
        width: auto;
    }

    .app-aside-folded .app-aside,
    .app-aside-folded .navbar-header {
        width: 60px;
    }

    .app-aside-folded .navbar-collapse,
    .app-aside-folded .app-content,
    .app-aside-folded .app-footer {
        margin-left: 60px;
    }

    .app-aside-folded .app-header .navbar-brand {
        display: block;
        padding: 0;
    }

    .app-aside-fixed .app-aside:before {
        position: fixed;
    }

    .app-aside-fixed .app-header .navbar-header {
        position: fixed;
    }

    .app-aside-fixed .aside-wrap {
        position: fixed;
        top: 50px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        width: 199px;
        overflow: hidden;
    }

    .app-aside-fixed .aside-wrap .navi-wrap {
        position: relative;
        width: 217px;
        height: 100%;
        overflow-x: hidden;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .app-aside-fixed .aside-wrap .navi-wrap::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    .app-aside-fixed .aside-wrap .navi-wrap::-webkit-scrollbar:vertical {
        width: 17px;
    }

    .app-aside-fixed .aside-wrap .navi-wrap > * {
        width: 200px;
    }

    .smart .app-aside-fixed .aside-wrap .navi-wrap {
        width: 200px;
    }

    .app-aside-fixed.app-aside-folded .app-aside {
        position: fixed;
        top: 0;
        bottom: 0;
        z-index: 1010;
    }

    .app-aside-fixed.app-aside-folded .aside-wrap {
        width: 59px;
    }

    .app-aside-fixed.app-aside-folded .aside-wrap .navi-wrap {
        width: 77px;
    }

    .app-aside-fixed.app-aside-folded .aside-wrap .navi-wrap > * {
        width: 60px;
    }

    .smart .app-aside-fixed.app-aside-folded .aside-wrap .navi-wrap {
        width: 60px;
    }

    .bg-auto:before {
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: -1;
        width: inherit;
        background-color: inherit;
        border: inherit;
        content: "";
    }

    .bg-auto.b-l:before {
        margin-left: -1px;
    }

    .bg-auto.b-r:before {
        margin-right: -1px;
    }

    .col.show {
        display: table-cell !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hbox-auto-sm {
        display: block;
    }

    .hbox-auto-sm > .col {
        display: block;
        width: auto;
        height: auto;
    }

    .hbox-auto-sm > .col.show {
        display: block !important;
    }

    .hbox-auto-sm .vbox {
        height: auto;
    }

    .hbox-auto-sm .cell-inner {
        position: static !important;
    }

}

@media (max-width: 767px) {
    body {
        height: auto;
        min-height: 100%;
    }

    .navbar-fixed-bottom {
        position: fixed;
    }

    .app-aside {
        float: none;
    }

    .app-content-full {
        position: relative;
        top: 0;
        width: 100% !important;
    }

    .hbox-auto-xs {
        display: block;
    }

    .hbox-auto-xs > .col {
        display: block;
        width: auto;
        height: auto;
    }

    .hbox-auto-xs .vbox {
        height: auto;
    }

    .hbox-auto-xs .cell-inner {
        position: static !important;
    }

    .navbar-nav {
        margin-top: 0;
        margin-bottom: 0;
    }

    .navbar-nav > li > a {
        box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1);
    }

    .navbar-nav > li > a .up {
        top: 0;
    }

    .navbar-nav > li > a .avatar {
        width: 30px;
        margin-top: -5px;
    }

    .navbar-nav .open .dropdown-menu {
        background-color: #fff;
    }

    .navbar-form {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1);
    }

    .navbar-form .form-group {
        margin-bottom: 0;
    }
}

html.bg {
    background: url('../img/bg.jpg');
    background-attachment: fixed;
    background-size: cover;
}

.app.container {
    padding-right: 0;
    padding-left: 0;
}

@media (min-width: 768px) {
    .app.container {
        width: 750px;
        -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    }

    .app.container .app-aside {
        overflow-x: hidden;
    }

    .app.container.app-aside-folded .app-aside {
        overflow-x: visible;
    }

    .app.container.app-aside-fixed .aside-wrap {
        left: inherit;
    }

    .app.container.app-aside-fixed.app-aside-folded .app-aside > ul.nav {
        position: absolute;
    }

    .app.container .app-header,
    .app.container .app-aside {
        max-width: 750px;
    }

    .app.container .app-footer-fixed {
        right: auto;
        left: auto;
        width: 100%;
        max-width: 550px;
    }

    .app.container.app-aside-folded .app-footer-fixed {
        max-width: 690px;
    }

    .app.container.app-aside-dock .app-footer-fixed {
        max-width: 750px;
    }
}

@media (min-width: 992px) {
    .app.container {
        width: 970px;
    }

    .app.container .app-header,
    .app.container .app-aside {
        max-width: 970px;
    }

    .app.container .app-footer-fixed {
        max-width: 770px;
    }

    .app.container.app-aside-folded .app-footer-fixed {
        max-width: 910px;
    }

    .app.container.app-aside-dock .app-footer-fixed {
        max-width: 970px;
    }
}

@media (min-width: 1200px) {
    .app.container {
        width: 1170px;
    }

    .app.container .app-header,
    .app.container .app-aside {
        max-width: 1170px;
    }

    .app.container .app-footer-fixed {
        max-width: 970px;
    }

    .app.container.app-aside-folded .app-footer-fixed {
        max-width: 1110px;
    }

    .app.container.app-aside-dock .app-footer-fixed {
        max-width: 1170px;
    }
}

.nav-sub {
    height: 0;
    margin-left: -20px;
    overflow: hidden;
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

.active > .nav-sub,
.app-aside-folded li:hover > .nav-sub,
.app-aside-folded li:focus > .nav-sub,
.app-aside-folded li:active > .nav-sub {
    height: auto !important;
    margin-left: 0;
    overflow: auto;
    opacity: 1;
}

.nav-sub-header {
    display: none !important;
}

.nav-sub-header a {
    padding: 15px 20px;
}

.navi ul.nav li {
    position: relative;
    display: block;
}

.navi ul.nav li li a {
    padding-left: 35px;
}

.navi ul.nav li li ul {
    display: none;
}

.navi ul.nav li li.active > ul {
    display: block;
}

.navi ul.nav li a {
    position: relative;
    display: block;
    padding: 10px;
    font-weight: normal;
    text-transform: none;
    -webkit-transition: background-color 0.2s ease-in-out 0s;
    transition: background-color 0.2s ease-in-out 0s;
}

.navi ul.nav li a .badge,
.navi ul.nav li a .label {
    padding: 2px 5px;
    margin-top: 2px;
    font-size: 11px;
}

.navi ul.nav li a > i {
    position: relative;
    float: left;
    width: 40px;
    margin: -10px -10px;
    margin-right: 5px;
    overflow: hidden;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
}

.navi ul.nav li a > i:before {
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .app-aside-folded .nav-sub-header {
        display: block !important;
    }

    .app-aside-folded .nav-sub-header a {
        padding: 15px 20px !important;
    }

    .app-aside-folded .navi > ul > li > a {
        position: relative;
        height: 50px;
        padding: 0;
        text-align: center;
        border: none;
    }

    .app-aside-folded .navi > ul > li > a span {
        display: none;
    }

    .app-aside-folded .navi > ul > li > a span.pull-right {
        display: none !important;
    }

    .app-aside-folded .navi > ul > li > a i {
        display: block;
        float: none !important;
        width: auto;
        margin: 0;
        font-size: 16px;
        line-height: 50px;
        border: none !important;
    }

    .app-aside-folded .navi > ul > li > a i b {
        left: 0 !important;
    }

    .app-aside-folded .navi > ul > li > a .badge,
    .app-aside-folded .navi > ul > li > a .label {
        position: absolute;
        top: 8px;
        right: 12px;
        z-index: 3;
    }

    .app-aside-folded .navi > ul > li > ul {
        position: absolute;
        top: 0 !important;
        left: 100%;
        z-index: 1050;
        width: 200px;
        height: 0 !important;
        -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .app-aside-folded .navi li li a {
        padding-left: 20px !important;
    }

    .app-aside-folded.app-aside-fixed .app-aside > ul.nav {
        position: fixed;
        left: 80px;
        z-index: 1010;
        display: block;
        width: 260px;
        height: auto;
        overflow: visible;
        overflow-y: auto;
        opacity: 1;
        -webkit-overflow-scrolling: touch;
    }

    .app-aside-folded.app-aside-fixed .app-aside > ul.nav:before {
        position: absolute;
        top: 0;
        left: -60px;
        width: 60px;
        height: 50px;
        content: "";
    }

    .app-aside-folded.app-aside-fixed .app-aside > ul.nav a {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }
}

@media (max-width: 767px) {
    html,
    body {
        overflow-x: hidden !important;
    }

    .app {
        overflow-x: hidden;
    }

    .app-content {
        -webkit-transition: -webkit-transform 0.2s ease;
        -moz-transition: -moz-transform 0.2s ease;
        -o-transition: -o-transform 0.2s ease;
        transition: transform 0.2s ease;
    }

    .off-screen {
        position: fixed;
        top: 50px;
        bottom: 0;
        z-index: 1010;
        display: block !important;
        width: 75%;
        overflow-x: hidden;
        overflow-y: auto;
        visibility: visible;
        -webkit-overflow-scrolling: touch;
    }

    .off-screen + * {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1015;
        width: 100%;
        padding-top: 50px;
        overflow: hidden;
        background-color: #f0f3f4;
        -webkit-transform: translate3d(75%, 0, 0px);
        transform: translate3d(75%, 0, 0px);
        -webkit-transition: -webkit-transform 0.2s ease;
        -moz-transition: -moz-transform 0.2s ease;
        -o-transition: -o-transform 0.2s ease;
        transition: transform 0.2s ease;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .off-screen + * .off-screen-toggle {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1020;
        display: block !important;
    }

    .off-screen.pull-right {
        right: 0;
    }

    .off-screen.pull-right + * {
        -webkit-transform: translate3d(-75%, 0, 0px);
        transform: translate3d(-75%, 0, 0px);
    }
}

@media (min-width: 992px) {
    .app-aside-dock .app-content,
    .app-aside-dock .app-footer {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .app-aside-dock .app-aside-footer ~ div {
        padding-bottom: 0;
    }

    .app-aside-dock.app-aside-fixed.app-header-fixed {
        padding-top: 115px;
    }

    .app-aside-dock.app-aside-fixed .app-aside {
        position: fixed;
        top: 50px;
        z-index: 1000;
        width: 100%;
    }

    .app-aside-dock .app-aside,
    .app-aside-dock .aside-wrap,
    .app-aside-dock .navi-wrap {
        position: relative;
        top: 0;
        float: none;
        width: 100% !important;
        overflow: visible !important;
    }

    .app-aside-dock .navi-wrap > * {
        width: auto !important;
    }

    .app-aside-dock .app-aside {
        bottom: auto !important;
    }

    .app-aside-dock .app-aside.b-r {
        border-bottom: 1px solid #dee5e7;
        border-right-width: 0;
    }

    .app-aside-dock .app-aside:before {
        display: none;
    }

    .app-aside-dock .app-aside nav > .nav {
        float: left;
    }

    .app-aside-dock .app-aside .hidden-folded,
    .app-aside-dock .app-aside .line,
    .app-aside-dock .app-aside .navi-wrap > div {
        display: none !important;
    }

    .app-aside-dock .app-aside .navi > ul > li {
        position: relative;
        display: inline-block;
        float: left;
    }

    .app-aside-dock .app-aside .navi > ul > li > a {
        height: auto;
        padding: 10px 15px 12px 15px;
        text-align: center;
    }

    .app-aside-dock .app-aside .navi > ul > li > a > .badge,
    .app-aside-dock .app-aside .navi > ul > li > a > .label {
        position: absolute;
        top: 5px;
        right: 8px;
        padding: 1px 4px;
    }

    .app-aside-dock .app-aside .navi > ul > li > a > i {
        display: block;
        float: none;
        width: 40px;
        margin-top: -10px;
        margin-right: auto;
        margin-bottom: -7px;
        margin-left: auto;
        font-size: 14px;
        line-height: 40px;
    }

    .app-aside-dock .app-aside .navi > ul > li > a > span.pull-right {
        position: absolute;
        bottom: 2px;
        left: 50%;
        display: block !important;
        margin-left: -6px;
        line-height: 1;
    }

    .app-aside-dock .app-aside .navi > ul > li > a > span.pull-right i {
        width: 12px;
        font-size: 12px;
        line-height: 12px;
    }

    .app-aside-dock .app-aside .navi > ul > li > a > span.pull-right i.text {
        line-height: 14px;
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .app-aside-dock .app-aside .navi > ul > li > a > span {
        display: block;
        font-weight: normal;
    }

    .app-aside-dock .app-aside .navi > ul > li .nav-sub {
        position: absolute;
        top: auto !important;
        left: 0;
        z-index: 1050;
        display: none;
        width: 200px;
        height: auto !important;
        -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .app-aside-dock .app-aside .navi > ul > li .nav-sub-header {
        display: none !important;
    }

    .app-aside-dock .app-aside .navi li li a {
        padding-left: 15px;
    }

    .app-aside-dock .app-aside .navi li:hover > .nav-sub,
    .app-aside-dock .app-aside .navi li:focus > .nav-sub,
    .app-aside-dock .app-aside .navi li:active > .nav-sub {
        display: block;
        height: auto !important;
        margin-left: 0;
        overflow: auto;
        opacity: 1;
    }
}

.arrow {
    z-index: 10;
    border-width: 9px;
}

.arrow,
.arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

.arrow:after {
    border-width: 8px;
    content: "";
}

.arrow.top {
    top: -9px;
    left: 50%;
    margin-left: -9px;
    border-bottom-color: rgba(0, 0, 0, 0.1);
    border-top-width: 0;
}

.arrow.top:after {
    top: 1px;
    margin-left: -8px;
    border-bottom-color: #ffffff;
    border-top-width: 0;
}

.arrow.top.arrow-primary:after {
    border-bottom-color: #7266ba;
}

.arrow.top.arrow-info:after {
    border-bottom-color: #23b7e5;
}

.arrow.top.arrow-success:after {
    border-bottom-color: #27c24c;
}

.arrow.top.arrow-danger:after {
    border-bottom-color: #f05050;
}

.arrow.top.arrow-warning:after {
    border-bottom-color: #fad733;
}

.arrow.top.arrow-light:after {
    border-bottom-color: #edf1f2;
}

.arrow.top.arrow-dark:after {
    border-bottom-color: #3a3f51;
}

.arrow.top.arrow-black:after {
    border-bottom-color: #1c2b36;
}

.arrow.right {
    top: 50%;
    right: -9px;
    margin-top: -9px;
    border-left-color: rgba(0, 0, 0, 0.1);
    border-right-width: 0;
}

.arrow.right:after {
    right: 1px;
    bottom: -8px;
    border-left-color: #ffffff;
    border-right-width: 0;
}

.arrow.right.arrow-primary:after {
    border-left-color: #7266ba;
}

.arrow.right.arrow-info:after {
    border-left-color: #23b7e5;
}

.arrow.right.arrow-success:after {
    border-left-color: #27c24c;
}

.arrow.right.arrow-danger:after {
    border-left-color: #f05050;
}

.arrow.right.arrow-warning:after {
    border-left-color: #fad733;
}

.arrow.right.arrow-light:after {
    border-left-color: #edf1f2;
}

.arrow.right.arrow-dark:after {
    border-left-color: #3a3f51;
}

.arrow.right.arrow-black:after {
    border-left-color: #1c2b36;
}

.arrow.bottom {
    bottom: -9px;
    left: 50%;
    margin-left: -9px;
    border-top-color: rgba(0, 0, 0, 0.1);
    border-bottom-width: 0;
}

.arrow.bottom:after {
    bottom: 1px;
    margin-left: -8px;
    border-top-color: #ffffff;
    border-bottom-width: 0;
}

.arrow.bottom.arrow-primary:after {
    border-top-color: #7266ba;
}

.arrow.bottom.arrow-info:after {
    border-top-color: #23b7e5;
}

.arrow.bottom.arrow-success:after {
    border-top-color: #27c24c;
}

.arrow.bottom.arrow-danger:after {
    border-top-color: #f05050;
}

.arrow.bottom.arrow-warning:after {
    border-top-color: #fad733;
}

.arrow.bottom.arrow-light:after {
    border-top-color: #edf1f2;
}

.arrow.bottom.arrow-dark:after {
    border-top-color: #3a3f51;
}

.arrow.bottom.arrow-black:after {
    border-top-color: #1c2b36;
}

.arrow.left {
    top: 50%;
    left: -9px;
    margin-top: -9px;
    border-right-color: rgba(0, 0, 0, 0.1);
    border-left-width: 0;
}

.arrow.left:after {
    bottom: -8px;
    left: 1px;
    border-right-color: #ffffff;
    border-left-width: 0;
}

.arrow.left.arrow-primary:after {
    border-right-color: #7266ba;
}

.arrow.left.arrow-info:after {
    border-right-color: #23b7e5;
}

.arrow.left.arrow-success:after {
    border-right-color: #27c24c;
}

.arrow.left.arrow-danger:after {
    border-right-color: #f05050;
}

.arrow.left.arrow-warning:after {
    border-right-color: #fad733;
}

.arrow.left.arrow-light:after {
    border-right-color: #edf1f2;
}

.arrow.left.arrow-dark:after {
    border-right-color: #3a3f51;
}

.arrow.left.arrow-black:after {
    border-right-color: #1c2b36;
}

.arrow.pull-left {
    left: 19px;
}

.arrow.pull-right {
    right: 19px;
    left: auto;
}

.arrow.pull-up {
    top: 19px;
}

.arrow.pull-down {
    top: auto;
    bottom: 19px;
}

.btn {
    font-weight: 500;
    border-radius: 2px;
    outline: 0 !important;
}

.btn-link {
    color: #58666e;
}

.btn-link.active {
    box-shadow: none;
    webkit-box-shadow: none;
}

.btn-default {
    color: #58666e !important;
    background-color: #fcfdfd;
    background-color: #fff;
    border-color: #dee5e7;
    border-bottom-color: #d8e1e3;
    /*-webkit-box-shadow: 0 1px 1px rgba(90, 90, 90, 0.1);*/
    /*box-shadow: 0 1px 1px rgba(90, 90, 90, 0.1);*/
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
    color: #58666e !important;
    background-color: #edf1f2;
    border-color: #c7d3d6;
}

.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
    background-image: none;
}

.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
    background-color: #fcfdfd;
    border-color: #dee5e7;
}

.btn-default.btn-bg {
    border-color: rgba(0, 0, 0, 0.1);
    background-clip: padding-box;
}

.btn-primary {
    color: #ffffff !important;
    background-color: #7266ba;
    border-color: #7266ba;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    /*color: #ffffff !important;*/
    background-color: #6254b2;
    border-color: #5a4daa;
}

.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-image: none;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    background-color: #7266ba;
    border-color: #7266ba;
}

.btn-success {
    color: #ffffff !important;
    background-color: #27c24c;
    border-color: #27c24c;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
    color: #ffffff !important;
    background-color: #23ad44;
    border-color: #20a03f;
}

.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
    background-image: none;
}

.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
    background-color: #27c24c;
    border-color: #27c24c;
}

.btn-info {
    color: #ffffff !important;
    background-color: #23b7e5;
    border-color: #23b7e5;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
    color: #ffffff !important;
    background-color: #19a9d5;
    border-color: #189ec8;
}

.btn-info:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
    background-image: none;
}

.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
    background-color: #23b7e5;
    border-color: #23b7e5;
}

.btn-warning {
    color: #ffffff !important;
    background-color: #fad733;
    border-color: #fad733;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.open .dropdown-toggle.btn-warning {
    color: #ffffff !important;
    background-color: #f9d21a;
    border-color: #f9cf0b;
}

.btn-warning:active,
.btn-warning.active,
.open .dropdown-toggle.btn-warning {
    background-image: none;
}

.btn-warning.disabled,
.btn-warning[disabled],
fieldset[disabled] .btn-warning,
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {
    background-color: #fad733;
    border-color: #fad733;
}

.btn-danger {
    color: #ffffff !important;
    background-color: #f05050;
    border-color: #f05050;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.open .dropdown-toggle.btn-danger {
    color: #ffffff !important;
    background-color: #ee3939;
    border-color: #ed2a2a;
}

.btn-danger:active,
.btn-danger.active,
.open .dropdown-toggle.btn-danger {
    background-image: none;
}

.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
    background-color: #f05050;
    border-color: #f05050;
}

.btn-dark {
    color: #ffffff !important;
    background-color: #3a3f51;
    border-color: #3a3f51;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active,
.btn-dark.active,
.open .dropdown-toggle.btn-dark {
    color: #ffffff !important;
    background-color: #2f3342;
    border-color: #292d39;
}

.btn-dark:active,
.btn-dark.active,
.open .dropdown-toggle.btn-dark {
    background-image: none;
}

.btn-dark.disabled,
.btn-dark[disabled],
fieldset[disabled] .btn-dark,
.btn-dark.disabled:hover,
.btn-dark[disabled]:hover,
fieldset[disabled] .btn-dark:hover,
.btn-dark.disabled:focus,
.btn-dark[disabled]:focus,
fieldset[disabled] .btn-dark:focus,
.btn-dark.disabled:active,
.btn-dark[disabled]:active,
fieldset[disabled] .btn-dark:active,
.btn-dark.disabled.active,
.btn-dark[disabled].active,
fieldset[disabled] .btn-dark.active {
    background-color: #3a3f51;
    border-color: #3a3f51;
}

.btn-black {
    color: #ffffff !important;
    background-color: #1c2b36;
    border-color: #1c2b36;
}

.btn-black:hover,
.btn-black:focus,
.btn-black:active,
.btn-black.active,
.open .dropdown-toggle.btn-black {
    color: #ffffff !important;
    background-color: #131e25;
    border-color: #0e161b;
}

.btn-black:active,
.btn-black.active,
.open .dropdown-toggle.btn-black {
    background-image: none;
}

.btn-black.disabled,
.btn-black[disabled],
fieldset[disabled] .btn-black,
.btn-black.disabled:hover,
.btn-black[disabled]:hover,
fieldset[disabled] .btn-black:hover,
.btn-black.disabled:focus,
.btn-black[disabled]:focus,
fieldset[disabled] .btn-black:focus,
.btn-black.disabled:active,
.btn-black[disabled]:active,
fieldset[disabled] .btn-black:active,
.btn-black.disabled.active,
.btn-black[disabled].active,
fieldset[disabled] .btn-black.active {
    background-color: #1c2b36;
    border-color: #1c2b36;
}

.btn-icon {
    width: 34px;
    height: 34px;
    padding: 0 !important;
    text-align: center;
}

.btn-icon i {
    position: relative;
    top: -1px;
    line-height: 34px;
}

.btn-icon.btn-sm {
    width: 30px;
    height: 30px;
}

.btn-icon.btn-sm i {
    line-height: 30px;
}

.btn-icon.btn-lg {
    width: 45px;
    height: 45px;
}

.btn-icon.btn-lg i {
    line-height: 45px;
}

.btn-rounded {
    padding-right: 15px;
    padding-left: 15px;
    border-radius: 50px;
}

.btn-rounded.btn-lg {
    padding-right: 25px;
    padding-left: 25px;
}

.btn > i.pull-left,
.btn > i.pull-right {
    line-height: 1.42857143;
}

.btn-block {
    padding-right: 12px;
    padding-left: 12px;
}

.btn-group-vertical > .btn:first-child:not(:last-child) {
    border-top-right-radius: 2px;
}

.btn-group-vertical > .btn:last-child:not(:first-child) {
    border-bottom-left-radius: 2px;
}

.btn-addon i {
    position: relative;
    float: left;
    width: 34px;
    height: 34px;
    margin: -7px -12px;
    margin-right: 12px;
    line-height: 34px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 2px 0 0 2px;
}

.btn-addon i.pull-right {
    margin-right: -12px;
    margin-left: 12px;
    border-radius: 0 2px 2px 0;
}

.btn-addon.btn-sm i {
    width: 30px;
    height: 30px;
    margin: -6px -10px;
    margin-right: 10px;
    line-height: 30px;
}

.btn-addon.btn-sm i.pull-right {
    margin-right: -10px;
    margin-left: 10px;
}

.btn-addon.btn-lg i {
    width: 45px;
    height: 45px;
    margin: -11px -16px;
    margin-right: 16px;
    line-height: 45px;
}

.btn-addon.btn-lg i.pull-right {
    margin-right: -16px;
    margin-left: 16px;
}

.btn-addon.btn-default i {
    background-color: transparent;
    border-right: 1px solid #dee5e7;
}

.btn-groups .btn {
    margin-bottom: 5px;
}

.list-icon i {
    display: inline-block;
    width: 40px;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    -webkit-transition: font-size 0.2s;
    transition: font-size 0.2s;
}

.list-icon div {
    line-height: 40px;
    white-space: nowrap;
}

.list-icon div:hover i {
    font-size: 26px;
}

.settings {
    position: fixed;
    top: 120px;
    right: -240px;
    z-index: 1050;
    width: 240px;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.settings.active {
    right: -1px;
}

.settings > .btn {
    position: absolute;
    top: -1px;
    left: -42px;
    padding: 10px 15px;
    background: #f6f8f8 !important;
    border-color: #dee5e7;
    border-right-width: 0;
}

.settings .i-checks span b {
    display: inline-block;
    float: left;
    width: 50%;
    height: 20px;
}

.settings .i-checks span b.header {
    height: 10px;
}

.streamline {
    position: relative;
    border-color: #dee5e7;
}

.streamline .sl-item:after,
.streamline:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 9px;
    height: 9px;
    margin-left: -5px;
    background-color: #fff;
    border-color: inherit;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    content: '';
}

.sl-item {
    position: relative;
    padding-bottom: 1px;
    border-color: #dee5e7;
}

.sl-item:before,
.sl-item:after {
    display: table;
    content: " ";
}

.sl-item:after {
    clear: both;
}

.sl-item:after {
    top: 6px;
    bottom: auto;
}

.sl-item.b-l {
    margin-left: -1px;
}

.timeline {
    padding: 0;
    margin: 0;
}

.tl-item {
    display: block;
}

.tl-item:before,
.tl-item:after {
    display: table;
    content: " ";
}

.tl-item:after {
    clear: both;
}

.visible-left {
    display: none;
}

.tl-wrap {
    display: block;
    padding: 15px 0 15px 20px;
    margin-left: 6em;
    border-color: #dee5e7;
    border-style: solid;
    border-width: 0 0 0 4px;
}

.tl-wrap:before,
.tl-wrap:after {
    display: table;
    content: " ";
}

.tl-wrap:after {
    clear: both;
}

.tl-wrap:before {
    position: relative;
    top: 15px;
    float: left;
    width: 10px;
    height: 10px;
    margin-left: -27px;
    background: #edf1f2;
    border-color: inherit;
    border-style: solid;
    border-width: 3px;
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 4px #f0f3f4;
}

.tl-wrap:hover:before {
    background: transparent;
    border-color: #fff;
}

.tl-date {
    position: relative;
    top: 10px;
    display: block;
    float: left;
    width: 4.5em;
    margin-left: -7.5em;
    text-align: right;
}

.tl-content {
    position: relative;
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
}

.tl-content.block {
    display: block;
    width: 100%;
}

.tl-content.panel {
    margin-bottom: 0;
}

.tl-header {
    display: block;
    width: 12em;
    margin-right: 2px;
    margin-left: 2px;
    text-align: center;
}

.timeline-center .tl-item {
    margin-left: 50%;
}

.timeline-center .tl-item .tl-wrap {
    margin-left: -2px;
}

.timeline-center .tl-header {
    width: auto;
    margin: 0;
}

.timeline-center .tl-left {
    margin-right: 50%;
    margin-left: 0;
}

.timeline-center .tl-left .hidden-left {
    display: none !important;
}

.timeline-center .tl-left .visible-left {
    display: inherit;
}

.timeline-center .tl-left .tl-wrap {
    float: right;
    padding-right: 20px;
    padding-left: 0;
    margin-right: -2px;
    border-right-width: 4px;
    border-left-width: 0;
}

.timeline-center .tl-left .tl-wrap:before {
    float: right;
    margin-right: -27px;
    margin-left: 0;
}

.timeline-center .tl-left .tl-date {
    float: right;
    margin-right: -8.5em;
    margin-left: 0;
    text-align: left;
}

.i-switch {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    background-color: #27c24c;
    border-radius: 30px;
}

.i-switch input {
    position: absolute;
    opacity: 0;
    filter: alpha(opacity=0);
}

.i-switch input:checked + i:before {
    top: 50%;
    right: 5px;
    bottom: 50%;
    left: 50%;
    border-width: 0;
    border-radius: 5px;
}

.i-switch input:checked + i:after {
    margin-left: 16px;
}

.i-switch i:before {
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 30px;
    content: "";
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.i-switch i:after {
    position: absolute;
    top: 1px;
    bottom: 1px;
    width: 18px;
    background-color: #fff;
    border-radius: 50%;
    content: "";
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    -webkit-transition: margin-left 0.3s;
    transition: margin-left 0.3s;
}

.i-switch-md {
    width: 40px;
    height: 24px;
}

.i-switch-md input:checked + i:after {
    margin-left: 17px;
}

.i-switch-md i:after {
    width: 22px;
}

.i-switch-lg {
    width: 50px;
    height: 30px;
}

.i-switch-lg input:checked + i:after {
    margin-left: 21px;
}

.i-switch-lg i:after {
    width: 28px;
}

.i-checks {
    padding-left: 20px;
    cursor: pointer;
}

.i-checks input {
    position: absolute;
    margin-left: -20px;
    opacity: 0;
}

.i-checks input:checked + i {
    border-color: #23b7e5;
}

.i-checks input:checked + i:before {
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    background-color: #23b7e5;
}

.i-checks input:checked + span .active {
    display: inherit;
}

.i-checks input[type="radio"] + i,
.i-checks input[type="radio"] + i:before {
    border-radius: 50%;
}

.i-checks input[disabled] + i,
fieldset[disabled] .i-checks input + i {
    border-color: #dee5e7;
}

.i-checks input[disabled] + i:before,
fieldset[disabled] .i-checks input + i:before {
    background-color: #dee5e7;
}

.i-checks > i {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-top: -2px;
    margin-right: 4px;
    margin-left: -20px;
    line-height: 1;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #cfdadd;
}

.i-checks > i:before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: transparent;
    content: "";
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.i-checks > span {
    margin-left: -20px;
}

.i-checks > span .active {
    display: none;
}

.i-checks-sm input:checked + i:before {
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
}

.i-checks-sm > i {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    margin-left: -18px;
}

.i-checks-lg input:checked + i:before {
    top: 8px;
    left: 8px;
    width: 12px;
    height: 12px;
}

.i-checks-lg > i {
    width: 30px;
    height: 30px;
}

.datepicker {
    margin: 0 5px;
}

.datepicker .btn-default {
    border-width: 0;
    box-shadow: none;
}

.datepicker .btn[disabled] {
    opacity: 0.4;
}

.datepicker .btn-info .text-info {
    color: #fff !important;
}

/*Charts*/

.jqstooltip {
    max-height: 12px;
    padding: 5px 10px !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    border: solid 1px #000 !important;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

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

.easyPieChart > div {
    position: relative;
    z-index: 1;
}

.easyPieChart > div .text {
    position: absolute;
    top: 60%;
    width: 100%;
    line-height: 1;
}

.easyPieChart > div img {
    margin-top: -4px;
}

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

#flotTip,
.flotTip {
    z-index: 100;
    padding: 4px 10px;
    font-size: 12px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
    border: solid 1px #000 !important;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.legendColorBox > div {
    margin: 5px;
    border: none !important;
}

.legendColorBox > div > div {
    border-radius: 10px;
}

.sortable-placeholder {
    min-height: 50px;
    margin-bottom: 5px;
    list-style: none;
    border: 1px dashed #CCC;
}

.panel .dataTables_wrapper {
    padding-top: 10px;
}

.panel .dataTables_wrapper > .row {
    margin: 0;
}

.panel .dataTables_wrapper > .row > .col-sm-12 {
    padding: 0;
}

.st-sort-ascent:before {
    content: '\25B2';
}

.st-sort-descent:before {
    content: '\25BC';
}

.st-selected td {
    background: #f0f9ec !important;
}

.chosen-choices,
.chosen-single,
.bootstrap-tagsinput {
    border-color: #cfdadd !important;
    border-radius: 2px !important;
}

.bootstrap-tagsinput {
    padding: 5px 12px !important;
}

.item {
    position: relative;
}

.item .top {
    position: absolute;
    top: 0;
    left: 0;
}

.item .bottom {
    position: absolute;
    bottom: 0;
    left: 0;
}

.item .center {
    position: absolute;
    top: 50%;
}

.item-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
}

.item-overlay.active,
.item:hover .item-overlay {
    display: block;
}

.form-validation .form-control.ng-dirty.ng-invalid {
    border-color: #f05050;
}

.form-validation .form-control.ng-dirty.ng-valid,
.form-validation .form-control.ng-dirty.ng-valid:focus {
    border-color: #27c24c;
}

.form-validation .i-checks .ng-invalid.ng-dirty + i {
    border-color: #f05050;
}

.ng-animate .bg-auto:before {
    display: none;
}

[ui-view].ng-leave {
    display: none;
}

[ui-view].ng-leave.smooth {
    display: block;
}

.smooth.ng-animate {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fade-in-right-big.ng-enter {
    -webkit-animation: fadeInRightBig 0.5s;
    animation: fadeInRightBig 0.5s;
}

.fade-in-right-big.ng-leave {
    -webkit-animation: fadeOutLeftBig 0.5s;
    animation: fadeOutLeftBig 0.5s;
}

.fade-in-left-big.ng-enter {
    -webkit-animation: fadeInLeftBig 0.5s;
    animation: fadeInLeftBig 0.5s;
}

.fade-in-left-big.ng-leave {
    -webkit-animation: fadeOutRightBig 0.5s;
    animation: fadeOutRightBig 0.5s;
}

.fade-in-up-big.ng-enter {
    -webkit-animation: fadeInUpBig 0.5s;
    animation: fadeInUpBig 0.5s;
}

.fade-in-up-big.ng-leave {
    -webkit-animation: fadeOutUpBig 0.5s;
    animation: fadeOutUpBig 0.5s;
}

.fade-in-down-big.ng-enter {
    -webkit-animation: fadeInDownBig 0.5s;
    animation: fadeInDownBig 0.5s;
}

.fade-in-down-big.ng-leave {
    -webkit-animation: fadeOutDownBig 0.5s;
    animation: fadeOutDownBig 0.5s;
}

.fade-in.ng-enter {
    -webkit-animation: fadeIn 0.5s;
    animation: fadeIn 0.5s;
}

.fade-in.ng-leave {
    -webkit-animation: fadeOut 0.5s;
    animation: fadeOut 0.5s;
}

.fade-in-right.ng-enter {
    -webkit-animation: fadeInRight 0.5s;
    animation: fadeInRight 0.5s;
}

.fade-in-right.ng-leave {
    -webkit-animation: fadeOutLeft 0.5s;
    animation: fadeOutLeft 0.5s;
}

.fade-in-left.ng-enter {
    -webkit-animation: fadeInLeft 0.5s;
    animation: fadeInLeft 0.5s;
}

.fade-in-left.ng-leave {
    -webkit-animation: fadeOutRight 0.5s;
    animation: fadeOutRight 0.5s;
}

.fade-in-up.ng-enter {
    -webkit-animation: fadeInUp 0.5s;
    animation: fadeInUp 0.5s;
}

.fade-in-up.ng-leave {
    -webkit-animation: fadeOutUp 0.5s;
    animation: fadeOutUp 0.5s;
}

.fade-in-down.ng-enter {
    -webkit-animation: fadeInDown 0.5s;
    animation: fadeInDown 0.5s;
}

.fade-in-down.ng-leave {
    -webkit-animation: fadeOutDown 0.5s;
    animation: fadeOutDown 0.5s;
}

.bg-gd {
    background-image: -webkit-linear-gradient(top, rgba(40, 50, 60, 0) 0, rgba(40, 50, 60, 0.075) 100%);
    background-image: -o-linear-gradient(top, rgba(40, 50, 60, 0) 0, rgba(40, 50, 60, 0.075) 100%);
    background-image: linear-gradient(to bottom, rgba(40, 50, 60, 0) 0, rgba(40, 50, 60, 0.075) 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0028323c', endColorstr='#1328323c', GradientType=0);
    filter: none;
}

.bg-gd-dk {
    background-image: -webkit-linear-gradient(top, rgba(40, 50, 60, 0) 10%, rgba(40, 50, 60, 0.5) 100%);
    background-image: -o-linear-gradient(top, rgba(40, 50, 60, 0) 10%, rgba(40, 50, 60, 0.5) 100%);
    background-image: linear-gradient(to bottom, rgba(40, 50, 60, 0) 10%, rgba(40, 50, 60, 0.5) 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0028323c', endColorstr='#8028323c', GradientType=0);
    filter: none;
}

.bg-light.lt,
.bg-light .lt {
    background-color: #f3f5f6;
}

.bg-light.lter,
.bg-light .lter {
    background-color: #f6f8f8;
}

.bg-light.bg,
.bg-light .bg {
    background-color: #edf1f2;
}

.bg-dark {
    color: #a6a8b1;
    background-color: #3a3f51;
}

.bg-dark.lt,
.bg-dark .lt {
    background-color: #474c5e;
}

.bg-dark.lter,
.bg-dark .lter {
    background-color: #54596a;
}

.bg-dark.dk,
.bg-dark .dk {
    background-color: #2e3344;
}

.bg-dark.dker,
.bg-dark .dker {
    background-color: #232735;
}

.bg-dark.bg,
.bg-dark .bg {
    background-color: #3a3f51;
}

.bg-dark a {
    color: #c1c3c9;
}

.bg-dark a:hover {
    color: #ffffff;
}

.bg-dark a.list-group-item:hover,
.bg-dark a.list-group-item:focus {
    background-color: inherit;
}

.bg-dark .nav > li:hover > a,
.bg-dark .nav > li:focus > a,
.bg-dark .nav > li.active > a {
    color: #ffffff;
    background-color: #2e3344;
}

.bg-dark .nav > li > a {
    color: #b4b6bd;
}

.bg-dark .nav > li > a:hover,
.bg-dark .nav > li > a:focus {
    background-color: #32374a;
}

.bg-dark .nav .open > a {
    background-color: #2e3344;
}

.bg-dark .caret {
    border-top-color: #a6a8b1;
    border-bottom-color: #a6a8b1;
}

.bg-dark.navbar .nav > li.active > a {
    color: #ffffff;
    background-color: #2e3344;
}

.bg-dark .open > a,
.bg-dark .open > a:hover,
.bg-dark .open > a:focus {
    color: #ffffff;
}

.bg-dark .text-muted {
    color: #8b8e99 !important;
}

.bg-dark .text-lt {
    color: #eaebed !important;
}

.bg-dark.auto .list-group-item,
.bg-dark .auto .list-group-item {
    background-color: transparent;
    border-color: #2f3342 !important;
}

.bg-dark.auto .list-group-item:hover,
.bg-dark .auto .list-group-item:hover,
.bg-dark.auto .list-group-item:focus,
.bg-dark .auto .list-group-item:focus,
.bg-dark.auto .list-group-item:active,
.bg-dark .auto .list-group-item:active,
.bg-dark.auto .list-group-item.active,
.bg-dark .auto .list-group-item.active {
    background-color: #2e3344 !important;
}

.bg-black {
    color: #7793a7;
    background-color: #1c2b36;
}

.bg-black.lt,
.bg-black .lt {
    background-color: #263845;
}

.bg-black.lter,
.bg-black .lter {
    background-color: #314554;
}

.bg-black.dk,
.bg-black .dk {
    background-color: #131e26;
}

.bg-black.dker,
.bg-black .dker {
    background-color: #0a1015;
}

.bg-black.bg,
.bg-black .bg {
    background-color: #1c2b36;
}

.bg-black a {
    color: #96abbb;
}

.bg-black a:hover {
    color: #ffffff;
}

.bg-black a.list-group-item:hover,
.bg-black a.list-group-item:focus {
    background-color: inherit;
}

.bg-black .nav > li:hover > a,
.bg-black .nav > li:focus > a,
.bg-black .nav > li.active > a {
    color: #ffffff;
    background-color: #131e26;
}

.bg-black .nav > li > a {
    color: #869fb1;
}

.bg-black .nav > li > a:hover,
.bg-black .nav > li > a:focus {
    background-color: #16232d;
}

.bg-black .nav .open > a {
    background-color: #131e26;
}

.bg-black .caret {
    border-top-color: #7793a7;
    border-bottom-color: #7793a7;
}

.bg-black.navbar .nav > li.active > a {
    color: #ffffff;
    background-color: #131e26;
}

.bg-black .open > a,
.bg-black .open > a:hover,
.bg-black .open > a:focus {
    color: #ffffff;
}

.bg-black .text-muted {
    color: #5c798f !important;
}

.bg-black .text-lt {
    color: #c4d0d9 !important;
}

.bg-black.auto .list-group-item,
.bg-black .auto .list-group-item {
    background-color: transparent;
    border-color: #131e25 !important;
}

.bg-black.auto .list-group-item:hover,
.bg-black .auto .list-group-item:hover,
.bg-black.auto .list-group-item:focus,
.bg-black .auto .list-group-item:focus,
.bg-black.auto .list-group-item:active,
.bg-black .auto .list-group-item:active,
.bg-black.auto .list-group-item.active,
.bg-black .auto .list-group-item.active {
    background-color: #131e26 !important;
}

.bg-primary {
    color: #f4f3f9;
    background-color: #7266ba;
}

.bg-primary.lt,
.bg-primary .lt {
    background-color: #847abf;
}

.bg-primary.lter,
.bg-primary .lter {
    background-color: #958dc6;
}

.bg-primary.dk,
.bg-primary .dk {
    background-color: #6051b5;
}

.bg-primary.dker,
.bg-primary .dker {
    background-color: #5244a9;
}

.bg-primary.bg,
.bg-primary .bg {
    background-color: #7266ba;
}

.bg-primary a {
    color: #ffffff;
}

.bg-primary a:hover {
    color: #ffffff;
}

.bg-primary a.list-group-item:hover,
.bg-primary a.list-group-item:focus {
    background-color: inherit;
}

.bg-primary .nav > li:hover > a,
.bg-primary .nav > li:focus > a,
.bg-primary .nav > li.active > a {
    color: #ffffff;
    background-color: #6051b5;
}

.bg-primary .nav > li > a {
    color: #f2f2f2;
}

.bg-primary .nav > li > a:hover,
.bg-primary .nav > li > a:focus {
    background-color: #6658b8;
}

.bg-primary .nav .open > a {
    background-color: #6051b5;
}

.bg-primary .caret {
    border-top-color: #f4f3f9;
    border-bottom-color: #f4f3f9;
}

.bg-primary.navbar .nav > li.active > a {
    color: #ffffff;
    background-color: #6051b5;
}

.bg-primary .open > a,
.bg-primary .open > a:hover,
.bg-primary .open > a:focus {
    color: #ffffff;
}

.bg-primary .text-muted {
    color: #d6d3e6 !important;
}

.bg-primary .text-lt {
    color: #ffffff !important;
}

.bg-primary.auto .list-group-item,
.bg-primary .auto .list-group-item {
    background-color: transparent;
    border-color: #6254b2 !important;
}

.bg-primary.auto .list-group-item:hover,
.bg-primary .auto .list-group-item:hover,
.bg-primary.auto .list-group-item:focus,
.bg-primary .auto .list-group-item:focus,
.bg-primary.auto .list-group-item:active,
.bg-primary .auto .list-group-item:active,
.bg-primary.auto .list-group-item.active,
.bg-primary .auto .list-group-item.active {
    background-color: #6051b5 !important;
}

.bg-success {
    color: #c6efd0;
    background-color: #27c24c;
}

.bg-success.lt,
.bg-success .lt {
    background-color: #31d257;
}

.bg-success.lter,
.bg-success .lter {
    background-color: #48d46a;
}

.bg-success.dk,
.bg-success .dk {
    background-color: #20af42;
}

.bg-success.dker,
.bg-success .dker {
    background-color: #1a9c39;
}

.bg-success.bg,
.bg-success .bg {
    background-color: #27c24c;
}

.bg-success a {
    color: #eefaf1;
}

.bg-success a:hover {
    color: #ffffff;
}

.bg-success a.list-group-item:hover,
.bg-success a.list-group-item:focus {
    background-color: inherit;
}

.bg-success .nav > li:hover > a,
.bg-success .nav > li:focus > a,
.bg-success .nav > li.active > a {
    color: #ffffff;
    background-color: #20af42;
}

.bg-success .nav > li > a {
    color: #daf5e0;
}

.bg-success .nav > li > a:hover,
.bg-success .nav > li > a:focus {
    background-color: #22b846;
}

.bg-success .nav .open > a {
    background-color: #20af42;
}

.bg-success .caret {
    border-top-color: #c6efd0;
    border-bottom-color: #c6efd0;
}

.bg-success.navbar .nav > li.active > a {
    color: #ffffff;
    background-color: #20af42;
}

.bg-success .open > a,
.bg-success .open > a:hover,
.bg-success .open > a:focus {
    color: #ffffff;
}

.bg-success .text-muted {
    color: #9ee4af !important;
}

.bg-success .text-lt {
    color: #ffffff !important;
}

.bg-success.auto .list-group-item,
.bg-success .auto .list-group-item {
    background-color: transparent;
    border-color: #23ad44 !important;
}

.bg-success.auto .list-group-item:hover,
.bg-success .auto .list-group-item:hover,
.bg-success.auto .list-group-item:focus,
.bg-success .auto .list-group-item:focus,
.bg-success.auto .list-group-item:active,
.bg-success .auto .list-group-item:active,
.bg-success.auto .list-group-item.active,
.bg-success .auto .list-group-item.active {
    background-color: #20af42 !important;
}

.bg-info {
    color: #dcf2f8;
    background-color: #23b7e5;
}

.bg-info.lt,
.bg-info .lt {
    background-color: #3dbde5;
}

.bg-info.lter,
.bg-info .lter {
    background-color: #55c3e6;
}

.bg-info.dk,
.bg-info .dk {
    background-color: #16aad8;
}

.bg-info.bg,
.bg-info .bg {
    background-color: #23b7e5;
}

.bg-info a {
    color: #ffffff;
}

.bg-info a:hover {
    color: #ffffff;
}

.bg-info a.list-group-item:hover,
.bg-info a.list-group-item:focus {
    background-color: inherit;
}

.bg-info .nav > li > a {
    color: #f2f2f2;
}

.bg-info .caret {
    border-top-color: #dcf2f8;
    border-bottom-color: #dcf2f8;
}

.bg-info .open > a,
.bg-info .open > a:hover,
.bg-info .open > a:focus {
    color: #ffffff;
}

.bg-info .text-muted {
    color: #b0e1f1 !important;
}

.bg-info .text-lt {
    color: #ffffff !important;
}

.bg-info.auto .list-group-item,
.bg-info .auto .list-group-item {
    background-color: transparent;
    border-color: #19a9d5 !important;
}

.bg-info.auto .list-group-item:hover,
.bg-info .auto .list-group-item:hover,
.bg-info.auto .list-group-item:focus,
.bg-info .auto .list-group-item:focus,
.bg-info.auto .list-group-item:active,
.bg-info .auto .list-group-item:active,
.bg-info.auto .list-group-item.active,
.bg-info .auto .list-group-item.active {
    background-color: #16aad8 !important;
}

.bg-warning {
    color: #fffefa;
    background-color: #fad733;
}

.bg-warning.lt,
.bg-warning .lt {
    background-color: #f8da4e;
}

.bg-warning.lter,
.bg-warning .lter {
    background-color: #f7de69;
}

.bg-warning.dk,
.bg-warning .dk {
    background-color: #fcd417;
}

.bg-warning.dker,
.bg-warning .dker {
    background-color: #face00;
}

.bg-warning.bg,
.bg-warning .bg {
    background-color: #fad733;
}

.bg-warning a {
    color: #ffffff;
}

.bg-warning a:hover {
    color: #ffffff;
}

.bg-warning a.list-group-item:hover,
.bg-warning a.list-group-item:focus {
    background-color: inherit;
}

.bg-warning .nav > li:hover > a,
.bg-warning .nav > li:focus > a,
.bg-warning .nav > li.active > a {
    color: #ffffff;
    background-color: #fcd417;
}

.bg-warning .nav > li > a {
    color: #f2f2f2;
}

.bg-warning .nav > li > a:hover,
.bg-warning .nav > li > a:focus {
    background-color: #fcd621;
}

.bg-warning .nav .open > a {
    background-color: #fcd417;
}

.bg-warning .caret {
    border-top-color: #fffefa;
    border-bottom-color: #fffefa;
}

.bg-warning.navbar .nav > li.active > a {
    color: #ffffff;
    background-color: #fcd417;
}

.bg-warning .open > a,
.bg-warning .open > a:hover,
.bg-warning .open > a:focus {
    color: #ffffff;
}

.bg-warning .text-muted {
    color: #fbf2cb !important;
}

.bg-warning .text-lt {
    color: #ffffff !important;
}

.bg-warning.auto .list-group-item,
.bg-warning .auto .list-group-item {
    background-color: transparent;
    border-color: #f9d21a !important;
}

.bg-warning.auto .list-group-item:hover,
.bg-warning .auto .list-group-item:hover,
.bg-warning.auto .list-group-item:focus,
.bg-warning .auto .list-group-item:focus,
.bg-warning.auto .list-group-item:active,
.bg-warning .auto .list-group-item:active,
.bg-warning.auto .list-group-item.active,
.bg-warning .auto .list-group-item.active {
    background-color: #fcd417 !important;
}

.bg-danger {
    color: #ffffff;
    background-color: #f05050;
}

.bg-danger.lt,
.bg-danger .lt {
    background-color: #f06a6a;
}

.bg-danger.lter,
.bg-danger .lter {
    background-color: #f18282;
}

.bg-danger.dk,
.bg-danger .dk {
    background-color: #f13636;
}

.bg-danger.dker,
.bg-danger .dker {
    background-color: #f21b1b;
}

.bg-danger.bg,
.bg-danger .bg {
    background-color: #f05050;
}

.bg-danger a {
    color: #ffffff;
}

.bg-danger a:hover {
    color: #ffffff;
}

.bg-danger a.list-group-item:hover,
.bg-danger a.list-group-item:focus {
    background-color: inherit;
}

.bg-danger .nav > li:hover > a,
.bg-danger .nav > li:focus > a,
.bg-danger .nav > li.active > a {
    color: #ffffff;
    background-color: #f13636;
}

.bg-danger .nav > li > a {
    color: #f2f2f2;
}

.bg-danger .nav > li > a:hover,
.bg-danger .nav > li > a:focus {
    background-color: #f13f3f;
}

.bg-danger .nav .open > a {
    background-color: #f13636;
}

.bg-danger .caret {
    border-top-color: #ffffff;
    border-bottom-color: #ffffff;
}

.bg-danger.navbar .nav > li.active > a {
    color: #ffffff;
    background-color: #f13636;
}

.bg-danger .open > a,
.bg-danger .open > a:hover,
.bg-danger .open > a:focus {
    color: #ffffff;
}

.bg-danger .text-muted {
    color: #e6e6e6 !important;
}

.bg-danger .text-lt {
    color: #ffffff !important;
}

.bg-danger.auto .list-group-item,
.bg-danger .auto .list-group-item {
    background-color: transparent;
    border-color: #ee3939 !important;
}

.bg-danger.auto .list-group-item:hover,
.bg-danger .auto .list-group-item:hover,
.bg-danger.auto .list-group-item:focus,
.bg-danger .auto .list-group-item:focus,
.bg-danger.auto .list-group-item:active,
.bg-danger .auto .list-group-item:active,
.bg-danger.auto .list-group-item.active,
.bg-danger .auto .list-group-item.active {
    background-color: #f13636 !important;
}

.bg-white {
    color: #58666e;
    background-color: #fff;
}

.bg-white a {
    color: inherit;
}

.bg-white a:hover {
    color: inherit;
}

.bg-white .text-muted {
    color: #98a6ad !important;
}

.bg-white .lt,
.bg-white .lter,
.bg-white .dk,
.bg-white .dker {
    background-color: #fff;
}

.bg-white-only {
    background-color: #fff;
}

.bg-white-opacity {
    background-color: rgba(255, 255, 255, 0.5);
}

.bg-black-opacity {
    background-color: rgba(32, 43, 54, 0.5);
}

a.bg-light:hover {
    color: inherit;
}

a.bg-primary:hover {
    background-color: #6254b2;
}

a.text-primary:hover {
    color: #6254b2;
}

.text-primary {
    color: #7266ba;
}

.text-primary-lt {
    color: #8278c2;
}

.text-primary-lter {
    color: #9289ca;
}

.text-primary-dk {
    color: #6254b2;
}

.text-primary-dker {
    color: #564aa3;
}

a.bg-info:hover {
    background-color: #19a9d5;
}

a.text-info:hover {
    color: #19a9d5;
}

.text-info {
    color: #23b7e5;
}

.text-info-lt {
    color: #3abee8;
}

.text-info-lter {
    color: #51c6ea;
}

.text-info-dk {
    color: #19a9d5;
}

.text-info-dker {
    color: #1797be;
}

a.bg-success:hover {
    background-color: #23ad44;
}

a.text-success:hover {
    color: #23ad44;
}

.text-success {
    color: #27c24c;
}

.text-success-lt {
    color: #2ed556;
}

.text-success-lter {
    color: #43d967;
}

.text-success-dk {
    color: #23ad44;
}

.text-success-dker {
    color: #1e983b;
}

a.bg-warning:hover {
    background-color: #f9d21a;
}

a.text-warning:hover {
    color: #f9d21a;
}

.text-warning {
    color: #fad733;
}

.text-warning-lt {
    color: #fbdc4c;
}

.text-warning-lter {
    color: #fbe165;
}

.text-warning-dk {
    color: #f9d21a;
}

.text-warning-dker {
    color: #f4ca06;
}

a.bg-danger:hover {
    background-color: #ee3939;
}

a.text-danger:hover {
    color: #ee3939;
}

.text-danger {
    color: #f05050;
}

.text-danger-lt {
    color: #f26767;
}

.text-danger-lter {
    color: #f47f7f;
}

.text-danger-dk {
    color: #ee3939;
}

.text-danger-dker {
    color: #ec2121;
}

a.bg-dark:hover {
    background-color: #2f3342;
}

a.text-dark:hover {
    color: #2f3342;
}

.text-dark {
    color: #3a3f51;
}

.text-dark-lt {
    color: #454b60;
}

.text-dark-lter {
    color: #4f566f;
}

.text-dark-dk {
    color: #2f3342;
}

.text-dark-dker {
    color: #252833;
}

a.bg-#000000:hover {
    background-color: #131e25;
}

a.text-#000000:hover {
    color: #131e25;
}

.text-#000000 {
    color: #1c2b36;
}

.text-#000000-lt {
    color: #253847;
}

.text-#000000-lter {
    color: #2d4658;
}

.text-#000000-dk {
    color: #131e25;
}

.text-#000000-dker {
    color: #0b1014;
}

.text-white {
    color: #fff;
}

.text-black {
    color: #000;
}

.text-muted {
    color: #98a6ad;
}

.bg {
    background-color: #f0f3f4;
}

.pos-rlt {
    position: relative;
}

.pos-stc {
    position: static !important;
}

.pos-abt {
    position: absolute;
}

.pos-fix {
    position: fixed;
}

.show {
    visibility: visible;
}

.line {
    width: 100%;
    height: 2px;
    margin: 10px 0;
    overflow: hidden;
    font-size: 0;
}

.line-xs {
    margin: 0;
}

.line-lg {
    margin-top: 15px;
    margin-bottom: 15px;
}

.line-dashed {
    background-color: transparent;
    border-style: dashed !important;
    border-width: 0;
}

.no-line {
    border-width: 0;
}

.no-border,
.no-borders {
    border-color: transparent;
    border-width: 0;
}

.no-radius {
    border-radius: 0;
}

.block {
    display: block;
}

.block.hide {
    display: none;
}

.inline {
    display: inline-block !important;
}

.none {
    display: none;
}

.pull-none {
    float: none;
}

.rounded {
    border-radius: 500px;
}

.clear {
    display: block;
    overflow: hidden;
}

.no-bg {
    color: inherit;
    background-color: transparent;
}

.no-select {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.l-h {
    line-height: 1.42857143;
}

.l-h-0x {
    line-height: 0;
}

.l-h-1x {
    line-height: 1.2;
}

.l-h-2x {
    line-height: 2em;
}

.l-s-1x {
    letter-spacing: 1;
}

.l-s-2x {
    letter-spacing: 2;
}

.l-s-3x {
    letter-spacing: 3;
}

.font-normal {
    font-weight: normal;
}

.font-thin {
    font-weight: 300;
}

.font-bold {
    font-weight: 700;
}

.text-3x {
    font-size: 3em;
}

.text-2x {
    font-size: 2em;
}

.text-lg {
    font-size: 18px;
}

.text-md {
    font-size: 16px;
}

.text-base {
    font-size: 14px;
}

.text-sm {
    font-size: 13px;
}

.text-xs {
    font-size: 12px;
}

.text-xxs {
    text-indent: -9999px;
}

.text-ellipsis {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-u-c {
    text-transform: uppercase;
}

.text-l-t {
    text-decoration: line-through;
}

.text-u-l {
    text-decoration: underline;
}

.text-active,
.active > .text,
.active > .auto .text {
    display: none !important;
}

.active > .text-active,
.active > .auto .text-active {
    display: inline-block !important;
}

.box-shadow {
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(0, 0, 0, 0.05);
}

.box-shadow-lg {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
}

.text-shadow {
    font-size: 170px;
    text-shadow: 0 1px 0 #dee5e7, 0 2px 0 #fcfdfd, 0 5px 10px rgba(0, 0, 0, 0.125), 0 10px 20px rgba(0, 0, 0, 0.2);
}

.no-shadow {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.wrapper-xs {
    padding: 5px;
}

.wrapper-sm {
    padding: 10px;
}

.wrapper {
    padding: 15px;
}

.wrapper-md {
    padding: 20px;
}

.wrapper-lg {
    padding: 10px;
}

.wrapper-xl {
    padding: 50px;
}

.padder-lg {
    padding-right: 30px;
    padding-left: 30px;
}

.padder-md {
    padding-right: 20px;
    padding-left: 20px;
}

.padder {
    padding-right: 15px;
    padding-left: 15px;
}

.padder-v {
    padding-top: 15px;
    padding-bottom: 15px;
}

.no-padder {
    padding: 0 !important;
}

.pull-in {
    margin-right: -15px;
    margin-left: -15px;
}

.pull-out {
    margin: -10px -15px;
}

.b {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.b-a {
    border: 1px solid #dee5e7;
}

.b-t {
    border-top: 1px solid #dee5e7;
}

.b-r {
    border-right: 1px solid #dee5e7;
}

.b-b {
    border-bottom: 1px solid #dee5e7;
}

.b-l {
    border-left: 1px solid #dee5e7;
}

.b-light {
    border-color: #edf1f2;
}

.b-dark {
    border-color: #3a3f51;
}

.b-black {
    border-color: #3a3f51;
}

.b-primary {
    border-color: #7266ba;
}

.b-success {
    border-color: #27c24c;
}

.b-info {
    border-color: #23b7e5;
}

.b-warning {
    border-color: #fad733;
}

.b-danger {
    border-color: #f05050;
}

.b-white {
    border-color: #ffffff;
}

.b-dashed {
    border-style: dashed !important;
}

.b-l-light {
    border-left-color: #edf1f2;
}

.b-l-dark {
    border-left-color: #3a3f51;
}

.b-l-black {
    border-left-color: #3a3f51;
}

.b-l-primary {
    border-left-color: #7266ba;
}

.b-l-success {
    border-left-color: #27c24c;
}

.b-l-info {
    border-left-color: #23b7e5;
}

.b-l-warning {
    border-left-color: #fad733;
}

.b-l-danger {
    border-left-color: #f05050;
}

.b-l-white {
    border-left-color: #ffffff;
}

.b-l-2x {
    border-left-width: 2px;
}

.b-l-3x {
    border-left-width: 3px;
}

.b-l-4x {
    border-left-width: 4px;
}

.b-l-5x {
    border-left-width: 5px;
}

.b-2x {
    border-width: 2px;
}

.b-3x {
    border-width: 3px;
}

.b-4x {
    border-width: 4px;
}

.b-5x {
    border-width: 5px;
}

.r {
    border-radius: 2px 2px 2px 2px;
}

.r-2x {
    border-radius: 4px;
}

.r-3x {
    border-radius: 6px;
}

.r-l {
    border-radius: 2px 0 0 2px;
}

.r-r {
    border-radius: 0 2px 2px 0;
}

.r-t {
    border-radius: 2px 2px 0 0;
}

.r-b {
    border-radius: 0 0 2px 2px;
}

.m-xxs {
    margin: 2px 4px;
}

.m-xs {
    margin: 5px;
}

.m-sm {
    margin: 10px;
}

.m {
    margin: 15px;
}

.m-md {
    margin: 20px;
}

.m-lg {
    margin: 30px;
}

.m-xl {
    margin: 50px;
}

.m-n {
    margin: 0 !important;
}

.m-l-none {
    margin-left: 0 !important;
}

.m-l-xs {
    margin-left: 5px;
}

.m-l-sm {
    margin-left: 10px;
}

.m-l {
    margin-left: 15px;
}

.m-l-md {
    margin-left: 20px;
}

.m-l-lg {
    margin-left: 30px;
}

.m-l-xl {
    margin-left: 40px;
}

.m-l-xxl {
    margin-left: 50px;
}

.m-l-n-xxs {
    margin-left: -1px;
}

.m-l-n-xs {
    margin-left: -5px;
}

.m-l-n-sm {
    margin-left: -10px;
}

.m-l-n {
    margin-left: -15px;
}

.m-l-n-md {
    margin-left: -20px;
}

.m-l-n-lg {
    margin-left: -30px;
}

.m-l-n-xl {
    margin-left: -40px;
}

.m-l-n-xxl {
    margin-left: -50px;
}

.m-t-none {
    margin-top: 0 !important;
}

.m-t-xxs {
    margin-top: 1px;
}

.m-t-xs {
    margin-top: 5px;
}

.m-t-sm {
    margin-top: 10px;
}

.m-t {
    margin-top: 15px;
}

.m-t-md {
    margin-top: 20px;
}

.m-t-lg {
    margin-top: 30px;
}

.m-t-xl {
    margin-top: 40px;
}

.m-t-xxl {
    margin-top: 50px;
}

.m-t-n-xxs {
    margin-top: -1px;
}

.m-t-n-xs {
    margin-top: -5px;
}

.m-t-n-sm {
    margin-top: -10px;
}

.m-t-n {
    margin-top: -15px;
}

.m-t-n-md {
    margin-top: -20px;
}

.m-t-n-lg {
    margin-top: -30px;
}

.m-t-n-xl {
    margin-top: -40px;
}

.m-t-n-xxl {
    margin-top: -50px;
}

.m-r-none {
    margin-right: 0 !important;
}

.m-r-xxs {
    margin-right: 1px;
}

.m-r-xs {
    margin-right: 5px;
}

.m-r-sm {
    margin-right: 10px;
}

.m-r {
    margin-right: 15px;
}

.m-r-md {
    margin-right: 20px;
}

.m-r-lg {
    margin-right: 30px;
}

.m-r-xl {
    margin-right: 40px;
}

.m-r-xxl {
    margin-right: 50px;
}

.m-r-n-xxs {
    margin-right: -1px;
}

.m-r-n-xs {
    margin-right: -5px;
}

.m-r-n-sm {
    margin-right: -10px;
}

.m-r-n {
    margin-right: -15px;
}

.m-r-n-md {
    margin-right: -20px;
}

.m-r-n-lg {
    margin-right: -30px;
}

.m-r-n-xl {
    margin-right: -40px;
}

.m-r-n-xxl {
    margin-right: -50px;
}

.m-b-none {
    margin-bottom: 0 !important;
}

.m-b-xxs {
    margin-bottom: 1px;
}

.m-b-xs {
    margin-bottom: 5px;
}

.m-b-sm {
    margin-bottom: 10px;
}

.m-b {
    margin-bottom: 15px;
}

.m-b-md {
    margin-bottom: 20px;
}

.m-b-lg {
    margin-bottom: 30px;
}

.m-b-xl {
    margin-bottom: 40px;
}

.m-b-xxl {
    margin-bottom: 50px;
}

.m-b-n-xxs {
    margin-bottom: -1px;
}

.m-b-n-xs {
    margin-bottom: -5px;
}

.m-b-n-sm {
    margin-bottom: -10px;
}

.m-b-n {
    margin-bottom: -15px;
}

.m-b-n-md {
    margin-bottom: -20px;
}

.m-b-n-lg {
    margin-bottom: -30px;
}

.m-b-n-xl {
    margin-bottom: -40px;
}

.m-b-n-xxl {
    margin-bottom: -50px;
}

.avatar {
    position: relative;
    display: block;
    white-space: nowrap;
    border-radius: 500px;
}

.avatar img {
    width: 100%;
    border-radius: 500px;
}

.avatar i {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    margin: 2px;
    border-style: solid;
    border-width: 2px;
    border-radius: 100%;
}

.avatar i.right {
    right: 0;
    left: auto;
}

.avatar i.bottom {
    top: auto;
    right: 0;
    bottom: 0;
    left: auto;
}

.avatar i.left {
    top: auto;
    bottom: 0;
}

.avatar i.on {
    background-color: #27c24c;
}

.avatar i.off {
    background-color: #98a6ad;
}

.avatar i.busy {
    background-color: #f05050;
}

.avatar i.away {
    background-color: #fad733;
}

.avatar.thumb-md i {
    width: 12px;
    height: 12px;
    margin: 3px;
}

.avatar.thumb-sm i {
    margin: 1px;
}

.avatar.thumb-xs i {
    margin: 0;
}

.w-1x {
    width: 1em;
}

.w-2x {
    width: 2em;
}

.w-3x {
    width: 3em;
}

.w-xxs {
    width: 60px;
}

.w-xs {
    width: 90px;
}

.w-sm {
    width: 150px;
}

.w {
    width: 200px;
}

.w-md {
    width: 240px;
}

.w-lg {
    /*width: 280px;*/
}

.w-xl {
    width: 320px;
}

.w-xxl {
    width: 360px;
}

.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.h-auto {
    height: auto;
}

.h-full {
    height: 100%;
}

.thumb-xl {
    display: inline-block;
    width: 128px;
}

.thumb-lg {
    display: inline-block;
    width: 96px;
}

.thumb-md {
    display: inline-block;
    width: 64px;
}

.thumb {
    display: inline-block;
    width: 50px;
}

.thumb-sm {
    display: inline-block;
    width: 40px;
}

.thumb-xs {
    display: inline-block;
    width: 34px;
}

.thumb-xxs {
    display: inline-block;
    width: 30px;
}

.thumb-wrapper {
    padding: 2px;
    border: 1px solid #dee5e7;
}

.thumb img,
.thumb-xs img,
.thumb-sm img,
.thumb-md img,
.thumb-lg img,
.thumb-btn img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.img-full {
    width: 100%;
}

.img-full img {
    width: 100%;
}

.scrollable {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.scrollable.hover,
.scrollable.hover > .cell-inner {
    overflow-y: hidden !important;
}

.scrollable.hover:hover,
.scrollable.hover:focus,
.scrollable.hover:active {
    overflow: visible;
    overflow-y: auto;
}

.scrollable.hover:hover > .cell-inner,
.scrollable.hover:focus > .cell-inner,
.scrollable.hover:active > .cell-inner {
    overflow-y: auto !important;
}

.smart .scrollable,
.smart .scrollable > .cell-inner {
    overflow-y: auto !important;
}

.scroll-x,
.scroll-y {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.scroll-y {
    overflow-y: auto;
}

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

.hover-action {
    display: none;
}

.hover-rotate {
    -webkit-transition: all 0.2s ease-in-out 0.1s;
    transition: all 0.2s ease-in-out 0.1s;
}

.hover-anchor:hover > .hover-action,
.hover-anchor:focus > .hover-action,
.hover-anchor:active > .hover-action {
    display: inherit;
}

.hover-anchor:hover > .hover-rotate,
.hover-anchor:focus > .hover-rotate,
.hover-anchor:active > .hover-rotate {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
}

.backdrop.fade {
    opacity: 0;
    filter: alpha(opacity=0);
}

.backdrop.in {
    opacity: 0.8;
    filter: alpha(opacity=80);
}

/*desktop*/

@media screen and (min-width: 992px) {
    .col-lg-2-4 {
        float: left;
        width: 20.000%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hidden-sm.show {
        display: inherit !important;
    }

    .no-m-sm {
        margin: 0 !important;
    }
}

/*phone*/

@media (max-width: 767px) {
    .w-auto-xs {
        width: auto;
    }

    .shift {
        display: none !important;
    }

    .shift.in {
        display: block !important;
    }

    .row-2 [class*="col"] {
        float: left;
        width: 50%;
    }

    .row-2 .col-0 {
        clear: none;
    }

    .row-2 li:nth-child(odd) {
        margin-left: 0;
        clear: left;
    }

    .text-center-xs {
        text-align: center;
    }

    .text-left-xs {
        text-align: left;
    }

    .text-right-xs {
        text-align: right;
    }

    .no-border-xs {
        border-width: 0;
    }

    .pull-none-xs {
        float: none !important;
    }

    .pull-right-xs {
        float: right !important;
    }

    .pull-left-xs {
        float: left !important;
    }

    .dropdown-menu.pull-none-xs {
        left: 0;
    }

    .hidden-xs.show {
        display: inherit !important;
    }

    .wrapper-lg,
    .wrapper-md {
        padding: 15px;
    }

    .padder-lg,
    .padder-md {
        padding-right: 15px;
        padding-left: 15px;
    }

    .no-m-xs {
        margin: 0 !important;
    }
}

.butterbar {
    position: relative;
    height: 3px;
    margin-bottom: -3px;
}

.butterbar .bar {
    position: absolute;
    width: 100%;
    height: 0;
    text-indent: -9999px;
    background-color: #23b7e5;
}

.butterbar .bar:before {
    position: absolute;
    right: 50%;
    left: 50%;
    height: 3px;
    background-color: inherit;
    content: "";
}

.butterbar.active {
    -webkit-animation: changebar 2.25s infinite 0.75s;
    -moz-animation: changebar 2.25s infinite 0.75s;
    animation: changebar 2.25s infinite 0.75s;
}

.butterbar.active .bar {
    -webkit-animation: changebar 2.25s infinite;
    -moz-animation: changebar 2.25s infinite;
    animation: changebar 2.25s infinite;
}

.butterbar.active .bar:before {
    -webkit-animation: movingbar 0.75s infinite;
    -moz-animation: movingbar 0.75s infinite;
    animation: movingbar 0.75s infinite;
}

/* Moving bar */

@-webkit-keyframes movingbar {
    0% {
        right: 50%;
        left: 50%;
    }
    99.9% {
        right: 0;
        left: 0;
    }
    100% {
        right: 50%;
        left: 50%;
    }
}

@-moz-keyframes movingbar {
    0% {
        right: 50%;
        left: 50%;
    }
    99.9% {
        right: 0;
        left: 0;
    }
    100% {
        right: 50%;
        left: 50%;
    }
}

@keyframes movingbar {
    0% {
        right: 50%;
        left: 50%;
    }
    99.9% {
        right: 0;
        left: 0;
    }
    100% {
        right: 50%;
        left: 50%;
    }
}

/* change bar */

@-webkit-keyframes changebar {
    0% {
        background-color: #23b7e5;
    }
    33.3% {
        background-color: #23b7e5;
    }
    33.33% {
        background-color: #fad733;
    }
    66.6% {
        background-color: #fad733;
    }
    66.66% {
        background-color: #7266ba;
    }
    99.9% {
        background-color: #7266ba;
    }
}

@-moz-keyframes changebar {
    0% {
        background-color: #23b7e5;
    }
    33.3% {
        background-color: #23b7e5;
    }
    33.33% {
        background-color: #fad733;
    }
    66.6% {
        background-color: #fad733;
    }
    66.66% {
        background-color: #7266ba;
    }
    99.9% {
        background-color: #7266ba;
    }
}

@keyframes changebar {
    0% {
        background-color: #23b7e5;
    }
    33.3% {
        background-color: #23b7e5;
    }
    33.33% {
        background-color: #fad733;
    }
    66.6% {
        background-color: #fad733;
    }
    66.66% {
        background-color: #7266ba;
    }
    99.9% {
        background-color: #7266ba;
    }
}

.nav > li > a > span {
    font-size: 15px !important;
}

input[type="text"]:disabled {
    background: #ffffff;
}

textarea:disabled {
    background: #ffffff;
}

.filterIconHidden {

    visibility: hidden;
}

.clickedAreaForNavigation {

    font-weight: bold !important;
    color: #ffffff !important;
}

.clickedAreaIconForNavigation {

    color: #ffffff !important;
}

.ui-select-container > div > input {
    width: 100% !important;
}

.note-editor .note-toolbar-wrapper {
    height: 100% !important;
}

.note-editor,
.note-editor .note-editing-area {
    max-width: 100%;
}

.note-editor .note-editing-area .note-editable {
    overflow-x: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.note-editor .note-editing-area .note-editable img,
.note-editor .note-editing-area .note-editable table {
    max-width: 100%;
    height: auto;
}

.note-editor .note-editing-area .note-editable pre {
    white-space: pre-wrap !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}


.mail-html-content {
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.mail-html-content img {
    max-width: 100%;
    height: auto;
}

.mail-html-content table {
    max-width: 100%;
    table-layout: fixed;
    word-break: break-word;
}

.mail-html-content pre {
    white-space: pre-wrap !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.easypie {
    display: inline-block;
    position: relative;
    padding: 0 5px;
}

.easypie span {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    margin-left: -50%;
    height: 30px;
    margin-top: -15px;
    font-size: 20px;
}

.easypie canvas {
    max-width: 100%;
}

.label-inverse, .badge-inverse {
    background-color: #555555;
}

.report-designer-table {
    width: 175px;
    border: 1px solid #cccccc;
    position: absolute;
}

.report-designer-table-header {
    border: 1px solid #cccccc;
    padding: 5px;
}

.report-designer-table-check-column {
    width: 5px;
    border-right: 1px solid #cccccc;
    background-color: #ffffff;
    padding: 0px 10px 0px 5px;
}

.report-designer-table-checkbox {
    height: 20px !important;
    position: relative !important;
    top: -8px;
}

.report-designer-table-description-column {
    background-color: #ffffff;
    padding: 0px 5px;
}

.cr-icon {
    padding-right: 10px;
    font-size: 18px;
}

.cr-width {
    width: 100%;
    text-align: center;
}

.cr-td {
    padding-top: 2px;
    padding-bottom: 2px;
}

.ui-select-match-text {
    display: inline-block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 95% !important;
    white-space: initial;
    height: 20px;
}

.ui-select-placeholder {
    display: inline-block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 95% !important;
}

.grid-select {
    border: 0px !important;
}

.grid-select div span {
    border: 0px !important;
}

.aui-grid-bottom-line {
    border-bottom: 1px solid #d4d2d4
}

.custom-cell-text {
    word-break: break-all;
    overflow-wrap: break-word;
}

.task-kanban-header {
    width: 15%;
    height: 25px;
    text-align: center;
    font-weight: bold;
}

.task-kanban-cell {
    padding: 5px;
    vertical-align: top;
    width: 15%;
}

.task-kanban-card-red {
    height: 108px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
    border-left: 5px solid rgb(234, 41, 41) !important;
}

.task-kanban-card-green {
    height: 108px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
    background-color: #f9f9f9;
    border-left: 5px solid #009900 !important;
}

.task-kanban-card-default {
    height: 108px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
    border-left: 5px solid #2095f3 !important;
}

.task-kanban-title {
    border-top: 1px solid #e2e2dc;
    padding-top: 10px;
    height: 40px;
    overflow: hidden;
}

.task-kanban-content {
    vertical-align: middle;
    height: 70px;
    font-size: 12px;
    padding: 5px;
    overflow: hidden;
    cursor: pointer;
}

.task-kanban-add {
    cursor: pointer;
    float: right;
    font-size: 21px !important;
    margin-top: 7px;
    margin-right: 8px;
}

.task-kanban-deadline {
    float: right;
    font-size: 11px;
    margin-right: 4px;
    top: 3px;
    position: relative;
    color: rgb(234, 41, 41);
    margin-left: 5px;
}

.task-kanban-card-container {
    height: 600px !important;
    overflow-y: auto;
}

.task-kanban-done {
    cursor: pointer;
    float: left;
    font-size: 14px !important;
    margin-left: 8px;
    top: 3px;
    position: relative;
}

.task-kanban-comment {
    float: right;
    font-size: 14px !important;
    margin-right: 5px;
    top: 3px;
    position: relative;
    cursor: pointer;
}

.task-kanban-comment-count {
    float: right;
    font-size: 75% !important;
    top: -1px !important;
    z-index: 99;
    margin-left: -13px !important;
    width: 19px !important;
    cursor: pointer;
}

.task-kanban-card {
    margin: 5px;
    background-color: #fffcfc;
    margin-bottom: 10px;
    border: 1px solid #aaaaaa;
}

.task-kanban-member {

    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: #2095f3;
    cursor: pointer;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.298) 0px 1px 4px -1px;
    border-radius: 25px;
    width: 30px;
    height: 22px;
    float: left;
    margin-left: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #2095f3;
}

.wt-label {
    width: 175px;
    padding: 10px;
    font-weight: bold;
}

.wt-header {
    border-bottom: 1px solid #666666;
    font-weight: bold;
    padding: 30px 5px 5px 10px;
}

.wt-row {
    border-bottom: 1px solid #eeeeee;
}

.form-element-textarea {
    width: 100%;
    height: 130px;
    border: 1px solid #dedede;
    padding: 5px;
}


.wt-task-type {
    padding: 10px 10px 30px 10px;
}

.wt-required {
    color: #ff0000;
    font-weight: bold;
    padding-left: 5px;
}

.highcharts-drilldown-data-label text {
    text-decoration: none !important;
}


.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #EBEBEB;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-root {
    font-size: 1.5rem !important;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td, .highcharts-data-table th, .highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr, .highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}


.removebtn {
    color: black;
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 15px;
    text-align: center;
    border-radius: 50%;
    font-size: 10px;
    cursor: pointer;
    background-color: #FFF;
    z-index: 6;
}

.grid-validate-error {
    border: 2px solid #ff0000 !important;
}

.form-element-textarea-dynamic {
    width: 100%;
    border: 1px solid #dedede;
    padding: 5px;
}

.social-media-header {
    text-align: center;
    font-size: 18px;
    padding: 10px;
    width: 33%;
}

.social-media-keyword {
    border-bottom: 1px solid #999999;
    background-color: #ffffff;
}

.social-media-keyword-label {
    background-color: #aaaaaa;
    margin-right: 5px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 12px;
    border-radius: 0;
}

.social-media-search {
    height: 35px;
    border-bottom: 1px solid #aaaaaa;
    background-color: #ffffff;
    position: relative;
}

.social-media-search-icon {
    float: right;
    position: absolute;
    top: 10px;
    left: 12px;
    z-index: 10;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.34);
}

.social-media-search-textbox {
    border: 0px;
    padding: 5px;
    padding-left: 35px;
    width: 100%;
}

.social-media-content {
    position: relative;
    height: 710px;
    background-color: #ffffff;
    overflow: hidden !important;
}

.social-media-image {
    height: 100px;
    float: left;
    margin-right: 10px;
    cursor: pointer;
    border: 1px solid #cccccc;
    border-radius: 5px;
}

.social-media-hide-button {
    float: right;
    padding: 3px 10px;
    margin-right: 4px;
    margin-top: 4px;
    background-color: #2095f2;
    color: #ffffff;
    cursor: pointer;
}

.grid-stack {
    min-height: 700px;
}

.editable-grid-stack .grid-stack-item-content {
    color: #666666;
    text-align: center;
    font-size: 18px;
    padding-top: 30px;
    border: 1px solid #999999;
    cursor: pointer;
}

.headerFilterPanelTransparent {
    background-color: #FFFFFF;
    padding: 10px;
    padding-left: 1px;
    height: 45px;
}

.filter-panel-transparent {
    background-color: #ffffff;
    padding: 10px;
}

.project-list-filter-table {
    table-layout: fixed;
}

.project-list-filter-table .grid-filter-row > td:first-child {
    width: 20%;
    padding-right: 10px;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.organization-chart-image {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    border: 1px solid #cccccc;
    cursor: pointer;
}

.organization-chart-name {
    font-weight: bold;
    color: #333333;
}

.organization-chart-arrow {
    font-size: 24px;
    padding: 5px;
    cursor: pointer;
}

.organization-chart-label {
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    padding: 5px;
    width: 140px;
    font-weight: bold;
    color: #757575;
}

.organization-chart-top-label {
    font-weight: bold;
    color: #757575;
    width: 140px;
    font-size: 16px;
}

.organization-chart-text {
    padding: 5px;
    border-bottom: 1px solid #cccccc;
}

.organization-chart-top-text {
    font-size: 16px;
}

.organization-chart-duty {
    font-weight: bold;
}

.organization-chart-toolbar {
    height: 25px;
    border-bottom: 1px solid #cccccc;
}

.organization-chart-toolbar-button {
    font-weight: bold;
    cursor: pointer;
    padding: 10px 5px;
}

.organization-chart-course-table-header {
    font-weight: bold;
    border-bottom: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    padding: 5px;
    text-align: center;
}

.organization-chart-course-table-header-right {
    font-weight: bold;
    border-bottom: 1px solid #cccccc;
    padding: 5px;
    text-align: center;
}

.organization-chart-course-table-cell {
    border-bottom: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    padding: 5px;
    text-align: center;
}

.organization-chart-course-table-cell-right {
    border-bottom: 1px solid #cccccc;
    padding: 5px;
    text-align: center;
}

.organization-chart-filter-label {
    width: 150px;
    border-bottom: 1px solid #cccccc;
    padding: 3px;
}

.organization-chart-filter-cell {
    border-bottom: 1px solid #cccccc;
    padding: 3px;
}

.organization-chart-filter-seperator {
    width: 20px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #cccccc;
    padding: 3px;
}

.whatsapp-map-icon {
    font-size: 48px;
    color: #666666;
    cursor: pointer;
    padding: 5px;
}

.history-table-column {
    width: 50%;
    padding: 5px 10px;
}

.history-box {
    width: 100%;
    border: 1px solid;
    position: relative;
}

.history-avatar-container {
    width: 40px;
    padding: 5px;
}

.history-avatar {
    width: 40px;
    border: 1px solid #cccccc;
    border-radius: 20px;
}

.history-title {
    width: 148px;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: bold;
}

.history-icon-container {
    width: 48px;
    text-align: center;
    padding: 5px;
}

.history-icon {
    font-size: 28px;
}

.history-department {
    width: 148px;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: bold;
    color: #999999;
}

.history-task-status-detail {
    height: 31px;
    padding: 5px;
    border-top: 1px solid #cccccc;
    text-align: center;
    color: #444444;
    font-weight: bold;
}

.history-left-arrow {
    position: absolute;
    right: -16px;
    top: 3px;
    font-size: 44px;
}

.history-right-arrow {
    position: absolute;
    left: -16px;
    top: 3px;
    font-size: 44px;
}

.history-date {
    width: 54px;
    height: 54px;
    padding-top: 7px;
    border: 1px solid #cccccc;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    text-align: center;
    position: relative;
    left: -27px;
    margin-top: 5px;
}

.history-1px {
    width: 54px;
    height: 1px;
}

.ui-select-match-item {
    max-width: 600px;
    overflow: hidden;
}

.psc-header {
    font-weight: bold;
    text-align: center;
    font-size: 18px;
    border-left: 1px solid #cccccc;
}

.psc-cell-left {
    font-size: 18px;
    padding: 5px;
}

.psc-cell-center {
    font-size: 18px;
    padding: 5px;
    text-align: center;
    border-left: 1px solid #cccccc;
}

.add-scroll {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 300px;
}

.blockUI {
    z-index: 9999999 !important;
}

.readonly-div {
    width: 100%;
    height: 34px;
    padding: 9px 5px;
    overflow: hidden;
    cursor: default;
}

.readonly-large-div {
    width: 100%;
    min-height: 145px;
    padding: 5px 5px;
    overflow: hidden;
    cursor: default;
}

.lookup-searchicon {
    width: 20px;
    float: right;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.34);
}

.lookup-searchbox {
    border: 1px solid #dddddd;
    padding: 5px;
    padding-left: 33px;
    width: 100%;
}

.lookup-table-container {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
}

.lookup-table {
    width: 100%;
}

.lookup-table-header {
    border: 1px solid #dddddd;
    font-weight: bold;
    background-color: #eeeeee;
    padding: 2px 5px;
}

.lookup-table-cell {
    border: 1px solid #dddddd;
    padding: 2px 5px;
    cursor: pointer;
}

.lookup-footer {
    border: 1px solid #dddddd;
    padding: 5px;
    cursor: pointer;
    color: #ff6666;
    font-weight: bold;
}

.lookup-table-row:hover {
    background-color: #eeeeee;
}

.lookup-table-selected-row {
    background-color: #cccccc !important;
}

.lookbox-container {
    position: relative;
}

.lookbox-container-error {
    position: relative;
    border: 1px solid #ff0000;
}

.lookbox {
    width: 100%;
    height: 34px;
    padding: 7px 5px;
    overflow: hidden;
}

.multi-lookbox {
    width: 100%;
    height: 60px;
    padding: 7px 5px;
    overflow: hidden;
}

.lookbox-clear {
    position: absolute;
    right: 10px;
    top: 11px;
    font-size: 14px;
    cursor: pointer;
}

.lookbox-popup {
    position: absolute;
    top: 34px;
    left: 0px;
    width: 100%;
    max-height: 333px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    z-index: 9999;
    padding-right: 1px;
}

.help-desk-wizard-step-table {
    width: 870px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.help-desk-wizard-step {
    border: 1px solid #cccccc;
    text-align: center;
    font-weight: bold;
    padding: 5px;
    cursor: pointer;
    width: 250px;
}

.help-desk-wizard-step-seperator {
    width: 60px;
    text-align: center;
}

.help-desk-wizard-table-label-cell {
    width: 145px;
    height: 40px;
    border-bottom: 1px solid #dddddd;
    vertical-align: middle;;
}

.help-desk-wizard-table-cell {
    border-bottom: 1px solid #dddddd;
}

.help-desk-wizard-button-container {
    padding-top: 40px;
    padding-bottom: 35px;
}

.help-desk-wizard-back-button {
    background-color: #f0f3f4;
    color: #000000 !important;
    width: 100px;
    margin-right: 10px;
    float: left;
}

.help-desk-wizard-next-button {
    width: 100px;
    float: right;
}

.lookbox-item {
    min-width: 100px;
    position: relative;
    float: left;
    margin-right: 5px;
    border: 1px solid #dddddd;
    padding: 0px 2px;
    cursor: default;
}

.lookbox:focus {
    -webkit-box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.4);
}

.multi-lookbox:focus {
    -webkit-box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.4);
}

.multilookbox-clear {
    padding: 3px;
    padding-left: 10px;
    cursor: pointer;
}

.survey-required {
    color: #ff0000;
    font-weight: bold;
    padding-right: 5px;
}

.help-desk-location-map {
    height: 428px;
    border: 1px solid #dddddd;
    margin-left: 0px;
    margin-top: 0px;
}

.help-desk-location-map-placeholder {
    margin-left: 0px;
    margin-top: 0px;
    height: 428px;
    border: 1px solid #dddddd;
    text-align: center;
    padding-top: 200px;
    color: #666666;
    cursor: pointer;
}

a.middle:hover {
    text-decoration: underline;
}

.form-label-min-image {
    width: 145px;
    height: 1px;
}

.show-tool-tip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    width: 300px;
    white-space: normal;
    z-index: 999;
    text-align: center;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3);
}

.dictate-active {
    background-color: #007bff !important;
    color: white !important;
}


.help-task-show-tool-tip {
    position: absolute;
    bottom: 100%;
    left: -10%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    width: 300px;
    white-space: normal;
    z-index: 999;
    text-align: center;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3);
}


.form-label-with-min-image {
    color: #333333;
    margin-top: 0px;
    margin-bottom: 0px;
    position: relative;
    top: -7px;
}

.file-storage-button-icon {
    padding: 10px;
    font-size: 18px;
}

.file-storage-button-arrow {
    padding: 10px;
    font-size: 18px;
}

.file-storage-left-side-button {
    float: left;
    margin-right: 10px;
    cursor: pointer;
    font-size: 16px;
}

.file-storage-right-side-button {
    float: right;
    margin-left: 10px;
    cursor: pointer;
    font-size: 16px;
}

.file-storage-path-indicator {
    float: left;
    font-size: 20px;
    font-weight: bold;
    padding: 15px 0px 0px 15px;
    cursor: pointer;
}

.file-storage-path-separator {
    float: left;
    font-size: 20px;
    font-weight: bold;
    padding: 15px 0px 0px 15px;
}

/* Dosya Yöneticisi: doğrudan izni olmayan, yalnız alt klasöre ulaşım için gösterilen üst klasör */
.file-storage-ancestor-only {
    opacity: 0.55;
}

.file-storage-file-icon {
    float: left;
    width: 96px;
    margin: 10px 28px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.file-storage-file-icon-checkbox {
    position: absolute;
    top: 0px;
    right: -10px;
}

.file-storage-file-icon-checkbox > input[type="checkbox"] {
    display: none;
}

.file-storage-file-icon-checkbox > input[type="checkbox"] + *::before {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    width: 25px;
    height: 25px;
    border: 0px;
}

.file-storage-file-icon:hover > .file-storage-file-icon-checkbox > input[type="checkbox"] + *::before {
    border: 1px solid #cccccc !important;
}

.file-storage-file-icon-checkbox > input[type="checkbox"]:checked + *::before {
    content: "✓";
    color: white;
    text-align: center;
    background: #aaaaaa;
    border-color: #cccccc;
}

.file-storage-file-icon-checkbox > input[type="checkbox"]:checked + * {
    color: #aaaaaa;
}

.file-storage-file-icon-image {
    width: 96px;
    height: 96px;
    margin: 10px 10px 5px 10px;
}

.file-storage-file-icon-text {
    font-size: 14px;
    height: 60px;
    display: inline-block;
    width: 125px;
    overflow-wrap: break-word;
    overflow: hidden;
}

.file-storage-file-list {
    cursor: pointer;
}

.file-storage-file-list-checkbox {
    position: absolute;
    top: 12px;
    right: 0px;
}

.file-storage-file-list-checkbox > input[type="checkbox"] {
    display: none;
}

.file-storage-file-list-checkbox > input[type="checkbox"] + *::before {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    width: 20px;
    height: 20px;
    border: 0px;
}

.file-storage-file-list:hover .file-storage-file-list-checkbox > input[type="checkbox"] + *::before {
    border: 1px solid #cccccc !important;
}

.file-storage-file-list-checkbox input[type="checkbox"]:checked + *::before {
    content: "✓";
    color: white;
    text-align: center;
    background: #aaaaaa;
    border-color: #cccccc;
}

.file-storage-file-list-checkbox input[type="checkbox"]:checked + * {
    color: #aaaaaa;
}

.file-storage-file-list-image {
    width: 25px;
    height: 25px;
    margin: 10px 10px 5px 10px;
}

.file-storage-file-list-text {
    font-size: 14px;
    display: inline-block;
}

.file-storage-file-icon-search-result {
    height: 190px;
    overflow: hidden;
}

.file-storage-file-icon-search-result .file-storage-file-icon-text {
    height: auto;
    max-height: 60px;
}

.file-storage-file-icon-location {
    display: inline-block;
    width: 125px;
    font-size: 11px;
    color: #999999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.file-storage-file-icon-location:hover {
    color: #666666;
    text-decoration: underline;
}

.file-storage-file-list-location {
    display: inline-block;
    font-size: 11px;
    color: #999999;
    margin-left: 45px;
    margin-bottom: 5px;
    cursor: pointer;
}

.file-storage-file-list-location:hover {
    color: #666666;
    text-decoration: underline;
}

#fileStorageContainer {
    height: 690px;
    position: relative;
    overflow: hidden;
}

.file-storage-menu-button {
    text-align: left;
    width: 100%;
    font-size: 18px;
    height: 40px;
    padding: 5px;
    cursor: pointer;
}

#fileStorageUploadMenu {
    width: 165px;
    position: absolute;
    top: 39px;
    left: -3px;
    z-index: 9999;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

#fileStorageViewMenu {
    width: 165px;
    position: absolute;
    top: 39px;
    left: -6px;
    z-index: 9999;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

#fileStorageSortByMenu {
    width: 190px;
    position: absolute;
    top: 39px;
    left: -5px;
    z-index: 9999;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

#fileStorageSearchMenu {
    width: 450px;
    position: absolute;
    top: 39px;
    left: -281px;
    z-index: 9999;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.file-storage-search {
    width: 410px;
    margin: 6px;
    border: 1px solid #ccc;
    padding: 5px;
}

.file-storage-photo-left-button-contaier {
    width: 350px;
    text-align: right;
}

.file-storage-photo-right-button-contaier {
    width: 350px;
    text-align: left;
}

.file-storage-photo-left-button {
    font-size: 84px;
    color: #666666;
    padding: 10px;
    cursor: pointer;
}

.file-storage-photo-right-button {
    font-size: 84px;
    color: #666666;
    padding: 10px;
    cursor: pointer;
}

.file-storage-photo-image {
    height: 400px;
    border: 1px solid #cccccc;
    cursor: pointer;
}

.file-storage-photo-image-text {
    height: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.file-storage-photo-list-container {
    height: 180px;
    border-top: 1px solid #cccccc;
}

.file-storage-group-header {
    font-size: 20px;
    font-weight: bold;
    padding: 15px 0px 0px 15px;
    width: 100%;
    clear: left;
    margin-top: 10px;
}

.fc-more-popover {
    max-height: 500px;
    min-width: 300px;
    overflow-x: hidden;
}

.popover {
    max-width: 600px;
}

.fc-view {
    z-index: unset !important;
}

.survey-wizard-step-table {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.survey-wizard-step {
    border: 1px solid #cccccc;
    text-align: center;
    font-weight: bold;
    padding: 5px;
    width: 200px;
}

.survey-wizard-step-seperator {
    width: 60px;
    text-align: center;
}

.survey-wizard-step-seperator-icon {
    padding-left: 25px;
    padding-right: 25px;
}

.survey-wizard-table-label-cell {
    width: 145px;
    height: 40px;
    border-bottom: 1px solid #dddddd;
    vertical-align: middle;;
}

.survey-wizard-table-cell {
    border-bottom: 1px solid #dddddd;
}

.survey-wizard-button-container {
    padding-top: 40px;
    padding-bottom: 35px;
}

.survey-wizard-button {
    width: 100px;
    float: right;
}

.survey-question {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #222222;
}

.survey-question-help {
    font-size: 15px;
    font-style: italic;
    margin-bottom: 10px;
    color: #222222;
    padding-left: 15px;
}

.survey-option-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.survey-option-rb {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    cursor: pointer;
}

.survey-option-text {

    color: #111111;
    font-size: 16px;
    margin-left: 8px;
    line-height: 1.3;
    cursor: pointer;
}

.survey-matrix-header-left-text {
    font-size: 17px;
    color: #111111;
    float: left;
}

.survey-matrix-header-right-text {
    font-size: 17px;
    color: #111111;
    float: right;
}

.survey-matrix-header1 {
    border-top: 1px solid #dddddd;
}

.survey-matrix-header2 {
    text-align: center;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    background-color: #f2f2f2;
}

.survey-matrix-header2-text {
    font-size: 17px;
    font-weight: bold;
    margin-left: 5px;
    color: #111111;
    cursor: pointer;
}

.survey-matrix-cell {
    text-align: center;
    padding: 5px;
    padding-left: 10px;
    padding-bottom: 0px;
}

.survey-option-dd {
    font-size: 17px;
    color: #111111;
    padding: 5px;
}

.survey-textbox {
    width: 100%;
    padding: 5px;
}

.survey-textarea {
    width: 100%;
    height: 80px;
    padding: 5px;
}

.survey-multi-textbox {
    width: 100%;
    margin-bottom: 10px;
    padding: 5px;
}

.survey-datepicker {
    border: 1px solid #999999;
}

.survey-location-select {
    border: 1px solid #999999;
    margin-bottom: 10px;
}

.flatpickr-mobile {
    width: 100% !important;
}

#fileStorageContainerZoom {
    width: auto;
    height: auto;
    overflow: hidden;
}

#fileStorageSlideZoom {
    width: 100%;
    height: 100%;
    transition: transform .3s;
}

.agent-avatar {
    width: 40px;
    height: 40px;
    border: 1px solid #cacaca;
    border-radius: 20px;
}

.full-width-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0px;
}

.full-fill-table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    border-spacing: 0px;
}

.pbx-panel {
    background-color: #dddddd;
    padding: 10px;
    width: 290px;
    overflow: hidden;
}

.pbx-panel-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0px;
}

.pbx-panel-screen-container {
    padding: 5px;
}

.pbx-panel-screen {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0px;
    height: 231px;
    border: 1px solid #cccccc;
}

.pbx-panel-screen-item-container {
    padding: 5px;
    width: 42px;
    text-align: center;
}

.pbx-panel-screen-status-icon {
    width: 32px;
    height: 32px;
}

.pbx-panel-screen-speaker-icon {
    width: 32px;
    height: 32px;
}

.pbx-panel-screen-microphone-icon {
    width: 32px;
    height: 32px;
}

.pbx-panel-line-icon {
    width: 28px;
    height: 28px;
    padding: 5px;
}

.pbx-panel-screen-extension-number {
    width: 95px;
    font-family: monospace;
    font-size: 18px;
    color: #3b420f;
    cursor: default;
}

.pbx-panel-screen-remaining-break-time {
    font-family: monospace;
    font-size: 18px;
    color: #3b420f;
    cursor: default;
}

.pbx-panel-screen-operation-duration {
    text-align: center;
    font-family: monospace;
    font-size: 36px;
    color: #3b420f;
    height: 45px;
    cursor: default;
}

.pbx-panel-screen-queue-name {
    text-align: center;
    font-family: monospace;
    font-size: 20px;
    color: #3b420f;
    height: 45px;
    width: 255px;
    cursor: default;
    padding: 12px 5px;
}

.pbx-panel-screen-operation-info {
    text-align: center;
    font-family: monospace;
    font-size: 22px;
    color: #3b420f;
    cursor: default;
}

/* Duruma göre ek bilgilendirme satırı (ör. OtoArama kampanya adı). Durum alanının
   İÇİNDE, küçük ve soluk — panel yüksekliğini değiştirmez (sabit td'ye sığar). */
.pbx-panel-screen-extra-info {
    text-align: center;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 12px;
    line-height: 15px;
    color: #7a8047;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 8px;
    cursor: default;
}

.pbx-panel-screen-phone-number-container {
    position: relative;
}

.pbx-panel-screen-phone-number {
    background-color: transparent;
    color: #3b420f;
    width: 100%;
    border: 0px;
    padding: 10px;
    font-family: monospace;
    font-size: 20px;
    text-align: center;
    height: 45px;
}

.pbx-panel-screen-phone-number-clear {
    position: absolute;
    right: 10px;
    top: 9px;
    font-size: 26px;
    color: #dddddd;
    cursor: pointer;
}

.pbx-panel-button-container {
    padding: 5px;
}

.pbx-panel-medium-button {
    width: 80px;
    height: 60px;
    cursor: pointer;
}

.pbx-panel-medium-button-passive {
    width: 80px;
    height: 60px;
    cursor: default;
}

.pbx-panel-large-button {
    width: 80px;
    height: 80px;
    cursor: pointer;
}

.pbx-panel-large-button-passive {
    width: 80px;
    height: 80px;
    cursor: default;
}

.pbx-panel-large-half-button {
    width: 80px;
    height: 37px;
    cursor: pointer;
}

.pbx-panel-large-half-button-passive {
    width: 80px;
    height: 37px;
    cursor: default;
}

.pbx-panel-small-button {
    width: 80px;
    height: 40px;
    cursor: pointer;
}

.pbx-panel-sign-in-button-container {
    text-align: center;
    padding-top: 300px;
    background-image: url("../images/pbx/background.png");
    margin: -10px;
    height: 755px;
}

.pbx-panel-sign-in-button {
    width: 200px;
    border: 0px;
    cursor: pointer;
}

.pbx-panel-cancel-break-request-button {
    border: 1px solid #cccccc;
    font-size: 18px;
    padding: 10px 30px;
    color: #FFFFFF;
}

.pbx-panel-cancel-break-request-text {
    text-align: center;
    padding-bottom: 20px;
    font-size: 18px;
}

.highcharts-figure,
.highcharts-data-table table {
    min-width: 310px;
    max-width: 1000px;
    margin: 1em auto;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

.highcharts-pie-series .highcharts-point {
    stroke: #ede;
    stroke-width: 2px;
}

.highcharts-pie-series .highcharts-data-label-connector {
    stroke: silver;
    stroke-dasharray: 2, 2;
    stroke-width: 2px;
}

.dashboards-table {
    border-collapse: collapse;
    font-size: 0.9em;
    font-family: sans-serif;
}

.dashboards-table thead tr {
    background-color: #F6F8F8FF;
    text-align: left;
}

.dashboards-table th,
.dashboards-table td {
    padding: 12px 15px;
}

.dashboards-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.dashboards-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.dashboards-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.dashboards-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}


#button-bar {
    min-width: 310px;
    max-width: 800px;
    margin: 0 auto;
}

.subtitle {
    display: flex;
    flex-direction: row;
}

.subtitle:before, .subtitle:after {
    content: "";
    flex: 1 1;
    border-bottom: 1px solid;
    margin: auto;
}

.subtitle:before {
    margin-right: 10px
}

.subtitle:after {
    margin-left: 10px
}

.hashtag {
    font-weight: bold;
    color: blue;
}

.mention {
    font-weight: bold;
    color: slateblue;
}

.url {
    font-weight: bold;
    color: lightskyblue;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 2;
}

.message.hider .content {
    display: none;
}

.message .fa-arrow-right {
    display: none;
}

.message.hider .fa-arrow-right {
    display: block;
}

.message.hider .fa-arrow-left {
    display: none;
}

.active-call-chart-label {
    font-size: 16px;
    font-weight: bold;
    color: #757575;
}

.active-call-chart-value {
    font-size: 34px;
    margin-top: 5px;
}

.centercard {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
}

.cardagent {
    width: 100%;
    height: 60px;
    background-color: #fff;
    background: linear-gradient(#ffffff, #ffffff);
    box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    margin: 1px;
}


.cardagent .additional {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(#ffffff, #ffffff);
    transition: width 0.4s;
    overflow: hidden;
    z-index: 2;
}

.cardagent:hover .additional {
    width: 100%;
    border-radius: 0 5px 5px 0;
}

.cardagent .additional .user-card {
    width: 60px;
    height: 60px;
    position: relative;
    float: left;
}

.cardagent .additional .user-card::after {
    content: "";
    display: block;
    position: absolute;
    top: 10%;
    right: -2px;
    height: 80%;
    border-left: 2px solid rgba(0, 0, 0, 0.025);
}

.cardagent .additional .user-card .level,
.cardagent .additional .user-card .points {
    top: 15%;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.75em;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.15);
    padding: 0.125rem 0.75rem;
    border-radius: 100px;
    white-space: nowrap;
}

.cardagent .additional .user-card .points {
    top: 85%;
}

.cardagent .additional .user-card svg {
    top: 50%;
}

.cardagent .additional .more-info {
    width: 100%;
    height: 100%;

}

.cardagent .additional .more-info h1 {
    color: #fff;
}

.cardagent.green .additional .more-info h1 {
    color: #224C36;
}

.cardagent .additional .coords {
    margin: 0 1rem;
    color: #fff;
    font-size: 1rem;
}

.cardagent.green .additional .coords {
    color: #325C46;
}

.cardagent .additional .coords span + span {
    float: right;
}

.cardagent .additional .stats {
    font-size: 2rem;
    display: flex;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    top: auto;
    color: #fff;
}

.cardagent.green .additional .stats {
    color: #325C46;
}

.cardagent .additional .stats > div {
    flex: 1;
    text-align: center;
}

.cardagent .additional .stats i {
    display: block;
}

.cardagent .additional .stats div.title {
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.cardagent .additional .stats div.value {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5rem;
}

.cardagent .additional .stats div.value.infinity {
    font-size: 2.5rem;
}

.cardagent .general {
    width: 100%;
    height: 60px;
    margin-left: 35px;
    position: relative;
    top: 0;
    right: 0;
    z-index: 1;
    box-sizing: border-box;
    padding: 1rem;
    padding-top: 0;
}

.cardagent .general .more {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.9em;
}

#extensionNumberStatusTable {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    border: 1px solid #cccccc;
}

.extensionNumberStatusTableStatusColumn {
    width: 20px;
}

.extensionNumberStatusTableNameColumn {
    width: 9%;
    border-right: 1px solid #cccccc;
}

.extensionNumberStatusTableStatusColumnBox {
    width: 14px;
    height: 14px;
    border: 1px solid #cccccc;
    margin-left: 3px;
    margin-right: 3px;
}

.quality-survey-question {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0px 10px;
    color: #222222;
}

.quality-survey-note-label {

    font-size: 18px;
    margin: 20px 0px 0px;
    color: #222222;
}

.quality-survey-note {
    width: 100%;
    height: 150px;
}

.bootstrap-select > button {
    padding-left: 5px !important;
}

.external-channel-dashboard-back {
    vertical-align: top;
}

.external-channel-dashboard {
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px;
    height: 772px;
    overflow-y: auto;
    position: relative;
}

.social-card {
    margin: 0px 0px 20px 0px;
}

.social-card-down {
    font-weight: bold;
    font-size: 15px;
    text-align: center;
}

.social-card-downtext {
    padding-top: 10px;
}

.social-card-downtext-left {
    border-right: 1px solid #000;
    padding-top: 10px;
}

.social-card-count {
    position: static;
    font-size: 30px;
    text-align: center;
    cursor: pointer;
}

.social-card-title {
    height: 52px;
}

.social-graph-wrapper {
    text-align: center;
    padding: 23px 0;
    font-size: 22px;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.social-graph-wrapper .s-icon {
    font-size: 3.1875rem;
    position: relative;
    top: 0.625rem;
    padding: 0 10px;
}

.social-graph-wrapper.widget-all {
    background-color: #9a9a9a;
}

.social-graph-wrapper.widget-whatsapp {
    background-color: #4bb950;
}

.social-graph-wrapper.widget-googleplus {
    background-color: #db4439;
}

.social-graph-wrapper.widget-twitter {
    background-color: #1da1f2;
}

.social-graph-wrapper.widget-twitter-dm {
    background-color: #1da1f2;
}

.social-graph-wrapper.widget-instagram {
    background-color: #ad7cc9;
}

.social-graph-wrapper.widget-sikayetvar {
    background-color: #ad7cc9;
}


.social-graph-wrapper.widget-instagram-dm {
    background-color: #ad7cc9;
}

.social-graph-wrapper.widget-facebook {
    background-color: #3b5998;
}

.social-graph-wrapper.widget-messenger {
    background-color: #3b5998;
}


.scorecard-tab-button {
    width: 175px;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    border-right: 1px solid #999999;
}

.alertForAnnouncement {
    background-color: #cc0000 !important;
}

.messageForAnnouncement {
    border-radius: 2px;
    display: block;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    vertical-align: middle;
    color: white;
    margin-left: 200px;
}

.alert-close {
    color: #fff6bc;
    cursor: pointer;
    width: 100px;
    position: absolute;
    top: 0px;
    right: 25px;
}

.announcement-message {
    margin-right: 140px;
    position: relative;
}

.dashboard-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 60px;

}

.external-channels-topic-box {
    position: relative;
    margin: 6px 6px;
    border-radius: 10px;
    border: 1px solid #dce2ea;
    border-left: 3px solid #c8d0db;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow 0.15s, border-color 0.15s;
}

/* Listedeki son kartın alt margini, kart ile alttaki sayfalama barı (pager) arasında
   ince bir boşluk bırakıyordu; son kartta bu margin kaldırılır. */
.external-channels-topic-box:last-child {
    margin-bottom: 0;
}

.ec-card-lock-strip {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 16px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6a817;
    border-radius: 6px 0 0 6px;
    box-shadow: -1px 0 3px rgba(0,0,0,0.15);
    z-index: 3;
}

.ec-card-lock-strip i {
    color: #fff;
    font-size: 11px;
}

.ec-card-locked .ec-card-body {
    padding-right: 14px;
}

.external-channels-topic-box:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.13);
    border-color: #b8c5d4;
}

.ec-card-inner {
    border-left: 3px solid transparent;
    overflow: hidden;
    border-radius: 9px;
}

.ec-card-aphia-finished {
    border: 3px solid #c0392b !important;
    border-left-width: 5px !important;
    animation: aphia-pulse 1.2s ease-in-out infinite;
}

.ec-card-blocked {
    opacity: 0.5;
    filter: grayscale(60%);
}

.css-row-unblocked {
    opacity: 0.55;
}

.external-channels-message-toolbar-actions-cell {
    text-align: right;
    white-space: nowrap;
    padding-right: 6px;
    vertical-align: middle;
}

.ec-action-bar {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ec-action-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 13px;
    border-radius: 8px;
    cursor: pointer;
    color: #58666e;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ec-action-btn i {
    font-size: 16px;
}

.ec-action-label {
    line-height: 1;
}

.ec-action-btn:hover {
    background: #eef2f7;
    color: #2b7de9;
}

.ec-action-btn-active {
    color: #f1c40f;
}

.ec-action-btn-active:hover {
    background: #fdf6e3;
    color: #f1c40f;
}

.ec-action-btn-danger {
    color: #c0392b;
}

.ec-action-btn-danger:hover {
    background: #fbe9e7;
    color: #c0392b;
}

.ec-action-btn-static {
    cursor: default;
}

.ec-action-btn-static:hover {
    background: transparent;
    color: #c0392b;
}

.ec-action-btn-note-active {
    background: #eef2f7;
    color: #2b7de9;
}

/* ── Chat header sade aksiyon ikonları + ⋯ menüsü ───────────────── */
.ec-hdr-bar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ec-hdr-bar .external-channels-message-toolbar-status-container {
    width: auto;
    height: auto;
    padding: 0;
    margin-right: 4px;
    position: relative;
}

.ec-hdr-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    cursor: pointer;
    color: #475467;
    font-size: 22px;
    background: #f2f4f7;
    border: 1px solid #e4e7ec;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ec-hdr-btn:hover {
    background: #e6eefb;
    border-color: #cddffb;
    color: #2b7de9;
}

.ec-hdr-btn-note-on {
    background: #fff4e5;
    border-color: #f6d9a8;
    color: #e6a817;
}

.ec-hdr-btn-note-on:hover {
    background: #ffe9c8;
    border-color: #f0c783;
    color: #e6a817;
}

.ec-hdr-btn-note-read {
    background: #eef2f6;
    border-color: #d7dee6;
    color: #7c8a99;
}

.ec-hdr-btn-note-read:hover {
    background: #e3e9ef;
    border-color: #c7d0da;
    color: #63717f;
}

.ec-hdr-btn-active {
    background: #e6eefb;
    border-color: #cddffb;
    color: #2b7de9;
}

.ec-hdr-btn-fav {
    color: #e6a817;
}

.ec-hdr-btn-fav:hover {
    background: #fdf6e3;
    border-color: #f5e4b0;
    color: #e6a817;
}

.ec-hdr-btn-fav-on {
    background: #fdf6e3;
    border-color: #f5e4b0;
    color: #f1c40f;
}

.ec-hdr-btn-danger {
    color: #c0392b;
    background: #fbe9e7;
    border-color: #f3c9c3;
}

.ec-hdr-btn-danger:hover {
    background: #f8ddd9;
    border-color: #eeb6ad;
    color: #c0392b;
}

.ec-hdr-btn-static {
    cursor: default;
}

.ec-hdr-btn-static:hover {
    background: #fbe9e7;
    border-color: #f3c9c3;
    color: #c0392b;
}

.ec-hdr-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    font-weight: 700;
}

.ec-hdr-badge-pulse {
    animation: ecNotePulse 1.8s infinite;
}

.ec-more-menu {
    min-width: 224px;
    padding: 6px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(16, 24, 40, 0.12);
}

.ec-more-menu > li > a.ec-more-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    font-size: 13px;
    color: #344054;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.ec-more-menu > li > a.ec-more-item i {
    width: 18px;
    font-size: 15px;
    color: #667085;
    text-align: center;
}

.ec-more-menu > li > a.ec-more-item:hover {
    background: #f2f4f7;
    color: #344054;
}

.ec-more-menu > li > a.ec-more-item-danger,
.ec-more-menu > li > a.ec-more-item-danger i {
    color: #c0392b;
}

.ec-more-menu > li > a.ec-more-item-danger:hover {
    background: #fbe9e7;
    color: #c0392b;
}

.ec-more-menu > li > a.ec-more-item-static {
    cursor: default;
}

.ec-more-menu > li > a.ec-more-item-static:hover {
    background: transparent;
}

.ec-more-divider {
    height: 1px;
    margin: 5px 8px;
    background: #eaecf0;
}

.external-channels-message-toolbar-resolve-container {
    width: 1px;
    white-space: nowrap;
    text-align: right;
    padding-right: 5px;
    vertical-align: middle;
}

.ec-resolve-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 18px;
    border: none;
    border-radius: 8px;
    background: #2b7de9;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.ec-resolve-btn:hover {
    background: #1f6fd4;
}

.ec-channel-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    vertical-align: middle;
}

.ec-channel-badge-whatsapp {
    background: #e7f7ee;
    color: #25a35a;
}

.ec-copy-link {
    margin-left: 8px;
    color: #2b7de9;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.ec-copy-link:hover {
    text-decoration: underline;
}

.ec-action-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    border-radius: 9px;
    color: #ffffff;
    font-size: 11px;
    line-height: 17px;
    text-align: center;
    font-weight: 700;
}

@keyframes aphia-pulse {
    0%,100% { box-shadow: 0 0 0 0px rgba(192,57,43,0),   0 2px 5px rgba(0,0,0,0.08); }
    50%      { box-shadow: 0 0 0 7px rgba(192,57,43,0.5), 0 0 20px rgba(192,57,43,0.3); }
}


/* ── Yeni kart flex layout ── */
.ec-card-flex {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    width: 100%;
    box-sizing: border-box;
}

.ec-card-avatar {
    position: relative;
    flex-shrink: 0;
}

.ec-card-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #c8d0d8;
}

.ec-card-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    user-select: none;
}

.ec-card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
}

.ec-card-unread {
    position: absolute;
    top: -3px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    background: #e53935;
    border: 2px solid #fff;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    z-index: 1;
}

.ec-card-platform {
    position: absolute;
    bottom: -2px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-card-platform img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.ec-card-agent-avatar {
    position: absolute;
    bottom: -2px;
    left: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    user-select: none;
    z-index: 1;
}

.ec-card-body {
    flex: 1 1 0;
    width: 0;
    overflow: hidden;
}

.ec-card-r1 {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
    gap: 4px;
}

.ec-card-owner {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 11px;
    padding: 1px 8px 1px 2px;
    flex-shrink: 0;
    max-width: 130px;
}

.ec-card-owner-ava {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.ec-card-owner-ava i {
    font-size: 8px;
}

.ec-card-owner-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ec-card-name {
    font-weight: 700;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    /* topic.displayName WhatsApp/harici kanaldan gelen, kullanıcı tarafından
       belirlenebilen bir değerdir. İçinde sonlandırılmamış bir Unicode bidi
       override karakteri (ör. RTL override) bulunursa, bu karakterin etkisi
       satırın geri kalanına (telefon numarası, tarih, ikonlar) sızarak
       "kaymış"/ters görünen bir satıra sebep olabiliyor. unicode-bidi: isolate
       bu etkiyi (tıpkı <bdi> elementi gibi) sadece bu eleman içinde tutar. */
    unicode-bidi: isolate;
}

.ec-card-phone {
    font-size: 11px;
    font-weight: normal;
    font-style: italic;
}

.ec-card-time {
    font-size: 11px;
    flex-shrink: 0;
    color: #888;
}

.ec-card-r2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    gap: 4px;
}

.ec-card-channel {
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.ec-card-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    margin-left: 5px;
}

.ec-card-icon-lock  { font-size: 12px; flex-shrink: 0; margin-right: 2px; }
.ec-card-icon-task  { font-size: 13px; cursor: pointer; }
.ec-card-icon-arch  { font-size: 12px; }
.ec-card-icon-ai    { font-size: 12px; }
.ec-card-icon-star-on  { font-size: 14px; color: #f5a623; }
.ec-card-icon-star-off { font-size: 14px; }

/* ── Harici kanal dahili not göstergeleri ── */
.ec-note-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.ec-card-icon-note {
    font-size: 14px;
    color: #f5a623;
}
.ec-card-icon-note.is-read {
    color: #c4c4c4;
}
.ec-note-dot {
    position: absolute;
    top: -4px;
    right: -5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e53935;
    border: 1.5px solid #fff;
    animation: ecNotePulse 1.8s infinite;
}
@keyframes ecNotePulse {
    0%   { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.45); }
    70%  { box-shadow: 0 0 0 5px rgba(229, 57, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

/* Mesaj araç çubuğu not rozeti */
.ec-note-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    font-size: 10px;
    line-height: 15px;
    text-align: center;
    font-weight: 700;
    box-sizing: border-box;
}
.ec-note-badge.is-unread {
    background: #f5a623;
    color: #fff;
    border: 1.5px solid #fff;
}
.ec-note-badge.is-read {
    background: #fff;
    color: #9a9a9a;
    border: 1.5px solid #d6d6d6;
}
.ec-card-r3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ec-card-summary {
    font-size: 12px;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.ec-card-agent {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    padding: 2px 8px;
    flex-shrink: 0;
    margin-left: 7px;
    white-space: nowrap;
}

.ec-card-lock {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 9px;
    padding: 1px 7px;
    margin-left: 6px;
    flex-shrink: 0;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ec-card-lock i {
    font-size: 9px;
    opacity: 0.75;
}

.ec-card-initials i {
    font-size: 18px;
    opacity: 0.9;
}

.ec-card-agent-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Font boyutu varyantları ── */

/* Küçük */
.ec-font-sm .ec-card-name         { font-size: 11px; }
.ec-font-sm .ec-card-phone        { font-size: 9px; }
.ec-font-sm .ec-card-time         { font-size: 9px; }
.ec-font-sm .ec-card-channel      { font-size: 9px; }
.ec-font-sm .ec-card-summary      { font-size: 10px; }
.ec-font-sm .ec-card-agent        { font-size: 9px; }
.ec-font-sm .ecdg-group-title     { font-size: 12px; }
.ec-font-sm .ecdg-account-name    { font-size: 10px !important; }
.ec-font-sm .ecdg-account-date    { font-size: 9px !important; }
.ec-font-sm .ecdg-count-label     { font-size: 8px !important; }
.ec-font-sm .ecdg-count-value     { font-size: 11px !important; }
.ec-font-sm .ecdg-footer-label    { font-size: 9px; }
.ec-font-sm .external-channels-chat-text-left,
.ec-font-sm .external-channels-chat-text-right { font-size: 13px; line-height: 19px; }
.ec-font-sm .external-channels-chat-time { font-size: 11px; }
.ec-font-sm .external-channels-chat-left-display-name,
.ec-font-sm .external-channels-chat-right-display-name { font-size: 12px; }
.ec-font-sm .external-channels-message-toolbar-display-name { font-size: 18px; }
.ec-font-sm .external-channels-input { font-size: 12px; }
.ec-font-sm .ec-filter-drawer-header,
.ec-font-sm .ec-filter-form .external-channel-filter-label,
.ec-font-sm .ec-filter-form .external-channel-filter-value { font-size: 12px; }

/* md = varsayılan, override gerekmez */

/* Büyük */
.ec-font-lg .ec-card-name         { font-size: 15px; }
.ec-font-lg .ec-card-phone        { font-size: 13px; }
.ec-font-lg .ec-card-time         { font-size: 13px; }
.ec-font-lg .ec-card-channel      { font-size: 13px; }
.ec-font-lg .ec-card-summary      { font-size: 14px; }
.ec-font-lg .ec-card-agent        { font-size: 13px; }
.ec-font-lg .ecdg-group-title     { font-size: 18px; }
.ec-font-lg .ecdg-account-name    { font-size: 15px !important; }
.ec-font-lg .ecdg-account-date    { font-size: 13px !important; }
.ec-font-lg .ecdg-count-label     { font-size: 12px !important; }
.ec-font-lg .ecdg-count-value     { font-size: 16px !important; }
.ec-font-lg .ecdg-footer-label    { font-size: 13px; }
.ec-font-lg .external-channels-chat-text-left,
.ec-font-lg .external-channels-chat-text-right { font-size: 17px; line-height: 25px; }
.ec-font-lg .external-channels-chat-time { font-size: 14px; }
.ec-font-lg .external-channels-chat-left-display-name,
.ec-font-lg .external-channels-chat-right-display-name { font-size: 15px; }
.ec-font-lg .external-channels-message-toolbar-display-name { font-size: 24px; }
.ec-font-lg .external-channels-input { font-size: 16px; }
.ec-font-lg .ec-filter-drawer-header,
.ec-font-lg .ec-filter-form .external-channel-filter-label,
.ec-font-lg .ec-filter-form .external-channel-filter-value { font-size: 15px; }

.ec-font-size-popup-wrap {
    position: relative;
    float: right;
}
.ec-font-size-popup {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.13);
    z-index: 9999;
    overflow: hidden;
    min-width: 110px;
}
.ec-font-size-popup-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.1s;
}
.ec-font-size-popup-item:hover { background: #f5f7ff; }
.ec-font-size-popup-item.active { background: #eef2ff; }
.ec-fsp-preview {
    font-weight: 700;
    color: #444;
    width: 20px;
    text-align: center;
    line-height: 1;
}
.ec-fsp-lg { font-size: 18px; }
.ec-fsp-md { font-size: 13px; }
.ec-fsp-sm { font-size: 10px; }
.ec-fsp-label {
    font-size: 12px;
    color: #555;
}
.ec-font-size-popup-item.active .ec-fsp-label {
    font-weight: 600;
    color: #3a5bd9;
}

.external-channels-topic-image-container {
    width: 60px;
    padding: 5px;
    padding-right: 10px;
}

.external-channels-topic-image {
    height: 64px;
    width: 64px;
    border: 1px solid #bbbbbb;
    border-radius: 12px;
}

.external-channels-bulk-image-container {
    width: 30px;
    padding: 5px;
    padding-right: 10px;
}

.external-channels-bulk-image {
    height: 34px;
    width: 34px;
    border: 1px solid #bbbbbb;
    border-radius: 12px;
}

.external-channels-topic-unread-count {
    position: absolute;
    background-color: red;
    color: white;
    padding: 0 2px;
    border-radius: 8px;
    height: 20px;
    width: 20px;
    text-align: center;
}

.external-channels-topic-channel-name {
    float: right;
    margin-right: 3px;
    line-height: 18px;
}

.external-channels-topic-star {
    padding-right: 10px;
    padding-top: 1px;
    font-size: 18px;
    float: right;
    color: #ffcc00;
}

.conversation-status-pill {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    color: #fff;
    margin-left: 4px;
    vertical-align: middle;
    white-space: nowrap;
}

.cs-pill-waiting  { background-color: #e6a817; }
.cs-pill-on-hold  { background-color: #31a8c7; }
.cs-pill-resolved { background-color: #3f9142; }

.external-channels-topic-star-empty {
    padding-right: 10px;
    padding-top: 1px;
    font-size: 18px;
    float: right;
}

.external-channels-topic-last-sender {
    float: right;
    font-size: 11px;
    font-weight: 600;
    margin-right: 4px;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.external-channels-topic-display-name {
    width: 200px;
    font-weight: bold;
    height: 20px;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.external-channels-topic-phone-number {
    font-size: 12px;
    font-style: italic;
}

.external-channels-topic-time {
    text-align: right;
    font-weight: bold;
    padding-right: 3px;
}

.external-channels-topic-summary {
    width: 300px;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.external-channels-topic-icon-bar {
    font-weight: bold;
    font-size: 16px;
    padding: 3px;
}

.external-channels-topic-icon {
    width: 22px;
    float: right;
    border-radius: 11px;
}

.external-channels-topic-task-icon {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    font-size: 16px;
    float: right;
}

.external-channels-topic-archive-icon {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 1px;
    font-size: 18px;
    float: right;
}

.external-channels-topic-task-estimation-icon {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 1px;
    font-size: 18px;
    float: right;
    color: #E8C70C;
}

.external-channels-topic-channel-icon-table-container {
    text-align: center;
}

.external-channels-topic-channel-icon-table {
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    margin-bottom: -3px;
    position: relative;
}

.external-channels-topic-channel-unread-count {
    position: absolute;
    background-color: red;
    color: white;
    padding: 0 2px;
    border-radius: 8px;
    height: 15px;
    min-width: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 11px;
    top: 5px;
}

.external-channels-topic-channel-icon {
    width: 30px;
    border-radius: 18px;
    margin: 7px;
    margin-top: 10px;
    cursor: pointer;
}

i.external-channels-topic-channel-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 20px;
    text-align: center;
    color: #2b7de9;
}

/* Sosyal medya başlığı ve araçları */
.ec-header-panel {
    display: flex;
    align-items: center;
    min-height: 0;
    height: 42px;
    margin: 0;
    padding: 0 10px 0 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: default;
}

.ec-header-title {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex: 1 1 auto;
    min-width: 0;
    color: #356b94;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1px;
}

.ec-header-title-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.42);
    color: #286fa8;
    font-size: 14px;
}

.ec-header-controls,
.ec-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.ec-header-controls {
    flex: 0 0 auto;
    padding-left: 0;
    border-left: 0;
}

.ec-header-actions .ec-font-size-popup-wrap {
    float: none;
}

.ec-header-panel .gridHeaderRightIconButton {
    float: none;
    margin: 0;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    padding: 0;
    border-radius: 6px;
    font-size: 13px;
    color: #356b94;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}

.ec-header-panel .gridHeaderRightIconButton:hover {
    background: rgba(255, 255, 255, 0.52);
    color: #1e6498;
}

.ec-header-panel .gridHeaderLeftButtonSelected {
    background: #ffffff;
    color: #2d73aa;
    box-shadow: none;
}

/* Arama kutusu + araç butonları */
.ec-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #98a2b3;
    font-size: 14px;
    pointer-events: none;
}

.ec-search-input {
    width: 100%;
    border: 1px solid #e4e7ec;
    background: #f2f4f7;
    border-radius: 20px;
    padding: 8px 14px 8px 36px;
    font-size: 13px;
    color: #344054;
    outline: none;
    transition: background-color .15s, border-color .15s, box-shadow .15s;
}

.ec-search-input::placeholder {
    color: #98a2b3;
}

.ec-search-input:focus {
    background: #ffffff;
    border-color: #2b7de9;
    box-shadow: 0 0 0 3px rgba(43, 125, 233, 0.12);
}

/* Genel arama */
.ec-search-input.ec-search-input-active {
    background: #ffffff;
    border-color: #2b7de9;
    padding-right: 32px;
}

.ec-search-clear {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #98a2b3;
    font-size: 15px;
    cursor: pointer;
}

.ec-search-clear:hover {
    color: #475467;
}

.ec-global-search-panel {
    background: #ffffff;
    border-bottom: 1px solid #e4e7ec;
}

.ec-global-search-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: #eaf2fd;
    color: #1d5fb8;
    font-size: 12px;
}

.ec-global-search-banner-text {
    flex: 1;
    min-width: 0;
}

.ec-global-search-back {
    color: #1d5fb8;
    text-decoration: underline;
    white-space: nowrap;
}

.ec-global-search-tabs {
    display: flex;
    gap: 6px;
    padding: 7px 12px;
}

.ec-global-search-tab {
    padding: 2px 10px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    font-size: 11px;
    color: #475467;
    cursor: pointer;
    user-select: none;
}

.ec-global-search-tab b {
    font-weight: 600;
    margin-left: 2px;
}

.ec-global-search-tab.active {
    background: #2b7de9;
    border-color: #2b7de9;
    color: #ffffff;
}

.ec-global-search-empty {
    padding: 24px 12px;
    text-align: center;
    color: #98a2b3;
    font-size: 12px;
}

.ec-global-search-empty .fa {
    font-size: 22px;
    margin-bottom: 6px;
}

.ec-global-search-dimmed {
    opacity: 0.35;
    pointer-events: none;
}

.ec-card-search-match {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 2px 0 3px;
}

.ec-card-search-snippet {
    flex-basis: 100%;
    font-size: 11px;
    font-style: italic;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.ec-search-mark {
    background: #fff1a8;
    color: #1d2939;
    padding: 0 1px;
    border-radius: 2px;
}

/* Genel aramadan açılan sohbette eşleşen mesaj kısa süre vurgulanır */
.ec-search-target-message {
    border-radius: 15px;
    animation: ec-search-target-pulse 3s ease-out;
}

@keyframes ec-search-target-pulse {
    0%, 60% {
        background-color: rgba(255, 214, 10, 0.35);
        box-shadow: 0 0 0 2px rgba(255, 196, 0, 0.6);
    }
    100% {
        background-color: transparent;
        box-shadow: 0 0 0 2px rgba(255, 196, 0, 0);
    }
}

/* Sohbet içi arama (WhatsApp'taki gibi): başlığın altındaki arama şeridi */
.ec-topic-search-bar-cell {
    background-color: #ffffff;
    border-bottom: 1px solid #dddddd;
    padding: 6px 10px;
}

.ec-topic-search-bar {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ec-topic-search-icon {
    color: #98a2b3;
    font-size: 16px;
    margin-left: 4px;
}

.ec-topic-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.ec-topic-search-input:focus {
    border-color: #2b7de9;
    box-shadow: 0 0 0 2px rgba(43, 125, 233, 0.15);
}

.ec-topic-search-status {
    flex: 0 0 auto;
    min-width: 64px;
    text-align: center;
    color: #475467;
    font-size: 14px;
    white-space: nowrap;
}

.ec-topic-search-no-result {
    color: #b42318;
}

.ec-topic-search-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    color: #475467;
    font-size: 16px;
}

.ec-topic-search-nav:hover {
    background: #e6eefb;
    color: #2b7de9;
}

.ec-topic-search-nav-disabled,
.ec-topic-search-nav-disabled:hover {
    color: #d0d5dd;
    background: transparent;
    cursor: default;
}

/* Üzerinde bulunulan eşleşmenin balonu, başka eşleşmeye geçilene kadar vurgulu kalır */
.ec-topic-search-active-message {
    border-radius: 15px;
    box-shadow: 0 0 0 2px rgba(255, 150, 50, 0.75);
}

.ec-topic-search-active-info > span {
    box-shadow: 0 0 0 2px rgba(255, 150, 50, 0.75);
}

/* Eşleşen kelimeler (CSS Custom Highlight API); desteklemeyen tarayıcı bu kuralları yok sayar.
   Ayrı kurallar olarak kalmalı: gruplanırsa geçersiz seçici tüm kuralı düşürür. */
::highlight(ec-topic-search) {
    background-color: #ffe58a;
    color: #1d2939;
}

::highlight(ec-topic-search-active) {
    background-color: #ff9632;
    color: #1d2939;
}

/* Pencere modunda pencereden daha yeni mesajları yükleme butonu */
.ec-load-newer-container {
    display: flex;
    justify-content: center;
    margin: 10px 0 4px;
}

.ec-load-newer-button {
    background-color: #ffffff;
    color: #2b7de9;
    border: 1px solid #cddffb;
    border-radius: 16px;
    padding: 5px 14px;
    font-size: 14px;
    cursor: pointer;
}

.ec-load-newer-button:hover {
    background-color: #e6eefb;
}

/* Pencere modundayken konuşmaya yeni mesaj geldi */
.ec-scroll-new-message-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #25d366;
    border: 2px solid #ffffff;
}

.ec-card-search-tag {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    background: #f2f4f7;
    color: #475467;
    line-height: 1.5;
}

.ec-card-search-tag-phone { background: #e3f6e8; color: #1e7a3c; }
.ec-card-search-tag-name { background: #eaf2fd; color: #1d5fb8; }
.ec-card-search-tag-username { background: #e6f4f8; color: #136a80; }
.ec-card-search-tag-email { background: #eef0ff; color: #3f46a8; }
.ec-card-search-tag-summary { background: #f2f4f7; color: #475467; }
.ec-card-search-tag-task { background: #fff4e0; color: #8a5a00; }
.ec-card-search-tag-message { background: #f3ecfd; color: #6b3fb5; }
.ec-card-search-tag-archived { background: #fff6db; color: #8a6a00; }
.ec-card-search-tag-blocked { background: #fdecec; color: #b42318; }

.ec-card-search-date {
    font-size: 10px;
}

.ec-tool-group {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
}

.ec-tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid #e4e7ec;
    background: #ffffff;
    color: #667085;
    cursor: pointer;
    font-size: 15px;
    transition: background-color .15s, border-color .15s, color .15s;
}

.ec-tool-btn:hover {
    background: #f2f4f7;
    border-color: #d0d5dd;
    color: #2b7de9;
}

/* Kanal filtresi — tek satırlı, yatay kaydırılabilir pill/etiket çubuğu */
.external-channels-topic-channel-icon-table-container {
    text-align: left;
    width: 100%;
    max-width: 480px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
}

.external-channels-topic-channel-icon-table-container::-webkit-scrollbar {
    height: 5px;
}

.external-channels-topic-channel-icon-table-container::-webkit-scrollbar-track {
    background: transparent;
}

.external-channels-topic-channel-icon-table-container::-webkit-scrollbar-thumb {
    background: #d5dbe1;
    border-radius: 3px;
}

.external-channels-topic-channel-icon-table-container::-webkit-scrollbar-thumb:hover {
    background: #b7c0c9;
}

.external-channels-topic-channel-icon-table,
.external-channels-topic-channel-icon-table tbody {
    display: block;
}

.external-channels-topic-channel-icon-table {
    width: 100%;
    margin: 0;
    vertical-align: middle;
}

.external-channels-topic-channel-icon-table tbody {
    width: 100%;
}

.external-channels-topic-channel-icon-table tr {
    display: flex;
    width: max-content;
    min-width: 100%;
    flex-wrap: nowrap;
    gap: 7px;
    align-items: center;
    justify-content: center;
    padding: 6px 2px;
}

.external-channels-topic-channel-icon-table td {
    display: inline-flex;
    padding: 0;
    flex: 0 0 auto;
}

.ec-ch-pill {
    --ec-ch: #2b7de9;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-width: 50px;
    min-height: 42px;
    padding: 9px 13px;
    border-radius: 14px;
    background: #ffffff;
    border: 1.5px solid #e3e7ec;
    box-shadow: 0 1px 4px rgba(16, 24, 40, 0.06);
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    color: #4a5560;
    white-space: nowrap;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}

.ec-ch-icon-dm-badge {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.12);
    object-fit: cover;
}

.ec-ch-pill-dm .ec-ch-icon,
.ec-ch-pill-img .ec-ch-icon {
    display: none;
}

.ec-ch-icon-dm-main,
.ec-ch-icon-img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: contain;
    flex: 0 0 auto;
    transition: transform .15s;
}

.ec-ch-pill:hover .ec-ch-icon-dm-main,
.ec-ch-pill:hover .ec-ch-icon-img {
    transform: scale(1.08);
}

.ec-ch-pill:hover {
    background: #f7f9fb;
    border-color: #2b7de9;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
    transform: translateY(-1px);
}

.ec-ch-pill:active {
    transform: translateY(0);
}

.ec-ch-pill-on {
    background: #ffffff;
    border-color: #2b7de9;
    border-width: 2px;
    color: #2b7de9;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.16);
    transform: translateY(-1px);
}

.ec-ch-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ec-ch);
    flex: 0 0 auto;
}

.ec-ch-pill-on .ec-ch-dot {
    background: #ffffff;
}

.ec-ch-icon {
    font-size: 20px;
    width: auto;
    text-align: center;
    color: var(--ec-ch);
    flex: 0 0 auto;
    transition: color .15s;
}

.ec-ch-pill-on .ec-ch-icon {
    color: #2b7de9;
}

.ec-ch-label {
    line-height: 1;
    display: none;
}

.ec-ch-count {
    background: #eef1f4;
    color: #4a5560;
    border-radius: 10px;
    padding: 0 6px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 16px;
    min-width: 16px;
    text-align: center;
}

.ec-ch-pill-on .ec-ch-count {
    background: #2b7de9;
    color: #ffffff;
}

.external-channel-dashboard-widget {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 10px;
    padding: 0px 10px 10px 10px;
    overflow: hidden;
    margin-bottom: 10px;
    margin-left: -10px;
    margin-right: -10px;
    cursor: pointer;
}

.external-channel-dashboard-widget-icon {
    width: 48px;
}

.external-channel-dashboard-widget-caption {
    font-size: 24px;
    text-align: right;
    padding-bottom: 10px;
}

.external-channel-dashboard-widget-label {
    padding-left: 50px;
}

.external-channel-dashboard-widget-value {
    text-align: right;
    width: 110px;
    font-weight: bold;
}

.external-channel-dashboard-widget-line {
    height: 4px;
    border: 1px solid #999999;
}

/* ===== GROUPED DASHBOARD (ecdg) ===== */

.ecdg-flex-columns {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ecdg-flex-col {
    flex: 1;
    min-width: 0;
}

@media (max-width: 1199px) {
    .ecdg-flex-columns { flex-wrap: wrap; }
    .ecdg-flex-col { flex: 0 0 calc(50% - 8px); }
}

@media (max-width: 767px) {
    .ecdg-flex-col { flex: 0 0 100%; }
}

.ecdg-summary-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.ecdg-summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px;
    color: #444;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.ecdg-summary-icon {
    color: #888;
    font-size: 15px;
}

.ecdg-summary-label {
    color: #666;
}

.ecdg-summary-value {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    min-width: 24px;
    text-align: right;
}

.ecdg-summary-value-red {
    color: #e53935 !important;
}

.ecdg-group-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: 4px solid #ccc;
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    overflow: hidden;
}

.ecdg-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    cursor: pointer;
    user-select: none;
}

.ecdg-group-header:hover {
    background: #f9f9f9;
}

.ecdg-group-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.ecdg-group-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
}

.ecdg-group-title-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ecdg-group-title {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ecdg-group-account-count {
    font-size: 11px;
    color: #999;
    margin-top: 1px;
}

.ecdg-group-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ecdg-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 12px;
    letter-spacing: 0.3px;
}

.ecdg-badge-acil {
    background: #fde8e8;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.ecdg-badge-bekliyor {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
}

.ecdg-badge-temiz {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.ecdg-chevron {
    color: #aaa;
    font-size: 12px;
}

.ecdg-account-list {
    border-top: 1px solid #f0f0f0;
}

.ecdg-account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px 9px 18px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s;
}

.ecdg-account-row:hover {
    background: #f5f8ff;
}

.ecdg-account-row-active {
    background: #eef3ff;
}

.ecdg-account-row:last-child {
    border-bottom: none;
}

.ecdg-account-info {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 1;
    min-width: 0;
}

.ecdg-account-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ecdg-account-name {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ecdg-account-date {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}

.ecdg-date-label {
    color: #999;
    font-weight: 500;
}

.ecdg-account-counts {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ecdg-account-count-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 36px;
}

.ecdg-count-label {
    font-size: 10px;
    color: #aaa;
}

.ecdg-count-value {
    font-size: 13px;
    font-weight: 700;
    color: #555;
}

.ecdg-count-red {
    color: #e53935;
}

.ecdg-account-arrow {
    color: #ccc;
    font-size: 11px;
}

.ecdg-group-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 14px 7px 18px;
    background: #fafafa;
    border-top: 1px solid #eeeeee;
    cursor: pointer;
}

.ecdg-group-footer:hover {
    background: #f0f0f0;
}

.ecdg-showall-card {
    border-top-color: #90a4ae !important;
    cursor: pointer;
}

.ecdg-showall-card:hover .ecdg-group-header {
    background: #f5f8ff;
}

.ecdg-showall-icon-wrap {
    width: 38px;
    height: 38px;
    background: #eceff1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ecdg-showall-icon {
    font-size: 16px;
    color: #607d8b;
}

.ecdg-showall-title {
    color: #546e7a !important;
}

.ecdg-footer-label {
    font-size: 11px;
    color: #aaa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.external-channel-pager {
    height: 25px;
}

.external-channel-pager-first-button {
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    border-right: 1px solid #cccccc;
    width: 50px;
}

.external-channel-pager-previous-button {
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    border-right: 1px solid #cccccc;
    width: 50px;
}

.external-channel-pager-next-button {
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    border-left: 1px solid #cccccc;
    width: 50px;
}

.external-channel-pager-last-button {
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    border-left: 1px solid #cccccc;
    width: 50px;
}

.external-channel-pager-indicator {
    text-align: center;
    font-size: 14px;
}

.ec-filter-panel {
    background-color: #2b2b2b;
    border-bottom: 1px solid #444;
    padding: 12px;
}

.ec-filter-panel .form-label {
    color: #cccccc;
    font-size: 13px;
}

.ec-filter-panel .external-channel-filter-label {
    color: #cccccc;
}

.ec-filter-panel .external-channel-filter-row {
    border-bottom: 1px solid #3a3a3a;
}

/* Dashboard text büyütme */
.ecdg-account-name {
    font-size: 13px !important;
}

.ecdg-account-date {
    font-size: 12px !important;
    color: #666 !important;
}

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

.ecdg-count-label {
    font-size: 11px !important;
}

.external-channel-filter-row {
    border-bottom: 1px solid #eeeeee;
}

.external-channel-filter-label {
    width: 160px;
    padding-left: 5px;
}

.external-channel-filter-value {
    padding-right: 5px;
}

.ec-filter-panel .aphel-select-container,
.ec-filter-panel select,
.ec-filter-panel input {
    background-color: #3a3a3a !important;
    color: #eeeeee !important;
    border-color: #555 !important;
}

.ec-filter-panel .btn-primary {
    background-color: #3a7bd5 !important;
    border-color: #3a7bd5 !important;
}

/* Toggle switch - sadece filtre paneli için */
.ec-toggle-cell .grid-checkbox {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    margin: 0;
}

.ec-toggle-cell .grid-checkbox input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.ec-toggle-cell .grid-checkbox .checkmark {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #888888;
    border-radius: 22px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 40px;
    height: 22px;
}

.ec-toggle-cell .grid-checkbox .checkmark:after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
    transform: none;
    border: none;
}

.ec-toggle-cell .grid-checkbox input:checked ~ .checkmark {
    background-color: #3b82f6;
}

.ec-toggle-cell .grid-checkbox input:checked ~ .checkmark:after {
    transform: translateX(18px);
}

.ec-toggle-row {
    padding: 4px 0;
}

/* Sonlandırma ekranı dosya/fotoğraf zorunluluğu — durum seçenekleri.
   Çoklu seçim (checkbox davranışı) ama radio buton görünümü (yuvarlak). */
.finish-status-radio {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 2px solid #b0b0b0;
    border-radius: 50%;
    background-color: #ffffff;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
    outline: none;
    transition: border-color 0.15s;
}

.finish-status-radio:hover {
    border-color: #0072C6;
}

.finish-status-radio:checked {
    border-color: #0072C6;
}

.finish-status-radio:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #0072C6;
}

.ec-filter-section-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #888;
    text-transform: uppercase;
    padding: 8px 5px 4px;
}

.external-channels-topic-channel-container {
    border-bottom: 1px solid #dddddd;
    vertical-align: top;
    /* Yükseklik artık sabit calc(100vh - Npx) ile tahmin edilmiyor; konteyner aşağıda
       position:absolute (top: arama satırı yüksekliği, bottom: pager yüksekliği) ile
       sabitleniyor (bkz. .external-channels-topic-list-row kuralı). Bu, filtre
       çekmecesinde zaten kullanılan ve çalıştığı kanıtlanmış aynı "tablo satır
       yükseklik zincirine bağlı kalma" tekniğidir — tablo/flex yükseklik hesaplama
       zincirinden tamamen bağımsızdır. Liste, pageSize=ceil ile alanı tam doldurur;
       taşan son (yarım) kart pager'ı aşağı itmesin diye konteyner kendi içinde dikey
       scroll eder. Scrollbar yalnızca gerektiğinde görünür. */
    overflow-y: auto;
}

/* Filtre, soldaki sohbet listesinin üzerinde açılır; listeyi aşağı itmez. */
.external-channels-topic-table {
    position: relative;
    height: 100%;
}

/* Konu listesi satırı ve pager satırı, tablonun normal satır-yükseklik akışından
   tamamen çıkarılıp .external-channels-topic-table'a (position:relative) göre
   position:absolute ile sabitleniyor — filtre çekmecesinde zaten kullanılan ve
   çalıştığı kanıtlanmış aynı teknik. Böylece pager her zaman panelin en altında
   sabit 25px'lik şeritte kalır; tablo/flex yükseklik hesaplama zincirindeki
   (main-panel -> table -> tr -> td -> ...) herhangi bir aksaklık pager'ı etkilemez.
   top: 48px = arama satırının (40px + kenarlık) yüksekliği; bottom: 25px =
   .external-channel-pager'ın sabit yüksekliği. */
.external-channels-topic-table > tbody > .external-channels-topic-list-row {
    display: block;
    position: absolute;
    top: 48px;
    bottom: 25px;
    left: 0;
    right: 0;
}

.external-channels-topic-table > tbody > .external-channels-topic-list-row > td {
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.external-channels-topic-table > tbody > .external-channels-topic-pager-row {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 25px;
}

.external-channels-topic-table > tbody > .external-channels-topic-pager-row > td {
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.external-channels-topic-table > tbody > .external-channel-filter-container {
    display: block;
    position: absolute;
    top: 48px;
    right: 0;
    left: 0;
    /* Önceden "bottom: 25px" ile drawer sol kolonun tüm yüksekliğine zorla uzatılıyordu;
       içerik kısa olduğunda (form ~370px) altta büyük boş beyaz alan kalıyordu. Bunun yerine
       içeriğe göre boyutlanıp yalnızca çok uzun olursa (max-height sınırı + overflow-y:auto)
       kendi içinde scroll etsin; böylece altta ölü beyaz boşluk oluşmaz. */
    max-height: calc(100% - 73px);
    z-index: 20;
    overflow-y: auto;
    background-color: #f5f8fc;
    border-bottom: 1px solid #dce5ef;
}

.external-channels-topic-table > tbody > .external-channel-filter-container > td {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    padding: 0 !important;
    background-color: #f5f8fc !important;
}

.ec-filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    padding: 0 14px;
    color: #316487;
    font-size: 14px;
    font-weight: 700;
    background-color: #e8f2fb;
    border-bottom: 1px solid #d3e2f0;
}

.ec-filter-drawer-header .fa-filter {
    margin-right: 7px;
    color: #1775b9;
}

.ec-filter-drawer-close {
    width: 28px;
    height: 28px;
    padding: 0;
    color: #5c7184;
    background: #ffffff;
    border: 1px solid #d3e0ea;
    border-radius: 50%;
}

.ec-filter-drawer-close:hover {
    color: #ffffff;
    background-color: #5c7184;
}

.ec-filter-form {
    background-color: #ffffff;
}

.ec-filter-form > tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.ec-filter-form > tbody > tr {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    min-width: 0;
}

.ec-filter-form > tbody > tr > td {
    display: block;
    min-width: 0;
}

.ec-filter-form .external-channel-filter-row {
    border-bottom: 1px solid #edf1f5;
}

.ec-filter-form .external-channel-filter-label {
    width: 150px;
    padding: 8px 6px 8px 14px;
    color: #536677;
    font-size: 13px;
    font-weight: 600;
}

.ec-filter-form .external-channel-filter-value {
    padding: 5px 12px 5px 4px;
    font-size: 13px;
}

.ec-filter-form .external-channel-filter-value input,
.ec-filter-form .external-channel-filter-value select,
.ec-filter-form .external-channel-filter-value aphel-select {
    font-size: 13px;
}

.ec-filter-status-select {
    position: relative;
    min-height: 34px;
    padding-left: 0;
    background-color: #ffffff;
    border: 1px solid #d7e1ea;
    border-left: 4px solid #298bd4;
    border-radius: 6px;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(30, 55, 75, 0.05);
}

.ec-filter-status-select:before {
    display: none;
}

.ec-filter-status-select .aphel-select-container,
.ec-filter-status-select select {
    font-size: 13px;
    font-weight: 600;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.ec-filter-form > tbody > .ec-filter-toggle-row {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr) 32px;
    min-height: 48px;
    margin: 7px 5px 0;
    background-color: #f8fafc;
    border: 1px solid #e1e9f1;
    border-radius: 7px;
}

.ec-filter-form .ec-filter-toggle-row .external-channel-filter-label {
    width: auto;
    padding: 8px 4px 8px 10px;
    line-height: 15px;
}

.ec-filter-form .ec-filter-toggle-row .external-channel-filter-value {
    padding: 0 8px 0 0;
    text-align: right;
}

.ec-filter-actions-row {
    grid-column: 1 / -1;
    display: block !important;
    margin-top: 8px;
    padding-top: 2px;
    border-top: 1px solid #edf1f5;
}

.ec-filter-actions-row > td {
    display: block !important;
}

.ec-filter-submit {
    min-width: 108px;
    height: 32px;
    margin: 8px 12px 10px 0;
    border-radius: 5px;
    font-weight: 700;
    /* Zemin theme.darkColor ile inline geliyor ve bazı temalarda metinle kontrastı düşük
       kalıp yazıyı okunmaz yapıyordu. Okunur kontrast için zemin net koyu maviye,
       yazı ve ikon beyaza sabitlenir. */
    background-color: #1565c0 !important;
    color: #ffffff !important;
    letter-spacing: 0.3px;
}

.ec-filter-submit i {
    color: #ffffff !important;
}

/* Filtre artık dar (400px) sohbet listesi panelinin içine sıkışan bir çekmece değil,
   ekranın ortasında açılan ayrı bir popup olarak gösteriliyor. Karartılmış arkaplan. */
@keyframes ecFilterBackdropFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ec-filter-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(20, 30, 45, 0.45);
    z-index: 1055;
    animation: ecFilterBackdropFade 0.15s ease-out;
}

@keyframes ecFilterModalPop {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.ec-filter-container-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 560px;
    max-width: 92vw;
    max-height: 85vh;
    z-index: 1060;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    animation: ecFilterModalPop 0.18s ease-out;
    overflow-y: auto;
}

.ec-filter-container-modal .ec-filter-drawer {
    border-radius: 10px;
    padding-bottom: 10px;
    /* Dış kapsayıcı (.ec-filter-container-modal) da aynı 10px border-radius ile
       overflow: hidden/auto uyguluyor. İki ayrı elementin kendi yuvarlatılmış
       köşesini bağımsız olarak çizip üst üste bindirmesi (double-rounding),
       tarayıcıların anti-aliasing farkı yüzünden köşede ince bir beyaz
       çizgi/boşluk (drawer'ın beyaz arkaplanının sızması) bırakabiliyor —
       başlığın üstünde kalan beyazlık buydu. Kırpmayı tek kaynaktan
       (bu elementin kendi overflow:hidden'ı) yaparak köşe artığı önleniyor. */
    overflow: hidden;
}

.ec-filter-container-modal {
    border: 1px solid rgba(20, 30, 45, 0.06);
}

/* "Daha güzel" görsel iyileştirme — başlık, satırlar ve toggle checkbox'lar için
   ek (additive) stil. Mevcut kurallar silinmedi, sadece üzerine eklendi. */
.ec-filter-drawer-header {
    background: linear-gradient(135deg, #eaf4fc 0%, #dceefc 100%);
}

.ec-filter-drawer-header .fa-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: #ffffff;
    background-color: #1775b9;
    border-radius: 50%;
    font-size: 11px;
}

.ec-filter-form .external-channel-filter-row {
    transition: background-color 0.12s ease-in;
}

.ec-filter-form .external-channel-filter-row:hover {
    background-color: #f7fafd;
}

.ec-filter-form > tbody > .ec-filter-toggle-row {
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.ec-filter-form > tbody > .ec-filter-toggle-row:hover {
    border-color: #c9dcee;
    box-shadow: 0 2px 6px rgba(30, 55, 75, 0.08);
}

.ec-filter-form .ec-filter-toggle-row .external-channel-filter-label label {
    font-weight: 600;
    color: #42566b;
}

/* aphel-checkbox bileşeni filtre popup'ında varsayılan tarayıcı checkbox'ı olarak
   görünüyordu; .ec-toggle-cell .grid-checkbox stili (yukarıda) yalnızca o sınıfın
   altında çalışıyordu. Aynı iOS tarzı switch görünümü burada da uygulanarak panel
   daha tutarlı hale getirildi. */
.ec-filter-form .ec-filter-toggle-row .grid-checkbox {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    margin: 0;
}

.ec-filter-form .ec-filter-toggle-row .grid-checkbox input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.ec-filter-form .ec-filter-toggle-row .grid-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #c7d0da;
    border-radius: 22px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 40px;
    height: 22px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.ec-filter-form .ec-filter-toggle-row .grid-checkbox .checkmark:after {
    content: "";
    /* main-theme1.css'teki genel ".checkmark:after { display:none; }" kuralı (normal
       checkbox tik işareti için) bu elemente de uygulanıyordu; sadece ".grid-checkbox
       input:checked ~ .checkmark:after { display:block; }" kuralı sayesinde AÇIK
       durumda yuvarlak görünüyor, KAPALI durumda display:none kalıp hiç görünmüyordu.
       display burada açıkça block yapılarak iki durumda da (açık/kapalı) her zaman
       görünür kılınıyor; konum farkı yalnızca transform ile sağlanıyor. */
    display: block;
    position: absolute;
    left: 3px;
    top: 3px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.2s;
    transform: none;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.ec-filter-form .ec-filter-toggle-row .grid-checkbox input:checked ~ .checkmark {
    background-color: #1565c0;
}

.ec-filter-form .ec-filter-toggle-row .grid-checkbox input:checked ~ .checkmark:after {
    transform: translateX(18px);
}

.ec-filter-actions-row {
    background-color: #fafcfe;
}

/* "Harici Kanal Adı" seçim kutusu artık data-container="body" kullanmıyor (modal
   artık geniş/ortalanmış olduğu için gerekmiyordu; ayrıca bu yüzden modal kapandığında
   dropdown ekranda asılı kalıyordu). Dropdown artık modalın kendi DOM alt ağacında
   kaldığından modal kapanınca otomatik olarak gizleniyor. Aşağıdaki stiller JS
   tarafından menüye eklenen "ec-channel-select-menu" sınıfı ile kapsamlandığı için
   yalnızca bu dropdown'ı etkiler, uygulamadaki diğer selectpicker'ları etkilemez. */
.ec-channel-select-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(20, 30, 45, 0.18), 0 2px 8px rgba(20, 30, 45, 0.08);
    padding: 8px;
    min-width: 360px !important;
}

.ec-channel-select-menu .bs-searchbox {
    padding: 4px 4px 8px;
}

.ec-channel-select-menu .bs-searchbox .form-control {
    height: 36px;
    padding-left: 30px;
    font-size: 13px;
    background-color: #f5f8fc;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    box-shadow: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238ea0b3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'></circle><line x1='21' y1='21' x2='16.65' y2='16.65'></line></svg>");
    background-repeat: no-repeat;
    background-position: 8px center;
}

.ec-channel-select-menu .bs-searchbox .form-control:focus {
    border-color: #7fb2e0;
    background-color: #ffffff;
}

.ec-channel-select-menu .bs-actionsbox {
    padding: 0 4px 8px;
}

/* "Tümünü Seç" / "Tümünü Kaldır" bootstrap-select'te tek bir ".btn-group.btn-block"
   içinde iki ayrı <button> olarak üretiliyor (iç içe .btn-group yok); ".btn-block"
   her butonu display:block + width:100% yaptığı için alt alta (dikey) diziliyordu.
   Flexbox ile yan yana ve tam %50/%50 paylaşım zorlanıyor. */
.ec-channel-select-menu .bs-actionsbox .btn-group.btn-block {
    display: flex;
    width: 100%;
}

.ec-channel-select-menu .bs-actionsbox .actions-btn {
    display: block;
    flex: 1 1 50%;
    width: 50%;
    height: 30px;
    font-size: 12px;
    font-weight: 600;
    color: #42566b;
    background-color: #f1f5f9;
    border: 1px solid #e1e9f1;
    box-shadow: none;
}

.ec-channel-select-menu .bs-actionsbox .actions-btn:hover {
    background-color: #e3ecf5;
}

.ec-channel-select-menu .bs-actionsbox .actions-btn.bs-select-all {
    border-radius: 7px 0 0 7px;
}

.ec-channel-select-menu .bs-actionsbox .actions-btn.bs-deselect-all {
    border-radius: 0 7px 7px 0;
    border-left: none;
}

.ec-channel-select-menu .dropdown-menu.inner {
    padding: 2px 0;
}

.ec-channel-select-menu .dropdown-menu.inner > li > a {
    padding: 8px 12px;
    border-radius: 6px;
    margin: 1px 4px;
    font-size: 13px;
    color: #34495e;
}

.ec-channel-select-menu .dropdown-menu.inner > li > a:hover,
.ec-channel-select-menu .dropdown-menu.inner > li > a:focus {
    background-color: #eef4fb;
    color: #34495e;
}

.ec-channel-select-menu .dropdown-menu.inner > li.selected > a {
    background-color: #e8f2fb;
    color: #1565c0;
    font-weight: 600;
}

.ec-channel-select-menu .dropdown-menu.inner > li > a .glyphicon-ok,
.ec-channel-select-menu .dropdown-menu.inner > li > a .check-mark {
    color: #1565c0;
}

.ec-channel-select-menu .no-results {
    padding: 10px 12px;
    font-size: 12px;
    color: #8696a7;
}

/* Toggle switch genişliği (40px) satırın ayrılmış değer kolonundan (32px) daha
   geniş olduğu için daire kenardan taşıyor ve modal yatayda kayıyordu. Kolon
   genişliği switch'e göre büyütüldü. */
.ec-filter-form > tbody > .ec-filter-toggle-row {
    grid-template-columns: minmax(0, 1fr) 48px;
}

.ec-filter-form .ec-filter-toggle-row .external-channel-filter-value {
    padding: 0 10px 0 0;
    overflow: visible;
}

/* Kullanıcı isteği: açılan popup biraz büyütüldü. */
.ec-filter-container-modal {
    width: 660px;
    max-width: 94vw;
    overflow-x: hidden;
}

.ec-filter-form {
    /* table-layout:fixed burada kaldırıldı: tbody/tr/td zaten display:grid/block ile
       tablo yerleşiminden çıkarılmıştı; fixed ile birleşince ilk satırdaki
       "Harici Kanal Adı" selectpicker'ının genişliği 0'a çöküp görünmez oluyordu.
       Yatay taşma sorunu zaten toggle-row kolon genişliği düzeltmesiyle (üstte)
       ve modaldaki overflow-x:hidden ile çözüldüğü için bu kurala gerek yoktu. */
    width: 100%;
}

/* "Toplu Arşivle" penceresi (external-channel-bulk-archive-modal.html), Detaylı Arama
   filtre popup'ı (.ec-filter-container-modal) ile aynı tasarım ve konuma getirildi:
   ekranın ortasında, yuvarlak köşeli, renkli başlık çubuğu + ikon + kapat (X) butonu.
   Bu kurallar yalnızca $uibModal.open(...) çağrısına eklenen
   windowClass:"ec-bulk-archive-modal" sınıfı altında çalışır, diğer modalları etkilemez. */
.ec-bulk-archive-modal .modal-dialog {
    /* Bootstrap'ın kendi ".modal.in .modal-dialog { transform: translate(0, 0); }"
       kuralı üç sınıf seçiciyle geldiği için (.modal.in .modal-dialog), buradaki iki
       sınıflı seçiciden (.ec-bulk-archive-modal .modal-dialog) daha yüksek özgüllüğe
       sahip oluyor ve ortalamayı sağlayan translate(-50%,-50%)'i eziyordu; top/left:50%
       kalıp çeviri iptal olunca pencere merkez yerine sağ-alta kaymış görünüyordu.
       !important ile bu çakışma kesin olarak kazanılıyor. */
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 760px;
    max-width: 94vw;
    max-height: 85vh;
    margin: 0;
}

.ec-bulk-archive-modal .modal-content {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(20, 30, 45, 0.06);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.ec-bulk-archive-modal .modal-body {
    overflow-y: auto;
}

.ec-bulk-archive-modal .modal-header {
    /* Flex tabanlı space-between, keşfedilemeyen bir tema kuralı yüzünden başlığı
       ve kapat butonunu kenarlara değil ortaya yakın bir küme halinde bırakıyordu.
       Bunun yerine başlık ve kapat butonu bu relative konteyner içinde absolute
       olarak sol/sağ kenara sabitleniyor; böylece hiçbir flex/text-align
       çakışmasından etkilenmez. */
    position: relative !important;
    display: block !important;
    height: 42px;
    min-height: 42px;
    padding: 0 14px;
    background: linear-gradient(135deg, #eaf4fc 0%, #dceefc 100%);
    border-bottom: 1px solid #d3e2f0;
    border-radius: 0;
}

.ec-bulk-archive-modal .modal-header .modal-title {
    position: absolute !important;
    top: 50% !important;
    left: 14px !important;
    right: auto !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    text-align: left !important;
    color: #316487;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.ec-bulk-archive-modal .modal-header .modal-title i.fa-eye-slash {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: #ffffff;
    background-color: #1775b9;
    border-radius: 50%;
    font-size: 11px;
}

.ec-bulk-archive-modal .ec-bulk-archive-close {
    position: absolute !important;
    top: 50% !important;
    right: 14px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    width: 28px;
    height: 28px;
    padding: 0;
    color: #5c7184;
    background: #ffffff;
    border: 1px solid #d3e0ea;
    border-radius: 50%;
}

.ec-bulk-archive-modal .ec-bulk-archive-close:hover {
    color: #ffffff;
    background-color: #5c7184;
}

/* Görev paneli (help-desks-add-edit) açıkken sağdaki form sohbetten daha uzun
   olabiliyor; bu durumda sayfa kayıyor ve sohbet başlığı/araç çubuğu sayfayla
   birlikte yukarı kaçıyordu. Sol kolonu sticky yaparak görünür alanda sabit tutar. */
.external-channels-left-column {
    position: sticky;
    top: 15px;
    align-self: flex-start;
}

/* Harici Kanallar ekranını, uygulama çerçevesinin altında kalan alana yayar. */
.external-channels-main-panel {
    height: calc(100vh - 180px);
    border-bottom: 1px solid #dddddd;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.external-channels-main-panel > .full-fill-table {
    display: table;
    height: 100%;
    position: static;
}

.external-channels-main-panel > .full-fill-table > tbody,
.external-channels-main-panel > .full-fill-table > tbody > tr {
    height: 100%;
}

.external-channels-main-panel > .full-fill-table > tbody {
    display: table-row-group;
}

.external-channels-main-panel > .full-fill-table > tbody > tr {
    display: table-row;
}

.external-channels-main-panel > .full-fill-table > tbody > tr > .external-channels-topic-panel,
.external-channels-main-panel > .full-fill-table > tbody > tr > .external-channels-conversation-panel {
    height: 100%;
}

/* Filtre sol tarafta açıldığında tablo satırının yüksekliği sağdaki sohbeti etkilemesin. */
.external-channels-topic-panel,
.external-channels-conversation-panel {
    display: table-cell;
    position: static;
    box-sizing: content-box;
    overflow: visible;
    vertical-align: top;
}

.external-channels-topic-panel {
    left: auto;
    width: 400px !important;
    /* table-layout:auto'da "width" yalnızca bir tercih; sağ taraftaki (sohbet/dashboard)
       içerik geniş olduğunda tarayıcı bu kolonu belirtilen genişlikten daha da
       sıkıştırabiliyor (kartlar okunaksız küçülüyor). min-width gerçek bir taban
       olduğundan bunu engeller; dar pencerede sağdaki panel küçülür, liste küçülmez. */
    min-width: 400px;
}

.external-channels-conversation-panel {
    left: auto;
    right: auto;
    min-width: 0;
}

/* Composer tablo akışından bağımsız olarak sohbet panelinin altında sabit kalır.
   Yükseklik, JS ile viewport'a göre boyutlanan ana panele (%100) bağlanır; sabit
   calc(100vh - Npx) kullanılmaz, aksi halde panel görünen alanın altına taşıp
   alttaki mesaj kutusunu overflow:hidden ile kırpıyordu. */
.external-channels-conversation-panel {
    position: relative;
    height: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
}

.external-channels-chat-container {
    height: calc(100vh - 365px);
}

/* Sağ panelde yalnızca mesaj geçmişi esner; yazma alanı her zaman görünür kalır. */
.external-channels-conversation-table,
.external-channels-conversation-table > tbody {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    width: 100%;
}

.external-channels-conversation-table > tbody > tr {
    display: block;
    flex: 0 0 auto;
    width: 100%;
}

.external-channels-conversation-table > tbody > tr > td {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.external-channels-conversation-table > tbody > .external-channels-chat-row {
    flex: 1 1 auto;
    min-height: 0;
}

.external-channels-conversation-table > tbody > .external-channels-chat-row > td {
    display: block;
    height: 100%;
    min-height: 0;
}

.external-channels-conversation-table .external-channels-chat-container {
    height: 100% !important;
    box-sizing: border-box;
}

/* Mesaj yazma alanı flex kolonun en altında NORMAL akışta durur (position:absolute
   değil). Sohbet satırı (flex:1) esner, composer her zaman görünür kalır; panel
   yüksekliği hesabı şaşsa bile kutu viewport dışına taşıp kırpılamaz. */
.external-channels-conversation-table .external-channels-input-section {
    position: relative;
    flex: 0 0 auto;
    z-index: 20;
    width: 100%;
}

/* Pencere daraldıkça liste, sohbet ve düzenleme alanı orantılı küçülür. */
.external-channels-main-panel > .full-fill-table {
    table-layout: auto;
}

@media (max-width: 1199px) {
    .external-channels-page {
        padding: 10px !important;
    }

    .external-channels-topic-panel {
        width: clamp(280px, 28vw, 340px) !important;
        min-width: 280px;
    }

    .external-channels-chat-left,
    .external-channels-chat-left-copy,
    .external-channels-chat-left-selected {
        margin-left: 28px;
    }

    .external-channels-chat-right {
        margin-right: 28px;
    }
}

@media (max-width: 991px) {
    .external-channels-page {
        padding: 6px !important;
    }

    .external-channels-topic-panel {
        width: 280px !important;
        min-width: 280px;
    }

    .external-channels-message-toolbar {
        height: 66px;
        padding: 4px;
    }

    .external-channels-message-toolbar-image-container,
    .external-channels-message-toolbar-image {
        width: 42px;
        height: 42px;
    }

    .external-channels-chat-container {
        height: calc(100vh - 357px);
    }

    .external-channels-chat-left,
    .external-channels-chat-left-copy,
    .external-channels-chat-left-selected,
    .external-channels-chat-right {
        min-width: 180px;
        max-width: 72%;
        padding: 10px 12px;
    }

    .external-channels-attachment-media-card,
    .external-channels-attachment-location {
        width: 230px;
    }
}

@media (max-width: 767px) {
    .external-channels-main-panel {
        min-width: 0;
    }

    .external-channels-page {
        overflow-x: visible;
    }

    .ec-filter-form > tbody {
        grid-template-columns: 1fr;
    }

    .ec-filter-form > tbody > .ec-filter-toggle-row,
    .ec-filter-actions-row {
        grid-column: 1;
    }
}

.external-channels-message-toolbar {
    background-color: #ffffff;
    border-bottom: 1px solid #dddddd;
    height: 74px;
    padding: 5px;
    position: relative;
}

.external-channels-message-toolbar-image-container {
    width: 52px;
}

.external-channels-message-toolbar-image {
    height: 52px;
    width: 52px;
    border: 1px solid #bbbbbb;
    border-radius: 50%;
}

.ec-detail-avatar {
    position: relative;
    width: 52px;
    height: 52px;
}

.ec-detail-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-sizing: border-box;
    user-select: none;
}

.ec-detail-initials i {
    font-size: 24px;
    opacity: 0.9;
}

.ec-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.external-channels-message-toolbar-display-name {
    padding-left: 5px;
    font-size: 22px;
    font-weight: bold;
    /* ec-card-name ile aynı sebep: selectedTopic.displayName harici kanaldan
       (ör. WhatsApp) geldiği için içinde sonlandırılmamış bir bidi override
       karakteri varsa, hemen yanındaki telefon/e-posta span'lerinin de ters/
       kaymış görünmesine yol açabiliyor. unicode-bidi: isolate ile bu etki
       sadece bu hücre içinde tutuluyor. */
    unicode-bidi: isolate;
}

.external-channels-message-toolbar-channel-name {
    padding-left: 5px;
    font-size: 16px;
}

.external-channels-message-toolbar-lock-container {
    width: auto;
    text-align: right;
    padding-right: 8px;
}

.external-channels-message-toolbar-lock-button-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px 0 10px;
    border: 1px solid #f3c9c3;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff6f5, #fbe9e7);
    color: #c0392b;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(192, 57, 43, 0.12);
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    position: absolute;
    left: 50%;
    top: 15px;
    transform: translate(-50%, 0);
    z-index: 1;
}

.external-channels-message-toolbar-lock-button-container:hover {
    background: linear-gradient(180deg, #fdebe9, #f8ddd9);
    border-color: #eeb6ad;
    box-shadow: 0 3px 8px rgba(192, 57, 43, 0.2);
    transform: translate(-50%, -1px);
}

/* Rozet ortada boş bir alanda tek başına kalmasın diye iki yanına
   soluk bir ayraç çizgisi eklenir; rozet genişliği isme göre değişse de
   çizgiler rozetin kenarına göre konumlandığı için her zaman doğru hizalanır. */
.external-channels-message-toolbar-lock-button-container::before,
.external-channels-message-toolbar-lock-button-container::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 70px;
    height: 1px;
}

.external-channels-message-toolbar-lock-button-container::before {
    right: 100%;
    margin-right: 10px;
    background: linear-gradient(to left, #e4e7ec, transparent);
}

.external-channels-message-toolbar-lock-button-container::after {
    left: 100%;
    margin-left: 10px;
    background: linear-gradient(to right, #e4e7ec, transparent);
}

.external-channels-message-toolbar-lock-user {
    height: auto;
    padding: 0;
    margin-right: 0;
    border-right: none;
    border-radius: 0;
    float: none;
    width: auto;
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1px;
    color: #a8321f;
}

.external-channels-message-toolbar-lock-button {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border-radius: 50%;
    background: rgba(192, 57, 43, 0.14);
    font-size: 12px;
    text-align: center;
    color: #c0392b;
}

.external-channels-message-toolbar-favorites-container {
    width: 52px;
    text-align: right;
    padding-right: 5px;
}

.external-channels-message-toolbar-archive-container {
    width: 52px;
    text-align: right;
    padding-right: 5px;
}

.external-channels-message-toolbar-status-container {
    text-align: right;
    padding-right: 5px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    height: 44px;
    width: 1px;
    white-space: nowrap;
}

/* Chip butonu */
.cs-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    background-color: #f5f5f5;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.15s;
    user-select: none;
    vertical-align: middle;
    box-sizing: border-box;
}
.cs-status-chip:hover { opacity: 0.85; }

.cs-chip-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cs-chip-label {
    color: #333;
}

.cs-chip-caret {
    color: #888;
    font-size: 11px;
}

/* Chip renkleri — sadece dot rengini değiştirir */
.cs-chip-open    .cs-chip-dot { background-color: #aaaaaa; }
.cs-chip-waiting .cs-chip-dot { background-color: #e6a817; }
.cs-chip-on-hold .cs-chip-dot { background-color: #31a8c7; }
.cs-chip-resolved .cs-chip-dot { background-color: #3f9142; }

/* Dropdown */
.cs-dropdown { min-width: 210px; padding: 4px 0; }

.cs-dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 7px 14px !important;
    font-size: 13px;
    color: #333;
}

.cs-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cs-dot-open    { background-color: #aaaaaa; }
.cs-dot-waiting { background-color: #e6a817; }
.cs-dot-on-hold { background-color: #31a8c7; }
.cs-dot-resolved { background-color: #3f9142; }

/* Settings sayfası — sol menü Yazışma Durumları butonu */
.cs-settings-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
    border-top: 1px solid #dddddd;
    cursor: pointer;
    font-size: 14px;
    color: #58666e;
}
.cs-settings-menu-item:hover { background-color: #f5f5f5; }
.cs-settings-menu-item-active { background-color: #e8f0fe; color: #1a56db; font-weight: 600; }
.cs-settings-menu-icon { font-size: 16px; }

/* Statü konfigürasyon satırı */
.cs-status-preview-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}
.cs-status-label-input { width: 220px; display: inline-block; }
.cs-status-color-input {
    width: 40px;
    height: 34px;
    padding: 2px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Conversation Status Settings Page ─────────────────────────── */
.css-layout {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: flex-start;
}
.css-main-panel {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #e4e9ef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.css-side-panel {
    width: 280px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e4e9ef;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.css-side-title {
    font-size: 13px;
    font-weight: 700;
    color: #58666e;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.css-info-block {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}
.css-info-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}
.css-info-label {
    font-size: 12px;
    font-weight: 600;
    color: #3d4d58;
    margin-bottom: 2px;
}
.css-info-desc {
    font-size: 11px;
    color: #8a97a5;
    line-height: 1.5;
}
.css-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #e4e9ef;
    background: #f7f9fc;
    font-size: 13px;
    font-weight: 700;
    color: #58666e;
}
.css-list-header {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 34px;
    background: #f7f9fc;
    border-bottom: 1px solid #e4e9ef;
    font-size: 11px;
    font-weight: 700;
    color: #8a97a5;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.css-status-row {
    display: flex;
    align-items: center;
    padding: 9px 16px;
    border-bottom: 1px solid #f0f3f7;
    cursor: pointer;
    transition: background .12s;
}
.css-status-row:last-child { border-bottom: none; }
.css-status-row:hover  { background: #fafbfc; }
.css-row-selected { background: #f0f5ff !important; }

.ec-bsuid-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #4a5560;
    background: #eef1f4;
    border-radius: 8px;
    vertical-align: middle;
}
.css-col-index {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 130px;
    flex-shrink: 0;
}
.css-color-bar {
    width: 4px;
    height: 28px;
    border-radius: 3px;
    flex-shrink: 0;
}
.css-row-badge {
    font-size: 11px;
    font-weight: 600;
    color: #6b7a8d;
    background: #eef1f6;
    border-radius: 10px;
    padding: 2px 8px;
    white-space: nowrap;
}
.css-row-badge-default { color: #555; background: #e3e6ea; }
.css-col-name    { flex: 1; padding-right: 12px; }
.css-col-color   { width: 65px;  flex-shrink: 0; text-align: center; }
.css-col-preview { width: 160px; flex-shrink: 0; }
.css-col-action  { width: 36px;  flex-shrink: 0; text-align: center; }
.css-label-input {
    height: 32px;
    border-radius: 5px;
    font-size: 13px;
}
.css-swatch-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
}
.css-swatch {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 2px solid rgba(0,0,0,.12);
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
    transition: transform .1s, box-shadow .1s;
}
.css-swatch-wrap:hover .css-swatch {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.css-color-hidden {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}
.css-remove-btn {
    padding: 0;
    width: 34px;
    height: 34px;
    line-height: 34px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #c0c8d2;
    font-size: 15px;
    cursor: pointer;
    transition: color .15s, background .15s;
}
.css-remove-btn:hover { background: #fde8e8; color: #e03e3e; }
.css-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 16px;
    border-top: 1px solid #e4e9ef;
    background: #f7f9fc;
}
.css-save-btn {
    font-size: 13px;
    padding: 7px 20px;
    border-radius: 5px;
}
.css-add-btn {
    font-size: 12px;
    color: #4a6fa5;
    border: 1px solid #c5d3e8;
    background: #fff;
    border-radius: 5px;
    padding: 5px 12px;
}
.css-add-btn:hover {
    background: #eef3fb;
    border-color: #4a6fa5;
    color: #3a5a8c;
}

.external-channels-message-toolbar-task-container {
    width: 52px;
    text-align: right;
    padding-right: 5px;
}

.external-channels-message-toolbar-unread-message-container {
    width: 52px;
    text-align: right;
    padding-right: 5px;
}

.external-channels-message-toolbar-button {
    font-size: 27px;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    width: 48px;
    height: 48px;
    text-align: center;
    cursor: pointer;
}

.internal-note-card {
    position: relative;
    transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.internal-note-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    border-color: #cfd6dd;
    transform: translateY(-1px);
}

.internal-note-card.internal-note-starred {
    background: #fffdf4;
    border-left: 3px solid #f1c40f;
}

.internal-note-card.internal-note-selected {
    background: #eef5ff;
    border-color: #93c0f5;
    box-shadow: 0 2px 10px rgba(43, 125, 233, 0.14);
}

.internal-note-delete {
    opacity: 0;
    color: #c4cad1;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.internal-note-card:hover .internal-note-delete {
    opacity: 1;
}

.internal-note-delete:hover {
    color: #c0392b;
}

.internal-note-star {
    transition: transform 0.12s ease, color 0.12s ease;
}

.internal-note-star:hover {
    transform: scale(1.25);
}

.internal-note-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
    align-self: center;
}

.internal-note-list {
    scrollbar-width: thin;
    scrollbar-color: #cdd4db transparent;
}

.internal-note-list::-webkit-scrollbar {
    width: 7px;
}

.internal-note-list::-webkit-scrollbar-track {
    background: transparent;
}

.internal-note-list::-webkit-scrollbar-thumb {
    background: #cdd4db;
    border-radius: 4px;
}

.internal-note-list::-webkit-scrollbar-thumb:hover {
    background: #b3bcc6;
}

.internal-note-card {
    animation: internalNoteFadeIn 0.2s ease;
}

@keyframes internalNoteFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.internal-note-panel {
    animation: internalNotePanelPopIn 0.18s ease;
    transform-origin: top right;
}

@keyframes internalNotePanelPopIn {
    from { opacity: 0; transform: scale(0.96) translateY(-8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.internal-note-panel-arrow {
    position: absolute;
    top: -6px;
    right: 26px;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    border-radius: 3px 0 0 0;
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.08);
}

.internal-note-panel-icon-btn {
    border-radius: 4px;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.internal-note-panel-icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1 !important;
}

.internal-note-textarea {
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.internal-note-textarea:focus {
    border-color: #93c0f5;
    box-shadow: 0 0 0 3px rgba(43, 125, 233, 0.14);
    background: #ffffff;
}

.internal-note-add-btn {
    transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.internal-note-add-btn:hover:not(:disabled) {
    filter: brightness(1.08);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.internal-note-add-btn:active:not(:disabled) {
    transform: translateY(1px);
}

.internal-note-add-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.internal-note-bulk-delete-btn {
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.internal-note-bulk-delete-btn:hover {
    background: #d8402f;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.external-channels-message-toolbar-favorites-button {
    font-size: 27px;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    width: 48px;
    height: 48px;
    text-align: center;
    cursor: pointer;
    color: #ffcc00;
}

.external-channels-input-section {
    background-color: #ffffff;
    border-top: 1px solid #e3e8ee;
    border-bottom: 1px solid #e3e8ee;
    height: 100px;
    padding: 10px 12px;
    box-sizing: border-box;
}
.external-channels-input-button-container {
    position: relative;
}

.external-channels-icon-menu {
    position: absolute;
    bottom: 10px;
    left: 0;
    display: flex;
    flex-direction: row;
    gap: 11px;
    padding: 6px 10px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

.external-channels-icon-menu i {
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.external-channels-icon-menu i:hover {
    background-color: rgb(246, 251, 255);
}



.external-channels-input-button-container {
    width: 60px;
    padding: 0 6px;
    text-align: center;
    position: relative;
    vertical-align: middle;
}

.external-channels-input-button-accounts {
    font-size: 18px;
    padding: 0;
    border: 1px solid #cccccc;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.external-channels-input-button-menu {
    font-size: 18px;
    padding: 0;
    border: 1px solid #cccccc;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    cursor: pointer;
    color: #58666e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.external-channels-input-button-mentions {
    font-size: 18px;
    padding: 0;
    border: 1px solid #cccccc;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    cursor: pointer;
    color: #58666e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.external-channels-input-button-attachments {
    font-size: 18px;
    padding: 0;
    border: 1px solid #cccccc;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    cursor: pointer;
    color: #58666e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.external-channels-input-button-send {
    font-size: 18px;
    padding: 0;
    border: 1px solid #cccccc;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    cursor: pointer;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.external-channels-input-container {
    height: 78px;
    padding: 0 4px;
    position: relative;
    vertical-align: middle;
}

.external-channels-input-section {
    position: relative;
    overflow: visible;
}

.external-channels-input-section > .full-width-table {
    height: 100%;
    table-layout: fixed;
}

.external-channels-input-section > .full-width-table > tbody > tr {
    height: 100%;
}

.external-channels-input {
    width: 100%;
    height: auto;
    border: 1px solid #cfd8e3;
    border-radius: 12px;
    background-color: #ffffff !important;
    padding: 12px 14px;
    resize: none;
    min-height: 0;
    max-height: 350px;
    position: absolute;
    top: 0;
    bottom: 0;
    box-sizing: border-box;
    z-index: 1;
}
.external-channels-input-counter {
    position: absolute;
    top: auto;
    bottom: 8px;
    right: 14px;
    z-index: 1;
}

.external-channels-chat-left-copy {
    background-color: #deffdf;
    color: #58666e;
    width: 500px;
    padding: 10px;
    border: 1px solid #cccccc;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 15px;
    margin-left: 74px;
    overflow: hidden;
    cursor: pointer;
}

.external-channels-chat-left-triangle-copy {
    width: 20px;
    height: 20px;
    overflow: hidden;
    position: relative;
    top: -1px;
    border-left: 1px solid #cccccc;
    margin-left: 74px;
}

.external-channels-chat-left-triangle-copy:after {
    content: '';
    background-color: #deffdf;
    width: 142%;
    height: 142%;
    position: absolute;
    transform: rotate(45deg) translate(-71%, 0);
    border: 1px solid #cccccc;
}

.external-channels-chat-left {
    background-color: #ffffff;
    color: #58666e;
    width: 500px;
    padding: 10px;
    border: 1px solid #cccccc;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 15px;
    margin-left: 74px;
    overflow: hidden;
    cursor: pointer;
}

.external-channels-chat-left-selected {
    color: #58666e;
    width: 500px;
    padding: 10px;
    border: 1px solid #cccccc;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 15px;
    margin-left: 74px;
}

.external-channels-chat-left-triangle {
    width: 20px;
    height: 20px;
    overflow: hidden;
    position: relative;
    top: -1px;
    border-left: 1px solid #cccccc;
    margin-left: 74px;
}

.external-channels-chat-left-triangle:after {
    content: '';
    background-color: #ffffff;
    width: 142%;
    height: 142%;
    position: absolute;
    transform: rotate(45deg) translate(-71%, 0);
    border: 1px solid #cccccc;
}

.external-channels-chat-left-triangle-reply-selected:after {
    background-color: #eaf7f1 !important;
    border-color: #a8dcc5 !important;
}

.external-channels-chat-left-triangle-selected {
    width: 20px;
    height: 20px;
    overflow: hidden;
    position: relative;
    top: -1px;
    border-left: 1px solid #cccccc;
    margin-left: 74px;
}

.external-channels-chat-left-triangle-selected:after {
    content: '';
    width: 142%;
    height: 142%;
    position: absolute;
    transform: rotate(45deg) translate(-71%, 0);
    border: 1px solid #cccccc;
}

.external-channels-chat-avatar-container {
    margin-bottom: 24px;
}

.ec-chat-avatar {
    overflow: hidden;
    box-sizing: border-box;
}

.ec-chat-avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    user-select: none;
}

.ec-chat-avatar-initials i {
    font-size: 24px;
    opacity: 0.9;
}

.ec-chat-avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.external-channels-chat-left-avatar {
    height: 52px;
    width: 52px;
    border: 1px solid #bbbbbb;
    border-radius: 50%;
    float: left;
    position: relative;
    top: -8px;
}

.external-channels-chat-left-display-name {
    float: left;
    margin-left: 10px;
    margin-top: -2px;
    font-size: 13px;
    font-weight: 600;
    color: #667085;
}

.ec-chat-name-right {
    text-align: right;
    margin-right: 74px;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #667085;
}

.external-channels-chat-text-left {
    font-size: 16px;
    color: #000000;
}

.external-channels-chat-right {
    color: #ffffff;
    width: 500px;
    padding: 10px;
    border: 1px solid #cccccc;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 0px;
    margin-left: auto;
    margin-right: 74px;
    overflow: hidden;
    cursor: pointer;
}

/* Ardışık mesaj balonları bitişik duruyordu; her balonun altına boşluk vererek
   birbirlerinden ayrılmaları sağlanır. */
.external-channels-chat-left,
.external-channels-chat-left-copy,
.external-channels-chat-right {
    margin-bottom: 10px;
}

.deleted-info {
    margin-left: 12px;
    font-size: 13px;
    color: #888;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-style: italic;
}
.deleted-info i {
    font-size: 14px;
    color: #888;
}

.external-channels-chat-right-triangle {
    width: 20px;
    height: 20px;
    overflow: hidden;
    position: relative;
    top: -1px;
    border-right: 1px solid #cccccc;
    margin-left: auto;
    margin-right: 74px;
}

.external-channels-chat-right-triangle:after {
    content: '';
    width: 142%;
    height: 142%;
    position: absolute;
    transform: rotate(-45deg) translate(45%, -25%);
    border: 1px solid #cccccc;
}

.external-channels-chat-right-avatar {
    height: 52px;
    width: 52px;
    border: 1px solid #bbbbbb;
    border-radius: 50%;
    object-fit: cover;
    float: right;
    position: relative;
    top: -38px;
    margin-right: 16px;
}

.external-channels-chat-right-display-name {
    float: right;
    margin-right: 16px;
    margin-top: -2px;
    font-size: 13px;
    font-weight: 600;
    color: #667085;
}

/* "En alta in" butonu sohbet alanına göre konumlanır (önceden yüzdelik konum sol listeyi de
   içeren üst panele göre hesaplanıyor, panel genişledikçe buton sohbetin ortasına kayıyordu) */
.external-channels-conversation-table > tbody > .external-channels-chat-row > td {
    position: relative;
}

.scroll-to-bottom-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
    width: 36px;
    height: 36px;
    background: #8080808f;
    color: white;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Buton artık her genişlikte ortada; dar ekran sınıfı da aynı ortalamayı korur */
.scroll-btn-center {
    right: auto !important;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-to-bottom-btn i {
    margin-right: 0;
    margin-top: 0;
}


.external-channels-chat-text-right {
    font-size: 16px;
    color: #ffffff;
}

.external-channels-chat-bottom {

    margin-top: 20px;
}

.external-channels-chat-time {
    width: 76px;
    text-align: right;
    font-size: 14px;
}

.external-channels-chat-date-separator {
    border-bottom: 1px solid #cccccc;
    text-align: center;
    margin-bottom: 30px;
}

.external-channels-chat-date-separator > span {
    position: relative;
    top: 10px;
    padding: 5px 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
}

/* Kısa mesajlar, içerik kadar alan kaplasın; konuşma ritmi daha kompakt kalsın. */
.external-channels-chat-left,
.external-channels-chat-left-copy,
.external-channels-chat-left-selected,
.external-channels-chat-right {
    width: fit-content;
    min-width: 210px;
    max-width: 55%;
    padding: 12px 14px;
    border-radius: 14px;
    box-sizing: border-box;
}

.external-channels-chat-left,
.external-channels-chat-left-copy,
.external-channels-chat-left-selected {
    margin-left: 40px;
    border-bottom-left-radius: 4px;
}

.external-channels-chat-right {
    margin-right: 40px;
    border-bottom-right-radius: 4px;
}


.external-channels-chat-left-triangle,
.external-channels-chat-left-triangle-copy,
.external-channels-chat-left-triangle-selected,
.external-channels-chat-right-triangle {
    display: none;
}

.external-channels-chat-text-left,
.external-channels-chat-text-right {
    font-size: 15px;
    line-height: 22px;
}

.external-channels-chat-bottom {
    margin-top: 7px;
}

.external-channels-chat-time {
    width: auto;
    font-size: 13px;
    white-space: nowrap;
}

.external-channels-chat-avatar-container {
    clear: both;
    height: 44px;
    margin-bottom: 12px;
}

.external-channels-chat-left-avatar,
.external-channels-chat-right-avatar {
    width: 32px;
    height: 32px;
    position: relative;
    margin: 0;
    border: 0;
    border-radius: 8px;
}

.external-channels-chat-left-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.external-channels-chat-left-avatar .ec-chat-avatar-initials {
    font-size: 18px;
}

.external-channels-chat-left-display-name {
    font-size: 13px;
}

.external-channels-chat-right-avatar {
    display: none;
}

.external-channels-chat-left-display-name,
.external-channels-chat-right-display-name {
    margin-top: 3px;
    font-size: 14px;
    line-height: 18px;
}

.external-channels-chat-left-display-name {
    margin-left: 8px;
    margin-top: 13px;
}

.external-channels-chat-right-display-name {
    margin-right: 40px;
    margin-top: 1px;
}

/* Gönderilemeyen mesajın nedeni, mesaj balonunun içinde görünür. */
.external-channel-failed-to-send {
    display: none !important;
}

.external-channels-chat-failed {
    color: #7f1d1d !important;
    background-color: #fff1f2 !important;
    border-color: #fecdd3 !important;
}

.external-channels-chat-failed .external-channels-chat-text-right,
.external-channels-chat-failed .external-channels-chat-text-left {
    color: #7f1d1d !important;
}

.external-channels-chat-failed-detail {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    color: #b4233a;
    border-top: 1px solid #fecdd3;
    font-size: 12px;
    line-height: 17px;
}

.external-channels-chat-failed-detail .fa-exclamation-circle {
    margin-top: 1px;
}

.external-channels-chat-info-separator {
    text-align: center;
    margin: 20px 0;
}

.external-channels-chat-info-separator > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    color: #50677b;
    background-color: #f3f7fb;
    border: 1px solid #d8e3ed;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
}

.external-channels-chat-sms-info > span {
    color: #ffffff;
    background-color: #1769aa;
    border-color: #1769aa;
}

.external-channels-chat-sms-info .fa-commenting-o {
    display: none;
}

.external-channels-chat-image {
    height: 150px;
    max-width: 475px;
    border: 1px solid #cccccc;
    border-radius: 15px;
}

.external-channels-chat-video {
    height: 500px;
    max-width: 475px;
    border: 1px solid #cccccc;
    border-radius: 15px;
}

/* Tüm ekler aynı kompakt kart sistemini kullanır. */
.external-channels-attachment {
    margin-top: 8px;
}

.external-channels-attachment-media-card {
    width: 330px;
    padding: 4px;
    background-color: #ffffff;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    box-sizing: border-box;
    color: #173b61 !important;
}

/* Resim ve video ekleri WhatsApp benzeri daha büyük ve ferah gösterilir. Resimde
   object-fit:cover ile kart alanı doldurulur; videoda contain ile görüntü kırpılmadan
   tümü görünür. */
.external-channels-attachment-media-card .external-channels-chat-image,
.external-channels-attachment-media-card .external-channels-chat-video {
    display: block;
    width: 100%;
    height: 260px;
    max-width: none;
    object-fit: cover;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
}

.external-channels-attachment-media-card .external-channels-chat-video {
    height: 320px;
    object-fit: contain;
    background-color: #000000;
}

.external-channels-attachment-file {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 260px;
    min-height: 52px;
    padding: 9px 12px;
    overflow: hidden;
    color: #173b61 !important;
    background-color: #ffffff;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.external-channels-attachment-file-name {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.external-channels-attachment-file .fa-download {
    width: 30px;
    height: 30px;
    padding: 0;
    color: #1976d2 !important;
    background-color: #eaf4ff;
    border-radius: 7px;
    font-size: 15px;
    line-height: 30px;
    text-align: center;
}

.external-channels-attachment-file br {
    display: none;
}

.external-channels-attachment-location {
    display: block;
    width: 260px;
    overflow: hidden;
    color: #173b61 !important;
    background-color: #ffffff;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    text-decoration: none !important;
}

.external-channels-attachment-location-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 105px;
    color: #dc3545;
    background: repeating-linear-gradient(45deg, #edf3e8, #edf3e8 18px, #e5ece0 18px, #e5ece0 36px);
    border-bottom: 1px solid #dce5ef;
    font-size: 28px;
}

.external-channels-attachment-location-content {
    display: block;
    padding: 9px 11px;
}

.external-channels-attachment-location-content strong,
.external-channels-attachment-location-content small {
    display: block;
}

.external-channels-attachment-location-content strong {
    font-size: 14px;
}

.external-channels-attachment-location-content small {
    margin-top: 3px;
    color: #1976d2;
    font-size: 12px;
}
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.load-more-icon-button {
    background-color: transparent;
    color: #444;
    border: none;
    padding: 0;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.external-channels-chat-map-icon-left {
    font-size: 22px;
    padding-right: 5px;
}

.external-channels-chat-map-icon-right {
    font-size: 22px;
    color: #ffffff;
    padding-right: 5px;
}

.external-channels-chat-download-icon-left {
    font-size: 22px;
    padding-right: 5px;
}

.external-channels-chat-download-icon-right {
    font-size: 22px;
    color: #ffffff;
    padding-right: 5px;
}

.external-channels-alternative-account-container {
    position: absolute;
    top: -800px;
    left: -500px;
    width: 1200px;
    height: 870px;
}

.external-channels-alternative-account-background {
    position: absolute;
    bottom: 70px;
    left: 0px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #cccccc;

}

.external-channels-alternative-account-item {
    padding: 10px;
    font-size: 16px;
    white-space: nowrap;
    text-align: left;
    cursor: pointer;
}

.external-channels-alternative-account-item > i {
    font-size: 14px;
}

.external-channels-alternative-account-warning {
    font-weight: bold;
    color: #dd0000;
    position: absolute;
    top: -30px;
    left: 0px;
    white-space: nowrap;
}

.external-channels-mention-container {
    position: absolute;
    top: -800px;
    left: -500px;
    width: 1200px;
    height: 870px;
}

.external-channels-mention-background {
    position: absolute;
    bottom: 70px;
    left: 0px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #cccccc;
}

.external-channels-mention-item {
    padding: 10px;
    font-size: 16px;
    white-space: nowrap;
    text-align: left;
    cursor: pointer;
}

.external-channels-mention-item > i {
    font-size: 14px;
}

.external-channels-attachment-menu-container {
    position: absolute;
    top: -800px;
    right: -75px;
    width: 1200px;
    height: 870px;
}

.external-channels-attachment-menu-background {
    position: absolute;
    bottom: 53px;
    left: 87px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #cccccc;

}

.external-channels-attachment-menu-item {
    padding: 5px 15px 5px 15px;
    border-bottom: 1px solid #cccccc;
    font-size: 16px;
    white-space: nowrap;
    text-align: left;
}

.external-channels-attachment-menu-item > i {
    font-size: 14px;
}

.external-channels-premade-message-container {
    position: absolute;
    top: -800px;
    left: -500px;
    width: 1200px;
    height: 870px;
}
.external-channels-input-button-menu-container {
    position: absolute;
    top: -800px;
    left: -500px;
    width: 1200px;
    height: 870px;
}

.external-channels-input-button-menu-background {
    position: absolute;
    bottom: 63px;
    left: 25px;
    width: 900px;
}

.external-channels-premade-message-background {
    position: absolute;
    bottom: 63px;
    left: 25px;
    width: 900px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #cccccc;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.external-channels-emoji-picker-background {
    position: absolute;
    bottom: 63px;
    left: 25px;
    width: 340px;
    max-height: 260px;
    overflow-y: auto;
    background-color: #f9f9f9;
    border: 1px solid #cccccc;
    border-radius: 12px;
    padding: 8px;
    z-index: 1000;
}

.external-channels-emoji-picker-grid {
    display: flex;
    flex-wrap: wrap;
}

.external-channels-emoji-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 6px;
    line-height: 1;
}

.external-channels-emoji-item:hover {
    background-color: #e4e6eb;
}

.external-channels-location-background {
    position: absolute;
    bottom: 63px;
    left: 25px;
    width: 500px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #cccccc;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.external-channels-location-container {
    position: absolute;
    top: -800px;
    left: -500px;
    width: 1200px;
    height: 870px;
}

.external-channels-premade-message-search {
    width: 100%;
    border: 1px solid #cccccc;
    padding: 5px;
}

.external-channels-premade-message-search-header {
    padding: 10px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    font-weight: bold;
}

.external-channels-premade-message-table-container {
    max-height: 290px;
    overflow-y: auto;
    overflow-x: hidden;
}

.external-channels-premade-message-header-subject {
    background-color: #dddddd;
    border-bottom: 1px solid #cccccc;
    position: sticky;
    top: 0;
    z-index: 2;
}

.external-channels-premade-message-header-message {
    background-color: #dddddd;
    border-bottom: 1px solid #cccccc;
    position: sticky;
    top: 0;
    z-index: 2;
}

.external-channels-premade-message-row-subject {
    background-color: #ffffff;
    border-bottom: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
}

.external-channels-premade-message-row-message {
    background-color: #ffffff;
    border-bottom: 1px solid #cccccc;
}

.external-channels-premade-message-text-subject {
    width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
    padding: 3px 5px;
    cursor: pointer;
}

.external-channels-premade-message-text-message {
    width: 700px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
    padding: 3px 5px;
    cursor: pointer;
}

.external-channels-input-blocker-container {
    height: 0px;
    position: relative;
}

.external-channels-input-blocker {
    height: 100px;
    width: 100%;
    background-color: black;
    position: absolute;
    z-index: 21;
    opacity: 0.3;
    cursor: grab;
}

.external-channels-chat-open-in-browser-left {
    width: 115px;
    float: left;
}

.external-channels-chat-open-in-browser-left i {
    font-size: 16px;
    padding-right: 5px;
}

.external-channels-chat-open-in-browser-right {
    width: 115px;
    float: left;
    color: #ffffff;
}

.external-channels-chat-open-in-browser-right i {
    font-size: 16px;
    padding-right: 5px;
}

/* Instagram DM reel'e özel sade "Tarayıcıda Aç" linki — yalnızca bu case için. */
.external-channels-chat-open-in-browser-prominent {
    width: auto;
    margin-top: 1px;
    margin-left: 12px;
}

.external-channels-chat-open-in-browser-prominent a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.external-channels-chat-open-in-browser-prominent a i {
    font-size: 14px;
    padding-right: 0;
}

.external-channels-chat-open-in-browser-prominent a:hover {
    color: #0069d9;
    text-decoration: underline;
}

.external-channels-chat-user-followers-count-left {
    width: 60px;
    float: left;
}

.external-channels-chat-user-followers-count-left i {
    font-size: 16px;
}

.external-channels-chat-like-count-left {
    width: 60px;
    float: left;
}

.external-channels-chat-like-count-left i {
    font-size: 16px;
}

.external-channels-chat-comment-count-left {
    width: 60px;
    float: left;
}

.external-channels-chat-comment-count-left i {
    font-size: 16px;
}

.external-channels-chat-share-count-left {
    width: 60px;
    float: left;
}

.external-channels-chat-share-count-left i {
    font-size: 16px;
}

.web-ticket-label {
    width: 125px;
    padding: 10px;
    font-weight: bold;
}

/* Web form (web-ticket.html): uzun seçenekler mobilde tek satırda kalıp sağa taşıyordu;
   açılır listede, seçili değerde ve placeholder'da metin alt satıra geçer (v2'deki .wtv2-body kurallarının eşi) */
.web-ticket-body .ui-select-choices-row > span {
    white-space: normal;
    overflow-wrap: anywhere;
}

.web-ticket-body .ui-select-bootstrap > .ui-select-match > .ui-select-toggle {
    position: relative;
    height: auto;
    white-space: normal;
    text-align: left;
    padding-right: 28px;
}

.web-ticket-body .ui-select-bootstrap > .ui-select-match > .ui-select-toggle > .caret {
    position: absolute;
    right: 12px;
    top: 50%;
    margin-top: -2px;
}

.web-ticket-body .ui-select-bootstrap .ui-select-match-text {
    height: auto;
    overflow: visible !important;
}

.web-ticket-body .ui-select-placeholder {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Genel ".open > .dropdown-menu { min-width: 225px }" dar ekranda menüyü inputtan geniş açıp
   iframe kenarından taşırıyordu; web formda menü input genişliğinde açılır */
.web-ticket-body .open > .dropdown-menu.ui-select-choices {
    min-width: 100% !important;
}

.leaflet-control-command-interior {
    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: #aa0000;
    cursor: pointer;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
    border-radius: 25px;
    width: 45px;
    height: 50px;
    opacity: 0.5;
}

.open > .dropdown-menu {
    min-width: 225px !important;
}

.create-fax-btn {
    margin: 10px;
    padding: 10px 15px;
    transition: background-color 200ms ease-in-out;
    color: white;
    border-radius: 3px;
    background-color: #2196f3;
    font-size: 20px;
}

.fax-box {
    margin: 10px;
    cursor: pointer;
    border-radius: 5px;
    cursor: pointer;
    height: 40px;
    font-size: 25px;
    text-align: center;
}

.fax-box:hover {
    background-color: #b4d7f1;
}

.notif {
    position: absolute;

    display: flex;
    width: 20px;
    height: 20px;
    color: white;
    border-radius: 50%;
    background-color: #ea2e49;
    font-size: 12px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    margin-left: 30px;
    margin-bottom: 17px;
}

.message__actions {
    align-content: space-between;
    display: grid;
    grid-auto-flow: row;
    grid-gap: 5px;
    padding: 15px;
    text-align: center;
    transform: translateX(-10px);
    transition: transform .2s ease;
    visibility: hidden;
}

.clickedAreaIconForNavigationFax {

    background-color: #b4d7f1 !important;
}

.fax-list {
    cursor: pointer;
}

.fax-list-checkbox {
    top: 12px;
    right: 0px;
}

.fax-list-checkbox > input[type="checkbox"] {
    display: none;
}

.fax-list-checkbox > input[type="checkbox"] + *::before {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    width: 20px;
    height: 20px;
    border: 0px;
}

.fax-list:hover .fax-list-checkbox > input[type="checkbox"] + *::before {
    border: 1px solid #020202 !important;
}

.fax-list-checkbox input[type="checkbox"]:checked + *::before {
    content: "✓";
    color: white;
    text-align: center;
    background: #aaaaaa;
    border-color: #cccccc;
}

.fax-list-checkbox input[type="checkbox"]:checked + * {
    color: #aaaaaa;
}

.diagram-toolbar {
    width: 100%;
    height: 39px;
    padding: 3px;
    border: 1px solid #cccccc;
    border-bottom: 0;
}

.diagram-button {
    padding: 5px;
    text-align: center;
    cursor: pointer;
    margin-right: 5px;
    width: fit-content;
    float: left;
    border: 1px solid #cccccc;
}

.whatsapp-phone-preview {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.whatsapp-phone-screen-container {
    height: 100%;
}

.whatsapp-phone-chat {
    height: 100%;
}

.whatsapp-phone-chat-container {
    height: 100%;
}

.whatsapp-phone-user-bar {
    height: 55px;
    background: #005e54;
    color: #fff;
    padding: 0 8px;
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.whatsapp-phone-user-bar:after {
    content: "";
    display: table;
    clear: both;
}

.whatsapp-phone-user-bar div {
    float: left;
    transform: translateY(-50%);
    position: relative;
    top: 50%;
}

.whatsapp-phone-user-bar .avatar {
    margin: 0 0 0 5px;
    width: 36px;
    height: 36px;
}

.whatsapp-phone-user-bar .avatar img {
    border-radius: 50%;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    display: block;
    width: 100%;
}

.whatsapp-phone-user-bar .name {
    font-size: 17px;
    font-weight: 600;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
    margin: 0 0 0 8px;
    overflow: hidden;
    white-space: nowrap;
    width: 110px;
}

.whatsapp-phone-user-bar .status {
    display: block;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
}

.whatsapp-phone-conversation {
    height: calc(100% - 12px);
    position: relative;
    background: #efe7dd;
    z-index: 0;
}

.whatsapp-phone-conversation .conversation-container {
    height: calc(100% - 68px);
    box-shadow: inset 0 10px 10px -10px #000000;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 16px;
    margin-bottom: 5px;
}

.whatsapp-phone-message {
    color: #000;
    clear: both;
    line-height: 18px;
    font-size: 15px;
    padding: 8px;
    position: relative;
    margin: 8px 0;
    max-width: 85%;
    word-wrap: break-word;
    z-index: -1;
}

.whatsapp-phone-message :after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
}

.whatsapp-phone-message .whatsapp-preview-body:after {
    content: none;
    border: 0;
}

.whatsapp-phone-message:first-child {
    margin: 16px 0 8px;
}

.whatsapp-phone-message.sent {
    background: #e1ffc7;
    border-radius: 5px 0px 5px 5px;
    float: right;
}

.whatsapp-template-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.whatsapp-template-sidebar {
    flex: 0 0 200px;
    width: 200px;
    border-right: 1px solid #eef1f6;
    padding-right: 10px;
}

.whatsapp-template-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #5b6472;
    cursor: pointer;
    margin-bottom: 2px;
    transition: background .15s ease, color .15s ease;
}

.whatsapp-template-sidebar-item:hover {
    background: #f5f6fa;
}

.whatsapp-template-sidebar-item-active {
    background: #eef7f5;
    color: #128c7e;
    font-weight: 700;
}

.whatsapp-template-sidebar-item-count {
    font-size: 11px;
    color: #9aa5ad;
}

.whatsapp-template-sidebar-item-active .whatsapp-template-sidebar-item-count {
    color: #128c7e;
}

.whatsapp-template-main {
    flex: 1 1 auto;
    min-width: 0;
}

.whatsapp-template-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.whatsapp-template-toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-template-search {
    position: relative;
    width: 320px;
    max-width: 60%;
}

.whatsapp-template-channel-filter {
    width: 200px;
    border-radius: 20px;
    height: 34px;
}

.whatsapp-template-view-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #dde2e8;
    border-radius: 6px;
    padding: 4px;
}

.whatsapp-template-view-toggle i {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #9aa5ad;
    cursor: pointer;
    font-size: 13px;
}

.whatsapp-template-view-toggle-active {
    background: #eef7f5;
    color: #128c7e !important;
}

.whatsapp-template-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-template-sort select {
    width: 170px;
    height: 34px;
    border-radius: 20px;
}

.whatsapp-template-sort i {
    cursor: pointer;
    color: #5b6472;
    font-size: 15px;
}

.whatsapp-template-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.whatsapp-template-list-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
    border: 1px solid #eef1f6;
    border-radius: 8px;
    background: #ffffff;
}

.whatsapp-template-list-main {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.whatsapp-template-list-example {
    flex: 1 1 auto;
    font-size: 13px;
    color: #3b3b3b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.whatsapp-template-list-updated {
    flex: 0 0 220px;
    font-size: 11px;
    color: #9aa5ad;
}

.whatsapp-template-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 0;
    margin-top: 10px;
    border-top: 1px solid #f0f2f5;
    font-size: 12px;
    color: #5b6472;
}

.whatsapp-template-pagination-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.whatsapp-template-pagination-btn {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border: 1px solid #dde2e8;
    border-radius: 6px;
    background: #ffffff;
    color: #5b6472;
    cursor: pointer;
}

.whatsapp-template-pagination-btn:disabled {
    opacity: .4;
    cursor: default;
}

.whatsapp-template-pagination-btn-active {
    background: #128c7e;
    border-color: #128c7e;
    color: #ffffff;
}

.whatsapp-template-pagination-size {
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-template-pagination-size select {
    width: 70px;
    height: 28px;
    padding: 2px 6px;
}

.whatsapp-template-search .fa-search {
    position: absolute;
    left: 12px;
    top: 11px;
    color: #9aa5ad;
}

.whatsapp-template-search input {
    padding-left: 32px;
    border-radius: 20px;
}

.whatsapp-template-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 18px;
}

.whatsapp-template-card {
    width: 300px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e4e9ef;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .07);
    background: #ffffff;
    transition: box-shadow .15s ease, transform .15s ease;
}

.whatsapp-template-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    transform: translateY(-2px);
}

.whatsapp-template-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #fafbfc;
    border-bottom: 1px solid #eeeeee;
    border-radius: 10px 10px 0 0;
}

.whatsapp-template-card-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.whatsapp-template-card-title {
    font-weight: 700;
    font-size: 15px;
    color: #222222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 185px;
}

.whatsapp-template-status {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.whatsapp-template-status-approved {
    background: #e3f7e8;
    color: #1e8e3e;
}

.whatsapp-template-status-pending {
    background: #fff5da;
    color: #b9820a;
}

.whatsapp-template-status-rejected {
    background: #fde8e8;
    color: #d63031;
}

.whatsapp-template-status-failed {
    background: #fde8e8;
    color: #d63031;
}

.whatsapp-template-status-disabled,
.whatsapp-template-status-archived {
    background: #eef1f6;
    color: #5b6472;
}

.whatsapp-template-kebab-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: #8b94a3;
    cursor: pointer;
    transition: background .15s ease;
}

.whatsapp-template-kebab-btn:hover {
    background: #eef1f6;
    color: #444444;
}

.whatsapp-template-card-body {
    flex: 1 1 auto;
    padding: 12px;
    background: #e9e2d6;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.whatsapp-template-card-message {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.whatsapp-template-card-bubble {
    position: relative;
    background: #ffffff;
    padding: 10px 10px 10px 10px;
    min-height: 60px;
    max-height: 220px;
    overflow: hidden;
}

.whatsapp-template-card-preview {
    background: #f7f8fa;
    border-radius: 8px;
    padding: 10px 12px;
    min-height: 60px;
}

.whatsapp-template-example-stage {
    width: 100%;
    padding: 32px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f6f4fb 0%, #eef1f6 100%);
    display: flex;
    justify-content: center;
}

.whatsapp-phone-preview-v2 {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
    border: 1px solid #e4e9ef;
}

.whatsapp-phone-preview-v2 .whatsapp-phone-user-bar {
    height: auto;
    padding: 10px 12px;
    display: flex;
    align-items: center;
}

.whatsapp-phone-preview-v2 .whatsapp-phone-user-bar div {
    float: none;
    position: static;
    top: auto;
    transform: none;
}

.whatsapp-phone-preview-v2 .whatsapp-phone-user-bar .name {
    width: auto;
    max-width: 220px;
}

.whatsapp-phone-conversation-v2 {
    background: #e9e2d6;
    padding: 20px 14px;
    min-height: 220px;
    display: flex;
    align-items: center;
}

.whatsapp-phone-conversation-v2 .whatsapp-template-card-message {
    width: 100%;
}

.whatsapp-template-card-bubble-scrollable {
    max-height: 260px;
    overflow-y: auto;
}

.whatsapp-template-card-bubble-scrollable::-webkit-scrollbar {
    width: 5px;
}

.whatsapp-template-card-bubble-scrollable::-webkit-scrollbar-thumb {
    background: #d8d2c4;
    border-radius: 10px;
}

.whatsapp-template-button-counter {
    font-size: 11px;
    color: #9aa5ad;
    white-space: nowrap;
    min-width: 34px;
    text-align: right;
}

.whatsapp-template-card-example {
    font-size: 13px;
    color: #3b3b3b;
    white-space: pre-line;
    word-break: break-word;
}

.whatsapp-template-card-preview .whatsapp-template-card-example {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

.whatsapp-template-card-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.whatsapp-template-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #eef7f5;
    color: #128c7e;
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 12px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.whatsapp-template-chip i {
    font-size: 10px;
    flex-shrink: 0;
}

.whatsapp-template-card-meta {
    font-size: 11px;
    color: #9aa5ad;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.whatsapp-template-card-media-preview {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f0fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-template-card-media-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp-template-card-media-placeholder {
    color: #b7b3e0;
    font-size: 34px;
}

.whatsapp-template-card-text {
    max-height: 150px;
    overflow: hidden;
}

.whatsapp-template-card-example-placeholder {
    font-size: 13px;
    color: #b0b0b0;
    font-style: italic;
}

.whatsapp-template-card-time {
    display: block;
    text-align: right;
    font-size: 10px;
    color: #8b8b8b;
    margin-top: 6px;
}

.whatsapp-template-media-icon {
    color: #128c7e;
    margin-right: 6px;
}

.whatsapp-template-card-buttons {
    background: #ffffff;
}

.whatsapp-template-card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 13px;
    color: #128c7e;
    border-top: 1px solid #e4e9ef;
}

.whatsapp-template-card-button i {
    font-size: 12px;
    flex-shrink: 0;
}

.whatsapp-template-card-button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 90%;
}

.whatsapp-template-card-media {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    margin-bottom: 8px;
    background: #f4f6f8;
    border-radius: 8px;
}

.whatsapp-template-card-media-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #4a69bd;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-template-card-media-name {
    font-size: 12px;
    font-weight: 600;
    color: #2d3436;
    word-break: break-all;
}

.whatsapp-template-card-media-size {
    font-size: 11px;
    color: #9aa5ad;
}

.whatsapp-template-example-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.whatsapp-template-example-preview {
    flex: 1 1 380px;
    min-width: 280px;
}

.whatsapp-content-check-panel {
    flex: 1 1 260px;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid #eef1f4;
    border-radius: 10px;
    padding: 16px 18px;
    align-self: stretch;
}

.whatsapp-content-check-heading {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #6c5ce7;
    margin-bottom: 10px;
}

.whatsapp-content-check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #f0f2f5;
}

.whatsapp-content-check-row:first-child {
    border-top: none;
    padding-top: 0;
}

.whatsapp-content-check-icon-ok {
    color: #2ecc71;
    margin-top: 2px;
}

.whatsapp-content-check-icon-warning {
    color: #e67e22;
    margin-top: 2px;
}

.whatsapp-content-check-title {
    font-size: 13px;
    font-weight: 600;
    color: #2d3436;
}

.whatsapp-content-check-desc {
    font-size: 12px;
    color: #7a7a7a;
    margin-top: 2px;
}

.whatsapp-template-card-updated {
    background: #4a4a40;
    color: #ffffff;
    font-style: italic;
    font-size: 11px;
    text-align: right;
    padding: 6px 10px;
    border-radius: 6px;
}

.whatsapp-template-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 14px;
}

.whatsapp-template-card-date {
    font-size: 11px;
    color: #9aa5ad;
}

.whatsapp-template-manage-btn {
    font-size: 12px;
    font-weight: 600;
    color: #6c5ce7;
    background: #f5f3ff;
    border: 1px solid #6c5ce7;
    border-radius: 20px;
    padding: 5px 14px;
    cursor: pointer;
    transition: background .15s ease;
}

.whatsapp-template-manage-btn:hover {
    background: #6c5ce7;
    color: #ffffff;
}

.whatsapp-template-info-icon {
    color: #9aa5ad;
    font-size: 16px;
    cursor: pointer;
}

.whatsapp-template-empty-state {
    text-align: center;
    padding: 60px 0;
    color: #9aa5ad;
}

.whatsapp-template-empty-state .fa-whatsapp {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.whatsapp-template-channel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e4e9ef;
}

.whatsapp-template-channel-header:first-child {
    margin-top: 0;
}

.whatsapp-template-channel-header .fa-whatsapp {
    color: #128c7e;
    font-size: 16px;
}

.whatsapp-template-channel-name {
    font-size: 15px;
    font-weight: 700;
    color: #333333;
}

.whatsapp-template-channel-count {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background: #128c7e;
    border-radius: 10px;
    padding: 1px 8px;
}

.whatsapp-template-side-panel .modal-dialog {
    position: fixed;
    margin: 0;
    top: 0;
    right: 0;
    height: 100%;
    width: 560px;
    max-width: 90vw;
    animation: whatsappTemplatePanelSlideIn .25s ease-out;
}

.whatsapp-template-side-panel .modal-content {
    height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

.whatsapp-template-panel-body {
    flex: 1;
    overflow-y: auto;
}

.whatsapp-template-form-section {
    padding: 16px 18px;
    margin-bottom: 16px;
    background: #fafbfc;
    border: 1px solid #eef1f4;
    border-radius: 10px;
}

.whatsapp-template-form-section:last-child {
    margin-bottom: 0;
}

.whatsapp-template-form-section-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #6c5ce7;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e4e9ef;
}

.whatsapp-template-category-hint {
    display: block;
    font-size: 12px;
    color: #8a94a3;
    margin-bottom: 14px;
    margin-top: -8px;
}

.whatsapp-template-category-list {
    display: flex;
    gap: 12px;
}

.whatsapp-template-category-card {
    flex: 1 1 0;
    padding: 14px;
    border: 1px solid #dde2e8;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.whatsapp-template-category-card:hover {
    border-color: #128c7e;
}

.whatsapp-template-category-card-active {
    border-color: #128c7e;
    box-shadow: 0 0 0 1px #128c7e;
    background: #f3fbfa;
}

.whatsapp-template-category-card-icon {
    font-size: 18px;
    color: #128c7e;
    margin-bottom: 8px;
}

.whatsapp-template-category-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 4px;
}

.whatsapp-template-category-card-desc {
    font-size: 12px;
    color: #8a94a3;
    line-height: 1.4;
}

.whatsapp-template-category-error {
    display: block;
    color: #d9534f;
    font-size: 12px;
    margin-top: 8px;
}

.whatsapp-template-form-row {
    margin-bottom: 14px;
}

.whatsapp-template-form-row:last-child {
    margin-bottom: 0;
}

.whatsapp-template-form-row .form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #444444;
}

.whatsapp-template-button-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.whatsapp-template-button-hint {
    font-size: 12px;
    color: #7a7a7a;
    font-style: italic;
    line-height: 1.4;
}

.whatsapp-template-button-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e4e9ef;
    border-radius: 8px;
    padding: 4px 6px 4px 10px;
}

.whatsapp-template-button-row aphel-textbox {
    flex: 1;
}

.whatsapp-template-button-remove {
    color: #d63031;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background .15s ease;
}

.whatsapp-template-button-remove:hover {
    background: #fde8e8;
}

.whatsapp-template-add-button-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    background: #ffffff !important;
    color: #6c5ce7 !important;
    border: 1px dashed #6c5ce7 !important;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
}

.whatsapp-template-add-button-btn:hover {
    background: #f5f3ff !important;
}

@keyframes whatsappTemplatePanelSlideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.xl-modal-dialog .modal-dialog {
    width: 1400px;
}

.external-channel-bulk-archive-option-rb {
    width: 13px;
    height: 13px;
    cursor: pointer;
}

.external-channel-bulk-archive-option-text {
    font-size: 15px;
    margin-left: 5px;
    color: #111111;
    cursor: pointer;
    margin-top: 21px
}

.external-channel-bulk-archive-title {
    font-weight: bold;
}

.external-channel-bulk-archive-option {
    margin-top: 12px
}

ul.fancytree-container {
    overflow: hidden;
}

span.fancytree-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rating {
    font-size: 0;
}

.star {
    display: inline-block;
    font-size: 24px;
    color: #FFD700;
}

.star-filled {
    color: #FFA500;
}

.external-channels-message-caption {
    font-weight: bold;
    color: black;
    padding-bottom: 20px;
}

.basaksehir-mobile-dashboard-youth-games-total-header {
    padding-top: 5px !important;
}

.basaksehir-mobile-dashboard-youth-games-total-subheader {
    font-size: 11px;
    margin-top: 0;
    color: red;
}

.basaksehir-mobile-dashboard-youth-games-total-subheader:before {
    content: "\a ";
    white-space: pre;
}

.red-text {
    color: red;
    font-weight: bold;
}

.house-info-label {
    width: 100px;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
    color: #333333;
}

.house-info-seperator {
    width: 10px;
}

.house-info-value {
    padding-left: 5px;
    padding-right: 5px;
}

.house-management-avatar {
    width: 36px;
    height: 36px;
    border: 1px solid #cacaca;
    border-radius: 18px;
    margin-left: 5px;
}

.household-toolbar-button {
    width: 150px;
    padding: 10px;
    border-right: 1px solid #cccccc;
    text-align: center;
    cursor: pointer;
    float: left;
}

.house-management-th {
    height: 40px;
    border-bottom: 1px solid #cccccc;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
    color: #333333;
}

.house-management-td {
    height: 40px;
    border-bottom: 1px solid #f0f0f0;
    padding-left: 5px;
    padding-right: 5px;
}

.house-management-td-container {
    height: 40px;
    overflow: hidden;
}

.animation-description-container {
    position: relative;
    overflow: hidden;
    height: 1.8em;
}

.description-animation {
    display: block;
    width: 100%;
    box-sizing: border-box;
    animation: slide 6s linear infinite;
}

@keyframes slide {
    0%, 25% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-100%);
    }
    75%, 100% {
        transform: translateY(0);
    }
}

.whatsapp-bulk-message-send-wizard-step-table {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.whatsapp-bulk-message-send-wizard-step {
    border: 1px solid #cccccc;
    text-align: center;
    font-weight: bold;
    padding: 5px;
    width: 200px;
}

.whatsapp-bulk-message-send-wizard-step-seperator {
    width: 60px;
    text-align: center;
}

.whatsapp-bulk-message-send-wizard-button {
    width: 100px;
    float: right;
}

.external-channel-failed-to-send {
    display: inline-block;
    color: red;
    float: left;
    margin-left: 640px;
}

.password-container {
    position: relative;
    width: 300px;
}

.show-password {
    position: absolute;
    right: 20px;
    padding-top: 16px;
    transform: translateY(-15%);
    cursor: pointer;
}

.chat-bot-align input,
.chat-bot-align label,
.chat-bot-align span,
.chat-bot-align button {
    display: inline-block !important;
    vertical-align: middle;
}


.is-chat-bot-active {
    position: absolute;
    background-color: #0072c6;
    color: white;
    padding: 0 2px;
    border-radius: 8px;
    height: 20px;
    width: 20px;
    text-align: center;
    left: 27px;
    margin-top: -21px;
}

.inspection-form-field-description {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #222222;
}

.inspection-form-field-textbox {
    width: 100%;
    padding: 5px;
}

.inspection-form-field-textarea {
    width: 100%;
    height: 150px;
    padding: 5px;
}

.inspection-form-field-option-rb {
    width: 13px;
    height: 13px;
    cursor: pointer;
}

.inspection-form-field-option-text {
    font-size: 17px;
    margin-left: 5px;
    color: #111111;
    cursor: pointer;
}

.inspection-form-field-option > input[type="radio"]:disabled {
    -webkit-appearance: none;
    display: inline-block;
    width: 12px;
    height: 12px;
    padding: 0px;
    background-clip: content-box;
    border: 2px solid #bbbbbb;
    background-color: white;
    border-radius: 50%;
}

.inspection-form-field-option > input[type="radio"]:checked {

    background-color: blue;
}

.inspection-form-field-checkbox > input[type="checkbox"]:disabled {
    -webkit-appearance: none;
    display: inline-block;
    width: 12px;
    height: 12px;
    padding: 0px;
    background-clip: content-box;
    border: 2px solid #bbbbbb;
    background-color: white;
}

.inspection-form-field-checkbox > input[type="checkbox"]:checked {

    background-color: blue;
}

.inspection-form-field {

    padding-bottom: 30px;
}

.inspection-form-field-image-thumbnail-container {

    width: 50px;
    height: 50px;
    margin-top: 10px;
    margin-left: 2px;
    margin-bottom: 2px;
    position: relative;
}

.inspection-form-field-image-thumbnail {

    width: 100%;
    height: 100%;
    border: 1px solid #cccccc;
    border-radius: 5px;
    cursor: pointer;
}

.inspection-form-field-image-thumbnail:hover {

    border: 1px solid #660000;
}

.inspection-form-field-file {

    font-size: 13px;
    color: #000066;
    cursor: pointer;
}


.pbx-panel-screen-phone-number-container input::-webkit-input-placeholder {
    font: 1.95rem/3 sans-serif;
}

.otp-input {
    width: 135px;
    padding: 3px;
    font-size: 20px;
    text-align: center;
    height: 40px;
}

/* Responsive Styles */
@media only screen and (max-width: 600px) {
    /* For mobile devices */
    tr {
        background-image: none !important;
        background-color: #ffffff;
    }

    .mobile-width {
        width: 100% !important;
    }

    .login-panel {
        height: auto;
    }

    .login-panel .vertical-top.padding-35.mobile-padding {
        padding: 35px !important;
    }

    .login-panel .mobile-width {
        width: 100%;
        margin-top: 11%;
        margin-left: 0;
    }

    .remember-me-container {
        margin-left: 0; /* Adjust margin for smaller screens */
        text-align: left; /* Align checkbox and label to the left on smaller screens */
    }
}

/* General Styles */
.login-panel {
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 3px 3px -2px rgba(0, 0, 0, 0.12);
    background-color: #ffffff;
    height: 100%;
}

.login-panel tr {
    background-size: cover;
}

.hidden-xs.hidden-sm.text-center.position-relative {
    text-align: center;
    position: relative;
}

.login-panel .left-image {
    margin-left: -100px;
}

.login-panel .bottom-logo {
    position: absolute;
    bottom: 20px;
    width: 250px;
    margin-left: -365px;
    margin-bottom: 100px;
}

.login-panel .copyright {
    color: #2b3565;
    font-size: 15px;
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
    margin-left: -50px;
}

.login-panel .vertical-top.padding-35.mobile-padding {
    position: relative;
    vertical-align: top;
    width: 40%;
}


/* Autofill Styling */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s;
    -webkit-text-fill-color: #2b3565 !important;
}

/* Checkbox Styling */
#rememberMeCheckbox {
    position: relative;
    cursor: pointer;
    margin-right: 5px; /* Adjust as needed */
    vertical-align: middle; /* Align vertically in the middle */
}

#rememberMeCheckbox:before {
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    border: 1px solid #2b3565;
    border-radius: 3px;
    background-color: #f5f2f2;
    padding: 1px;
}

#rememberMeCheckbox:checked::before {
    background-color: #f5f2f2;
}

#rememberMeCheckbox:checked::after {
    content: "";
    display: block;
    width: 5px;
    height: 10px;
    border: solid #2b3565;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: absolute;
    top: 2px;
    left: 6px;
}

/* Adjust alignment for checkbox container */
.remember-me-container {
    text-align: center;
    padding-top: 10px; /* Adjust as needed */
    padding-bottom: 10px; /* Adjust as needed */
}

.remember-me-label {
    color: #2b3565;
    font-size: 16px;
    vertical-align: middle; /* Align vertically in the middle */
    margin-top: 10px;
}

.container2 {
    display: flex;
    justify-content: space-between; /* Metinleri sağ ve sol kenara göre dağıt */
    max-width: 800px; /* İsteğe bağlı: Maksimum genişlik ayarı */
    margin: 0 auto; /* Sayfanın ortasına al */
}

.left-column,
.right-column {
    flex-basis: 20%; /* Sağ ve sol sütunların genişliği */
}

/* İsteğe bağlı: Metinleri hizalamak için */
.left-column p,
.right-column p {
    margin-bottom: 10px;
}

.grey-background {
    background-color: #f2f2f2; /* Gri rengi belirtin */
    padding: 10px; /* İstediğiniz boşluk miktarını ayarlayın */
    border-radius: 5px; /* Opsiyonel: Kenar yuvarlaklığı ekleyin */
}

.executive-dashboard-filter-toolbar {
    background-color: #eeeeee;
    padding: 4px;
    border-bottom: 1px solid #cccccc;
    display: flex;
}

.executive-dashboard-filter {
    background-color: #777777;
    color: #ffffff;
    padding: 4px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    white-space: nowrap;
    float: left;
    margin-right: 5px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.executive-dashboard-filter-close {
    padding: 3px;
    padding-left: 5px;
    cursor: pointer;
}

.grid-day-control {
    width: 100%;
    float: left;
    margin-right: 10px;
}

.modal-xl {
    width: 1300px;
    margin: auto;
}

.ellipsis-cell {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 200px;
    cursor: pointer;
    position: relative;
}

.bold-row td {
    font-weight: bold;
    color: rgb(255, 0, 0);;
}

.radio-item {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-item input[type="radio"] {
    margin: 0;
    transform: scale(1.5);
}

.student-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    font-family: "Segoe UI", sans-serif;
}

.badge {
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: bold;
    color: white;
}

.badge.active {
    background-color: #4caf50;
}

.badge.passive {
    background-color: #e53935;
}

.university {
    color: #444;
    font-weight: 600;
    font-size: 14px;
}

.task-stats-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 15px;
}

.task-stats-table {
    width: 100%;
    border-collapse: separate;
    text-align: center;
}

.task-stats-table th {
    font-size: 14px;
    color: #6b6b6b;
    font-weight: 600;
    padding-bottom: 8px;
}

.task-stats-table td {
    font-size: 26px;
    font-weight: bold;
    color: #2c3e50;
    cursor: pointer;
    padding: 5px 0;
    transition: all 0.2s ease-in-out;
    text-align: left;
}

.task-stats-table td:hover {
    background: #f4f8ff;
    color: #007bff;
    border-radius: 6px;
}

/* aphel-select favori yıldızı: isim solda lider, yıldız sağda; favoriler hep dolu sarı, diğerleri hover'da soluk gri */
.aphel-fav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.aphel-fav-desc {
    flex: 1 1 auto;
    min-width: 0;
}

.aphel-fav-star {
    cursor: pointer;
    margin-left: 8px;
    font-size: 18px;
    flex: 0 0 auto;
    color: #cfcfcf;
}

.aphel-fav-row:hover .aphel-fav-star {
    color: #f1c40f;
}

.aphel-fav-star.aphel-fav-on {
    color: #f1c40f;
}

.scorecard-info-tooltip .tooltip-inner {
    max-width: 320px;
    white-space: pre-line;
    text-align: left;
}

/* Tekrarlı görev ekleme/güncelleme zamanlama adımı */
.recurring-task-form-table > tbody > tr > td:first-child:not([colspan]) {
    width: 175px !important;
    min-width: 175px;
    padding-right: 12px;
}

.recurring-task-form-table > tbody > tr > td:first-child:not([colspan]) .form-label {
    line-height: 1.35;
}

.recurrence-v2-builder {
    counter-reset: recurrence-section;
    padding: 2px 4px 8px;
}

.recurrence-v2-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 12px;
}

.recurrence-v2-heading-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex: none;
}

.recurrence-v2-heading-title {
    margin: 0 0 3px;
    color: #172b4d;
    font-size: 20px;
    font-weight: 700;
}

.recurrence-v2-heading-note {
    color: #6b7d90;
    font-size: 12px;
}

.recurrence-v2-details-table {
    counter-reset: recurrence-details-section;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 0 !important;
}

.recurrence-v2-details-table > tbody > tr:not(.recurrence-v2-details-heading-row):not(.recurrence-v2-details-group-title-row):not(.recurrence-v2-details-group-gap):not(.recurrence-v2-details-actions-row) > td {
    padding: 8px 12px;
    border-top: 0;
    border-bottom: 1px solid #e8eef4 !important;
    background: #ffffff;
    vertical-align: middle;
}

.recurrence-v2-details-table > tbody > tr:not(.recurrence-v2-details-heading-row):not(.recurrence-v2-details-group-title-row):not(.recurrence-v2-details-group-gap):not(.recurrence-v2-details-actions-row) > td:first-child {
    border-left: 1px solid #dfe7ef;
}

.recurrence-v2-details-table > tbody > tr:not(.recurrence-v2-details-heading-row):not(.recurrence-v2-details-group-title-row):not(.recurrence-v2-details-group-gap):not(.recurrence-v2-details-actions-row) > td:last-child {
    border-right: 1px solid #dfe7ef;
}

.recurrence-v2-details-table > tbody > tr:not(.recurrence-v2-details-heading-row):not(.recurrence-v2-details-group-title-row):not(.recurrence-v2-details-group-gap):not(.recurrence-v2-details-actions-row) > td[colspan="3"]:last-child,
.recurrence-v2-details-table > tbody > tr:not(.recurrence-v2-details-heading-row):not(.recurrence-v2-details-group-title-row):not(.recurrence-v2-details-group-gap):not(.recurrence-v2-details-actions-row) > td[colspan="4"] {
    border-right: 1px solid #dfe7ef;
}

.recurrence-v2-details-table > tbody > tr:not(.recurrence-v2-details-heading-row):not(.recurrence-v2-details-group-title-row):not(.recurrence-v2-details-group-gap):not(.recurrence-v2-details-actions-row) > td:first-child .form-label {
    color: #526579;
    font-size: 12px;
    font-weight: 600;
}

.recurrence-v2-details-heading-row > td {
    padding: 2px 4px 4px !important;
    border: 0 !important;
    background: transparent !important;
}

.recurrence-v2-details-heading {
    margin-bottom: 8px;
    min-height: 42px;
}

.recurrence-v2-description-field textarea {
    margin-top: 0 !important;
}

.recurrence-v2-attachment-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 30px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e8eef4;
}

.recurrence-v2-attachment-actions label {
    width: 24px;
    margin: 0;
    color: #526579;
    font-size: 17px;
    text-align: center;
    cursor: pointer;
}

.recurrence-v2-assignment-row > td:nth-child(2) {
    padding-right: 5px !important;
}

.recurrence-v2-assignment-row > td:nth-child(3) {
    width: 16px !important;
    min-width: 16px !important;
    padding: 0 4px !important;
}

.recurrence-v2-assignment-row > td:nth-child(4) {
    padding-left: 5px !important;
}

.recurrence-v2-address-layout-row > .recurrence-v2-address-separator {
    width: 12px !important;
    min-width: 12px !important;
    padding: 0 3px !important;
}

.recurrence-v2-address-layout-row > .recurrence-v2-address-map {
    width: 34%;
    padding: 0 0 0 5px !important;
}

.recurrence-v2-details-group-title-row {
    counter-increment: recurrence-details-section;
}

.recurrence-v2-details-group-title-row > td {
    padding: 11px 12px 8px !important;
    border: 1px solid #dfe7ef !important;
    border-bottom: 0 !important;
    border-radius: 8px 8px 0 0;
    background: #ffffff !important;
}

.recurrence-v2-details-group-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #26384d;
    font-size: 13px;
    font-weight: 700;
}

.recurrence-v2-details-group-title small {
    display: block;
    margin-top: 2px;
    color: #728297;
    font-size: 11px;
    font-weight: 400;
}

.recurrence-v2-details-group-number {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    flex: none;
}

.recurrence-v2-details-group-number::before {
    content: counter(recurrence-details-section);
}

.recurrence-v2-details-group-gap > td {
    height: 9px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.recurrence-v2-details-actions-row > td {
    padding: 24px 0 15px !important;
    border: 0 !important;
    background: transparent !important;
}

.recurrence-v2-details-table > tbody > tr:not(.recurrence-v2-details-heading-row):not(.recurrence-v2-details-group-title-row):not(.recurrence-v2-details-group-gap):not(.recurrence-v2-details-actions-row) + .recurrence-v2-details-group-gap > td,
.recurrence-v2-details-table > tbody > tr:last-child:not(.recurrence-v2-details-heading-row):not(.recurrence-v2-details-group-title-row):not(.recurrence-v2-details-group-gap):not(.recurrence-v2-details-actions-row) > td {
    border-bottom-color: #dfe7ef !important;
}

.recurrence-v2-details-table h3 {
    color: #26384d;
}

.recurrence-v2-details-table #taskLocationMapContainer {
    height: 235px;
    border-radius: 7px;
}

.recurrence-v2-card {
    counter-increment: recurrence-section;
    position: relative;
    display: flex;
    gap: 12px;
    padding: 13px 14px;
    margin-bottom: 8px;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(31, 51, 73, .04);
}

.recurrence-v2-card-number {
    width: 23px;
    height: 23px;
    margin-top: 1px;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex: none;
}

.recurrence-v2-card-number::before {
    content: counter(recurrence-section);
}

.recurrence-v2-card-content {
    flex: 1;
    min-width: 0;
}

.recurrence-v2-card-title {
    display: block;
    margin: 0 0 3px;
    color: #26384d;
    font-size: 14px;
    font-weight: 700;
}

.recurrence-v2-card-subtitle {
    display: block;
    margin-bottom: 9px;
    color: #728297;
    font-size: 11px;
    line-height: 1.35;
}

.recurrence-v2-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
}

.recurrence-v2-grid-three {
    grid-template-columns: minmax(100px, .55fr) minmax(150px, 1fr) minmax(150px, 1fr);
}

.recurrence-v2-field-label {
    display: block;
    margin-bottom: 5px;
    color: #526579;
    font-size: 11px;
    font-weight: 600;
}

.recurrence-v2-help {
    margin-top: 8px;
    padding: 7px 10px;
    border-radius: 6px;
    color: #52697f;
    font-size: 11px;
    line-height: 1.4;
}

.recurrence-v2-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.recurrence-v2-choice {
    min-height: 34px;
    padding: 6px 14px;
    border: 1px solid #d7e1eb;
    border-radius: 7px;
    background: #f7f9fc;
    color: #41566d;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.recurrence-v2-choice.active {
    color: #ffffff;
}

.recurrence-v2-inline {
    display: grid;
    grid-template-columns: minmax(110px, .7fr) minmax(150px, 1fr);
    gap: 10px;
    align-items: end;
}

.recurrence-v2-rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.recurrence-v2-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(54px, 1fr));
    gap: 7px;
}

.recurrence-v2-day {
    min-height: 34px;
    border: 1px solid #e0e7ef;
    border-radius: 8px;
    background: #f3f6fa;
    color: #43566b;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.recurrence-v2-day.active {
    color: #ffffff;
}

.recurrence-v2-end-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.recurrence-v2-end-value-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.recurrence-v2-end-count-field {
    grid-column: 2;
}

.recurrence-v2-end-date-field {
    grid-column: 3;
}

.recurrence-v2-end-option {
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid #dce5ee;
    border-radius: 8px;
    background: #f8fafc;
    color: #465a70;
    font-size: 11px;
    text-align: left;
    cursor: pointer;
}

.recurrence-v2-end-option.active {
    color: #ffffff;
}

.recurrence-preview-shell {
    padding: 14px;
    border-left: 1px solid #dce8f5;
    border-radius: 10px;
    background: #eef6ff;
}

.recurrence-preview-result {
    padding: 13px;
    margin-bottom: 12px;
    border: 1px solid #caebdc;
    border-radius: 8px;
    background: #ebfbf4;
    color: #176846;
}

.recurrence-preview-summary {
    display: flex;
    gap: 11px;
    align-items: flex-start;
}

.recurrence-preview-summary-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    color: #16825e;
    background: #d9f5e9;
}

.recurrence-preview-detail-list {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid rgba(23, 104, 70, .14);
}

.recurrence-preview-detail {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 8px;
    padding: 3px 0;
    font-size: 11px;
}

.recurrence-preview-detail span {
    color: #718397;
}

.recurrence-preview-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 11px;
    color: #26384d;
    font-size: 15px;
    font-weight: 700;
}

.recurrence-preview-heading-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
}

@media (max-width: 1200px) {
    .recurrence-v2-grid,
    .recurrence-v2-grid-three,
    .recurrence-v2-inline,
    .recurrence-v2-end-options,
    .recurrence-v2-end-value-row {
        grid-template-columns: 1fr;
    }

    .recurrence-v2-end-count-field,
    .recurrence-v2-end-date-field {
        grid-column: 1;
    }

    .recurrence-v2-days {
        grid-template-columns: repeat(4, minmax(54px, 1fr));
    }
}

/* ==========================================================================
   Görüşme Rehberi (Conversation Guide) — panel, editör ve kayıt ekranları
   Kaynak: styles/conversation-guide.css (tek yerden yüklensin diye buraya alındı)
   ========================================================================== */
/* Görüşme Rehberi (Conversation Guide) paneli */

.cg-panel {

    font-size: 13px;

    color: #333;

    padding: 10px 12px 16px 12px;

    position: relative;

}


.cg-panel * {

    box-sizing: border-box;

}


.cg-topbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding: 6px 0 10px 0;

    border-bottom: 1px solid #e3e6ee;

    margin-bottom: 10px;

    flex-wrap: wrap;

}


.cg-topbar .cg-title {

    font-weight: 700;

    font-size: 14px;

    color: #24316b;

}


.cg-topbar .cg-meta {

    color: #5b6180;

    font-size: 12px;

}


.cg-topbar .cg-meta b {

    color: #333;

}


.cg-topbar-actions {

    display: flex;

    align-items: flex-end;

    gap: 10px;

}


/* süre kutusu ile "Nasıl kullanılır" düğmesi aynı yükseklikte ve aynı hizada durur */
.cg-timer {

    font-family: Consolas, "Courier New", monospace;

    font-weight: 700;

    font-size: 15px;

    background: #eaedf5;

    border: 1px solid #d6dae7;

    border-radius: 6px;

    height: 26px;

    padding: 0 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    line-height: 1;

}


.cg-timer-label {

    font-size: 10px;

    color: #8a90ac;

    text-transform: uppercase;

    letter-spacing: .06em;

    text-align: right;

}


.cg-linkbtn {

    background: none;

    border: 1px solid #d6dae7;

    border-radius: 14px;

    height: 26px;

    padding: 0 12px;

    color: #24316b;

    cursor: pointer;

    font-size: 12px;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    line-height: 1;

}


.cg-linkbtn:hover {

    background: #e6e9f7;

}


.cg-stepper {

    display: flex;

    gap: 6px;

    flex-wrap: wrap;

    margin-bottom: 10px;

}


.cg-step {

    display: flex;

    align-items: center;

    gap: 6px;

    border: 1px solid #d6dae7;

    border-radius: 16px;

    padding: 3px 10px 3px 4px;

    background: #fff;

    cursor: pointer;

    font-size: 12px;

    color: #5b6180;

}


.cg-step.active {

    background: #24316b;

    color: #fff;

    border-color: #24316b;

}


.cg-step.done:not(.active) {

    border-color: #0e6c5e;

    color: #0e6c5e;

}


.cg-step.locked {

    opacity: .55;

    cursor: not-allowed;

}


.cg-step .cg-stepnum {

    width: 20px;

    height: 20px;

    border-radius: 50%;

    background: #eaedf5;

    color: #24316b;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-weight: 700;

    font-size: 11px;

}


.cg-step.active .cg-stepnum {

    background: #fff;

}


.cg-body {

    display: flex;

    gap: 12px;

    align-items: flex-start;

}


.cg-main {

    flex: 1 1 60%;

    min-width: 0;

}


.cg-rail {

    flex: 0 0 38%;

    min-width: 220px;

    display: flex;

    flex-direction: column;

    gap: 10px;

}


@media (max-width: 1400px) {

    .cg-body {

        flex-direction: column;

    }


    .cg-rail {

        flex-basis: auto;

        width: 100%;

    }

}


.cg-card {

    background: #fff;

    border: 1px solid #d6dae7;

    border-radius: 8px;

    padding: 12px 14px;

}


.cg-kicker {

    font-size: 10px;

    letter-spacing: .08em;

    text-transform: uppercase;

    color: #8a90ac;

    font-weight: 700;

}


.cg-heading {

    font-size: 16px;

    font-weight: 700;

    color: #161a2c;

    margin: 2px 0 4px 0;

}


.cg-lede {

    color: #5b6180;

    margin-bottom: 10px;

}


.cg-field {

    margin: 10px 0;

}


.cg-label {

    font-weight: 700;

    margin-bottom: 5px;

    color: #333;

}


.cg-hint {

    color: #8a90ac;

    font-weight: 400;

    font-size: 12px;

}


.cg-chips {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

}


.cg-chip {

    border: 1px solid #d6dae7;

    background: #f3f4f8;

    color: #333;

    border-radius: 16px;

    padding: 4px 12px;

    cursor: pointer;

    font-size: 12px;

    line-height: 1.3;

}


.cg-chip:hover {

    background: #e6e9f7;

}


.cg-chip.on {

    background: #24316b;

    color: #fff;

    border-color: #24316b;

}


.cg-chip.problem.on {

    background: #ac3a34;

    border-color: #ac3a34;

}


.cg-chip.ok.on {

    background: #0e6c5e;

    border-color: #0e6c5e;

}


.cg-chip.unknown {

    border-style: dashed;

    background: #fff;

    color: #9c6209;

}


.cg-chip.unknown.on {

    background: #fbeeda;

    border-color: #9c6209;

}


.cg-script {

    border-left: 3px solid #24316b;

    background: #eaedf5;

    padding: 8px 10px;

    margin: 8px 0;

    font-style: italic;

    color: #24316b;

    border-radius: 0 6px 6px 0;

}


.cg-script-label {

    font-weight: 700;

    font-style: normal;

    font-size: 11px;

    color: #5b6180;

    margin-bottom: 3px;

}


.cg-callout {

    border: 1px solid #d6dae7;

    border-radius: 6px;

    padding: 8px 10px;

    margin: 8px 0;

}


.cg-callout.warn {

    background: #fbe4e1;

    border-color: #ac3a34;

    color: #7a2a26;

}


.cg-callout.info {

    background: #def1ec;

    border-color: #0e6c5e;

    color: #0e6c5e;

}


.cg-callout.success {

    background: #def1ec;

    border-color: #0e6c5e;

    color: #0e6c5e;

}


.cg-check {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 7px 0;

    border-bottom: 1px solid #eef0f5;

    cursor: pointer;

}


.cg-check.done {

    color: #0e6c5e;

}


.cg-check input {

    margin: 0;

    cursor: pointer;

}


.cg-divider {

    font-size: 11px;

    letter-spacing: .08em;

    text-transform: uppercase;

    color: #8a90ac;

    font-weight: 700;

    margin: 16px 0 6px 0;

    border-top: 1px dashed #d6dae7;

    padding-top: 8px;

}


.cg-input {

    width: 100%;

    border: 1px solid #d6dae7;

    border-radius: 6px;

    padding: 6px 8px;

    font-size: 13px;

    background: #fff;

}


.cg-input:focus {

    outline: none;

    border-color: #24316b;

}


.cg-textarea {

    min-height: 60px;

    resize: vertical;

}


.cg-progress {

    font-size: 12px;

    color: #5b6180;

    margin: 6px 0;

}


.cg-price {

    display: flex;

    align-items: baseline;

    gap: 12px;

    background: #fbeeda;

    border: 1px solid #e2a94e;

    border-radius: 6px;

    padding: 8px 12px;

    margin: 8px 0;

}


.cg-price .cg-amt {

    font-size: 20px;

    font-weight: 700;

    color: #7a4c06;

    font-family: Consolas, "Courier New", monospace;

}


.cg-price .cg-per {

    color: #9c6209;

    font-size: 12px;

}


.cg-qcard {

    border: 1px solid #e3e6ee;

    border-radius: 8px;

    padding: 10px 12px;

    margin: 8px 0;

    background: #fbfbfd;

}


.cg-qhead {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 11px;

    color: #8a90ac;

    margin-bottom: 4px;

}


.cg-tag {

    border: 1px solid #d6dae7;

    border-radius: 10px;

    padding: 0 8px;

    font-size: 10px;

    color: #5b6180;

    background: #fff;

}


.cg-tag.fast {

    color: #9c6209;

    border-color: #e2a94e;

}


/* tıklanabilir "hızlı geç" rozeti; işaretliyken dolu görünür */
.cg-tag-btn {

    background: #fff;

    cursor: pointer;

    line-height: 16px;

}


.cg-tag-btn[disabled] {

    cursor: default;

    opacity: .6;

}


.cg-tag.fast.on {

    background: #f6e3c4;

    color: #6d4405;

    border-color: #c98f2e;

}


.cg-qtext {

    font-weight: 600;

    margin-bottom: 6px;

}


.cg-extra {

    margin-top: 8px;

    padding-top: 8px;

    border-top: 1px dashed #d6dae7;

    display: flex;

    gap: 8px;

    flex-wrap: wrap;

    align-items: center;

}


.cg-mod {

    border: 1px solid #d6dae7;

    border-radius: 8px;

    margin: 8px 0;

    overflow: hidden;

}


.cg-mod.done {

    border-color: #0e6c5e;

}


.cg-modhead {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 8px 10px;

    background: #f3f4f8;

    flex-wrap: wrap;

}


.cg-mod.done .cg-modhead {

    background: #def1ec;

}


.cg-modtitle {

    font-weight: 700;

    flex: 1 1 auto;

}


.cg-markbtn {

    border: 1px solid #24316b;

    background: #fff;

    color: #24316b;

    border-radius: 14px;

    padding: 2px 10px;

    cursor: pointer;

    font-size: 12px;

}


.cg-mod.done .cg-markbtn {

    background: #0e6c5e;

    border-color: #0e6c5e;

    color: #fff;

}


.cg-modbody {

    padding: 8px 10px 10px 10px;

    display: flex;

    flex-direction: column;

    gap: 6px;

}


.cg-modbody > div {

    padding: 6px 8px;

    border-radius: 6px;

}


.cg-modbody b {

    display: block;

    font-size: 10px;

    letter-spacing: .06em;

    text-transform: uppercase;

    margin-bottom: 2px;

}


.cg-hook {

    background: #fbeeda;

    color: #7a4c06;

}


.cg-problem {

    background: #fbe4e1;

    color: #7a2a26;

}


.cg-solution {

    background: #eaedf5;

    color: #24316b;

}


.cg-example {

    background: #def1ec;

    color: #0e6c5e;

}


.cg-closedlist summary {

    cursor: pointer;

    color: #5b6180;

    font-size: 12px;

    margin-top: 8px;

}


.cg-closeditem {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 5px 0;

    border-bottom: 1px solid #eef0f5;

    font-size: 12px;

}


.cg-objection {

    border: 1px solid #d6dae7;

    border-radius: 8px;

    padding: 10px 12px;

    margin: 8px 0;

}


.cg-otitle {

    color: #ac3a34;

    font-weight: 700;

    margin-bottom: 6px;

}


.cg-railcard {

    background: #fff;

    border: 1px solid #d6dae7;

    border-radius: 8px;

    padding: 10px 12px;

}


.cg-railhead {

    font-size: 11px;

    letter-spacing: .08em;

    text-transform: uppercase;

    color: #24316b;

    font-weight: 700;

    margin-bottom: 4px;

}


.cg-railcap {

    color: #8a90ac;

    font-size: 12px;

    margin-bottom: 8px;

}


.cg-qitem {

    border-bottom: 1px solid #eef0f5;

    padding: 6px 0;

    font-size: 12px;

}


.cg-qitem-head {

    display: flex;

    align-items: center;

    gap: 6px;

    cursor: pointer;

}


.cg-qdot {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #0e6c5e;

    flex: 0 0 auto;

}


.cg-qitem.done .cg-qdot {

    background: #b7bccd;

}


.cg-qitem.done .cg-qname {

    text-decoration: line-through;

    color: #8a90ac;

}


.cg-qname {

    flex: 1 1 auto;

}


.cg-qbody {

    margin-top: 6px;

    padding-left: 14px;

    color: #24316b;

    font-style: italic;

}


.cg-summary {

    white-space: pre-wrap;

    font-family: Consolas, "Courier New", monospace;

    font-size: 11.5px;

    background: #eaedf5;

    border-radius: 6px;

    padding: 8px 10px;

    max-height: 260px;

    overflow: auto;

    color: #24316b;

}


.cg-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    margin-top: 12px;

    padding-top: 10px;

    border-top: 1px solid #e3e6ee;

    flex-wrap: wrap;

}


.cg-footer .cg-gatehint {

    color: #ac3a34;

    font-size: 12px;

    flex: 1 1 auto;

}


.cg-btn {

    border-radius: 6px;

    padding: 7px 16px;

    font-weight: 700;

    cursor: pointer;

    border: 1px solid #d6dae7;

    background: #f3f4f8;

    color: #333;

    font-size: 13px;

}


.cg-btn.primary {

    background: #24316b;

    border-color: #24316b;

    color: #fff;

}


.cg-btn.primary[disabled] {

    opacity: .45;

    cursor: not-allowed;

}


.cg-btn.success {

    background: #0e6c5e;

    border-color: #0e6c5e;

    color: #fff;

}


.cg-btn.danger {

    background: #fff;

    border-color: #ac3a34;

    color: #ac3a34;

}


.cg-btn.ghost {

    background: transparent;

}


.cg-tutorial-backdrop {

    position: absolute;

    inset: 0;

    background: rgba(20, 24, 55, .45);

    z-index: 20;

    display: flex;

    align-items: flex-start;

    justify-content: center;

    padding-top: 40px;

    border-radius: 8px;

}


.cg-tutorial {

    background: #fff;

    border-radius: 10px;

    max-width: 560px;

    width: 92%;

    padding: 18px 22px;

    box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .6);

}


.cg-tutorial h3 {

    margin: 0 0 4px 0;

    font-size: 17px;

}


.cg-tstep {

    display: flex;

    gap: 10px;

    padding: 8px 0;

    border-bottom: 1px solid #eef0f5;

}


.cg-tnum {

    width: 22px;

    height: 22px;

    border-radius: 50%;

    background: #eaedf5;

    color: #24316b;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-weight: 700;

    font-size: 12px;

    flex: 0 0 auto;

}


.cg-prev {

    font-size: 12px;

    border-bottom: 1px solid #eef0f5;

    padding: 6px 0;

}


.cg-prev .cg-prev-head {

    display: flex;

    justify-content: space-between;

    color: #5b6180;

}


.cg-prev pre {

    white-space: pre-wrap;

    margin: 4px 0 0 0;

    font-size: 11px;

    background: #f3f4f8;

    border: 0;

    padding: 6px 8px;

}


.cg-loading {

    color: #8a90ac;

    padding: 20px;

    text-align: center;

}


.cg-empty {

    color: #5b6180;

    padding: 12px;

    border: 1px dashed #d6dae7;

    border-radius: 8px;

    text-align: center;

}


.cg-btn[disabled] {

    opacity: .45;

    cursor: not-allowed;

}


/* ---------- şablon editörü ---------- */

.cge .cge-toolbar {

    display: flex;

    gap: 8px;

    align-items: center;

    padding: 8px 0 10px 0;

    border-bottom: 1px solid #e3e6ee;

    margin-bottom: 8px;

    flex-wrap: wrap;

}


/* Form tabloları: sabit sütun düzeni, aksi halde geniş ekranda etiket sütunu şişip alanlar sağa kayıyor */

.cge .cge-form {

    width: 100%;

    table-layout: fixed;

}


.cge .cge-form td {

    padding: 7px 8px;

    vertical-align: middle;

    border-bottom: 1px solid #eef0f5;

}


.cge .cge-form td.cge-label {

    width: 230px;

}


.cge .cge-form .cg-input,
.cge .cge-form aphel-textbox,
.cge .cge-form aphel-select,
.cge .cge-form aphel-multiselect {

    display: block;

    max-width: 100%;

}


.cge .cge-form .cg-hint {

    max-width: 100%;

    margin-top: 3px;

}


.cge .cge-label {

    color: #5b6180;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.35;

}


.cge uib-tabset .tab-content,
.cge .tab-content {

    padding-top: 10px;

}


.cge .cge-section {

    margin-top: 14px;

    border: 1px solid #e3e6ee;

    border-radius: 8px;

    padding: 10px 12px;

    background: #fbfbfd;

}


.cge .cge-section-title {

    font-size: 11px;

    letter-spacing: .08em;

    text-transform: uppercase;

    color: #24316b;

    font-weight: 700;

    margin-bottom: 8px;

}


.cge .cge-subtitle {

    font-size: 12px;

    font-weight: 700;

    color: #5b6180;

    margin: 8px 0 4px 0;

}


.cge .cge-row {

    display: flex;

    gap: 8px;

    align-items: center;

    flex-wrap: wrap;

    margin: 6px 0;

}


.cge .cge-row .cge-label {

    width: auto;

    min-width: 90px;

}


.cge .cge-row .cg-input {

    flex: 1 1 160px;

    width: auto;

}


.cge .cge-row textarea.cg-input {

    flex: 1 1 100%;

}


.cge .cge-item {

    display: flex;

    gap: 6px;

    align-items: center;

    margin: 4px 0;

}


.cge .cge-section {

    width: 100%;

}


.cge .cge-steps {

    display: flex;

    gap: 12px;

    align-items: flex-start;

    margin-top: 8px;

}


.cge .cge-steplist {

    flex: 0 0 240px;

    border: 1px solid #e3e6ee;

    border-radius: 8px;

    padding: 8px;

    background: #fff;

}


.cge .cge-stepitem {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 6px 8px;

    border-radius: 6px;

    cursor: pointer;

    margin-bottom: 4px;

    border: 1px solid transparent;

}


.cge .cge-stepitem:hover {

    background: #f3f4f8;

}


.cge .cge-stepitem.active {

    background: #eaedf5;

    border-color: #24316b;

    font-weight: 700;

}


.cge .cge-stepdetail {

    flex: 1 1 auto;

    min-width: 0;

}


.cge .cge-block {

    border: 1px solid #d6dae7;

    border-radius: 8px;

    margin: 8px 0;

    background: #fff;

    overflow: hidden;

}


.cge .cge-blockhead {

    display: flex;

    gap: 8px;

    align-items: center;

    padding: 6px 10px;

    background: #f3f4f8;

    flex-wrap: wrap;

}


.cge .cge-blockhead .cg-input {

    width: auto;

}


.cge .cge-blockbody {

    padding: 8px 10px;

}


.cge .cge-variants {

    margin: 4px 0 8px 0;

    padding: 6px 8px;

    border-left: 3px solid #d6dae7;

}


.cge textarea.cg-input {

    min-height: 60px;

}


.cg-preview-modal .modal-dialog {

    width: 96%;

    max-width: 1400px;

}

.cge .cg-tip,
.cg-tip {
    color: #8a90ac;
    cursor: help;
    margin-left: 4px;
    font-size: 12px;
}

.cge .cg-tip:hover,
.cg-tip:hover {
    color: #24316b;
}

/* ---- Görüşme Rehberi: kimlik kartları (arayan / öğrenci) ve okunur özet — 24 Eylül 2026 ---- */
.cg-identity {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 12px 0;
}

.cg-idcard {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 260px;
    max-width: 440px;
    padding: 9px 14px;
    background: #f6f7fb;
    border: 1px solid #d6dae7;
    border-radius: 8px;
}

.cg-idcard > .fa {
    font-size: 20px;
    color: #5b6180;
    width: 24px;
    text-align: center;
}

.cg-idcard.student > .fa {
    color: #1f7a4d;
}

.cg-idcard.parent > .fa {
    color: #24316b;
}

.cg-idrole {
    font-size: 10.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8a90ac;
    font-weight: 700;
}

.cg-idname {
    font-size: 15.5px;
    font-weight: 700;
    color: #24316b;
    line-height: 1.25;
}

.cg-idphone {
    font-size: 14px;
    color: #333;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}

.cg-summary-list {
    font-size: 13px;
    color: #24316b;
    background: #fff;
    border: 1px solid #e3e6ee;
    border-radius: 6px;
    padding: 4px 12px;
}

.cg-summary-list .cg-sumline {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    padding: 8px 0;
    border-bottom: 1px solid #eef0f5;
}

.cg-summary-list .cg-sumline:last-child {
    border-bottom: 0;
}

.cg-summary-list .cg-sumitem {
    display: inline-flex;
    flex-direction: column;
    min-width: 0;
}

.cg-summary-list .cg-sumlabel {
    font-size: 10.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8a90ac;
    font-weight: 700;
}

.cg-summary-list .cg-sumvalue {
    font-size: 13.5px;
    color: #24316b;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/* ---- Görüşme Rehberi: görüşme türü düğmeleri, satır içi modül kartları ---- */
.cg-mode {
    margin: 4px 0 14px 0;
    padding: 14px 16px;
    background: #f6f7fb;
    border: 1px solid #d6dae7;
    border-radius: 8px;
}

.cg-mode-title {
    font-size: 14px;
    font-weight: 700;
    color: #24316b;
    margin-bottom: 10px;
}

.cg-mode-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cg-modebtn {
    flex: 1 1 240px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 16px;
    background: #fff;
    border: 2px solid #d6dae7;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    color: #24316b;
}

.cg-modebtn:hover {
    border-color: #24316b;
    background: #f2f4fa;
}

.cg-modebtn > .fa {
    font-size: 22px;
}

.cg-modebtn > b {
    font-size: 15px;
}

.cg-modebtn > span {
    font-size: 12px;
    color: #5b6180;
}

.cg-modebtn.existing > .fa {
    color: #24316b;
}

.cg-modebtn.sale > .fa {
    color: #1f7a4d;
}

.cg-mode-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.cg-inline-mods {
    margin-top: 10px;
    padding-left: 10px;
    border-left: 3px solid #1f7a4d;
}

.cg-inline-mods .cg-mod {
    margin-bottom: 0;
}

/* ---- Görüşme Rehberi: özet şeridi üstte (müşteri isteği: adımlar rahat okunsun) ---- */
.cg-rail.top {
    flex: none;
    width: 100%;
    min-width: 0;
    margin-bottom: 12px;
}

.cg-rail.top .cg-railcard {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px 14px;
}

.cg-rail.top .cg-railhead {
    flex: 0 0 auto;
    margin: 6px 0 0 0;
}

.cg-rail.top .cg-railcap {
    display: none;
}

.cg-rail.top .cg-summary-list {
    flex: 1 1 320px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 18px;
    padding: 4px 10px;
}

.cg-rail.top .cg-summary-list .cg-sumline {
    padding: 3px 0;
    border-bottom: 0;
    gap: 4px 14px;
}

.cg-rail.top .cg-summary-list .cg-sumvalue {
    font-size: 13px;
}

.cg-rail.top .cg-btn {
    width: auto !important;
    margin-top: 0 !important;
    flex: 0 0 auto;
    align-self: center;
}

.cg-main {
    flex: 1 1 100%;
}

/* ---- Görüşme Rehberi: hızlı sonuç şeridi ve küçülen anlatıldı kartı ---- */
.cg-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px 0;
}

.cg-quick-label {
    font-size: 12px;
    color: #8a90ac;
}

.cg-quick-btn {
    border-style: dashed;
}

/* hızlı sonucun sonuç kodu kutusu (ör. İlgilenmiyor → ilgilenmeme nedeni) */
.cg-reason-box {
    margin: 0 0 12px 0;
    padding: 12px 14px;
    background: #fbf7ee;
    border: 1px solid #ead9b3;
    border-radius: 8px;
}

.cg-inline-done {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    font-size: 12.5px;
    color: #1f7a4d;
    background: #f0f8f3;
    border: 1px solid #cfe7d8;
    border-radius: 6px;
}

.cg-inline-done .cg-linkbtn {
    margin-left: auto;
}

/* ==========================================================================
   İlçe-Mahalle Karnesi (town-district-scorecard) — tds- önekli
   ========================================================================== */

.tds-page {
    padding: 15px;
}

.tds-panel {
    border-radius: 6px;
    overflow: visible;
}

.tds-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 15px;
    font-size: 16px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.tds-panel-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-size: 12px;
}

.tds-panel-actions .tds-link {
    color: inherit;
    text-decoration: underline;
}

.tds-period-text {
    font-size: 12px;
    opacity: 0.75;
}

/* Filtreler: geniş ekranda 4, tablette 2, telefonda 1 kolon; satırlar her zaman hizalı */
.tds-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 20px;
    align-items: start;
}

.tds-filter-item {
    min-width: 0;
}

.tds-filter-item-wide {
    grid-column: span 2;
}

.tds-filter-item .form-label {
    display: block;
    height: 18px;
    margin-bottom: 4px;
    line-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 991px) {

    .tds-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {

    .tds-filter-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .tds-filter-item-wide {
        grid-column: auto;
    }
}

.tds-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    padding-top: 4px;
}

.tds-checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tds-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.tds-title {
    font-size: 22px;
    font-weight: 600;
    color: #1f2d3d;
}

.tds-subtitle {
    font-size: 12px;
    color: #6b7785;
}

.tds-excel-icon {
    color: #1d7044;
}

.tds-pdf-icon {
    color: #c0392b;
}

.tds-kpi-row > div {
    margin-bottom: 15px;
}

.tds-kpi {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 110px;
    padding: 16px 18px;
    border-radius: 8px;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.tds-kpi-total {
    background: linear-gradient(135deg, #2f80ed, #1f6fd6);
}

.tds-kpi-positive {
    background: linear-gradient(135deg, #3bb77e, #27ae60);
}

.tds-kpi-in-progress {
    background: linear-gradient(135deg, #f5a65b, #f2994a);
}

.tds-kpi-negative {
    background: linear-gradient(135deg, #f07171, #eb5757);
}

.tds-kpi-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    font-size: 24px;
}

.tds-kpi-body {
    min-width: 0;
}

.tds-kpi-label {
    font-size: 13px;
    opacity: 0.95;
}

.tds-kpi-value {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.tds-kpi-rate {
    font-size: 13px;
    font-weight: normal;
    opacity: 0.9;
}

.tds-kpi-change {
    font-size: 11.5px;
    opacity: 0.95;
}

.tds-clickable {
    cursor: pointer;
}

.tds-kpi.tds-clickable:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.tds-chart-body {
    padding: 10px;
}

.tds-chart {
    width: 100%;
    height: 340px;
}

.tds-donut-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-height: 340px;
}

.tds-donut-chart {
    flex: 1 1 200px;
    min-width: 180px;
    height: 260px;
}

.tds-close-result-chart {
    height: 280px;
}

.tds-legend {
    flex: 1 1 200px;
    min-width: 0;
}

.tds-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 2px;
    border-bottom: 1px solid #f0f2f5;
    font-size: 12px;
}

.tds-legend-item.tds-clickable:hover {
    background: #f5f8fc;
}

.tds-legend-dot {
    display: inline-block;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-right: 6px;
    border-radius: 50%;
}

.tds-legend-item .tds-legend-dot {
    margin-right: 0;
}

.tds-legend-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tds-legend-rate {
    color: #6b7785;
}

.tds-legend-count {
    min-width: 48px;
    text-align: right;
    font-weight: 600;
}

.tds-town-list {
    height: 340px;
    overflow-y: auto;
    padding-right: 4px;
}

.tds-town-item {
    padding: 6px 8px;
    border-radius: 4px;
}

.tds-town-item:hover {
    background: #f5f8fc;
}

.tds-town-selected,
.tds-town-selected:hover {
    background: #e8f1fd;
    box-shadow: inset 3px 0 0 #2f80ed;
}

.tds-town-selected .tds-town-name {
    font-weight: 600;
}

.tds-town-line {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 12px;
}

.tds-town-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tds-town-count {
    font-weight: 600;
}

.tds-bar-track {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #edf0f4;
    overflow: hidden;
}

.tds-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: #2f80ed;
}

.tds-bar-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tds-bar-cell .tds-bar-track {
    flex: 1;
}

.tds-bar-cell span {
    min-width: 48px;
    text-align: right;
    font-size: 11.5px;
    color: #6b7785;
}

.tds-table-body {
    padding: 0;
}

.tds-table-scroll {
    max-height: 560px;
    overflow: auto;
}

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

.tds-table {
    margin-bottom: 0;
    font-size: 12.5px;
}

.tds-table > thead > tr > th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f5f7fa;
    color: #4a5664;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 1px solid #dfe3e8;
}

.tds-table > tbody > tr > td,
.tds-table > tfoot > tr > td {
    vertical-align: middle;
}

.tds-table > tfoot > tr > td {
    font-weight: 600;
    background: #f5f7fa;
    border-top: 2px solid #dfe3e8;
}

.tds-col-bar {
    width: 22%;
    min-width: 160px;
}

.tds-row-muted {
    color: #9aa5b1;
}

.tds-text-positive {
    color: #1e8449;
}

.tds-text-in-progress {
    color: #d9822b;
}

.tds-text-negative {
    color: #c0392b;
}

.tds-muted {
    color: #9aa5b1;
}

.tds-link {
    cursor: pointer;
}

.tds-empty {
    padding: 40px 15px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
    color: #6b7785;
    background: #ffffff;
    border: 1px dashed #d0d7de;
    border-radius: 6px;
}

.tds-empty .fa {
    margin-right: 6px;
}

.tds-empty-inline {
    padding: 20px 10px;
    margin-bottom: 0;
}

/* Görev / Çözüm Merkezi dosya eki satırı — sayfadaki form alanları ve btn-primary ile aynı dil */
/* Önizleme penceresinde SheetJS'in ürettiği Excel / csv tablosu */
.sheet-preview-container table {
    border-collapse: collapse;
}

.sheet-preview-container td {
    border: 1px solid #dddddd;
    padding: 3px 6px;
    white-space: nowrap;
}

.sheet-preview-container tr:first-child td {
    background-color: #f5f5f5;
    font-weight: bold;
}

.task-file-row-box {
    border-color: #cfdadd !important;
    border-radius: 2px;
    padding: 7px 10px !important;
}

.task-file-row-box > table {
    table-layout: fixed;
}

.task-file-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 26px;
}

.task-file-row-icon {
    flex: 0 0 18px;
    text-align: center;
    font-size: 16px;
}

.task-file-row-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.task-file-row-name:hover {
    text-decoration: underline;
}

.task-file-row-button {
    flex: 0 0 auto;
    margin-right: 4px;
    padding: 3px 12px;
    font-size: 12px;
    border-radius: 4px;
}

.task-file-row-button .fa {
    margin-right: 5px;
}

/* Yorum düzenleme kapalıyken çöp kutusu sütunu da gizlenir; Önizleme butonu sağa yaslanır */
.task-file-row-trash-hidden {
    display: none;
}

/* ==========================================================================
   Personel İşlem Panosu (member-action-dashboard) — mad- önekli
   Kart tasarımı Harici Kanal istatistik ekranındaki operatör kartlarıyla aynı dildedir.
   ========================================================================== */

.mad-page {
    padding: 15px;
}

.mad-panel {
    border-radius: 6px;
    overflow: visible;
}

.mad-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 15px;
    font-size: 16px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.mad-panel-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-size: 12px;
}

.mad-heading-hint {
    font-size: 13px;
    opacity: 0.8;
    cursor: help;
}

.mad-period-text {
    font-size: 12px;
    opacity: 0.75;
}

/* Filtreler: geniş ekranda 4, tablette 2, telefonda 1 kolon */
.mad-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 20px;
    align-items: start;
}

.mad-filter-item {
    min-width: 0;
}

.mad-filter-item .form-label {
    display: block;
    height: 18px;
    margin-bottom: 4px;
    line-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 991px) {

    .mad-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {

    .mad-filter-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.mad-view-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    border-bottom: 2px solid #e3e8ef;
}

.mad-view-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 320px;
    padding: 8px 16px;
    margin-bottom: -2px;
    color: #5b6776;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mad-view-tab:hover,
.mad-view-tab:focus {
    color: #1f2d3d;
    text-decoration: none;
}

.mad-view-tab-active,
.mad-view-tab-active:hover,
.mad-view-tab-active:focus {
    color: #1565c0;
    font-weight: 600;
    border-bottom-color: #1976d2;
}

.mad-view-tab-disabled {
    opacity: 0.45;
    cursor: default;
}

.mad-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.mad-title {
    font-size: 22px;
    font-weight: 600;
    color: #1f2d3d;
}

.mad-subtitle {
    font-size: 12px;
    color: #6b7785;
}

.mad-member-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mad-title-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.mad-excel-icon {
    color: #1d7044;
}

.mad-pdf-icon {
    color: #c0392b;
}

/* KPI kartları: genişliğe göre 6/3/2/1 kolon */
.mad-kpi-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 10px;
}

@media (max-width: 1399px) {

    .mad-kpi-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {

    .mad-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 479px) {

    .mad-kpi-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.mad-kpi {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 92px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-top: 3px solid #b0bec5;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.mad-kpi.mad-clickable:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.mad-kpi-selected {
    background: #f5f9ff;
    box-shadow: 0 0 0 2px #90caf9;
}

/* Renkler ton sınıfından gelir (mad-tone-*); saydamlık son ekli renk (#rrggbbaa) bazı tarayıcılarda opak çizilip
   ikonu/sayıyı görünmez yapıyordu */
.mad-kpi-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 19px;
    color: #455a64;
    background-color: #eef1f5;
}

.mad-kpi-body {
    min-width: 0;
}

/* 7 kart yan yana sığarken etiket kesilmesin ("Anlık" etiketi de görünsün): gerekirse iki satıra iner */
.mad-kpi-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: #4a5664;
}

.mad-kpi-value {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.mad-kpi-change {
    font-size: 11px;
    white-space: nowrap;
}

.mad-change-up {
    color: #1e8449;
}

.mad-change-down {
    color: #c0392b;
}

.mad-extra-kpi-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.mad-extra-kpi {
    padding: 5px 12px;
    font-size: 12px;
    color: #4a5664;
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 14px;
    cursor: pointer;
}

.mad-extra-kpi:hover,
.mad-extra-kpi:focus {
    color: #1f2d3d;
    text-decoration: none;
    background: #f5f8fc;
}

.mad-extra-kpi-selected {
    border-color: #90caf9;
    background: #f5f9ff;
}

.mad-clickable {
    cursor: pointer;
}

/* Ekip kartları */
.mad-team-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 6px 0 12px;
}

.mad-search {
    position: relative;
    flex: 0 1 320px;
}

.mad-search .fa {
    position: absolute;
    top: 9px;
    left: 10px;
    color: #9aa5b1;
}

.mad-search input {
    padding-left: 30px;
}

.mad-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
}

/* Harici Kanal operatör kartlarıyla aynı dil: beyaz kart, açık zeminli renkli metrik kutuları */
.mad-card {
    min-width: 0;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #d0d7e3;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    cursor: pointer;
    transition: box-shadow 0.15s, border-color 0.15s;
}

.mad-card:hover {
    border-color: #90caf9;
    box-shadow: 0 4px 14px rgba(25, 118, 210, 0.18);
}

.mad-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eef0f4;
}

.mad-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    box-shadow: 0 2px 6px rgba(25, 118, 210, 0.3);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.mad-avatar-lg {
    width: 54px;
    height: 54px;
    font-size: 19px;
}

.mad-card-name-block {
    flex: 1;
    min-width: 0;
}

.mad-card-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a2233;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mad-card-department {
    margin-top: 2px;
    font-size: 11px;
    color: #7a8499;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mad-card-department .fa {
    margin-right: 3px;
}

/* Kategori tonları (soft): zemin, çizgi, etiket ve sayı rengi. CSS değişkeni ve saydamlık son ekli renk
   (#rrggbbaa) kullanılmaz: bazı tarayıcılarda opak çizilip ikonu/sayıyı/yazıyı görünmez yapıyordu */

.mad-tone-total.mad-metric {
    background-color: #eef1f5;
    border-left-color: #b0bec5;
}

.mad-tone-total.mad-metric:hover {
    box-shadow: inset 0 0 0 1px #b0bec5;
}

.mad-tone-total .mad-metric-label {
    color: #546e7a;
}

.mad-tone-total .mad-metric-value {
    color: #455a64;
}

.mad-tone-total.mad-kpi {
    border-top-color: #b0bec5;
}

.mad-tone-total .mad-kpi-icon {
    color: #455a64;
    background-color: #eef1f5;
}

.mad-tone-total .mad-kpi-value {
    color: #455a64;
}

.mad-tone-total.mad-badge,
.mad-tone-total.mad-row-number {
    color: #455a64;
    background-color: #eef1f5;
    border-color: #b0bec5;
}

.mad-tone-members.mad-metric {
    background-color: #e6f4f1;
    border-left-color: #8fd3c5;
}

.mad-tone-members.mad-metric:hover {
    box-shadow: inset 0 0 0 1px #8fd3c5;
}

.mad-tone-members .mad-metric-label {
    color: #2f5f57;
}

.mad-tone-members .mad-metric-value {
    color: #2a8a78;
}

.mad-tone-members.mad-kpi {
    border-top-color: #8fd3c5;
}

.mad-tone-members .mad-kpi-icon {
    color: #2a8a78;
    background-color: #e6f4f1;
}

.mad-tone-members .mad-kpi-value {
    color: #2a8a78;
}

.mad-tone-members.mad-badge,
.mad-tone-members.mad-row-number {
    color: #2a8a78;
    background-color: #e6f4f1;
    border-color: #8fd3c5;
}

.mad-tone-created.mad-metric {
    background-color: #eaf3fd;
    border-left-color: #90c2f0;
}

.mad-tone-created.mad-metric:hover {
    box-shadow: inset 0 0 0 1px #90c2f0;
}

.mad-tone-created .mad-metric-label {
    color: #4a6080;
}

.mad-tone-created .mad-metric-value {
    color: #2f6fb5;
}

.mad-tone-created.mad-kpi {
    border-top-color: #90c2f0;
}

.mad-tone-created .mad-kpi-icon {
    color: #2f6fb5;
    background-color: #eaf3fd;
}

.mad-tone-created .mad-kpi-value {
    color: #2f6fb5;
}

.mad-tone-created.mad-badge,
.mad-tone-created.mad-row-number {
    color: #2f6fb5;
    background-color: #eaf3fd;
    border-color: #90c2f0;
}

.mad-tone-forwarded.mad-metric {
    background-color: #f4ecfa;
    border-left-color: #c9a6e3;
}

.mad-tone-forwarded.mad-metric:hover {
    box-shadow: inset 0 0 0 1px #c9a6e3;
}

.mad-tone-forwarded .mad-metric-label {
    color: #5e3a73;
}

.mad-tone-forwarded .mad-metric-value {
    color: #8048a8;
}

.mad-tone-forwarded.mad-kpi {
    border-top-color: #c9a6e3;
}

.mad-tone-forwarded .mad-kpi-icon {
    color: #8048a8;
    background-color: #f4ecfa;
}

.mad-tone-forwarded .mad-kpi-value {
    color: #8048a8;
}

.mad-tone-forwarded.mad-badge,
.mad-tone-forwarded.mad-row-number {
    color: #8048a8;
    background-color: #f4ecfa;
    border-color: #c9a6e3;
}

.mad-tone-positive.mad-metric {
    background-color: #ebf6ec;
    border-left-color: #9fd3a5;
}

.mad-tone-positive.mad-metric:hover {
    box-shadow: inset 0 0 0 1px #9fd3a5;
}

.mad-tone-positive .mad-metric-label {
    color: #3a6040;
}

.mad-tone-positive .mad-metric-value {
    color: #3c8a45;
}

.mad-tone-positive.mad-kpi {
    border-top-color: #9fd3a5;
}

.mad-tone-positive .mad-kpi-icon {
    color: #3c8a45;
    background-color: #ebf6ec;
}

.mad-tone-positive .mad-kpi-value {
    color: #3c8a45;
}

.mad-tone-positive.mad-badge,
.mad-tone-positive.mad-row-number {
    color: #3c8a45;
    background-color: #ebf6ec;
    border-color: #9fd3a5;
}

.mad-tone-negative.mad-metric {
    background-color: #fdeeee;
    border-left-color: #f2a7a7;
}

.mad-tone-negative.mad-metric:hover {
    box-shadow: inset 0 0 0 1px #f2a7a7;
}

.mad-tone-negative .mad-metric-label {
    color: #7a3030;
}

.mad-tone-negative .mad-metric-value {
    color: #c24848;
}

.mad-tone-negative.mad-kpi {
    border-top-color: #f2a7a7;
}

.mad-tone-negative .mad-kpi-icon {
    color: #c24848;
    background-color: #fdeeee;
}

.mad-tone-negative .mad-kpi-value {
    color: #c24848;
}

.mad-tone-negative.mad-badge,
.mad-tone-negative.mad-row-number {
    color: #c24848;
    background-color: #fdeeee;
    border-color: #f2a7a7;
}

.mad-tone-otherClose.mad-metric {
    background-color: #fff6e0;
    border-left-color: #f5cf7a;
}

.mad-tone-otherClose.mad-metric:hover {
    box-shadow: inset 0 0 0 1px #f5cf7a;
}

.mad-tone-otherClose .mad-metric-label {
    color: #7a6000;
}

.mad-tone-otherClose .mad-metric-value {
    color: #b07a10;
}

.mad-tone-otherClose.mad-kpi {
    border-top-color: #f5cf7a;
}

.mad-tone-otherClose .mad-kpi-icon {
    color: #b07a10;
    background-color: #fff6e0;
}

.mad-tone-otherClose .mad-kpi-value {
    color: #b07a10;
}

.mad-tone-otherClose.mad-badge,
.mad-tone-otherClose.mad-row-number {
    color: #b07a10;
    background-color: #fff6e0;
    border-color: #f5cf7a;
}

.mad-tone-otherAction.mad-metric {
    background-color: #e6f6f8;
    border-left-color: #8fd5de;
}

.mad-tone-otherAction.mad-metric:hover {
    box-shadow: inset 0 0 0 1px #8fd5de;
}

.mad-tone-otherAction .mad-metric-label {
    color: #2f5f66;
}

.mad-tone-otherAction .mad-metric-value {
    color: #2a8c98;
}

.mad-tone-otherAction.mad-kpi {
    border-top-color: #8fd5de;
}

.mad-tone-otherAction .mad-kpi-icon {
    color: #2a8c98;
    background-color: #e6f6f8;
}

.mad-tone-otherAction .mad-kpi-value {
    color: #2a8c98;
}

.mad-tone-otherAction.mad-badge,
.mad-tone-otherAction.mad-row-number {
    color: #2a8c98;
    background-color: #e6f6f8;
    border-color: #8fd5de;
}

.mad-tone-incoming.mad-metric {
    background-color: #f2f4f7;
    border-left-color: #c3ccd5;
}

.mad-tone-incoming.mad-metric:hover {
    box-shadow: inset 0 0 0 1px #c3ccd5;
}

.mad-tone-incoming .mad-metric-label {
    color: #546e7a;
}

.mad-tone-incoming .mad-metric-value {
    color: #5f6f7d;
}

.mad-tone-incoming.mad-kpi {
    border-top-color: #c3ccd5;
}

.mad-tone-incoming .mad-kpi-icon {
    color: #5f6f7d;
    background-color: #f2f4f7;
}

.mad-tone-incoming .mad-kpi-value {
    color: #5f6f7d;
}

.mad-tone-incoming.mad-badge,
.mad-tone-incoming.mad-row-number {
    color: #5f6f7d;
    background-color: #f2f4f7;
    border-color: #c3ccd5;
}

.mad-tone-late.mad-metric {
    background-color: #fdf3e7;
    border-left-color: #e9c08a;
}

.mad-tone-late .mad-metric-label {
    color: #6b4a1c;
}

.mad-tone-late .mad-metric-value {
    color: #a9681c;
}

.mad-tone-late.mad-kpi {
    border-top-color: #e9c08a;
}

.mad-tone-late .mad-kpi-icon {
    color: #a9681c;
    background-color: #fdf3e7;
}

.mad-tone-late .mad-kpi-value {
    color: #a9681c;
}

.mad-tone-late.mad-badge,
.mad-tone-late.mad-row-number {
    color: #a9681c;
    background-color: #fdf3e7;
    border-color: #e9c08a;
}

.mad-tone-late.mad-summary-link .fa,
.mad-tone-late.mad-summary-link b {
    color: #a9681c;
}

.mad-tone-overdue.mad-metric {
    background-color: #fff1ec;
    border-left-color: #f4b39a;
}

.mad-tone-overdue .mad-metric-label {
    color: #7a3a20;
}

.mad-tone-overdue .mad-metric-value {
    color: #c0562b;
}

.mad-tone-overdue.mad-kpi {
    border-top-color: #f4b39a;
}

.mad-tone-overdue .mad-kpi-icon {
    color: #c0562b;
    background-color: #fff1ec;
}

.mad-tone-overdue .mad-kpi-value {
    color: #c0562b;
}

.mad-tone-overdue.mad-badge,
.mad-tone-overdue.mad-row-number {
    color: #c0562b;
    background-color: #fff1ec;
    border-color: #f4b39a;
}

.mad-tone-overdue.mad-summary-link .fa,
.mad-tone-overdue.mad-summary-link b {
    color: #c0562b;
}

/* İşlem özetindeki tıklanabilir gecikme satırları */
.mad-summary-link {
    margin: 0 -6px;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 4px;
    cursor: pointer;
}

.mad-summary-link:hover {
    background-color: #ffffff;
}

/* "Anlık" etiketi: dönemden bağımsız, bugünkü durumu gösteren sayılar */
.mad-now-tag {
    display: inline-block;
    margin-left: 4px;
    padding: 0 5px;
    font-size: 9.5px;
    font-weight: 600;
    line-height: 15px;
    vertical-align: middle;
    color: #7a3a20;
    background-color: #fff1ec;
    border: 1px solid #f4b39a;
    border-radius: 7px;
}

.mad-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mad-metric {
    min-width: 0;
    padding: 10px 12px;
    background-color: #f2f4f7;
    border-left: 3px solid #c3ccd5;
    border-radius: 7px;
    transition: box-shadow 0.15s;
}

.mad-metric-label {
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #4a5664;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mad-metric-label .fa {
    margin-right: 3px;
}

.mad-metric-value {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #34495e;
}

.mad-metric-link {
    margin-left: 3px;
    font-size: 11px;
    opacity: 0.8;
}

/* İşlem özeti: Harici Kanal kartındaki "Yanıt Süreleri" kutusu gibi sade liste */
.mad-card-summary {
    margin-top: 14px;
    padding: 8px 12px 4px;
    background: #f7f9fc;
    border: 1px solid #eef0f4;
    border-radius: 8px;
}

.mad-card-summary-title {
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #7a8499;
}

.mad-card-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 12px;
    color: #4a5664;
    border-bottom: 1px solid #eef0f4;
}

.mad-card-summary-row:last-child {
    border-bottom: 0;
}

.mad-card-summary-row .fa {
    width: 14px;
    margin-right: 4px;
}

.mad-card-summary-row b {
    color: #1a2233;
    white-space: nowrap;
}

/* Oran çubukları: etiket solda, yüzde sağda, altında çubuk */
.mad-rate {
    margin-top: 14px;
}

.mad-rate + .mad-rate {
    margin-top: 10px;
}

.mad-rate-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #1a2233;
}

.mad-rate-line .fa {
    margin-left: 3px;
    cursor: help;
}

.mad-rate-value {
    font-weight: 700;
}

.mad-rate .mad-bar-track {
    height: 7px;
}

.mad-show-more {
    margin: 16px 0;
    text-align: center;
}

.mad-bar-track {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #edf0f4;
    overflow: hidden;
}

.mad-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: #7fb2ec;
}

/* Grafik panelleri */
.mad-chart-body {
    padding: 10px;
}

.mad-chart {
    width: 100%;
    height: 320px;
}

.mad-donut-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-height: 320px;
}

.mad-donut-chart {
    flex: 1 1 180px;
    min-width: 170px;
    height: 240px;
}

.mad-legend {
    flex: 1 1 200px;
    min-width: 0;
    max-height: 320px;
    overflow-y: auto;
}

.mad-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 4px;
    border-bottom: 1px solid #f0f2f5;
    font-size: 12px;
}

.mad-legend-item:hover {
    background: #f5f8fc;
}

.mad-legend-selected,
.mad-legend-selected:hover {
    background: #e8f1fd;
    box-shadow: inset 3px 0 0 #2f80ed;
}

.mad-legend-dot {
    display: inline-block;
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    margin-right: 5px;
    border-radius: 50%;
}

.mad-legend-item .mad-legend-dot {
    margin-right: 0;
}

.mad-legend-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mad-legend-rate {
    color: #6b7785;
}

.mad-legend-count {
    min-width: 36px;
    text-align: right;
    font-weight: 600;
}

.mad-reason-list {
    min-height: 320px;
    max-height: 320px;
    overflow-y: auto;
}

.mad-reason-item {
    padding: 8px 4px;
    border-bottom: 1px solid #f0f2f5;
}

.mad-reason-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
}

.mad-reason-icon {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.mad-reason-text {
    flex: 1;
    min-width: 0;
}

.mad-reason-text .mad-muted {
    display: block;
    font-size: 11px;
}

.mad-reason-count {
    flex-shrink: 0;
    font-weight: 600;
}

/* İşlem logu */
.mad-log-body {
    padding: 0;
}

.mad-log-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid #e3e8ef;
}

.mad-log-tab {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 12px;
    color: #4a5664;
    border: 1px solid #e3e8ef;
    border-radius: 14px;
    cursor: pointer;
}

.mad-log-tab:hover,
.mad-log-tab:focus {
    color: #1f2d3d;
    text-decoration: none;
    background: #f5f8fc;
}

.mad-log-tab-active,
.mad-log-tab-active:hover,
.mad-log-tab-active:focus {
    color: #2f6fb5;
    font-weight: 600;
    background: #eaf3fd;
    border-color: #90c2f0;
}

.mad-log-tab-count {
    padding: 0 6px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.07);
}

.mad-log-tab-active .mad-log-tab-count {
    background: #d4e6fa;
}

.mad-log-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 12px;
    color: #1565c0;
    background: #e8f1fd;
    border-radius: 14px;
}

.mad-log-chip a {
    color: inherit;
    cursor: pointer;
}

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

.mad-table {
    margin-bottom: 0;
    font-size: 12.5px;
}

.mad-table > thead > tr > th {
    background: #f5f7fa;
    color: #4a5664;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 1px solid #dfe3e8;
}

.mad-table > tbody > tr > td {
    vertical-align: middle;
}

.mad-row-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border: 1px solid #c3ccd5;
    border-radius: 12px;
    color: #5f6f7d;
    background-color: #f2f4f7;
    font-size: 11px;
    font-weight: 600;
}

.mad-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    color: #5f6f7d;
    background-color: #f2f4f7;
    border: 1px solid #c3ccd5;
    border-radius: 12px;
}

.mad-channel {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11.5px;
    white-space: nowrap;
    color: #4a5664;
    background-color: #f2f4f7;
    border: 1px solid #dde3ea;
    border-radius: 10px;
}

.mad-proxy {
    margin-top: 3px;
    font-size: 11px;
}

.mad-col-subject {
    min-width: 200px;
    max-width: 320px;
}

.mad-col-note {
    min-width: 180px;
    max-width: 360px;
}

.mad-note {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    color: #4a5664;
}

.mad-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mad-nowrap {
    white-space: nowrap;
}

.mad-strong {
    font-weight: 600;
    color: #1f2d3d;
}

.mad-muted {
    color: #8a95a3;
}

.mad-link {
    cursor: pointer;
    font-weight: 600;
}

.mad-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    padding: 10px 12px;
    border-top: 1px solid #e3e8ef;
}

.mad-pager .btn {
    min-width: 28px;
}

.mad-page-size {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
    font-size: 12px;
    color: #5b6776;
}

.mad-page-size select {
    width: auto;
    height: 26px;
    padding: 2px 6px;
}

.mad-empty {
    padding: 40px 15px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
    color: #6b7785;
    background: #ffffff;
    border: 1px dashed #d0d7de;
    border-radius: 6px;
}

.mad-empty .fa {
    margin-right: 6px;
}

.mad-empty-inline {
    padding: 20px 10px;
    margin: 10px;
}

/* Harici Kanal Yönetimi — chatbot ayar pencereleri (modal). Modal body'ye eklendiği için
   ayar sayfasının (.ecs-page) satır içi stilleri buraya ulaşmaz; stiller .ecs-modal ile kapsanır. */
.ecs-modal { display: flex; flex-direction: column; overflow: hidden; border-radius: 6px; background: #f5f7fa; }

.ecs-modal .ecs-modal-header { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #e4e7ec; background: #ffffff; }
.ecs-modal .ecs-modal-header-icon { display: flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: #eaf2fd; color: #2b7de9; font-size: 16px; }
.ecs-modal .ecs-modal-header-text { flex: 1; min-width: 0; }
.ecs-modal .ecs-modal-title { color: #1d2939; font-size: 16px; font-weight: 600; }
.ecs-modal .ecs-modal-subtitle { margin-top: 2px; color: #667085; font-size: 12px; }
.ecs-modal .ecs-modal-close { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid #e4e7ec; border-radius: 8px; background: #ffffff; color: #667085; font-size: 18px; line-height: 1; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.ecs-modal .ecs-modal-close:hover { border-color: #fda29b; background: #fef3f2; color: #d92d20; }

.ecs-modal .ecs-modal-body { max-height: calc(100vh - 220px); overflow-y: auto; padding: 16px 18px; }
.ecs-modal .ecs-modal-footer { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid #e4e7ec; background: #ffffff; }
.ecs-modal .ecs-modal-footer-spacer { flex: 1; }
.ecs-modal .ecs-modal-toolbar { display: flex; justify-content: flex-end; margin-bottom: 12px; }

.ecs-modal .ecs-modal-card { margin-bottom: 14px; border: 1px solid #e4e7ec; border-radius: 10px; background: #ffffff; }
.ecs-modal .ecs-modal-card:last-child { margin-bottom: 0; }
.ecs-modal .ecs-modal-card-header { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #f0f2f5; color: #344054; font-size: 14px; font-weight: 600; }
.ecs-modal .ecs-modal-card-header > i { width: 16px; color: #2b7de9; text-align: center; }
.ecs-modal .ecs-modal-card-body { padding: 14px 16px; }
.ecs-modal .ecs-modal-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: #eaf2fd; color: #1f5fbf; font-size: 11px; font-weight: 600; }
.ecs-modal .ecs-modal-badge { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; background: #f2f4f7; color: #667085; font-size: 11px; font-weight: 500; }

.ecs-modal .ecs-modal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.ecs-modal .ecs-modal-field { display: flex; flex-direction: column; min-width: 0; }
.ecs-modal .ecs-modal-field > .form-label { margin-bottom: 5px; color: #475467; font-size: 12px; font-weight: 500; line-height: 18px; }
.ecs-modal aphel-textbox, .ecs-modal aphel-select, .ecs-modal aphel-timepicker { display: block; width: 100%; }

.ecs-modal .ecs-agent-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px; align-items: center; gap: 10px; }
.ecs-modal .ecs-agent-head { margin-bottom: 6px; color: #667085; font-size: 11px; font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; }
.ecs-modal .ecs-agent-row { margin-bottom: 8px; }
.ecs-modal .ecs-add-row { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 36px; margin-top: 4px; border: 1px dashed #b9d3f8; border-radius: 8px; background: #f7faff; color: #1f5fbf; font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color .15s, border-color .15s; }
.ecs-modal .ecs-add-row:hover { border-color: #2b7de9; background: #eaf2fd; }

.ecs-modal .ecs-day-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) 34px; align-items: center; gap: 12px; padding: 10px 16px; }
.ecs-modal .ecs-day-head { border-bottom: 1px solid #f0f2f5; color: #667085; font-size: 11px; font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; }
.ecs-modal .ecs-day-row { border-bottom: 1px solid #f0f2f5; }
.ecs-modal .ecs-day-row:last-child { border-bottom: none; }
.ecs-modal .ecs-day-row.weekend { background: #fafbfc; }
.ecs-modal .ecs-day-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #344054; font-size: 13px; font-weight: 500; }

.ecs-modal .ecs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid #d0d5dd; border-radius: 8px; background: #ffffff; color: #344054 !important; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s; }
.ecs-modal .ecs-btn:hover { background: #f9fafb; }
.ecs-modal .ecs-btn:focus { outline: none; }
.ecs-modal .ecs-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.ecs-modal .ecs-btn-primary { border-color: transparent; color: #ffffff !important; }
.ecs-modal .ecs-btn-primary:hover { filter: brightness(1.08); }
.ecs-modal .ecs-btn-danger { border-color: #fda29b; color: #b42318 !important; }
.ecs-modal .ecs-btn-danger:hover { background: #fef3f2; }
.ecs-modal .ecs-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 1px solid #e4e7ec; border-radius: 8px; background: #ffffff; color: #667085; font-size: 14px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.ecs-modal .ecs-icon-btn:hover { border-color: #d0d5dd; background: #f2f4f7; color: #344054; }
.ecs-modal .ecs-icon-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.ecs-modal .ecs-icon-btn-danger:hover { border-color: #fda29b; background: #fef3f2; color: #d92d20; }

/* Özel Chatbot Akışı Ayarlar modalı: akış listesi satırları ve sohbet robotu sıfırlama kartı */
.ecs-modal .ecs-flow-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) 84px 34px; align-items: center; gap: 10px; margin-bottom: 8px; }
.ecs-modal .ecs-flow-order { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #f2f4f7; color: #475467; font-size: 12px; font-weight: 600; }
.ecs-modal .ecs-flow-order.is-default { background: #eaf2fd; color: #1f5fbf; }
.ecs-modal .ecs-modal-hint { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; color: #667085; font-size: 12px; line-height: 18px; }
.ecs-modal .ecs-modal-hint > i { margin-top: 3px; color: #98a2b3; }
.ecs-modal .ecs-reset-description { margin-bottom: 12px; color: #667085; font-size: 12px; line-height: 18px; }
.ecs-modal .ecs-reset-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.ecs-modal .ecs-reset-phone { flex: 1; min-width: 220px; }
.ecs-modal .ecs-reset-row-spacer { flex: 1; }
.ecs-modal .ecs-segment { display: inline-flex; padding: 3px; border: 1px solid #e4e7ec; border-radius: 9px; background: #f2f4f7; }
.ecs-modal .ecs-segment-item { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border: none; border-radius: 6px; background: transparent; color: #475467; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.ecs-modal .ecs-segment-item:hover { color: #1d2939; }
.ecs-modal .ecs-segment-item:focus { outline: none; }
.ecs-modal .ecs-segment-item.active { background: #ffffff; color: #1f5fbf; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12); }
.ecs-modal .ecs-input-icon { position: relative; }
.ecs-modal .ecs-input-icon > i { position: absolute; top: 50%; left: 11px; z-index: 1; color: #98a2b3; transform: translateY(-50%); pointer-events: none; }
.ecs-modal .ecs-input-icon input { padding-left: 30px !important; }

@media (max-width: 768px) {
    .ecs-modal .ecs-modal-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Talep/Görev → WhatsApp Şablon Gönder modalı (ecs-modal iskeletini kullanır) */
/* ui-select açılır listesi gövdenin kaydırma alanında kırpılmasın; uzun içerikte modalın kendisi kayar */
.ecs-modal.task-wa-modal { overflow: visible; }
.task-wa-modal .ecs-modal-body { max-height: none; overflow: visible; }
.task-wa-modal .ecs-modal-header { border-radius: 6px 6px 0 0; }
.task-wa-modal .ecs-modal-footer { border-radius: 0 0 6px 6px; }
.task-wa-layout { display: flex; align-items: flex-start; gap: 16px; }
.task-wa-form { flex: 1; min-width: 0; }
.task-wa-preview { position: sticky; top: 0; flex: none; width: 300px; }

.task-wa-recipient { display: flex; align-items: center; gap: 12px; }
.task-wa-avatar { display: flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: #ffffff; font-size: 15px; font-weight: 600; }
.task-wa-recipient-text { flex: 1; min-width: 0; }
.task-wa-recipient-name { overflow: hidden; color: #1d2939; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.task-wa-recipient-meta { margin-top: 2px; color: #667085; font-size: 12px; }
.task-wa-recipient-meta > i { margin-right: 4px; }
.task-wa-phone-field { margin-top: 14px; }

.task-wa-field + .task-wa-field { margin-top: 14px; }
.task-wa-template-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.task-wa-alert { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 10px 12px; border: 1px solid #fedf89; border-radius: 8px; background: #fffaeb; color: #93370d; font-size: 12px; line-height: 18px; }
.task-wa-alert > i { margin-top: 2px; }
.task-wa-variable-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.task-wa-variable-hint { color: #98a2b3; font-weight: 400; }

.task-wa-phone-frame { overflow: hidden; border: 1px solid #e4e7ec; border-radius: 14px; background: #ffffff; box-shadow: 0 4px 14px rgba(16, 24, 40, 0.08); }
.task-wa-phone-header { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #075e54; color: #ffffff; }
.task-wa-phone-header-avatar { display: flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); font-size: 16px; }
.task-wa-phone-header-text { flex: 1; min-width: 0; }
.task-wa-phone-header-name { overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.task-wa-phone-header-status { font-size: 11px; opacity: 0.8; }
.task-wa-phone-body { min-height: 340px; max-height: calc(100vh - 330px); overflow-y: auto; padding: 14px 12px; background: #efeae2; }
.task-wa-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 310px; padding: 0 20px; color: #8a8f98; font-size: 12px; text-align: center; }
.task-wa-empty > i { font-size: 30px; opacity: 0.45; }
.task-wa-bubble { max-width: 94%; padding: 4px 4px 6px; border-radius: 0 8px 8px 8px; background: #ffffff; box-shadow: 0 1px 1px rgba(11, 20, 26, 0.13); }
.task-wa-bubble-media { display: block; width: 100%; max-height: 220px; border-radius: 6px; object-fit: cover; }
.task-wa-bubble-video { display: flex; align-items: center; justify-content: center; height: 140px; border-radius: 6px; background: #1d2939; color: #ffffff; font-size: 34px; }
.task-wa-bubble-media-missing { display: flex; align-items: center; justify-content: center; gap: 6px; height: 90px; border-radius: 6px; background: #f2f4f7; color: #98a2b3; font-size: 12px; }
.task-wa-bubble-text { padding: 6px 6px 0; color: #111b21; font-size: 13px; line-height: 19px; white-space: pre-line; word-wrap: break-word; }
.task-wa-bubble-footer { padding: 4px 6px 0; color: #8696a0; font-size: 12px; }
.task-wa-bubble-time { padding: 2px 6px 0; color: #8696a0; font-size: 11px; text-align: right; }
.task-wa-buttons { max-width: 94%; }
.task-wa-button { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 3px; padding: 8px; border-radius: 8px; background: #ffffff; box-shadow: 0 1px 1px rgba(11, 20, 26, 0.13); color: #027eb5; font-size: 13px; }

.task-wa-send-btn { background: #25d366 !important; }

@media (max-width: 768px) {
    .task-wa-layout { flex-direction: column; }
    .task-wa-preview { position: static; width: 100%; }
    .task-wa-variable-grid { grid-template-columns: minmax(0, 1fr); }
}

/* WhatsApp toplu mesaj sihirbazı — Kaynak Seçimi ve Gönderim İşlemi adımlarının yeni tasarımı (whatsapp-bulk-message-send-wizard-v2.html) */
.wa-wizard-step { padding: 12px 0 4px; }
.wa-wizard-question { margin: 0 0 10px; color: #1d2939; font-size: 15px; font-weight: 600; }
.wa-wizard-source-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.wa-wizard-source-card { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 1px solid #d0d5dd; border-radius: 10px; background: #ffffff; text-align: left; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.wa-wizard-source-card:hover { border-color: #98a2b3; }
.wa-wizard-source-card:focus { outline: none; box-shadow: 0 0 0 3px rgba(16, 24, 40, 0.08); }
.wa-wizard-source-card.is-active { padding: 13px 15px; border-width: 2px; box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1); }
.wa-wizard-source-cards.has-error .wa-wizard-source-card { border-color: #f04438; }
.wa-wizard-source-icon { display: flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: #f2f4f7; font-size: 20px; }
.wa-wizard-source-text { flex: 1; min-width: 0; }
.wa-wizard-source-title { display: block; color: #1d2939; font-size: 14px; font-weight: 600; }
.wa-wizard-source-desc { display: block; margin-top: 2px; color: #667085; font-size: 12px; }
.wa-wizard-source-check { flex: none; color: #d0d5dd; font-size: 20px; }

.wa-wizard-layout { display: flex; align-items: flex-start; gap: 16px; }
.wa-wizard-main { display: grid; flex: 1; gap: 16px; min-width: 0; }
.wa-wizard-side { position: sticky; top: 0; flex: none; width: 320px; }
.wa-wizard-card { padding: 14px 16px; border: 1px solid #e4e7ec; border-radius: 10px; background: #ffffff; }
.wa-wizard-card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; color: #475467; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.wa-wizard-card-action { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer; }
.wa-wizard-muted { color: #98a2b3; font-weight: 400; }
.wa-wizard-strong { font-weight: 600; }
.wa-wizard-mono { font-variant-numeric: tabular-nums; }
.wa-wizard-hint { margin-top: 10px; color: #98a2b3; font-size: 12px; }

.wa-wizard-field-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid #f2f4f7; }
.wa-wizard-card-title + .wa-wizard-field-row { padding-top: 0; border-top: none; }
.wa-wizard-field-name { color: #1d2939; font-size: 13px; font-weight: 600; }
.wa-wizard-fixed { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #667085; font-size: 13px; }
.wa-wizard-chip { display: inline-block; max-width: 100%; overflow: hidden; padding: 2px 10px; border-radius: 999px; background: #f2f4f7; color: #1d2939; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.wa-wizard-link { font-size: 12px; font-weight: 600; cursor: pointer; }

.wa-wizard-filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px; }
.wa-wizard-filter > label { display: block; margin-bottom: 4px; color: #475467; font-size: 12px; font-weight: 600; }
.wa-wizard-filter.is-locked > label { color: #98a2b3; }

.wa-wizard-excel-step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid #f2f4f7; }
.wa-wizard-excel-step:first-child { padding-top: 0; border-top: none; }
.wa-wizard-excel-step:last-child { padding-bottom: 0; }
.wa-wizard-step-number { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: #ffffff; font-size: 13px; font-weight: 700; }
.wa-wizard-step-title { color: #1d2939; font-size: 13px; font-weight: 600; line-height: 28px; }
.wa-wizard-step-desc { color: #667085; font-size: 12px; }
.wa-wizard-step-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.wa-wizard-secondary-btn { border-color: #d0d5dd; color: #344054; }
.wa-wizard-upload-btn { margin: 0; color: #ffffff; cursor: pointer; }
.wa-wizard-file-name { color: #475467; font-size: 12px; }
.wa-wizard-success { margin-top: 10px; color: #067647; font-size: 13px; font-weight: 600; }
.wa-wizard-alert { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; padding: 10px 12px; border: 1px solid #fedf89; border-radius: 8px; background: #fffaeb; color: #93370d; font-size: 12px; line-height: 18px; }
.wa-wizard-alert > i { margin-top: 2px; }

.wa-wizard-recipients { margin-top: 16px; }
.wa-wizard-recipient-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.wa-wizard-count { margin-right: 4px; font-size: 26px; font-weight: 700; line-height: 1; }
.wa-wizard-count-text { color: #475467; font-size: 14px; }
.wa-wizard-pager { display: flex; align-items: center; gap: 8px; color: #475467; font-size: 13px; }
.wa-wizard-pager > button { width: 30px; height: 30px; border: 1px solid #d0d5dd; border-radius: 6px; background: #ffffff; color: #344054; }
.wa-wizard-pager > button[disabled] { opacity: 0.4; cursor: default; }
.wa-wizard-table-wrap { overflow-x: auto; border: 1px solid #e4e7ec; border-radius: 8px; transition: opacity 0.15s; }
.wa-wizard-table-wrap.wa-wizard-loading { opacity: 0.5; }
.wa-wizard-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.wa-wizard-table th { padding: 9px 12px; border-bottom: 1px solid #e4e7ec; background: #f9fafb; color: #475467; font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap; }
.wa-wizard-table td { padding: 9px 12px; border-bottom: 1px solid #f2f4f7; color: #1d2939; white-space: nowrap; }
.wa-wizard-table tr:last-child td { border-bottom: none; }
.wa-wizard-table td.is-empty { color: #d0d5dd; }
.wa-wizard-check-cell { width: 36px; padding-right: 0 !important; }
.wa-wizard-check-cell > input { margin: 0; cursor: pointer; }
.wa-wizard-table tr.is-excluded td { color: #98a2b3; text-decoration: line-through; }
.wa-wizard-table tr.is-excluded td.wa-wizard-check-cell { text-decoration: none; }
.wa-wizard-excluded { color: #667085; font-size: 13px; }
.wa-wizard-empty { display: flex; align-items: center; gap: 8px; padding: 14px 4px 4px; color: #667085; font-size: 13px; }

.wa-wizard-phone { overflow: hidden; border: 1px solid #e4e7ec; border-radius: 14px; background: #ffffff; box-shadow: 0 4px 14px rgba(16, 24, 40, 0.08); }
.wa-wizard-phone-header { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #075e54; color: #ffffff; }
.wa-wizard-phone-avatar { display: flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); font-size: 15px; }
.wa-wizard-phone-name { flex: 1; min-width: 0; overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.wa-wizard-phone-body { min-height: 180px; padding: 14px 12px; background: #efeae2; }
.wa-wizard-bubble { max-width: 96%; margin-left: auto; padding: 4px 4px 6px; border-radius: 8px 0 8px 8px; background: #d9fdd3; box-shadow: 0 1px 1px rgba(11, 20, 26, 0.13); }
.wa-wizard-bubble-media { display: block; width: 100%; max-height: 200px; border-radius: 6px; object-fit: cover; }
.wa-wizard-bubble-video { display: flex; align-items: center; justify-content: center; height: 120px; border-radius: 6px; background: #1d2939; color: #ffffff; font-size: 32px; }
.wa-wizard-bubble-text { padding: 4px 6px 0; color: #111b21; font-size: 13px; line-height: 19px; white-space: pre-line; word-wrap: break-word; }

.wa-wizard-summary { margin: 0; }
.wa-wizard-summary > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid #f2f4f7; }
.wa-wizard-summary > div:first-child { padding-top: 0; border-top: none; }
.wa-wizard-summary dt { color: #667085; font-size: 13px; font-weight: 600; }
.wa-wizard-summary dd { margin: 0; color: #1d2939; font-size: 13px; }
.wa-wizard-summary-count { font-size: 18px; }
.wa-wizard-summary-field + .wa-wizard-summary-field { margin-top: 4px; }
.wa-wizard-confirm { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid #b2ddff; border-radius: 10px; background: #eff8ff; color: #175cd3; font-size: 13px; }
.wa-wizard-confirm > i { margin-top: 3px; font-size: 16px; }
.wa-wizard-confirm b { display: block; margin-bottom: 2px; font-size: 14px; }
.wa-wizard-buttons { overflow: hidden; padding: 20px 0 5px; }

@media (max-width: 992px) {
    .wa-wizard-layout { flex-direction: column; }
    .wa-wizard-side { position: static; width: 100%; }
    .wa-wizard-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .wa-wizard-source-cards, .wa-wizard-filter-grid { grid-template-columns: minmax(0, 1fr); }
    .wa-wizard-field-row, .wa-wizard-summary > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* Talep eden aramasında kişi tipi filtresi (Personel/Vatandaş) */
.requester-type-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 0 2px; }
.requester-type-filter-icon { color: #9e9e9e; font-size: 12px; margin-right: 2px; }
.requester-type-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px; border: 1px solid #d0d5dc; border-radius: 14px; background-color: #ffffff; color: #555555; font-size: 12px; line-height: 18px; cursor: pointer; user-select: none; transition: background-color .15s, border-color .15s, color .15s; }
.requester-type-chip:hover { border-color: #9aa4b1; background-color: #f5f7fa; }
.requester-type-chip .fa { font-size: 12px; color: #b0b6bf; }
.requester-type-chip.active { color: #ffffff; border-color: transparent; background-color: #1976d2; }
.requester-type-chip.active .fa { color: #ffffff; }
