.page-title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: .05em;
  color: #0B1328;
}

.page-subtitle {
  color: #64748B;
}

.category-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.category-tab {
  background: #fff;
  border: 1px solid #D9E3EF;
  border-radius: 22px;
  padding: 24px;
  text-align: left;
  transition: .25s;
  position: relative;
  min-height: 120px;
  box-shadow: 0 8px 24px rgba(11, 19, 40, .04);
}

.category-tab:hover {
  transform: translateY(-4px);
  border-color: #0B1328;
  box-shadow: 0 18px 34px rgba(11, 19, 40, .12);
}

.category-tab.active {
  background: linear-gradient(135deg, #0B1328, #172846);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(11, 19, 40, .22);
}

.tab-title {
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.5;
  padding-right: 42px;
}

.count-badge {
  position: absolute;
  top: 9px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFC857;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 900;
  color: #000;
}

.section-title {
  font-weight: 900;
  border-left: 5px solid #0B1328;
  padding-left: 14px;
  color: #0B1328;
}

.work-card {
  background: rgba(255, 255, 255, .96);
  border: 1px solid #D9E3EF;
  border-radius: 24px;
  padding: 24px;
  height: 100%;
  transition: .25s;
  box-shadow: 0 10px 30px rgba(11, 19, 40, .05);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(11, 19, 40, .12);
}

.work-card.vacant {
  background: #f8fafc;
  opacity: .85;
}

.evergreen .award-pill {
  background: linear-gradient(135deg, #43a047, #81c784);
}

.education .award-pill {
  background: linear-gradient(135deg, #6a1b9a, #ba68c8);
}

.ai .award-pill {
  background: linear-gradient(135deg, #283593, #7986cb);
}

.popular .award-pill {
  background: linear-gradient(135deg, #ff5722, #ffb74d);
}

/* 基本卡片風格 */
.category-tab {
  border: none;
  border-radius: 18px;
  padding: 14px 18px;
  color: white;
  font-weight: 700;
  transition: 0.25s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* hover */
.category-tab:hover {
  transform: translateY(-3px);
  opacity: 0.95;
}

/* 全部 */
.tab-all {
  background: linear-gradient(135deg, #335d99, #4f8cb3);
}

/* 金獎感 */
.tab-regular {
  background: linear-gradient(135deg, #335d99, #4f8cb3);
}

/* 永續綠 */
.tab-enterprise {
  background: linear-gradient(135deg, #335d99, #4f8cb3);
}

/* 博物館古銅 */
.tab-museum {
  background: linear-gradient(135deg, #335d99, #4f8cb3);
}

/* 科技紫藍 */
.tab-technical {
  background: linear-gradient(135deg, #335d99, #4f8cb3);
}

/* 人氣橘 */
.tab-voting {
  background: linear-gradient(135deg, #335d99, #4f8cb3);
}

/* 杏壇酒紅 */
.tab-educator {
  background: linear-gradient(135deg, #335d99, #4f8cb3);
}

/* 數字 badge */
.count-badge {
  background: rgba(255, 255, 255, 0.22);
  padding: 4px 10px;
  border-radius: 999px;
  margin-right: 8px;
  font-size: 0.9rem;
  font-weight: bold;
}

/* active 狀態 */
.category-tab.active {
  transform: scale(1.04);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}


/* 1. 外層大面板：精緻的毛玻璃與流線型大圓角 */
.search-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  /* 調整為更精緻的 16px */
  padding: 16px;
  /* 從 24px 縮小到 16px */
  box-shadow: 0 15px 30px rgba(11, 19, 40, 0.04),
    0 1px 3px rgba(11, 19, 40, 0.02);
}

/* 2. 搜尋框組合：稍微降低圓角，與外框比例更和諧 */
.input-group {
  border: 1px solid rgba(11, 19, 40, 0.12);
  border-radius: 10px !important;
  /* 從 12px 縮小到 10px */
  overflow: hidden;
  background: #ffffff;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* 保持內部子元件為直角 */
.input-group>.form-control,
.input-group>.input-group-text {
  border-radius: 0 !important;
}

/* 聚焦（Focus）微發光 */
.input-group:focus-within {
  border-color: #0b1328;
  box-shadow: 0 0 0 3px rgba(11, 19, 40, 0.08),
    /* 發光範圍同步縮小 */
    inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* 搜尋圖標區 */
.input-group-text {
  background: #ffffff;
  border: 0;
  color: #6c757d;
  padding-left: 16px;
  /* 縮小左右內距 */
  padding-right: 8px;
}

/* 輸入框主體：縮減上下高度 */
.form-control {
  border: 0;
  padding: 10px 14px;
  /* 上下從 14px 縮小到 10px */
  color: #212529;
  font-size: 14px;
  /* 字體從 15px 縮小到 14px */
}

.form-control:focus {
  box-shadow: none;
  background: #ffffff;
}

/* 3. 搜尋按鈕：同步調整高度與圓角，讓它跟輸入框一樣高 */
.search-panel .btn-dark {
  border-radius: 10px;
  /* 與 .input-group 相同的圓角 */
  font-size: 18px;
  padding: 6px 20px;
  /* 確保高度與輸入框對齊（Bootstrap d-grid 會自動拉滿，但設定 padding 是好習慣） */
  font-weight: 500;
}

/* 獎項標籤（維持原樣，或可視需求稍微縮小） */
.award-pill {
  border-radius: 999px;
  padding: 6px 12px;
  /* 稍微縮小一點點 */
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.gold .award-pill {
  background: linear-gradient(135deg, #FFD166, #FFB703);
  color: #1f2937;
}

.silver .award-pill {
  background: linear-gradient(135deg, #d7dde8, #aab4c3);
}

.bronze .award-pill {
  background: linear-gradient(135deg, #d97706, #b45309);
}

.excellent .award-pill {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.honorable .award-pill {
  background: linear-gradient(135deg, #34d399, #059669);
}

.work-meta {
  color: #64748B;
  margin-bottom: 8px;
  font-size: .92rem;
}

.quote-box {
  background: #f8fbff;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  padding: 14px;
  color: #64748B;
  min-height: 90px;
}

.award-table-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #D9E3EF;
  box-shadow: 0 16px 40px rgba(11, 19, 40, .08);
}

.award-table-header {
  background: linear-gradient(135deg, #0B1328, #172846);
  color: #fff;
  padding: 26px 30px;
}

.award-table-header h4 {
  font-weight: 900;
  margin: 0;
}

.award-table-header p {
  margin: 8px 0 0;
  color: #cbd5e1;
}

.pretty-table {
  margin: 0;
}

.pretty-table thead th {
  background: #f8fbff;
  border-bottom: 1px solid #e7eef7;
  padding: 18px 22px;
  color: #475569;
  font-size: .85rem;
  letter-spacing: .05em;
  white-space: nowrap;
}

.pretty-table tbody td {
  padding: 20px 22px;
  vertical-align: middle;
  border-bottom: 1px solid #eef2f7;
}

.pretty-table tbody tr:hover {
  background: #f8fbff;
}

.award-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.award-label.pink {
  background: #ffe4ec;
  color: #d91f5c;
}

.award-label.green {
  background: #dcfce7;
  color: #15803d;
}

.award-label.orange {
  background: #fff3cd;
  color: #b7791f;
}

.person-name {
  font-weight: 900;
  color: #061A38;
}

.mask-email {
  color: #475569;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.table-note {
  background: #f8fbff;
  padding: 18px 24px;
  color: #64748B;
}

/*華立CSS*/
.enterprise-card {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  padding: 28px;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(255, 213, 79, 0.22), transparent 36%),
    linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
}

.enterprise-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 24px;
}

.enterprise-category,
.enterprise-level {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff6d8;
  color: #8a6200;
}

.enterprise-medal {
  font-size: 3.6rem;
  line-height: 1;
  margin-bottom: 16px;
}

.enterprise-award-name {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.enterprise-title {
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.enterprise-school {
  color: #666;
  font-weight: 600;
  margin-bottom: 18px;
}

.enterprise-desc {
  color: #777;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0 auto 24px;
  max-width: 270px;
}

.enterprise-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
  color: #777;
  font-size: 0.85rem;
  font-weight: 600;
}
/*奇鋐CSS*/

.chicony-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(76, 175, 80, 0.12), transparent 35%),
    linear-gradient(180deg, #fbfffb 0%, #ffffff 100%);
}

.chicony-card::before {
  content: "永續";
  position: absolute;
  right: -18px;
  top: 18px;
  transform: rotate(35deg);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: rgba(46, 125, 50, 0.18);
}

.chicony-meta-list {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(76, 175, 80, 0.06);
}

.chicony-quote {
  border-left: 4px solid rgba(76, 175, 80, 0.45);
}

.chicony-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(76, 175, 80, 0.18);
}

@media(max-width:768px) {
  .page-title {
    font-size: 2rem;
  }

  .category-wrap {
    grid-template-columns: 1fr;
  }
}