/* Select global. Tampilan list opsinya memakai dropdown-list.css. */

select.pantau-select {
  min-height: 40px;
}

select.pantau-select:focus {
  outline: none !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, .25) !important;
}

/* Semua dropdown global memakai tampilan filter Status di Data Karyawan. */
.pantau-native-select-wrap {
  position: relative;
}

.pantau-native-select-wrap>.pantau-native-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #000;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  transition: border-color .15s,box-shadow .15s,background .15s;
}

.pantau-native-select-wrap>.pantau-native-select-trigger[aria-expanded="true"] {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16,185,129,.18);
}

/* Label opsi tetap satu baris; teks yang terlalu panjang dipotong dengan elipsis. */
.pantau-native-select-trigger .pantau-native-select-label {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pantau-native-select-trigger .pantau-native-select-chevron {
  font-size: 11px;
  color: #64748b;
  flex: 0 0 auto;
}

.pantau-native-select-menu {
  position: fixed;
  z-index: 2147483600;
  top: 0;
  left: 0;
}

.pantau-native-select-wrap>select.pantau-native-select-hidden {
  position: absolute !important;
  inset: 0 !important;
  height: 100% !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
}

/* Kedua dropdown jumlah data memakai ukuran dan tampilan yang sama persis. */
#pageSizeSelect,
#employeePageSize {
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  height: 40px !important;
  margin: 4px 0 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 7.5 4.5 4.5 4.5-4.5' fill='none' stroke='%2364748b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-position: right 10px center !important;
}

#pageSizeSelect:focus,
#employeePageSize:focus {
  outline: none !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, .25) !important;
}
