@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');

#leftcolumn_0_txtBxTerm {
    width: 80%;
    background-image: url(/css/images/search-icon.gif);
    background-repeat: no-repeat;
    background-position: 1% 50%;
    background-size: 30px 30px;
    border: 1px solid rgb(169, 169, 169);
    padding: 6px 5px 6px 35px;
}

select#leftcolumn_0_drpSearchType {
    margin: 0 5px 0 0;
}

#leftcolumn_0_Panel1 > div.sidebox {
    display: block;
}

div.sideboxbrdr>div {
	height: auto;
}

#leftcolumn_0_Panel1 > div.sidebox > div.hdr > label, .sidebox div.hdr label {
    font-size: x-small;
    text-indent: -999em;
    display: block;
	position: absolute;
}

select#leftcolumn_0_drpSearchType {
	border: solid 1px #ccc;
    padding: 7px;
    font-size: 12px;
    background: #fff;
}

.sideboxbrdr button {
	border: solid 1px #ccc;
    padding: 8px;
    font-size: 12px;
    background: #f5f5f5;
	line-height: 1.3;
}

#leftcolumn_0_txtBxTerm {
	margin-left: 0;
}

.sidebox div.hdr {
	padding: 0;
}

#sc-searchResultText button {
padding: 3px 5px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    color: #908f8f;
    font-weight: bold;
}

#sc-search-pagination {
    float: right;
    padding: 5px;
    background: #fff;
    -webkit-box-shadow: -10px 0 20px rgb(0 0 0 / 10%);
    box-shadow: -10px 0 20px rgb(0 0 0 / 10%);
	border-radius: 4px;
    margin-top: 50px;
}

input.s5biGMHZL70OXARO6aJ5 {
	width: auto;
}

input.X4gXd3zxUidZHjE1gD0g {
	margin: 0;
}

input.X4gXd3zxUidZHjE1gD0g, select.DdOxFLWk1k45n4k_40Qm {
	font-size: 14px;
    padding: 10px;
    line-height: 1.3;
	height: auto;
}

#sc-searchResultText button {
	padding: 3px 5px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    color: #908f8f;
    font-weight: bold;
}

#sc-searchResultText button {
	padding: 3px;
	width: 30px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
}

a.sc-searchHitTitle {
	margin-top: 14px;
    display: inline-block !important;
}

#rightpanel #main p.sc-searchHitHighlight {
	margin-top: 5px;
}

button.sc-searchPagination-nav {
	background: transparent;
    border: none;
    text-transform: uppercase;
    font-size: 10px;
	font-family: 'Open Sans', sans-serif;
	color: #999;
	padding: 3px;
}

button.sc-searchPagination-nav:hover, button.sc-searchPagination-nav:focus {
	background: #f5f5f5;
	border-radius: 4px;
}

button.sc-search-page-number {
	border: none !important;
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;
	color: #999;
	margin-right: 15px;
	background: transparent;
	font-size: 12px;
}

button.sc-search-page-number:hover, button.sc-search-page-number:focus {
	background: #f5f5f5;
    color: #999;
    width: 30px;
    border-radius: 4px;
	border: none;
}

#sc-search-page-numbers {
	display: inline-block;
	margin: 0 15px;
}

button.sc-search-page-number:disabled {
	background: #008CFF;
	color: #fff;
	border-radius: 4px;
}

button.sc-searchPagination-firstpage:before {
	content: "«";
	font-family: 'Open Sans', sans-serif;
    color: #999;
}

button.sc-searchPagination-lastpage:before {
	content: "»";
	font-family: 'Open Sans', sans-serif;
    color: #999;
}

#catalog-type-label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

span.print#printDegreeMapLink a {
    float: right;
    background-image: url(/css/images/form.png);
    background-repeat: no-repeat;
    background-size: 25px;
    height: 30px;
    width: 30px;
}

.ui-widget-content #leftpanel, .ui-widget-content #sc-rightpanel-top, .ui-widget-content #breadcrumb {
	display: none;
}

.ui-widget-content #middle {
	margin: 0;
}

/* ── Program Catalog Styles ───────────────────────────────────────────────── */
/* Scoped to .scp-wrap to avoid conflicts with existing page styles           */

.scp-wrap * {
  box-sizing: border-box;
}

.scp-wrap {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a1d23;
  line-height: 1.5;
}

/* ── Controls row ─────────────────────────────────────────────────────────── */

.scp-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  align-items: center;
}

/* ── Search input ─────────────────────────────────────────────────────────── */

.scp-search {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 340px;
}

.scp-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  display: flex;
}

.scp-search input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 34px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background: #fff;
  color: #1a1d23;
}

.scp-search input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.scp-search input::placeholder {
  color: #9ca3af;
}

/* ── Select dropdowns ─────────────────────────────────────────────────────── */

.scp-select {
  height: 36px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0 28px 0 10px;
  font-size: 14px;
  background: #fff;
  color: #1a1d23;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.scp-select:focus {
  border-color: #6366f1;
}

/* ── Count label ──────────────────────────────────────────────────────────── */

.scp-count {
  font-size: 13px;
  color: #6b7280;
  margin-left: auto;
  white-space: nowrap;
}

/* ── Discipline section ───────────────────────────────────────────────────── */

.scp-section {
  margin-bottom: 28px;
}

.scp-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.scp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.scp-section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}

.scp-section-count {
  font-size: 12px;
  color: #9ca3af;
  background: #f3f4f6;
  border-radius: 99px;
  padding: 1px 8px;
  flex-shrink: 0;
}

.scp-section-line {
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

/* ── Card grid ────────────────────────────────────────────────────────────── */

.scp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

/* ── Program card ─────────────────────────────────────────────────────────── */

.scp-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.scp-card:hover {
  border-color: #a5b4fc;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
  text-decoration: none;
  color: inherit;
}

.scp-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.scp-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
  color: #1a1d23;
}

/* ── Degree badge ─────────────────────────────────────────────────────────── */

.scp-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.6;
}

/* ── Empty state ──────────────────────────────────────────────────────────── */

.scp-empty {
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
  font-size: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .scp-search {
    max-width: 100%;
  }

  .scp-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 400px) {
  .scp-grid {
    grid-template-columns: 1fr;
  }
}