/* NKUHT Hotel Management — Concierge Pro Suite (Command Palette, 1+3 Cert Simulator, Elite Internship Wishlist & HD PNG Certificate) */

/* Toolbar & Mobile Quick-Jump Trigger */
#cmd-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
#cmd-btn kbd {
  font: 700 10px/1 "Plus Jakarta Sans", system-ui, sans-serif;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(184, 134, 43, 0.14);
  border: 1px solid rgba(184, 134, 43, 0.35);
  color: #7c5610;
  letter-spacing: 0.02em;
}
body.night #cmd-btn kbd {
  background: rgba(245, 211, 58, 0.16);
  border-color: rgba(245, 211, 58, 0.38);
  color: #f8dfa1;
}
@media (max-width: 1500px) {
  #cmd-btn kbd {
    display: none;
  }
}
@media (max-width: 800px) {
  #cmd-btn {
    display: none !important;
  }
}

/* In-card & Passport Quick Launch Banner */
.cpro-card-cta {
  margin: 12px 0;
  padding: 11px 13px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(253, 247, 230, 0.96), rgba(246, 233, 198, 0.92));
  border: 1px solid rgba(197, 152, 62, 0.48);
  box-shadow: 0 6px 18px rgba(24, 38, 32, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
body.night .cpro-card-cta {
  background: linear-gradient(135deg, rgba(24, 41, 35, 0.94), rgba(35, 54, 46, 0.92));
  border-color: rgba(229, 169, 34, 0.42);
}
.cpro-card-cta-info {
  min-width: 180px;
  flex: 1;
}
.cpro-card-cta-info b {
  display: block;
  font-size: 13px;
  color: #17352b;
}
body.night .cpro-card-cta-info b {
  color: #f7e6b7;
}
.cpro-card-cta-info small {
  display: block;
  font-size: 11.5px;
  color: #54665e;
  margin-top: 2px;
}
body.night .cpro-card-cta-info small {
  color: #b7c8bf;
}
.cpro-btn-gold {
  appearance: none;
  border: 1px solid rgba(166, 118, 28, 0.55);
  background: linear-gradient(135deg, #ecc056, #c99222);
  color: #162820;
  font: 800 12.5px/1.2 "Noto Sans TC", "Plus Jakarta Sans", sans-serif;
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(180, 128, 24, 0.25);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
  white-space: nowrap;
}
.cpro-btn-gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 6px 16px rgba(180, 128, 24, 0.34);
}
.cpro-btn-outline {
  appearance: none;
  border: 1px solid rgba(184, 134, 43, 0.42);
  background: rgba(255, 255, 255, 0.78);
  color: #1f3c32;
  font: 700 12px/1.2 "Noto Sans TC", "Plus Jakarta Sans", sans-serif;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
}
body.night .cpro-btn-outline {
  background: rgba(20, 34, 29, 0.85);
  color: #efe4c6;
  border-color: rgba(229, 169, 34, 0.4);
}
.cpro-btn-outline:hover {
  background: rgba(236, 192, 86, 0.2);
}

/* ==========================================================================
   1. Global Concierge Quick-Jump Command Palette (Ctrl+K / ⌘K)
   ========================================================================== */
.cpro-cmd-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(11, 22, 18, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(6vh, 20px) 14px 20px;
}
.cpro-cmd-backdrop[hidden] {
  display: none !important;
}
.cpro-cmd-box {
  width: min(720px, 100%);
  max-height: min(82vh, 690px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fdfaf2 0%, #f6efe0 100%);
  border: 1.5px solid rgba(196, 151, 59, 0.55);
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(6, 15, 12, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
  color: #182b24;
}
body.night .cpro-cmd-box {
  background: linear-gradient(180deg, #13231d 0%, #0e1a16 100%);
  border-color: rgba(229, 169, 34, 0.46);
  color: #f2ead7;
}
.cpro-cmd-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(184, 134, 43, 0.24);
}
.cpro-cmd-ico {
  font-size: 18px;
  flex-shrink: 0;
}
.cpro-cmd-input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font: 600 15.5px/1.4 "Noto Sans TC", "Plus Jakarta Sans", system-ui, sans-serif;
  color: inherit;
  min-width: 0;
}
.cpro-cmd-input::placeholder {
  color: #7b8881;
  font-weight: 500;
}
.cpro-cmd-esc {
  appearance: none;
  border: 1px solid rgba(184, 134, 43, 0.35);
  background: rgba(184, 134, 43, 0.1);
  color: inherit;
  font: 700 11px/1 "Plus Jakarta Sans", sans-serif;
  padding: 5px 8px;
  border-radius: 7px;
  cursor: pointer;
}
.cpro-cmd-tabs {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(184, 134, 43, 0.18);
  scrollbar-width: none;
}
.cpro-cmd-tabs::-webkit-scrollbar {
  display: none;
}
.cpro-cmd-tab {
  appearance: none;
  border: 1px solid rgba(184, 134, 43, 0.28);
  background: rgba(255, 255, 255, 0.65);
  color: #31483f;
  font: 700 12px/1.2 "Noto Sans TC", sans-serif;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
body.night .cpro-cmd-tab {
  background: rgba(255, 255, 255, 0.06);
  color: #d7e2dc;
}
.cpro-cmd-tab.active {
  background: linear-gradient(135deg, #ecc056, #c99222);
  color: #15261f;
  border-color: rgba(166, 118, 28, 0.7);
}
.cpro-cmd-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 10px;
  margin: 0;
  list-style: none;
}
.cpro-cmd-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.1s ease;
}
.cpro-cmd-row:hover,
.cpro-cmd-row.sel {
  background: rgba(229, 169, 34, 0.17);
}
body.night .cpro-cmd-row:hover,
body.night .cpro-cmd-row.sel {
  background: rgba(229, 169, 34, 0.2);
}
.cpro-cmd-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(23, 53, 43, 0.08);
  border: 1px solid rgba(184, 134, 43, 0.28);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
body.night .cpro-cmd-badge {
  background: rgba(255, 255, 255, 0.07);
}
.cpro-cmd-main {
  flex: 1;
  min-width: 0;
}
.cpro-cmd-main b {
  display: block;
  font-size: 13.5px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cpro-cmd-main small {
  display: block;
  font-size: 11.5px;
  color: #5c6f67;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
body.night .cpro-cmd-main small {
  color: #a9bbb3;
}
.cpro-cmd-acts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.cpro-cmd-ext {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  text-decoration: none;
  color: #7c5610;
  background: rgba(229, 169, 34, 0.16);
  border: 1px solid rgba(184, 134, 43, 0.34);
}
body.night .cpro-cmd-ext {
  color: #f6dc99;
}
.cpro-cmd-ext:hover {
  background: rgba(229, 169, 34, 0.3);
}
.cpro-cmd-go {
  font-size: 11.5px;
  font-weight: 700;
  color: #8a6418;
}
body.night .cpro-cmd-go {
  color: #ecc056;
}
.cpro-cmd-empty {
  padding: 28px 16px;
  text-align: center;
  color: #6b7c74;
  font-size: 13px;
}
.cpro-cmd-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  font-size: 11.5px;
  color: #62736b;
  background: rgba(184, 134, 43, 0.08);
  border-top: 1px solid rgba(184, 134, 43, 0.2);
  flex-wrap: wrap;
}
body.night .cpro-cmd-foot {
  color: #a8bab2;
}
.cpro-cmd-foot kbd {
  font: 700 10px/1 "Plus Jakarta Sans", sans-serif;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid rgba(184, 134, 43, 0.35);
  background: rgba(255, 255, 255, 0.6);
  margin: 0 2px;
}
body.night .cpro-cmd-foot kbd {
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   2. Concierge Planner Modal & Inline 1+3 Cert Simulator
   ========================================================================== */
.cpro-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 97;
  background: rgba(10, 20, 16, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cpro-modal-backdrop[hidden] {
  display: none !important;
}
.cpro-modal-box {
  width: min(860px, 100%);
  max-height: min(88vh, 800px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fdfaf2 0%, #f5ede0 100%);
  border: 1.5px solid rgba(196, 151, 59, 0.58);
  border-radius: 22px;
  box-shadow: 0 30px 76px rgba(5, 14, 11, 0.5);
  color: #172b23;
  overflow: hidden;
}
body.night .cpro-modal-box {
  background: linear-gradient(180deg, #13231d 0%, #0d1814 100%);
  border-color: rgba(229, 169, 34, 0.45);
  color: #f3ebd8;
}
.cpro-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(184, 134, 43, 0.25);
  background: linear-gradient(90deg, rgba(229, 169, 34, 0.12), transparent);
}
.cpro-modal-head h2 {
  margin: 2px 0 0;
  font: 800 18px/1.25 "Noto Serif TC", "Noto Sans TC", serif;
}
.cpro-modal-eyebrow {
  font: 800 10.5px/1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.14em;
  color: #9b6f17;
}
body.night .cpro-modal-eyebrow {
  color: #ecc056;
}
.cpro-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(184, 134, 43, 0.35);
  background: rgba(255, 255, 255, 0.65);
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
body.night .cpro-modal-close {
  background: rgba(255, 255, 255, 0.08);
}
.cpro-modal-tabs {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(184, 134, 43, 0.2);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.cpro-modal-tabs::-webkit-scrollbar {
  display: none;
}
.cpro-modal-tab {
  appearance: none;
  border: 1px solid rgba(184, 134, 43, 0.34);
  background: rgba(255, 255, 255, 0.65);
  color: inherit;
  font: 700 13px/1.2 "Noto Sans TC", sans-serif;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
body.night .cpro-modal-tab {
  background: rgba(255, 255, 255, 0.06);
}
.cpro-modal-tab.active {
  background: linear-gradient(135deg, #ecc056, #c99222);
  color: #14251e;
  border-color: rgba(166, 118, 28, 0.75);
}
.cpro-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 22px;
}

/* 1+3 Simulator Component (used both in modal & passport) */
.cpro-sim {
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(184, 134, 43, 0.32);
  margin: 10px 0 14px;
}
body.night .cpro-sim {
  background: rgba(19, 35, 29, 0.72);
  border-color: rgba(229, 169, 34, 0.32);
}
.cpro-sim-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(184, 134, 43, 0.11);
  border: 1px solid rgba(184, 134, 43, 0.3);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.cpro-sim-status.ok {
  background: linear-gradient(135deg, rgba(26, 127, 86, 0.16), rgba(229, 169, 34, 0.18));
  border-color: rgba(26, 127, 86, 0.55);
}
.cpro-sim-status b {
  display: block;
  font-size: 14px;
}
.cpro-sim-status small {
  display: block;
  font-size: 12px;
  opacity: 0.86;
  margin-top: 2px;
}
.cpro-sim-presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.cpro-sim-preset {
  appearance: none;
  border: 1px solid rgba(184, 134, 43, 0.35);
  background: rgba(255, 255, 255, 0.78);
  color: inherit;
  font: 700 11.5px/1.2 "Noto Sans TC", sans-serif;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}
body.night .cpro-sim-preset {
  background: rgba(255, 255, 255, 0.07);
}
.cpro-sim-preset:hover {
  background: rgba(229, 169, 34, 0.22);
}
.cpro-sim-cat-a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(23, 53, 43, 0.06);
  border: 1px solid rgba(184, 134, 43, 0.28);
  cursor: pointer;
  margin-bottom: 12px;
  font-size: 13px;
}
body.night .cpro-sim-cat-a {
  background: rgba(255, 255, 255, 0.05);
}
.cpro-sim-cat-a.checked {
  border-color: #1f8a5c;
  background: rgba(31, 138, 92, 0.13);
}
.cpro-sim-filter-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0 10px;
}
.cpro-sim-fbtn {
  appearance: none;
  border: 1px solid rgba(184, 134, 43, 0.28);
  background: transparent;
  color: inherit;
  font: 600 11.5px/1.2 "Noto Sans TC", sans-serif;
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
}
.cpro-sim-fbtn.active {
  background: rgba(229, 169, 34, 0.25);
  border-color: rgba(184, 134, 43, 0.65);
  font-weight: 800;
}
.cpro-sim-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 12px;
}
.cpro-sim-col h4 {
  margin: 0 0 8px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.cpro-sim-col h4 span {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
}
.cpro-sim-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}
.cpro-sim-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid rgba(184, 134, 43, 0.22);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.35;
  cursor: pointer;
}
body.night .cpro-sim-item {
  background: rgba(255, 255, 255, 0.04);
}
.cpro-sim-item.checked {
  border-color: #1f8a5c;
  background: rgba(31, 138, 92, 0.14);
  font-weight: 700;
}
.cpro-sim-item input {
  margin-top: 2px;
  accent-color: #1f8a5c;
}
.cpro-sim-tag {
  display: inline-block;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(184, 134, 43, 0.16);
  color: #7c5610;
  margin-left: 4px;
}
body.night .cpro-sim-tag {
  color: #f4d894;
}
.cpro-sim-note {
  margin-top: 10px;
  font-size: 11.5px;
  opacity: 0.85;
  line-height: 1.5;
}
.cpro-sim-note a {
  color: #9b6f17;
  font-weight: 700;
}
body.night .cpro-sim-note a {
  color: #ecc056;
}

/* ==========================================================================
   3. 128-Credit Curriculum Breakdown & Elite Internship 3.0 Wishlist
   ========================================================================== */
.cpro-cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.cpro-cred-card {
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(184, 134, 43, 0.3);
}
body.night .cpro-cred-card {
  background: rgba(255, 255, 255, 0.05);
}
.cpro-cred-card big {
  display: block;
  font: 900 22px/1.1 "Plus Jakarta Sans", sans-serif;
  color: #9b6f17;
}
body.night .cpro-cred-card big {
  color: #ecc056;
}
.cpro-cred-card b {
  display: block;
  font-size: 12.5px;
  margin-top: 3px;
}
.cpro-cred-card small {
  display: block;
  font-size: 11px;
  opacity: 0.82;
  margin-top: 3px;
}
.cpro-hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 9px;
  margin-top: 10px;
}
.cpro-hotel-card {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(184, 134, 43, 0.28);
  background: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
body.night .cpro-hotel-card {
  background: rgba(255, 255, 255, 0.05);
}
.cpro-hotel-card.wished {
  border-color: #d49b27;
  background: linear-gradient(135deg, rgba(252, 240, 205, 0.9), rgba(255, 255, 255, 0.85));
}
body.night .cpro-hotel-card.wished {
  background: linear-gradient(135deg, rgba(229, 169, 34, 0.18), rgba(255, 255, 255, 0.05));
}
.cpro-hotel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.cpro-hotel-top b {
  font-size: 13px;
  line-height: 1.3;
}
.cpro-hotel-meta {
  font-size: 11px;
  opacity: 0.8;
  margin-top: 2px;
}
.cpro-wish-btn {
  appearance: none;
  border: 1px solid rgba(184, 134, 43, 0.35);
  background: transparent;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  cursor: pointer;
  color: inherit;
  flex-shrink: 0;
}
.cpro-wish-btn.on {
  background: #ecc056;
  color: #162820;
  border-color: #b8862b;
  font-weight: 800;
}
.cpro-hotel-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
}
.cpro-hotel-links button {
  appearance: none;
  border: 0;
  background: rgba(23, 53, 43, 0.09);
  color: inherit;
  font: 700 11.5px/1.2 "Noto Sans TC", sans-serif;
  padding: 5px 9px;
  border-radius: 8px;
  cursor: pointer;
}
body.night .cpro-hotel-links button {
  background: rgba(255, 255, 255, 0.1);
}
.cpro-hotel-links a {
  color: #9b6f17;
  text-decoration: none;
  font-weight: 700;
}
body.night .cpro-hotel-links a {
  color: #ecc056;
}

@media (max-width: 680px) {
  .cpro-cmd-backdrop {
    padding: 10px 8px;
  }
  .cpro-cmd-box {
    max-height: 88vh;
    border-radius: 16px;
  }
  .cpro-cmd-foot {
    display: none;
  }
  .cpro-modal-backdrop {
    padding: 8px;
  }
  .cpro-modal-body {
    padding: 12px 14px 18px;
  }
}
