
html {
  --scrollbarBG: #ccc;
  --thumbBG: #ff6c2f;
}
.form-control{
    height: 33px;
}
.is-scrolling::-webkit-scrollbar {
    width: 15px;
}
.is-scrolling{
    scrollbar-width: thin;
    scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
.is-scrolling::-webkit-scrollbar-track {
    background: var(--scrollbarBG);
}
.is-scrolling::-webkit-scrollbar-thumb {
    background-color: var(--thumbBG) ;
    border-radius: 6px;
    border: 3px solid var(--scrollbarBG);
}
.is-scrolling{
    overflow-y: scroll;
}
.view-data{
    float: left;
    margin: 0 10px 0 0;
}
.data-custom-tab{
    display: none !important;
}
.data-custom-tab.on-show{
    display: block !important;
}
.js-errors{
    border: 1px dashed #f00;
    padding: 10px 30px;
    margin: 0 0 10px 0;
    border-radius: 4px;
}
.js-errors li{
    color: #f00;
}

.js-success{
    border: 1px dashed #28a745;
    padding: 10px 30px;
    margin: 0 0 10px 0;
    border-radius: 4px;
}
.js-success li{
    color: #28a745;
} 

.telegram-contact{
    position: fixed;
      right: 30px;
      bottom: 30px;
      height: 46px;
      width: 46px;
      cursor: pointer;
      display: block;
      border-radius: 50px;
      z-index: 8;
      background-color: #0774ff;
      color: #fff;
      font-size: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
}
.facebook-contact{
    position: fixed;
      right: 30px;
      bottom: 85px;
      height: 46px;
      width: 46px;
      cursor: pointer;
      display: block;
      border-radius: 50px;
      z-index: 8;
      background-color: #0774ff;
      color: #fff;
      font-size: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
}
.data-proxy-name{
    width: 400px !important;
}
.table-area{
    user-select: none;
}
.table-area .table-body{
    height: 500px;
    overflow-y: scroll;
    border: 1px solid #ccc;
}
.table-area .table > :not(caption) > * > *{
    padding: 4px 12px;
}
.drag-select {
  background-color: rgba(20, 137, 189, 0.5);
}
.form-position{
    width: 60px !important;
    padding: 4px 12px !important;
}
.is-selected {
    background-color: #ff6c2f70; 
}
.is-selected td{ 
    color: #000 !important; 
}

.notification-group{
    position: fixed;
    max-width: 350px;
    z-index: 10060;
}
.notification-group.top-right{
    top: 70px;
    right: 15px;
}
.notification{
    padding: 0 12px;
    border-radius: .25rem;
}
.notification.notification-success{
    background-color: rgba(0,201,167,0.1);
    border: 1px solid rgba(0,201,167,0.15);
    color: rgb(0,201,167);
}
.notification.notification-error{
    background-color: rgba(222,68,54,0.1);
    border: 1px solid rgba(222,68,54,0.15);
    color: rgb(222,68,54);
}
.notification.notification-processing{
    background-color: rgba(63,135,245,0.1);
    border: 1px solid rgba(63,135,245,0.15);
    color: rgb(63,135,245);
}
.logo-box img{
    width: 230px;
    height: auto !important;
}
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}
.side-nav .side-nav-inner .side-nav-menu > li > a.active{
    background-color: rgba(63,135,245,0.15);
    color: #3f87f5 !important;
}
.side-nav .side-nav-inner .side-nav-menu > li > a.active::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border-right: 2px solid #3f87f5;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
.summernote .dropdown-toggle::after{
    display: none;
}
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
.slider.round.active:before {
    background-color: #52c41a;
}
.slider.round.active {
    border: 1px solid #ccc;
    background-color: #fff;
}
.slider.round.active:before {
    left: auto;
    right: 4px;
}

.qr-image{
    display: none;
}
.qr-image.visible{
    display: block;
}
.w-full{
    width: 100%;
}

/* Modal Login/Register Styles */
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem 1.5rem 1rem;
}

.modal-title {
    font-weight: 600;
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem 1.5rem;
}

.form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
    border-color: #545b62;
}

.alert {
    border-radius: 8px;
    border: none;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.text-primary {
    color: #007bff !important;
}

.text-primary:hover {
    color: #0056b3 !important;
    text-decoration: underline;
}

.border-top {
    border-top: 1px solid #e9ecef !important;
    padding-top: 1rem;
    margin-top: 0;
}