@charset "UTF-8";
@import url(fontiran.css);
html, body{
    margin:0;
    padding:0;
    height:100%;
}
body {
  font-family: IRANSans5-Fa-Light,IRANSans,tahoma,Vazir-Medium !important;
  font-size: 12px;
  font-weight: 100;
  background: #3f3f3f;
  color: #000;
}

.font-size-10 { font-size: 10px;}
.font-size-12 { font-size: 12px;}
.font-size-14 { font-size: 14px;}
.font-size-16 { font-size: 16px;}
.font-size-18 { font-size: 18px;}
.font-size-24 { font-size: 24px;}
.font-size-48 { font-size: 48px;}

.bg-blue-0{background-color: #28b887;color: #fff;}
.bg-blue-1{background: #00a693;}
.bg-blue-2{background: #d9edf7;}
.bg-blue-3{background: #35a4dc;}

.bg-ee{background: #eee;}
.bg-fe{background: #fefefe;}
.bg-4c{background: #4c4c4c;}
.bg-00{background: #28b887;}
.bg-01{background: #00a693;}
.bg-rg1{background: rgba(0,0,0,0.25);}
.bg-rg2{background: rgba(0,0,0,0.5);}
.bg-e3{background: #e3e3e3;}
.bg-blue{background: #d9edf7;}
.bg-blue-dark{background: #35a4dc;}
.bg-eefbee{background: #eefbee;}
.bg-daff90{background: #daff90;}
.bg-FFF8F4{background: #FFF8F4;}
.bg-yellow{background:#fec212}
.bg-gray {background: #e3e3e3;}
.bg-green{background: #34c3ba;}
.bg-green-light{background: #e6ffcc;}
.bg-pink{background: #ff5785;}
.bg-light{background: #f5f5f5;}
.bg-violet{background: #65489d;}
.bg-ff-sh{
  -moz-box-shadow: 0 0 10px #999;
  -webkit-box-shadow: 0 0 10px #999;
  box-shadow: 0 0 10px #999;
}
.bg-ff-sh-in{
  background: #ffffff;
  -moz-box-shadow: inset 0 0 5px #888;
  -webkit-box-shadow: inset 0 0 5px #888;
  box-shadow: inset 0 0 5px #888;
}
.bg-ff-cc{
  background: linear-gradient(#fff, #ccc);
}
.bg-ee-dd{
  background: linear-gradient(#eee, #ddd);
}
.bg-fa{ background: #fafbfc;}
.bg-fc{ background: #fcfdfd;}

.text-color-blue{color: #0abcd5}
.text-color-blue-dark{color: #35a4dc}
.text-color-pilk{color: #e61f62}
.text-color-red{color: #f5211a}
.text-color-green{color: #4db04e}
.text-color-gw{color: #00a693}
.text-color-orange-dark{color: #F05500}
.text-color-orange{color: #f8981d}
.text-color-jegari{color: #800000}
.text-color-zardi{color: #c07b0c}
.text-color-white{color: #ffffff}
.text-color-purple{color:#903e97}
.text-color-violet{color:#65489d}
.text-color-yellow{color:#fec212}
.text-color-gray{color:#c4c4c4}
.text-color-light{color:#e1e1e1}
.text-color-primary{color:#a1a1a1}
.text-color-33{color:#333333}

.bg-success-0 {background-color: #dbead5;}
.bg-success-1 {background-color: #b7d5ac;}
.bg-success-2 {background-color: #93bf85;}
.bg-success-3 {background-color: #6eaa5e;}
.bg-success-4 {background-color: #469536;}
.bg-success-5 {background-color: #0f6a08;}
.bg-success-6 {background-color: #14540d;}
.bg-success-7 {background-color: #15400e;}
.bg-success-8 {background-color: #132c0d;}
.bg-success-9 {background-color: #0f1a07;}

.bg-danger-0 {background-color: #ffdfd4;}
.bg-danger-1 {background-color: #ffbfaa;}
.bg-danger-2 {background-color: #ff9e81;}
.bg-danger-3 {background-color: #ff7b5a;}
.bg-danger-4 {background-color: #ff5232;}
.bg-danger-5 {background-color: #ff0000;}
.bg-danger-6 {background-color: #d11507;}
.bg-danger-7 {background-color: #a51b0b;}
.bg-danger-8 {background-color: #7a1b0c;}
.bg-danger-9 {background-color: #52170b;}
.bg-danger-10 {background-color: #2d1106;}

.bg-warning-0 {background-color: #fff8dd !important;}
.bg-warning-1 {background-color: #fff1ba;}
.bg-warning-2 {background-color: #ffea98;}
.bg-warning-3 {background-color: #ffe474;}
.bg-warning-4 {background-color: #ffdd4c;}
.bg-warning-5 {background-color: #ffd700;}
.bg-warning-6 {background-color: #d0af12;}
.bg-warning-7 {background-color: #a38a17;}
.bg-warning-8 {background-color: #786518;}
.bg-warning-9 {background-color: #504315;}
.bg-warning-10 {background-color: #2b2410;}

.bg-info-0 {background: #e4f0ff;}
.bg-info-1 {background: #c8e2ff;}
.bg-info-2 {background: #aad3ff;}
.bg-info-3 {background: #89c5ff;}
.bg-info-4 {background: #60b7ff;}
.bg-info-5 {background: #00aaff;}
.bg-info-6 {background: #1b8bd0;}
.bg-info-7 {background: #216ea2;}
.bg-info-8 {background: #215277;}
.bg-info-9 {background: #1c374f;}
.bg-info-10 {background: #141f29;}

.bg-gray-0 {background: #e9e9e9;}
.bg-gray-1 {background: #d3d3d3;}
.bg-gray-11 {background: #dfdfdf;}
.bg-gray-2 {background: #bdbedb;}
.bg-gray-3 {background: #a9a9a9;}
.bg-gray-4 {background: #949494;}
.bg-gray-5 {background: #808080;}
.bg-gray-6 {background: #6a6a6a;}
.bg-gray-7 {background: #545454;}
.bg-gray-8 {background: #3f3f3f;}
.bg-gray-9 {background: #2c2c2c;}

.bg-danger-0 {background-color: #f2dede;}
.bg-success-0 {background-color: #dbf1d0;}

.dark-mode .bg-warning-0,
.dark-mode .bg-blue-2,
.dark-mode .bg-success-0,
.dark-mode .bg-danger-0 {color: black!important;}

.dark-mode .bg-danger-0.text-color-red {color: #f5211a!important;}
.dark-mode .bg-danger-0.text-red {color: #f5211a!important;}

.dark-mode .modal-header.bg-ff-cc .modal-title {
  color: #000 !important;
}

.table-striped tbody tr:nth-of-type(odd) > .bg-danger-0{
    background-color: #f2dede;
}

.padd2{ padding: 2px;}
.padd5{ padding: 5px;}
.padd10{ padding: 10px;}

.pointer {
    cursor: pointer;
}
/* #Forms
================================================== */

.select2 .select2-selection .select2-selection--single {font-size: 75%;}
input[type="text"]:focus,
textarea:focus,
select:focus{
  color: #000;
  border:1px solid #aaa;
  background:#FFF;
  box-shadow:0 0 5px #ddd;-moz-box-shadow:0 0 5px #ddd;-wekit-box-shadow:0 0 5px #ddd;
}

.form-control-2, .bootstrap-select .form-control-2{
  display: block;
  width: 100%;
  height: 22px;
  padding: 2px 2px;
  font-size: 12px;
  line-height: 1;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
       -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
          transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.table-wrap {
  position: relative;
}

.tr-selected {background: #35a4dc;color:#fff;}

.br-l-3 {
  border-left: 3px #35a4dc solid;
}
.br-r-3 {
  border-left: 3px #35a4dc solid;
}

.tooltiptext {
	display: none;
	text-align: left;
	padding: 5px 0;
	border-radius: 6px;
	position: absolute;
	margin-top: -5px;
	margin-left: 5px;
	left: 0;
	z-index: 1;
}
.tooltiptr:hover .tooltiptext {
	display: block;
}

/* button[title]:hover::after {
	content: attr(title);
	padding: 4px 8px;
	color: #333;
	position: absolute;
	left: 0; 
	top: 100%;
	white-space: nowrap; 
	z-index: 20;
	border-radius: 5px;   
	box-shadow: 0px 0px 4px #222;  
	background-image: linear-gradient(#eeeeee, #cccccc);  
} */

.badge2 {
  display: inline-block;
  padding: 0.25em 0.4em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-xs-2 {
  padding: 0px 5px;
  height: 22px;
  min-width: 22px;
  font-size: 11px;
  border-radius: 0;
}
.btn-xs-2  img{
  height: 15px;
  width: 15px;
}

.text-vertical {
  writing-mode: vertical-rl; 
}

.badge-x {
  padding: 0 4px;
  border-radius: 50%;
  background: tomato;
  color: white;
  font-size: 10px;
  font-weight: bold;
}

.pelak-image {
  background-image: url("https://chiken.tzbbastak.ir/assets/images/pelak.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  padding: 5px;
  color : black;
}
.pelak-image1 {
  background-image: url("https://chiken.tzbbastak.ir/assets/images/pelak1.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  padding: 5px;
  color : black;
}
.pelak-image2 {
  background-image: url("https://chiken.tzbbastak.ir/assets/images/pelak.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  padding: 5px;
  color : white;
}
.pelak-image3 {
  background-image: url("https://chiken.tzbbastak.ir/assets/images/pelak.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  padding: 5px;
  color : white;
}
.pelak-image4 {
  background-image: url("https://chiken.tzbbastak.ir/assets/images/pelak.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  padding: 5px;
  color : white;
}
.pelak-text {
  text-align: center;
  top: 50%;
  left: 50%;
}

ul{
  list-style-type:none;
}
.list ul li {
  margin-right: 20px;
}
.list ul li:before{
  content: "|--";
  margin-right: 4px;
}
.list .symbol {
  font-size: 14px;
}
.Collapsable {
  cursor: pointer;
}

.tooltip {
  font-family: IRANSans5-Fa-Light,IRANSans,tahoma,Vazir-Medium !important;
  font-size: 11px;
  direction: rtl;
  text-align: right;
}
.tooltip-inner {
  background-color: #f1e0ad !important;
  border: #fec212 1px solid;
  color: #000 ;
}
.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before {
  border-top-color: #fec212 !important;
}

.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before {
  border-right-color: #fec212 !important;
}


.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
  border-bottom-color: #fec212 !important;
}


.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before {
  border-left-color: #fec212 !important;
}

._jw-tpk-container ol {margin-bottom: 0;}

.toast-header strong{ margin-right: 0px !important;}
.toast-header small{ margin-right: auto !important;}

.modal-header i {
  margin-top: 12px;
}

.disabled {cursor: no-drop;}
input[disabled=''] {cursor: no-drop;}
.dark-mode input[disabled=''],
.dark-mode .disabled {background: #6c757d!important;}

.chartjs-size-monitor {
  font-family: IRANSans5-Fa-Light,IRANSans,tahoma,Vazir-Medium !important;
  font-size: 12px;
  font-weight: 100;
}
/*
.assetBuyCell {
    background-color: #deeae9;
}*/
.assetBuyCell {
    /* background: #dbe6e8; */
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: rgb(219, 230, 232);
}
.assetTodayCell {
    background: #f2e9d8;
}

::-webkit-scrollbar {
    width: 8px;  /* Remove scrollbar space */
    height: 8px;
    background: transparent;  /* Optional: just make scrollbar invisible */
    background-color: #efefef;
}
::-webkit-scrollbar-track{background:linear-gradient(90deg,#ddd,#ddd 1px,transparent 0,transparent)}
::-webkit-scrollbar-thumb{background:#5e5e5e;border-radius:2px;
  /* box-shadow:inset 2px 2px 2px hsla(0,0%,100%,.25),inset -2px -2px 2px rgba(0,0,0,.25) */
}

.blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.modal-backdrop {
  background-color: #333;
}
.modal-backdrop.show {
  opacity: 0.05;
}

.center-center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.05);
  z-index: 1500;
  padding: 15px;
  border-radius: 15px;
  text-align: center;
}

#loading img {
  width: 50px;
  height: 50px;
  animation: rotate 2s linear infinite;
}

.modal-backdrop {
  background-color: #333;
}
.modal-backdrop.show {
  opacity: 0.05;
}

.dropdown-menu {
    text-align: right;
    right: 0;
    left: auto;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    margin-left: 0.5rem;
}

.button-bar {
  display: flex;
  justify-content: flex-start;
  padding: 2px 10px;
  background-color: #f4f4f4;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.form-footer {
  display: flex;
  justify-content: flex-start;
  padding: 2px 10px;
  background-color: #dfdfdf;
  border-top: 1px solid #ccc;
}

.form-footer button {
  cursor: pointer;
  background-color: #fdfdfd;
  color: #333;
  border-radius: 5px;
  min-width: 30px;
  border: 1px solid #cacaca;
  padding: .125rem .25rem;
  margin-left: 2px;
}

.custom-fieldset {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 16px 8px 8px 8px;
  position: relative;
  background: #fff;
  margin: 16px;
}

.custom-legend {
  position: absolute;
  top: -12px;
  right: 12px;
  background: #fff;
  padding: 0 8px;
  font-size: 14px;
  color: #555;
  border: 1px solid #ccc;
  border-radius: 4px;
  z-index: 1;
}

.panel-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.panel-container .panel-content {
  flex: 1;
  height: 100%;
  overflow: auto;
}
.panel-container .left-panel, .panel-container .right-panel {
  flex: 1;
  height: 100%;
  overflow: auto;
}

.panel-container .button-container {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin: 0 2px;
}

.table-responsive .dropdown-menu {
  position: fixed !important;
  transform: none !important;
  top: auto !important;
  left: auto !important;
  z-index: 1060; /* بالاتر از modal ها */
}


.toolbar-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin-right: 5px;
  padding: 5px 8px;
  transition: background-color 0.3s ease;
  border-radius: 5px;
  border: 1px solid #cacaca;
}

.toolbar-button:hover {
  background-color: #ddd;
}

.toolbar-button img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.btn:disabled, 
.btn[disabled],
.form-footer button:disabled, 
.form-footer button[disabled], 
.toolbar-button:disabled,
.toolbar-button[disabled] {
    opacity: 0.8;
    cursor: not-allowed;
    pointer-events: none;
}

.line-horizontal {
  border: 1px solid #b5b4b4;
  border-radius: 10px;
}

select.form-control:not(.form-control-sm)~.select2-container--default .select2-selection--single{
    padding: 10px .75rem !important;
    height: 37px !important;
}

select.form-control-sm~.select2-container--default {
    font-size: 100%;
}


  /* تنظیمات پایه برای تمام آیکون‌های دکمه */
  .btn-sm svg {
    width: 21px;
    height: 21px;
    transition: all 0.2s ease;
    vertical-align: middle; /* برای تراز وسط */
  }



.btn-delete,
.btn-edit {
  position: relative;
  overflow: hidden;
  border-radius: 50%; /* برای دکمه گرد */
}

.btn-sm.btn-delete::before,
.btn-sm.btn-edit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 0;
}

.btn-sm.btn-delete::before {
  background-color: rgba(220, 53, 69, 0.1); /* رنگ قرمز کم رنگ */
}
.btn-sm.btn-edit::before {
  background-color: rgba(187, 187, 187, 0.1); /* رنگ خاکستری کم رنگ */
}

.btn-delete:hover::before,
.btn-edit:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.btn-edit:hover svg,
.btn-delete:hover svg {
  transform: scale(1.1);
}

.btn-delete:hover svg {
  color: #dc3545 !important;
}

.status-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  background-color: #f8f9fa;
  color: #6c757d;
  border-left: 3px solid #6c757d;
  min-width: 60px;
}

.status-danger {
  background-color: #f8f9fa;
  color: #dc3545;
  border-left-color: #dc3545;
}
.status-success {
  background-color: #f8f9fa;
  color: #598a1d;
  border-left-color: #598a1d;
}
