/* Shared dropdown treatment for filters, forms, pagination and dialogs. */
:root body.admin-mode select:not([multiple]):not([size]) {
  appearance:none;
  min-height:42px;
  padding:9px 36px 9px 13px;
  border:1px solid #d8e1ef;
  border-radius:10px;
  background-color:var(--white);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237084a5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:16px;
  color:var(--ink);
  font-size:15px;
  font-weight:500;
  line-height:1.45;
  text-overflow:ellipsis;
  cursor:pointer;
  box-shadow:0 1px 3px #243b6410;
  transition:border-color .16s,box-shadow .16s,background-color .16s;
}
:root body.admin-mode select:not([multiple]):not([size]):hover:not(:disabled) {
  border-color:#9db5e6;
  background-color:#f8faff;
}
:root body.admin-mode select:not([multiple]):not([size]):focus {
  outline:none;
  border-color:#6488eb;
  background-color:var(--white);
  box-shadow:0 0 0 3px #4169e81c;
}
:root body.admin-mode select:not([multiple]):not([size]):disabled {
  cursor:not-allowed;
  opacity:.55;
  box-shadow:none;
}
:root body.admin-mode select option { font-size:15px;font-weight:400;background:var(--white);color:var(--ink); }
body.admin-mode .course-toolbar-pages select,body.admin-mode .course-rail-pagination select { width:110px; }
body.admin-mode .course-carousel .course-rail-selects select { width:120px; }
body.admin-mode .course-carousel .course-rail-selects select:last-child { width:160px; }
:root[data-theme=dark] body.admin-mode select:not([multiple]):not([size]) {
  background-color:#172130;
  border-color:#3a4961;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a7bada' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  box-shadow:0 1px 3px #0002;
}
:root[data-theme=dark] body.admin-mode select:not([multiple]):not([size]):hover:not(:disabled) { background-color:#1e2c40;border-color:#6584b5; }
:root[data-theme=dark] body.admin-mode select:not([multiple]):not([size]):focus { border-color:#8caaff;box-shadow:0 0 0 3px #8caaff26; }
@media(max-width:980px) {
  body.admin-mode .course-carousel .course-rail-selects select,
  body.admin-mode .course-carousel .course-rail-selects select:last-child { width:33.333%;min-width:0; }
}
@media(prefers-reduced-motion:reduce) {
  :root body.admin-mode select:not([multiple]):not([size]) { transition:none; }
}
@media(forced-colors:active) {
  :root body.admin-mode select:not([multiple]):not([size]) { appearance:auto;background-image:none;padding-right:12px;border-color:ButtonText; }
}
