#arxivSatislarV2Page{
  padding: 0;
}

.ars-page{
  background: #f2f4f7;
  border-radius: 10px;
  overflow: hidden;
}

.ars-topbar{
  background: #f8f8f8;
  border-bottom: 1px solid #d7dce2;
  padding: 18px 20px;
  text-align: center;
}

.ars-title-box h2{
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #444;
}

.ars-subtitle{
  margin-top: 4px;
  font-size: 12px;
  color: #7a7a7a;
}

.ars-filter-card{
  background: linear-gradient(180deg, #e7eaee 0%, #dcdfe3 100%);
  border-bottom: 1px solid #c4ccd4;
  padding: 14px 18px 12px 18px;
}

.ars-filter-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}

.ars-field{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ars-field label{
  font-size: 12px;
  color: #3c4a57;
  font-weight: 700;
}

.ars-field input{
  height: 34px;
  border: 1px solid #a9b4bf;
  border-radius: 4px;
  padding: 0 10px;
  font-size: 13px;
  background: #fff;
  outline: none;
}

.ars-field input:focus{
  border-color: #1a87c9;
  box-shadow: 0 0 0 2px rgba(26,135,201,.12);
}

.ars-field-anbar{
  min-width: 220px;
}

.ars-field-date{
  min-width: 170px;
}

.ars-actions{
  display: flex;
  align-items: end;
}

.ars-actions button{
  height: 34px;
  padding: 0 16px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(180deg, #36a9e1 0%, #1b8fca 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

.ars-actions button:hover{
  filter: brightness(1.03);
}

.ars-loading{
  margin-top: 8px;
  font-size: 13px;
  color: #0b5881;
  font-weight: 700;
}

.ars-info{
  margin-top: 8px;
  font-size: 13px;
  color: #334155;
}

.ars-main-grid{
  padding: 0;
}

.ars-grid-card{
  background: #eef3f6;
  border-top: 1px solid #b8c8d5;
}

.ars-grid-header{
  background: linear-gradient(180deg, #4ea0cc 0%, #338bbc 100%);
  color: #fff;
  padding: 8px 10px;
  border-bottom: 1px solid #2b6e94;
}

.ars-grid-title{
  font-size: 14px;
  font-weight: 700;
}

.ars-detail-totals{
  background: #e8f4fc;
  border-bottom: 1px solid #b8c8d5;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.ars-detail-totals:empty{
  display: none;
}

.ars-table-wrap{
  overflow: auto;
  background: #dbe7ee;
}

.ars-main-table-wrap{
  max-height: 390px;
}

.ars-detail-table-wrap{
  max-height: 260px;
}

.ars-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
  color: #0f172a;
}

.ars-table thead th{
  position: sticky;
  top: 0;
  z-index: 2;
  background: #4b99c4;
  color: #fff;
  border: 1px solid #5ca4cb;
  padding: 8px 6px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ars-table tbody td{
  border: 1px solid #7fb4d6;
  padding: 6px 6px;
  background: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ars-table tbody tr:nth-child(even) td{
  background: #d9e5ec;
}

.ars-table tbody tr:hover td{
  background: #c8d9e5;
}

.ars-table tbody tr.ars-selected td{
  background: #0c5b88 !important;
  color: #fff;
}

.ars-table tbody tr.ars-selected td .ars-op-badge{
  color: #fff;
  border-color: rgba(255,255,255,.35);
}

.ars-main-table tbody tr{
  cursor: pointer;
}

.ars-empty{
  text-align: center;
  padding: 18px !important;
  font-style: italic;
  color: #4b5563;
}

.ars-cell-num{
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ars-cell-center{
  text-align: center;
}

.ars-cell-drug{
  color: #2d4bff;
}

.ars-op-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid transparent;
}

.ars-op-sale{
  background: #e0f5e9;
  color: #0b7a39;
  border-color: #8bd3a8;
}

.ars-op-return{
  background: #fff0df;
  color: #b45309;
  border-color: #f0bf7e;
}

.ars-main-table th:nth-child(1){ width: 78px; }
.ars-main-table th:nth-child(2){ width: 95px; }
.ars-main-table th:nth-child(3){ width: 70px; }
.ars-main-table th:nth-child(4){ width: 170px; }
.ars-main-table th:nth-child(5){ width: 120px; }
.ars-main-table th:nth-child(6){ width: 90px; }
.ars-main-table th:nth-child(7){ width: 300px; }
.ars-main-table th:nth-child(8){ width: 80px; }
.ars-main-table th:nth-child(9){ width: 85px; }
.ars-main-table th:nth-child(10){ width: 80px; }
.ars-main-table th:nth-child(11){ width: 90px; }
.ars-main-table th:nth-child(12){ width: 170px; }

.ars-detail-table th:nth-child(1){ width: 160px; }
.ars-detail-table th:nth-child(2){ width: 120px; }
.ars-detail-table th:nth-child(3){ width: 70px; }
.ars-detail-table th:nth-child(4){ width: 300px; }
.ars-detail-table th:nth-child(5){ width: 70px; }
.ars-detail-table th:nth-child(6){ width: 70px; }
.ars-detail-table th:nth-child(7){ width: 70px; }
.ars-detail-table th:nth-child(8){ width: 80px; }
.ars-detail-table th:nth-child(9){ width: 80px; }
.ars-detail-table th:nth-child(10){ width: 90px; }

@media (max-width: 900px){
  .ars-filter-row{
    flex-direction: column;
    align-items: stretch;
  }

  .ars-field-anbar,
  .ars-field-date{
    min-width: auto;
  }

  .ars-actions{
    width: 100%;
  }

  .ars-actions button{
    width: 100%;
  }
}

.ars-search-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.ars-search-field{
  min-width: 220px;
}

.ars-actions-search{
  margin-left: auto;
}

.ars-btn-secondary{
  background: linear-gradient(180deg, #8896a5 0%, #6f7f8f 100%) !important;
}

#ars_mainTable thead th[data-col]{
  cursor: pointer;
  user-select: none;
  position: sticky;
}

#ars_mainTable thead th[data-col]:hover{
  filter: brightness(1.05);
}

#ars_mainTable thead th.ars-th-active{
  box-shadow: inset 0 -2px 0 #facc15;
}

.ars-th-filter-mark{
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  opacity: .95;
}

.ars-filter-modal{
  position: absolute;
  z-index: 9999;
  width: 320px;
  background: linear-gradient(180deg, #1678a8 0%, #0f6f9f 100%);
  border: 1px solid #0a5f8c;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  padding: 0;
  overflow: hidden;
  color: #fff;
}

.ars-filter-modal-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 8px 12px;
}

.ars-filter-title-wrap{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ars-filter-title{
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.ars-filter-close{
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 2px 4px;
  opacity: .9;
}

.ars-filter-close:hover{
  opacity: 1;
}

.ars-filter-menu-list{
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 4px 0;
}

.ars-filter-menu-btn{
  width: 100%;
  border: none;
  background: transparent;
  color: #ffffff;
  text-align: left;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-top: 1px solid rgba(255,255,255,.08);
}

.ars-filter-menu-btn:hover{
  background: rgba(255,255,255,.10);
}

.ars-filter-menu-btn-danger{
  color: #d8f3ff;
}

.ars-filter-divider{
  height: 1px;
  background: rgba(255,255,255,.18);
  margin: 2px 12px 10px 12px;
}

.ars-filter-search-box{
  padding: 0 12px 10px 12px;
  margin-bottom: 0;
}

.ars-filter-sort-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}+

.ars-filter-search-box input{
  width: 100%;
  height: 30px;
  border: 1px solid #7db8d8;
  border-radius: 3px;
  padding: 0 10px;
  font-size: 12px;
  outline: none;
  background: #ffffff;
  color: #0f172a;
}

.ars-filter-check-actions{
  padding: 0 12px 8px 12px;
  margin-bottom: 0;
  font-size: 12px;
}

.ars-filter-check-actions-new{
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ars-checkall-label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
}

.ars-filter-values{
  max-height: 260px;
  overflow: auto;
  margin: 0 12px 12px 12px;
  border: 1px solid #6ca9ca;
  border-radius: 3px;
  background: #ffffff;
  padding: 0;
}

.ars-filter-value-item{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
  color: #0f172a;
  background: #ffffff;
}

.ars-filter-value-item:hover{
  background: #eef7fc;
}

.ars-filter-value-item + .ars-filter-value-item{
  border-top: 1px solid #e5edf3;
}

.ars-filter-value-item input[type="checkbox"]{
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.ars-filter-value-item span{
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.ars-filter-empty{
  padding: 12px 10px;
  text-align: center;
  color: #64748b;
  font-size: 12px;
  background: #ffffff;
}

@media (max-width: 900px){
  .ars-search-row{
    flex-direction: column;
    align-items: stretch;
  }

  .ars-search-field{
    min-width: auto;
  }

  .ars-actions-search{
    margin-left: 0;
    width: 100%;
  }

  .ars-actions-search button{
    width: 100%;
  }
}