.ao-module #aptekOnlineTable,
.ao-module #aoApteklerTable {
  width: 100%;
  border-collapse: collapse;
  font-family: Calibri, sans-serif;
  font-size: 15px;
  border: 2px solid #000;
}

.ao-module #aptekOnlineTable caption,
.ao-module #aoApteklerTable caption {
  font-weight: 700;
  font-size: 18px;
  padding: 8px;
}

.ao-module #aptekOnlineTable th,
.ao-module #aoApteklerTable th {
  background: #90ee90;
  text-align: center;
  border: 1px solid #000;
  padding: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.ao-module #aptekOnlineTable td,
.ao-module #aoApteklerTable td {
  border: 1px solid #000;
  padding: 6px;
  font-size: 14px;
  text-align: center;
}

.ao-module #aptekOnlineTable tbody tr:nth-child(odd),
.ao-module #aoApteklerTable tbody tr:nth-child(odd) {
  background: #fff;
}

.ao-module #aptekOnlineTable tbody tr:nth-child(even),
.ao-module #aoApteklerTable tbody tr:nth-child(even) {
  background: #e6f2ff;
}

.ao-module #aptekOnlineTable tbody tr:hover,
.ao-module #aoApteklerTable tbody tr:hover {
  background: #d0e7ff;
  cursor: pointer;
}

.ao-module #aoFilter,
.ao-module #aoApteklerFilter {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.35);
}

.ao-module #aoFilter .card,
.ao-module #aoApteklerFilter .card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  width: 520px;
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.ao-module #aoFilter .hdr,
.ao-module #aoApteklerFilter .hdr { font-weight: 600; }
.ao-module #aoFilter .hdr-row,
.ao-module #aoApteklerFilter .hdr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.ao-module #aoCloseTop,
.ao-module #aoApteklerCloseTop {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #f8fafc;
  color: #111827;
  font-size: 12px;
  cursor: pointer;
}
.ao-module #aoCloseTop:hover,
.ao-module #aoApteklerCloseTop:hover {
  background: #eef2ff;
  border-color: #9ca3af;
}
.ao-module #aoFilter .body,
.ao-module #aoApteklerFilter .body { overflow: auto; }
.ao-module #aoFilter .list,
.ao-module #aoApteklerFilter .list {
  max-height: 55vh;
  overflow: auto;
  border: 1px solid #eee;
  padding: 6px;
  border-radius: 8px;
}
.ao-module #aoFilter .row,
.ao-module #aoApteklerFilter .row {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  column-gap: 10px;
  padding: 4px 6px;
}
.ao-module #aoFilter .row input[type="checkbox"],
.ao-module #aoApteklerFilter .row input[type="checkbox"] { width: 16px; height: 16px; margin: 0; }
.ao-module #aoFilter .row span,
.ao-module #aoApteklerFilter .row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ao-module #aoFilter .top,
.ao-module #aoApteklerFilter .top { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0; }
.ao-module #aoFilter .act,
.ao-module #aoApteklerFilter .act { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.ao-module #aoFilter .act button,
.ao-module #aoApteklerFilter .act button,
.ao-module #aoFilter .top button,
.ao-module #aoApteklerFilter .top button {
  width: auto !important;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}
.ao-module #aoClear,
.ao-module #aoApteklerClear,
.ao-module #aoNone,
.ao-module #aoAfNone {
  background: linear-gradient(180deg, #fee2e2 0%, #fecaca 100%);
  border-color: #fca5a5;
}
.ao-module #aoApply,
.ao-module #aoApteklerApply,
.ao-module #aoAll,
.ao-module #aoAfAll {
  background: linear-gradient(180deg, #dcfce7 0%, #bbf7d0 100%);
  border-color: #86efac;
}

.ao-module #aoSortMenu,
.ao-module #aoApteklerSortMenu {
  position: fixed;
  display: none;
  z-index: 10006;
  min-width: 160px;
  padding: 6px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
}
.ao-module #aoSortMenu button,
.ao-module #aoApteklerSortMenu button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 7px 9px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #111;
  cursor: pointer;
}
.ao-module #aoSortMenu button:hover,
.ao-module #aoApteklerSortMenu button:hover { background: #eef2ff; }

.ao-module #aoChart {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.4);
}
.ao-module #aoChart .card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.23);
  width: 1000px;
  max-width: 96vw;
  max-height: 92vh;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}
.ao-module #aoChart .hdr { font-weight: 700; text-align: center; margin-bottom: 10px; }
.ao-module #aoChart .ctrls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.ao-module #aoChart .ctrls label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; border: 1px solid #e6e6e6; border-radius: 8px; }
.ao-module #aoChart .main { height: 380px; }
.ao-module #aoChart .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.ao-module #aoChart .mini { height: 260px; background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 8px; }
.ao-module #aoChart .act { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.ao-module #aoChart .ctrls select {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 8px;
  background: #fff;
}
.ao-module #aoChart .act button {
  width: auto !important;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  color: #111;
}
.ao-module #aoShotChartBtn {
  background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #93c5fd;
}
.ao-module #aoChartClose {
  background: linear-gradient(180deg, #fee2e2 0%, #fecaca 100%);
  border-color: #fca5a5;
}

#aptekOnlineResult #aoOpenChartBtn,
#aptekOnlineResult #aoShotTableBtn {
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  width: auto !important;
  min-width: 220px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

#aptekOnlineResult #aoOpenChartBtn i,
#aptekOnlineResult #aoShotTableBtn i,
#aptekOnlineResult #aoOpenChartBtn span,
#aptekOnlineResult #aoShotTableBtn span {
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  display: inline !important;
  opacity: 1 !important;
  visibility: visible !important;
}
