/* =============================================
   FORTIA OS — style.css
   Updated implementation
   ============================================= */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #004e98;
  font-family: Tahoma, Verdana, "Segoe UI", sans-serif;
  font-size: 13px;
}

button, input, textarea { font: inherit; }
button { user-select: none; cursor: pointer; }
p { margin: 0; }
.hidden { display: none !important; }

/* =============================================
   SCREENS
   ============================================= */
.screen { display: none; width: 100vw; height: 100vh; }
.screen.active { display: block; }

/* =============================================
   WELCOME SCREEN
   ============================================= */
#welcome-screen {
  position: relative;
  color: white;
  background: linear-gradient(180deg, #4a7fd4 0%, #6698e0 100%);
}

.top-band {
  height: 80px;
  background: linear-gradient(#003fa6, #002c8a);
  border-bottom: 2px solid rgba(255,255,255,.35);
}

.bottom-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  background: linear-gradient(#002c8a, #001f6e);
  border-top: 1px solid rgba(255,255,255,.22);
}

.welcome-layout {
  position: absolute;
  inset: 80px 0 32px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  padding: 0 8vw;
}

.welcome-left { justify-self: end; width: min(380px, 90%); padding-right: 36px; text-align: right; }
.welcome-divider { width: 1px; height: 340px; background: rgba(255,255,255,.2); }
.welcome-right { justify-self: start; width: min(380px, 90%); padding-left: 28px; }

.brand-block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-bottom: 14px;
  text-shadow: 0 2px 4px rgba(0,0,0,.25);
}

.brand-small { font-size: 11px; opacity: .8; }
.brand-main { font-size: 32px; line-height: 1; letter-spacing: -1px; }
.brand-main span, .dialog-brand span { color: #ff9f36; font-size: 18px; margin-left: 2px; }

.begin-text {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,.35);
}

.user-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 335px;
  height: 70px;
  padding: 8px 12px;
  color: white;
  text-align: left;
  background: linear-gradient(90deg, rgba(0,60,160,.72) 0%, rgba(0,60,160,.36) 48%, rgba(0,60,160,0) 100%);
  border: 1px solid transparent;
  border-radius: 5px;
}
.user-tile:hover, .user-tile:focus {
  outline: none;
  background: linear-gradient(90deg, rgba(0,60,160,.92) 0%, rgba(0,60,160,.42) 52%, rgba(0,60,160,0) 100%);
  border-color: rgba(255,255,255,.85);
}
.user-tile span { font-size: 20px; font-weight: bold; }

.user-avatar, .start-menu-avatar {
  display: grid;
  place-items: center;
  color: white;
  font-weight: bold;
  background: radial-gradient(circle at 35% 30%, #f9e7b0, transparent 16%),
              linear-gradient(135deg, #6b1d1d, #c97c2d 45%, #1b1008);
  border: 2px solid #ffc84a;
  border-radius: 4px;
}
.user-avatar { width: 52px; height: 52px; font-size: 24px; }

.fortia-logo {
  position: relative;
  width: 52px;
  height: 43px;
  transform: skewY(-8deg) rotate(-4deg);
  background:
    linear-gradient(135deg, #2196ff, #075ac9) left bottom / 24px 20px no-repeat,
    linear-gradient(135deg, #ffd234, #ff981a) right bottom / 24px 20px no-repeat;
}
.fortia-logo::before, .fortia-logo::after {
  position: absolute;
  width: 24px;
  height: 20px;
  content: "";
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.fortia-logo::before { top: 0; left: 0; background: linear-gradient(135deg, #ff4a2f, #ffb02f); }
.fortia-logo::after { top: 0; right: 0; background: linear-gradient(135deg, #21c14a, #72df44); }
.fortia-logo.large { width: 58px; height: 48px; }

/* =============================================
   LOGIN SCREEN
   ============================================= */
#password-screen { position: relative; background: #00529f; }

.dialog-window {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 430px;
  transform: translate(-50%, -50%);
  background: #ece9d8;
  border: 2px solid #0740c7;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

.dialog-titlebar, .window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 29px;
  padding: 6px 8px 6px 10px;
  color: white;
  font-size: 13px;
  font-weight: bold;
  background: linear-gradient(#3a8cff, #0057d9 52%, #003eb3);
}

.dialog-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 94px;
  background: linear-gradient(90deg, #6c97e9, #d8e6ff);
  border-bottom: 4px solid #d6b15c;
}
.dialog-brand { color: white; font-size: 30px; letter-spacing: -1px; text-shadow: 1px 1px 2px rgba(0,0,0,.25); }
.dialog-subtitle { color: white; font-size: 17px; text-shadow: 1px 1px 2px rgba(0,0,0,.25); }

.dialog-body { padding: 18px 10px 12px; color: #111; font-size: 12px; }

.form-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 2px;
  align-items: center;
  margin-bottom: 8px;
}
.form-row input, .travel-login-form input, .msn-input-row input {
  height: 24px;
  padding: 2px 6px;
  background: white;
  border: 1px solid #8aa2bf;
}
.form-row input:focus, .travel-login-form input:focus { outline: 1px solid #316ac5; }

#login-message, #travel-login-message {
  min-height: 17px;
  margin: 0;
  color: #a00000;
  white-space: pre-line;
}
#login-message { margin-left: 78px; }

.dialog-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 12px;
}
.language-box {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: white;
  font-size: 11px;
  background: #3e8ce8;
}
.dialog-buttons { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }

.dialog-buttons button, .xp-button, .window-toolbar button {
  min-width: 75px;
  height: 24px;
  padding: 1px 10px;
  color: #111;
  background: linear-gradient(#fff, #e7e7dc);
  border: 1px solid #003c74;
  border-radius: 2px;
}
.dialog-buttons button:hover, .xp-button:hover, .window-toolbar button:hover { border-color: #245edb; }
.dialog-buttons button:active, .xp-button:active, .window-toolbar button:active { background: linear-gradient(#d6d6ca, #fff); }
.xp-button:disabled, .window-toolbar button:disabled { color: #777; cursor: default; background: #e6e3d3; border-color: #9d9d9d; }

/* =============================================
   DESKTOP
   ============================================= */
#desktop {
  position: relative;
  color: white;
  background-color: #2b76cf;
  background-image:
    url("images/background.jpg"),
    url("/images/background.jpg"),
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.16), transparent 22%),
    linear-gradient(135deg, #2b76cf, #0e4fa8);
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}

.desktop-icons {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: 92px;
  grid-auto-rows: max-content;
  gap: 15px;
}

.desktop-icon {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 92px;
  min-height: 72px;
  padding: 6px 5px;
  color: white;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,.75);
  background: transparent;
  border: 1px solid transparent;
}
.desktop-icon:hover, .desktop-icon:focus, .desktop-icon.selected {
  outline: none;
  background: rgba(0,70,180,.35);
  border: 1px dotted rgba(255,255,255,.85);
}
.desktop-icon > span:last-child {
  width: 100%;
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-align: center;
}

.desktop-recycle-icon {
  position: absolute !important;
  top: 22px !important;
  right: 22px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 4 !important;
}

/* =============================================
   ICONS
   ============================================= */
.icon { display: block; width: 42px; height: 36px; filter: drop-shadow(1px 2px 2px rgba(0,0,0,.4)); }
.mini-icon { display: block; width: 22px; height: 20px; }
.small-icon { width: 36px; height: 30px; }

.folder-mini { background: linear-gradient(#ffe88a, #e5ad28); border-radius: 4px 4px 3px 3px; }
.big-mini { flex: 0 0 auto; width: 42px; height: 32px; }

.computer-icon, .system-icon, .computer-mini, .system-mini {
  background: linear-gradient(#b7d8ff, #4b84c4 70%, #1f3f66 71%);
  border: 2px solid #d8ebff;
  border-radius: 4px;
}

.recycle-icon, .recycle-mini {
  position: relative;
  background: linear-gradient(#e9f8ff, #8cc0d8);
  border: 2px solid #d6efff;
  border-radius: 3px;
}
.recycle-icon::before, .recycle-mini::before {
  position: absolute;
  top: -7px;
  left: 5px;
  width: 28px;
  height: 6px;
  content: "";
  background: #d6efff;
  border-radius: 2px;
}
.recycle-icon::after, .recycle-mini::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #1a5d7a;
  font-size: 20px;
  content: "♻";
}
.recycle-mini::after { font-size: 13px; }

.exe-icon, .exe-mini, .exe-file-icon {
  position: relative;
  background: linear-gradient(#ececec, #a3a3a3);
  border: 1px solid #555;
  border-radius: 4px;
}
.exe-icon::after, .exe-mini::after, .exe-file-icon::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #003399;
  font-size: 11px;
  font-weight: bold;
  content: "EXE";
}
.exe-mini::after { font-size: 8px; }

.music-icon, .music-mini {
  position: relative;
  background: linear-gradient(#ffcf6b, #d46b00);
  border: 1px solid #fff1bd;
  border-radius: 5px;
}
.music-icon::after, .music-mini::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #713500;
  font-size: 28px;
  font-weight: bold;
  content: "♪";
}
.music-mini::after { font-size: 14px; }

.msn-icon, .msn-mini {
  position: relative;
  background: linear-gradient(135deg, #7ee875, #1c8fd4);
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
}

.help-icon, .help-mini {
  position: relative;
  background: linear-gradient(#fff, #7bb2ff);
  border: 2px solid #0b55c8;
  border-radius: 50%;
}
.help-icon::after, .help-mini::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #003c9f;
  font-size: 26px;
  font-weight: bold;
  content: "?";
}
.help-mini::after { font-size: 15px; }

.notification-badge {
  position: absolute;
  top: 1px;
  left: 6px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  text-shadow: none;
  background: #e21b1b;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0,0,0,.45);
}

/* =============================================
   WINDOWS
   ============================================= */
.window {
  position: absolute;
  z-index: 5;
  display: none;
  width: min(430px, calc(100vw - 34px));
  min-height: 230px;
  color: #111;
  background: #ece9d8;
  border: 3px solid #0054e3;
  border-radius: 8px 8px 3px 3px;
  box-shadow: 6px 8px 20px rgba(0,0,0,.35);
}
.window.open { display: block; }

.window-titlebar {
  cursor: move;
  border-radius: 4px 4px 0 0;
  text-shadow: 1px 1px 1px rgba(0,0,0,.45);
}

.window-close {
  display: grid;
  place-items: center;
  width: 24px;
  height: 22px;
  color: white;
  font-size: 18px;
  line-height: 1;
  background: linear-gradient(#ffb39d, #e64b25 50%, #b9240a);
  border: 1px solid white;
  border-radius: 3px;
}

.window-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: #ece9d8;
  border-bottom: 1px solid #c6c3b5;
}
.toolbar-status { margin-left: auto; color: #444; font-size: 12px; }
.window-content { padding: 16px; font-size: 14px; }

.large-window { width: min(720px, calc(100vw - 34px)); min-height: 420px; }
.text-window  { width: min(560px, calc(100vw - 34px)); min-height: 350px; background: white; }
.travel-window{ width: min(980px, calc(100vw - 34px)); min-height: 615px; }
.music-window { width: min(700px, calc(100vw - 34px)); min-height: 430px; }
.help-window  { width: min(720px, calc(100vw - 34px)); min-height: 470px; }
.msn-window   { width: min(680px, calc(100vw - 34px)); min-height: 500px; }
.system-window{ width: min(580px, calc(100vw - 34px)); min-height: 420px; }

/* =============================================
   EXPLORER / FILE VIEWS
   ============================================= */
.computer-layout { display: grid; grid-template-columns: 1fr; min-height: 385px; background: white; }
.computer-content { padding: 16px; }
.computer-content h2 { margin: 0 0 16px; font-size: 18px; }

.drive-section { display: grid; gap: 8px; }
.drive-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px;
  color: #111;
  text-align: left;
  background: white;
  border: 1px solid transparent;
}
.drive-item:hover { background: #eef6ff; border: 1px solid #9bbce6; }
.drive-item strong, .drive-item span { display: block; }
.drive-item span { margin-top: 2px; color: #555; font-size: 12px; }

.drive-icon { width: 42px; height: 28px; background: linear-gradient(#d5d5d5, #777); border: 1px solid #555; border-radius: 4px; }
.usb-drive { background: linear-gradient(#b7ffd5, #277a44); }

.explorer-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 16px;
  align-content: start;
  min-height: 320px;
  background: white;
}

.file-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 8px 4px;
  color: #111;
  text-align: center;
  background: transparent;
  border: 1px solid transparent;
}
.file-item:hover, .file-item:focus, .file-item.selected {
  outline: none;
  background: #dcebff;
  border: 1px dotted #316ac5;
}

.file-icon { position: relative; display: block; width: 36px; height: 42px; }
.txt-icon { background: white; border: 1px solid #8a8a8a; box-shadow: 2px 2px 0 #d6d6d6; }
.txt-icon::before {
  position: absolute;
  top: 8px;
  right: 7px;
  left: 7px;
  height: 2px;
  content: "";
  background: #8a8a8a;
  box-shadow: 0 7px 0 #8a8a8a, 0 14px 0 #8a8a8a;
}
.txt-icon.deleted { opacity: .72; }

.locked-file-icon {
  background: linear-gradient(#fff, #b8d4ff);
  border: 1px solid #555;
  border-radius: 4px;
}
.locked-file-icon::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  content: "🔒";
}
.broken-icon {
  background: repeating-linear-gradient(45deg, #777, #777 5px, #ccc 5px, #ccc 10px);
  border: 1px solid #333;
}
.empty-folder-placeholder {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 260px;
  color: #5b6b82;
  font-size: 15px;
  background: linear-gradient(#fff, #f6fbff);
  border: 1px dashed #b8cbe4;
}

/* =============================================
   NOTEPAD / SIMPLE WINDOWS
   ============================================= */
.notepad-menu { height: 24px; padding: 4px 8px; color: #111; font-size: 12px; background: #ece9d8; border-bottom: 1px solid #c6c3b5; }
.notepad-content {
  min-height: 290px;
  padding: 12px;
  color: #111;
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  background: white;
}
.budget-dump { color: #222; }
.rant-copy { font-size: 14px; line-height: 1.55; }

.help-shell { min-height: 430px; background: white; }
.help-header { padding: 16px; background: linear-gradient(#fff, #d9ebff); border-bottom: 1px solid #9dbde3; }
.help-header h2 { margin: 0; }
.empty-help-content { display: grid; place-items: center; align-content: center; gap: 12px; min-height: 340px; color: #5b6b82; background: linear-gradient(#fff, #f6fbff); }
.help-empty-icon { display: grid; place-items: center; width: 70px; height: 70px; color: #003b9b; font-size: 34px; font-weight: bold; background: linear-gradient(#cfe3ff, #8eb8ff); border-radius: 50%; }

/* =============================================
   TRAVEL PORTAL
   ============================================= */
.travel-content { padding: 0; background: #d8e4f6; }

.travel-login-screen, .travel-loader-screen {
  min-height: 575px;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 12%, rgba(255,255,255,.7), transparent 28%),
    linear-gradient(180deg, #6ea2df 0, #eaf2fb 36%, #cedbee 100%);
}

.travel-login-card {
  position: relative;
  max-width: 500px;
  margin: 28px auto;
  padding: 0;
  overflow: hidden;
  background: #ece9d8;
  border: 1px solid #7a93b8;
  border-radius: 2px;
  box-shadow: 0 18px 32px rgba(34,66,120,.25);
}
.travel-login-card::before {
  display: block;
  height: 36px;
  padding: 9px 12px;
  color: #fff;
  font-weight: bold;
  content: "TravelPortal.exe";
  background: linear-gradient(#3a8cff, #0057d9 52%, #003eb3);
}

.travel-login-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 26px 12px;
  background: linear-gradient(#fff, #e6effb);
  border-bottom: 1px solid #b7c6dc;
}

.travel-login-copy {
  padding: 12px 26px;
  color: #40536d;
  background: #f6f4ea;
  border-bottom: 1px solid #d0cbbc;
}

.portal-icon-pair {
  position: relative;
  width: 76px;
  height: 56px;
}
.portal-icon-pair.small { width: 62px; height: 50px; }
.portal-desktop-icon {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 38px;
  background: linear-gradient(#cde5ff, #4f8cd4 66%, #233f64 67%);
  border: 2px solid #d8ebff;
  border-radius: 4px;
  box-shadow: 2px 3px 0 rgba(0,0,0,.16);
}
.portal-desktop-icon::after {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -8px;
  height: 7px;
  content: "";
  background: #3d4b5a;
  border-radius: 0 0 3px 3px;
}
.portal-desktop-icon.mini {
  position: relative;
  width: 38px;
  height: 30px;
  display: inline-block;
  inset: auto;
  flex: 0 0 auto;
}
.portal-earth-icon {
  position: absolute;
  right: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #ffffff, transparent 11%),
    radial-gradient(circle at 62% 62%, #37c86b 0 13%, transparent 14%),
    radial-gradient(circle at 32% 58%, #39a25f 0 17%, transparent 18%),
    linear-gradient(135deg, #2c8cff, #064fae);
  border: 2px solid #eff8ff;
  box-shadow: 0 2px 5px rgba(0,0,0,.2);
}
.portal-earth-icon::before,
.portal-earth-icon::after {
  position: absolute;
  inset: 6px 2px;
  content: "";
  border: 1px solid rgba(255,255,255,.65);
  border-left: 0;
  border-right: 0;
  border-radius: 50%;
}
.portal-earth-icon::after {
  inset: 2px 10px;
  border: 1px solid rgba(255,255,255,.55);
  border-top: 0;
  border-bottom: 0;
}

.page-kicker { color: #315182; font-size: 12px; font-weight: bold; letter-spacing: .4px; text-transform: uppercase; }

.travel-login-card h2, .section-head h2, .system-top h2 {
  margin: 4px 0 0;
  color: #1a2d47;
  font-size: 28px;
}
.travel-login-form {
  display: grid;
  gap: 8px;
  padding: 18px 26px 24px;
}
.travel-login-form label { color: #384e68; font-size: 12px; font-weight: bold; }
.travel-login-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }

.loader-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 580px;
  margin: 40px auto 14px;
}
.loader-panel h2 { margin: 0 0 4px; }
.loader-panel p { margin: 0; color: #4d6079; }

.progress-shell { width: min(580px, 100%); height: 22px; padding: 2px; margin: 0 auto; background: white; border: 1px solid #5d7fa8; }
.progress-bar { width: 0; height: 100%; background: linear-gradient(90deg, #0d6adf, #65b7ff); transition: width .3s ease; }
.loader-log { width: min(580px, 100%); margin: 14px auto 0; padding-left: 18px; color: #30445f; font-family: "Lucida Console", Consolas, monospace; font-size: 12px; line-height: 1.6; }

.travel-browser {
  min-height: 575px;
  background:
    radial-gradient(circle at top left, rgba(255,160,50,.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(64,119,190,.18), transparent 32%),
    #fbfdff;
}
.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(#f6f3ea, #e3ded0);
  border-bottom: 1px solid #c0b9aa;
}
.tiny-button { min-width: auto; height: 22px; padding: 1px 9px; font-size: 11px; }
.address-bar {
  flex: 1;
  height: 24px;
  padding: 4px 8px;
  color: #111;
  font-size: 12px;
  background: white;
  border: 1px solid #7f9db9;
}
.browser-page {
  display: none;
  min-height: 525px;
  max-height: 540px;
  padding: 18px;
  overflow-y: auto;
}
.browser-page.active { display: block; }

/* Redesigned TravelPortal home */
.portal-home {
  position: relative;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 18px;
  min-height: 486px;
  padding: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at bottom right, rgba(25,112,191,.15), transparent 26%),
    linear-gradient(135deg, #f7fbff, #e6eefb 50%, #dce8f7);
  border: 1px solid #a8b9d0;
}

.portal-left-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 14px;
  background: linear-gradient(#ffffff, #edf4fe);
  border: 1px solid #aabbd2;
  box-shadow: 3px 4px 0 rgba(40,70,110,.08);
}

.portal-panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #cbd7e7;
}
.portal-panel-title h2 { margin: 2px 0 0; color: #1c3558; font-size: 24px; }

.user-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.user-info-grid div,
.search-panel div {
  padding: 9px;
  background: white;
  border: 1px solid #c6d4e7;
}
.user-info-grid span,
.search-panel span {
  display: block;
  color: #5d6f88;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.user-info-grid strong,
.search-panel strong {
  display: block;
  margin-top: 3px;
  color: #263c5d;
}

.search-panel {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 10px;
  background: linear-gradient(rgba(215,220,227,.92), rgba(194,201,211,.88));
  border: 1px solid #97a6bb;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}
.search-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(110,123,142,.06));
  pointer-events: none;
}
.search-panel h3 {
  position: relative;
  margin: 2px 0 2px;
  color: #29486f;
  font-size: 15px;
}
.search-row {
  position: relative;
  padding-right: 42px !important;
  background: linear-gradient(#e8ebf0, #d5dae2) !important;
  border: 1px solid #a2acbb !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 0 0 1px rgba(132,140,154,.08);
}
.search-row::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(0,0,0,0));
  pointer-events: none;
}
.search-glass {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid #5b6c84;
  border-radius: 50%;
  transform: translateY(-60%);
}
.search-glass::after {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 7px;
  height: 2px;
  content: "";
  background: #5b6c84;
  transform: rotate(45deg);
  border-radius: 2px;
}

.pending-invites {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  background: rgba(255,255,255,.56);
  border: 1px solid #aabbd2;
}
.pending-invites::after {
  position: absolute;
  top: 74px;
  right: 10px;
  bottom: 54px;
  width: 10px;
  content: "";
  background: linear-gradient(#d8dde6, #c3ccd8);
  border: 1px solid #95a3b6;
}
.pending-invites::before {
  position: absolute;
  top: 116px;
  right: 11px;
  width: 8px;
  height: 92px;
  content: "";
  background: linear-gradient(#ffffff, #d8e4f7);
  border: 1px solid #8fa3c2;
  z-index: 1;
}
.portal-main-top {
  display: grid;
  grid-template-columns: auto 1fr 170px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px 10px;
  background: linear-gradient(#fff, #eff4fb);
  border-bottom: 1px solid #c2cfde;
}
.portal-main-left {
  display: flex;
  align-items: center;
}
.portal-main-titlebar {
  height: 14px;
  background: linear-gradient(90deg, #a8bad5, #f6f9fd);
  border: 1px solid #bbcadc;
}
.portal-user-card {
  display: grid;
  gap: 2px;
  padding: 10px;
  text-align: left;
  background: #fff;
  border: 1px solid #b8c8da;
}
.portal-user-card span {
  color: #60728a;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .45px;
}
.portal-user-card strong {
  color: #233a5b;
  font-size: 18px;
}
.portal-user-card small {
  color: #566a84;
}

.pending-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  background: linear-gradient(#ffffff, #e9f2ff);
  border-bottom: 1px solid #b9c8da;
}

.pending-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pending-title > span {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  color: white;
  font-size: 12px;
  font-weight: bold;
  background: #295eaa;
  border: 1px solid #173f75;
}
.pending-title h3 {
  margin: 0;
  color: #1c3558;
  font-size: 18px;
}
.pending-count {
  padding: 4px 8px;
  color: #315182;
  font-size: 12px;
  font-weight: bold;
  background: #f4f8ff;
  border: 1px solid #bccbe0;
}

.invite-scroll {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px 28px 16px 16px;
  overflow: auto;
}

.invite-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 112px;
  padding: 0;
  overflow: hidden;
  color: #1e385f;
  text-align: left;
  background: #fff;
  border: 1px solid #aebfd6;
  box-shadow: 4px 5px 0 rgba(49,81,130,.08);
}
.invite-card:hover { transform: translateY(-1px); filter: brightness(1.02); }

.invite-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100%;
  padding: 14px;
  color: white;
}
.invite-banner span { font-size: 40px; font-weight: bold; line-height: 1; }
.invite-card strong {
  display: grid;
  place-items: center start;
  padding: 18px 22px;
  font-size: 23px;
  text-align: left;
}

.flight-invite .invite-banner { background: linear-gradient(135deg, #1e6ad6, #65a8ff); }
.roskilde-invite .invite-banner { background: linear-gradient(135deg, #e36f00, #ffb35c); }
.balkan-invite .invite-banner { background: linear-gradient(135deg, #38793b, #8bcf72); }

.flight-symbol {
  width: 55px;
  height: 42px;
  position: relative;
}
.flight-symbol::before {
  position: absolute;
  inset: 14px 4px;
  content: "";
  background: #fff;
  clip-path: polygon(0 43%, 62% 43%, 62% 0, 78% 0, 78% 43%, 100% 43%, 100% 58%, 78% 58%, 78% 100%, 62% 100%, 62% 58%, 0 58%);
  transform: rotate(-22deg);
}

.tent-symbol {
  width: 56px;
  height: 42px;
  position: relative;
}
.tent-symbol::before {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 5px;
  height: 30px;
  content: "";
  background: #fff;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.tent-symbol::after {
  position: absolute;
  left: 26px;
  bottom: 5px;
  width: 2px;
  height: 24px;
  content: "";
  background: rgba(209,98,0,.8);
}

.car-symbol {
  width: 60px;
  height: 42px;
  position: relative;
}
.car-symbol::before {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 10px;
  height: 20px;
  content: "";
  background: #fff;
  border-radius: 10px 10px 5px 5px;
  box-shadow: inset 10px -8px 0 rgba(64,136,63,.25), inset -10px -8px 0 rgba(64,136,63,.25);
}
.car-symbol::after {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 10px;
  content: "";
  background:
    radial-gradient(circle, #1c4a25 0 5px, transparent 6px) left center / 14px 10px no-repeat,
    radial-gradient(circle, #1c4a25 0 5px, transparent 6px) right center / 14px 10px no-repeat;
}

.portal-earth-corner {
  position: absolute;
  right: 16px;
  bottom: 12px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 34%, rgba(255,255,255,.95), transparent 11%),
    radial-gradient(circle at 60% 62%, #39c768 0 18%, transparent 19%),
    radial-gradient(circle at 34% 58%, #389d63 0 20%, transparent 21%),
    linear-gradient(135deg, #62afff, #0f59b3);
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 3px 8px rgba(29,70,130,.22);
  pointer-events: none;
}
.portal-earth-corner::before,
.portal-earth-corner::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}
.portal-earth-corner::before {
  inset: 8px 4px;
  border-top: 1px solid rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.65);
}
.portal-earth-corner::after {
  inset: 4px 15px;
  border-left: 1px solid rgba(255,255,255,.58);
  border-right: 1px solid rgba(255,255,255,.58);
}

/* =============================================
   FLIGHTS
   ============================================= */
.flight-page, .flight-detail-page { background: linear-gradient(#f7fbff, #fff); }

.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.section-chip { padding: 5px 10px; color: #38557c; font-size: 12px; font-weight: bold; background: linear-gradient(#fff, #eef3fb); border: 1px solid #a9bdd9; }

.flight-table-shell {
  max-height: 382px;
  overflow: auto;
  background: white;
  border: 1px solid #b8c9df;
}
.flight-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.flight-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 8px 10px;
  color: #244264;
  text-align: left;
  background: linear-gradient(#f7fbff, #dcecff);
  border-bottom: 1px solid #aebfd6;
}
.flight-row { cursor: pointer; }
.flight-row.held {
  background: linear-gradient(180deg, #2a4f80, #183763);
}
.flight-row.held td,
.flight-row.held td strong,
.flight-row.held td small {
  color: #f4f8ff;
}
.flight-row.held td em {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.35);
}
.flight-row:hover, .flight-row:focus {
  outline: none;
  background: #e7f0ff;
}
.flight-row.held:hover, .flight-row.held:focus {
  background: linear-gradient(180deg, #2a4f80, #183763);
}
.flight-row:hover, .flight-row:focus {
  outline: none;
  background: #e7f0ff;
}
.flight-table td {
  padding: 10px;
  border-bottom: 1px solid #e2ebf6;
  color: #2b405c;
  vertical-align: middle;
}
.flight-table td strong { color: #203a5d; }
.flight-table td small {
  display: block;
  margin-top: 2px;
  color: #66788e;
}
.flight-table td em {
  display: inline-block;
  min-width: 42px;
  padding: 3px 8px;
  color: #24518c;
  font-style: normal;
  font-weight: bold;
  text-align: center;
  background: #eef5ff;
  border: 1px solid #bdd0e8;
}

.flight-detail-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .8fr); gap: 16px; }
.flight-file-card, .seat-card { padding: 18px; background: linear-gradient(#fff, #f3f8ff); border: 1px solid #c6d5e8; }
.seat-card.locked { background: linear-gradient(#e4eefc, #ccdff8); border-color: #6f96ca; }

.detail-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.detail-strip div, .detail-info-grid div { padding: 12px; background: white; border: 1px solid #d5e0ee; }
.detail-strip span, .detail-info-grid span { display: block; color: #617284; font-size: 12px; }
.detail-strip strong, .detail-info-grid strong { display: block; margin-top: 4px; color: #233b58; }
.detail-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.seat-card h3 { margin: 0 0 14px; color: #233b58; }
.seat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.seat-button { height: 36px; color: #244264; background: white; border: 1px solid #b5c8de; }
.seat-button:hover, .seat-button.active { background: #deebff; border-color: #4a78bf; }
.seat-button:disabled { cursor: default; opacity: .58; }
.seat-button.active:disabled { opacity: 1; }
.seat-card.locked .seat-button:not(.active) { opacity: .42; }
.seat-status { min-height: 18px; margin: 12px 0 14px; color: #53677f; font-size: 12px; }

/* =============================================
   ORANGE / ROSKILDE
   ============================================= */
.orange-page {
  background:
    radial-gradient(circle at top right, rgba(255,122,0,.2), transparent 30%),
    linear-gradient(#fff9f1, #fff);
}
.orange-chip { color: #d76700; }
.orange-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; }
.orange-ticket {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 14%, rgba(255,122,0,.28), transparent 26%),
    repeating-linear-gradient(0deg, rgba(122,65,18,.035), rgba(122,65,18,.035) 1px, transparent 1px, transparent 9px),
    linear-gradient(180deg, #fff9ef, #ffe0b7 80%);
  border: 1px solid #d98a2a;
  border-left: 7px solid #ff7a00;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 8px 22px rgba(175,106,19,.1);
}
.orange-ticket::after {
  position: absolute;
  right: -28px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  content: "";
  background: rgba(255,122,0,.16);
  border-radius: 50%;
}
.orange-ticket-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.orange-dot { width: 44px; height: 44px; background: #ff7a00; border-radius: 50%; box-shadow: 0 0 0 8px rgba(255,122,0,.18); }
.orange-ticket-top strong { color: #3a2b14; font-size: 27px; letter-spacing: -.5px; }
.orange-ticket-top small { display: block; margin-top: 4px; color: #8d5d24; }
.orange-file-stack { display: grid; gap: 8px; margin-bottom: 18px; }
.orange-file-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(190,111,24,.42);
  box-shadow: 2px 3px 0 rgba(143,79,14,.08);
}
.orange-file-line span { color: #865017; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; }
.orange-file-line strong { color: #532a05; font-size: 12px; }
.orange-divider-label { margin: 2px 0 10px; color: #8a4a0e; font-size: 11px; font-weight: bold; letter-spacing: .8px; text-transform: uppercase; }
.day-ribbon { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.day-pill {
  min-height: 42px;
  padding: 10px 6px;
  color: #7a4412;
  font-size: 13px;
  font-weight: bold;
  background: linear-gradient(#fffdf9, #ffe2ba);
  border: 1px solid #cf8b38;
  box-shadow: 2px 3px 0 rgba(166,105,25,.15);
}
.day-pill.active, .day-pill:hover { background: linear-gradient(#ffd29d, #ffbc6f); border-color: #aa5b07; }
.orange-main { display: grid; gap: 12px; align-content: start; }
.orange-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.orange-tab {
  min-height: 62px;
  padding: 12px;
  color: #703d10;
  font-weight: bold;
  text-align: left;
  background: linear-gradient(#fff9f1, #ffe6c1);
  border: 1px solid #e6b067;
}
.orange-tab.active, .orange-tab:hover { background: #ffe6c8; border-color: #df8d2a; }
.orange-panel {
  min-height: 290px;
  padding: 14px;
  background: linear-gradient(90deg, rgba(255,128,0,.08), transparent 35%), linear-gradient(#fffdf8, #fff4e6);
  border: 1px solid #efc38e;
}

.lineup-board { display: grid; gap: 10px; }
.lineup-board-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  color: #5d2e05;
  background: #fff;
  border: 1px solid #efc38e;
}
.lineup-board-head span { padding: 4px 8px; font-size: 12px; font-weight: bold; background: #ffcf95; border: 1px solid #d78930; }
.lineup-board-head strong { font-size: 22px; letter-spacing: -.3px; }
.lineup-meta-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 3px; }
.lineup-meta-strip b { padding: 4px 7px; color: #784507; font-size: 11px; background: #fff3dd; border: 1px solid #efc38e; }
.lineup-rows { display: grid; gap: 8px; }
.lineup-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 46px;
  padding: 8px 12px;
  background: rgba(255,255,255,.86);
  border: 1px solid #f0c58e;
}
.lineup-row.top-row { background: linear-gradient(90deg, #ffbc6f, #fff6e9 72%); border-color: #cc7620; }
.lineup-row em { color: #a05b11; font-style: normal; font-weight: bold; }
.lineup-row strong { color: #3f2106; font-size: 19px; }
.lineup-row span { padding: 3px 7px; color: #7c4c1b; font-size: 11px; background: #fff2df; border: 1px solid #f0c58e; }

.camp-layout { display: grid; grid-template-columns: 210px 1fr; gap: 14px; align-items: start; }
.camp-task-card { min-height: 100%; padding: 14px; color: #74480f; background: linear-gradient(#fff6eb, #ffe4bf); border: 1px solid #efc38e; }
.camp-task-card span, .camp-task-card small { display: block; color: #8a5d2e; }
.camp-task-card strong { display: block; margin: 7px 0; color: #7a3f0c; font-size: 18px; }
.camp-progress-bar { height: 10px; padding: 1px; margin-top: 10px; background: #fff4e3; border: 1px solid #c88a42; }
.camp-progress-fill { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #d46b00, #ffb25b); }
.camp-progress-text { display: block; margin-top: 8px; color: #74480f; font-size: 12px; font-style: normal; }
.packing-list { display: grid; gap: 9px; color: #6d4b24; }
.packing-list h3 { margin: 0 0 5px; color: #8b4f10; font-size: 28px; letter-spacing: -.4px; }
.packing-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px;
  background: rgba(255,255,255,.85);
  border: 1px solid #f1c58f;
  cursor: pointer;
}
.packing-list label.done { color: #8d6a3f; text-decoration: line-through; background: #fff0d7; }

.access-sheet { display: grid; gap: 14px; }
.access-sheet-title { padding: 14px; background: #fff; border: 1px solid #efc38e; }
.access-sheet-title span, .access-sheet-title strong { display: block; }
.access-sheet-title span { color: #8c5c25; font-size: 11px; letter-spacing: .6px; text-transform: uppercase; }
.access-sheet-title strong { margin-top: 4px; color: #4a2605; font-size: 24px; }
.access-note-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.access-note-card { padding: 14px; background: linear-gradient(#fff9f1, #fff1e0); border: 1px solid #ffd4a0; }
.access-note-card span { display: block; color: #8c5c25; font-size: 11px; letter-spacing: .6px; text-transform: uppercase; }
.access-note-card strong { display: block; margin-top: 6px; color: #5a300b; font-size: 20px; }
.access-fineprint { padding: 10px 12px; color: #765120; font-family: "Lucida Console", Consolas, monospace; font-size: 12px; background: #fffaf2; border: 1px dashed #e1ab63; }
.orange-confirm { justify-self: start; min-width: 180px; }

/* =============================================
   BALKAN
   ============================================= */
.balkan-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(232,189,102,.42), transparent 25%),
    radial-gradient(circle at 90% 22%, rgba(84,116,71,.28), transparent 25%),
    linear-gradient(135deg, #f8f1df, #eef5e8 58%, #e7efe1);
}
.balkan-desk { display: grid; gap: 16px; }
.balkan-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: end;
  padding: 22px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(55,73,42,.06), rgba(55,73,42,.06) 10px, transparent 10px, transparent 22px),
    linear-gradient(135deg, #fff8e8, #e4efd8);
  border: 1px solid #7d965f;
  border-left: 8px solid #5b7841;
  box-shadow: 0 10px 22px rgba(64,79,45,.14);
}
.balkan-hero-card h2 { margin: 6px 0 8px; color: #263d1d; font-size: 39px; line-height: 1; }
.balkan-hero-card p { max-width: 540px; color: #56664d; line-height: 1.5; }
.balkan-route-strip { display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr; gap: 6px; align-items: center; }
.balkan-route-strip span { display: grid; min-height: 48px; place-items: center; color: #334c25; font-weight: bold; background: rgba(255,255,255,.82); border: 1px solid #a9bd8b; box-shadow: 2px 3px 0 rgba(77,96,54,.1); }
.balkan-route-strip i { height: 2px; background: #78935c; }
.balkan-index-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.route-ledger { padding: 12px 14px; background: rgba(255,255,255,.78); border: 1px solid #bdcda9; }
.route-ledger span, .route-ledger strong { display: block; }
.route-ledger span { color: #67765d; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; }
.route-ledger strong { margin-top: 4px; color: #2d441f; }
.country-grid { display: grid; gap: 14px; }
.travelguide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.country-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 145px;
  padding: 16px;
  overflow: hidden;
  color: #304927;
  text-align: left;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(240,247,231,.96)), radial-gradient(circle at 90% 80%, rgba(82,112,55,.16), transparent 28%);
  border: 1px solid #a7bd89;
  border-radius: 4px;
  box-shadow: 4px 6px 0 rgba(86,111,55,.08);
  transition: transform .14s, background .14s;
}
.country-card:hover, .country-card.active {
  background: linear-gradient(#f8fff2, #e6f2d8);
  border-color: #6c8b48;
  box-shadow: 0 0 0 2px rgba(108,139,72,.16), 4px 6px 0 rgba(86,111,55,.08);
  transform: translateY(-1px);
}
.country-card::after { position: absolute; right: -22px; bottom: -20px; width: 86px; height: 86px; content: ""; background: rgba(111,145,73,.12); border-radius: 50%; }
.country-card span, .country-card strong, .country-card small, .country-card em { position: relative; z-index: 1; }
.country-card span { font-size: 11px; font-weight: bold; opacity: .68; }
.country-card strong { font-size: 22px; }
.country-card small, .country-card em { max-width: 280px; color: #586b4c; font-size: 12px; line-height: 1.35; }
.country-card em { font-style: normal; }

.rental-desk {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: linear-gradient(90deg, rgba(106,138,74,.12), transparent 42%), #fff;
  border: 1px solid #9fb982;
  border-left: 6px solid #304d20;
  box-shadow: 0 6px 14px rgba(74,92,48,.1);
}
.rental-copy h3 { margin: 4px 0; color: #314f22; }
.rental-copy p { color: #65745a; font-size: 12px; }
.vehicle-grid { display: grid; gap: 10px; }
.vehicle-card {
  display: grid;
  gap: 4px;
  min-height: 54px;
  padding: 10px;
  text-align: left;
  background: linear-gradient(#fff, #f4f9ef);
  border: 1px solid #c8d0b8;
  border-radius: 3px;
}
.vehicle-card strong { color: #324826; font-size: 17px; }
.vehicle-card span { color: #5d6a56; font-size: 12px; }
.vehicle-card.active { background: #dcefcf; border-color: #6f9149; }
.vehicle-card:disabled { cursor: default; opacity: .72; }

.balkan-country-page { background: radial-gradient(circle at 80% 20%, rgba(120,149,84,.16), transparent 24%), linear-gradient(#fffdf7, #eef5e7); }
.country-sheet { display: grid; gap: 14px; min-height: 500px; padding-top: 14px; }
.country-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 18px;
  padding: 22px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(84,104,62,.05), rgba(84,104,62,.05) 10px, transparent 10px, transparent 24px),
    linear-gradient(135deg, #fff8e9, #e9f3de);
  border: 1px solid #b6c89a;
  border-left: 6px solid #6c8b48;
  box-shadow: 0 8px 18px rgba(74,92,48,.12);
}
.country-hero h2 { margin: 6px 0 8px; color: #304927; font-size: 43px; }
.country-hero p { max-width: 620px; color: #596d50; line-height: 1.55; }
.country-tag-stack { display: grid; gap: 8px; align-content: start; }
.country-code { z-index: 1; display: grid; min-height: 110px; place-items: center; color: #314f22; font-size: 36px; font-weight: bold; background: #fff; border: 2px solid #6f9149; box-shadow: 4px 5px 0 rgba(92,113,63,.1); }
.country-tag-stack > span { display: block; padding: 8px; color: #40592c; font-size: 12px; text-align: center; background: #fff; border: 1px solid #a9bd8b; }
.country-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guide-card { min-height: 84px; padding: 14px; background: #fff; border: 1px solid #c5d4ae; box-shadow: 2px 3px 0 rgba(92,113,63,.08); }
.guide-card.wide { grid-column: 1 / -1; }
.guide-card > span { display: block; margin-bottom: 6px; color: #67765d; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; }
.guide-card > strong { color: #304927; line-height: 1.45; }
.mini-itinerary { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px; background: rgba(255,255,255,.78); border: 1px solid #c5d4ae; }
.mini-itinerary > span { color: #64735a; font-size: 11px; font-weight: bold; letter-spacing: .5px; text-transform: uppercase; }
.mini-itinerary b { padding: 5px 9px; color: #304927; background: #eef6e6; border: 1px solid #c5d4ae; }

/* =============================================
   MUSIC / MSN / SYSTEM
   ============================================= */
.media-player { display: grid; grid-template-columns: 180px 1fr; min-height: 390px; color: white; background: #101010; }
.media-sidebar { padding: 20px; text-align: center; background: linear-gradient(#2a2a2a, #111); border-right: 1px solid #444; }
.media-disc { width: 118px; height: 118px; margin: 10px auto 14px; background: radial-gradient(circle, #111 0 13%, #bdbdbd 14% 17%, #111 18% 24%, #3a3a3a 25% 100%); border-radius: 50%; box-shadow: 0 0 18px rgba(255,255,255,.15); }
.media-main { padding: 18px; }
.media-main h2 { margin-top: 0; color: white; }
.media-subtitle { color: #cfcfcf; }
.spotify-box { padding: 10px; margin-top: 14px; background: #181818; border: 1px solid #454545; }
.spotify-embed { border-radius: 8px; }

.msn-app { display: grid; grid-template-columns: 205px 1fr; min-height: 460px; background: #dbeeff; }
.msn-contact-list {
  padding: 8px;
  overflow-y: auto;
  background: linear-gradient(#f8fcff, #cfe8ff), repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(73,132,184,.08) 24px);
  border-right: 1px solid #8bb8e8;
}
.msn-contact-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 6px;
  margin-bottom: 6px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
}
.msn-contact-item:hover, .msn-contact-item.active { background: white; border-color: #76a6dd; }
.msn-contact-dot { display: grid; place-items: center; width: 30px; height: 30px; color: white; font-weight: bold; background: linear-gradient(135deg, #6ee36a, #168bd1); border-radius: 7px; }
.msn-contact-item strong, .msn-contact-item small { display: block; }
.msn-contact-item small { margin-top: 2px; color: #477091; font-size: 11px; }
.msn-contact-item em { display: grid; place-items: center; min-width: 18px; height: 18px; color: #fff; font-size: 11px; font-style: normal; background: #e21b1b; border-radius: 999px; }
.msn-conversation { display: grid; grid-template-rows: auto 1fr auto; min-height: 460px; }
.msn-chat-header { display: flex; align-items: center; gap: 10px; min-height: 70px; padding: 12px; background: linear-gradient(#fff, #bfdfff); border-bottom: 1px solid #8bb8e8; }
.msn-chat-header p { margin: 2px 0 0; color: #287000; font-size: 12px; }
.msn-avatar { display: grid; place-items: center; width: 46px; height: 46px; color: white; font-size: 26px; font-weight: bold; background: linear-gradient(135deg, #6ee36a, #168bd1); border: 1px solid #6ea4d8; border-radius: 4px; }
.msn-messages { padding: 12px; overflow-y: auto; background: white; }
.msn-messages:empty::before { display: block; padding: 35px 10px; color: #6a7f93; font-size: 13px; text-align: center; content: "No conversations yet."; }
.msn-message { max-width: 90%; padding: 10px 12px; margin-bottom: 10px; color: #193356; background: #eef5ff; border: 1px solid #b7d0ef; border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.msn-message small { display: block; margin-bottom: 4px; color: #56718f; }
.msn-input-row { display: flex; gap: 6px; padding: 8px; background: #dbeeff; }
.msn-input-row input { flex: 1; }

.system-shell { min-height: 360px; padding: 18px; background: linear-gradient(#fcfdff, #edf3fb); }
.system-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.system-version { min-width: 74px; padding: 8px 12px; color: #355887; font-weight: bold; text-align: center; background: white; border: 1px solid #bccce2; }
.system-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.system-card, .system-panel { padding: 14px; background: white; border: 1px solid #c6d5e8; }
.system-card > span { display: block; color: #617284; font-size: 12px; }
.system-card > strong { display: block; margin-top: 4px; color: #233b58; font-size: 18px; }
.system-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.system-panel h3 { margin: 0 0 8px; color: #355887; font-size: 14px; }
.system-panel ul { padding-left: 18px; margin: 0; color: #42566e; line-height: 1.7; }

/* =============================================
   START MENU / TASKBAR
   ============================================= */
.start-menu {
  position: absolute;
  bottom: 38px;
  left: 3px;
  z-index: 30;
  display: none;
  width: 340px;
  overflow: hidden;
  color: #111;
  background: #fff;
  border: 2px solid #0b55c8;
  border-radius: 8px 8px 0 0;
  box-shadow: 5px 6px 18px rgba(0,0,0,.35);
}
.start-menu.open { display: block; }
.start-menu-header { display: flex; align-items: center; gap: 10px; height: 66px; padding: 10px; color: white; font-size: 18px; font-weight: bold; background: linear-gradient(#3b90ff, #0057d9 52%, #003eb3); text-shadow: 1px 1px 2px rgba(0,0,0,.45); }
.start-menu-avatar { width: 42px; height: 42px; font-size: 21px; }
.start-menu-body { display: grid; padding: 8px; background: #fff; }
.start-menu-item { display: flex; align-items: center; gap: 9px; height: 34px; padding: 4px 8px; color: #111; text-align: left; background: white; border: 0; }
.start-menu-item:hover { color: white; background: #316ac5; }
.start-menu-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 8px; background: linear-gradient(#d7e8ff, #b9d5ff); border-top: 1px solid #8ab2ef; }
.start-menu-footer button { min-width: 72px; height: 25px; background: linear-gradient(#fff, #e7e7dc); border: 1px solid #003c74; border-radius: 3px; }

#selection-box { position: absolute; z-index: 4; display: none; pointer-events: none; background: rgba(49,106,197,.28); border: 1px solid #7db7ff; }

.taskbar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  height: 38px;
  background: linear-gradient(#2b79e6, #0b55c8 45%, #063b9f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

#start-button {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 18px 0 12px;
  margin-left: 3px;
  color: white;
  font-size: 15px;
  font-style: italic;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0,0,0,.55);
  background: linear-gradient(#6ee36a, #249a2f 45%, #0f6b1f);
  border: 1px solid #0b6419;
  border-radius: 0 12px 12px 0;
}
#start-button:hover { filter: brightness(1.08); }
.start-dot {
  width: 17px;
  height: 17px;
  background: radial-gradient(circle at 30% 30%, white, transparent 15%),
              linear-gradient(135deg, #ff5757, #f2c94c 48%, #37c75b 49%, #2388ff);
  border-radius: 50%;
}
.taskbar-spacer { flex: 1; }
#clock { display: grid; place-items: center; min-width: 88px; height: 100%; padding: 0 12px; color: white; font-size: 13px; background: rgba(0,0,0,.08); border-left: 1px solid rgba(255,255,255,.25); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .portal-home,
  .portal-main-top,
  .invite-card,
  .flight-detail-layout,
  .orange-layout,
  .orange-tabs,
  .camp-layout,
  .balkan-hero-card,
  .balkan-index-row,
  .travelguide-grid,
  .rental-desk,
  .country-hero,
  .country-guide-grid,
  .access-note-grid,
  .system-grid,
  .system-panels {
    grid-template-columns: 1fr;
  }
  .guide-card.wide { grid-column: auto; }
  .balkan-route-strip { grid-template-columns: 1fr; }
  .balkan-route-strip i { display: none; }
  .seat-grid { grid-template-columns: repeat(4, 1fr); }
}


.bootsy-firewall-body button:disabled {
  color: #777;
  cursor: default;
  background: #e6e3d3;
  border-color: #9d9d9d;
}
.bootsy-scan-panel {
  margin-top: 12px;
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 12px;
}
.bootsy-scan-progress-shell {
  height: 16px;
  padding: 2px;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid #7f9db9;
}
.bootsy-scan-progress-bar {
  width: 0;
  height: 100%;
  background: repeating-linear-gradient(90deg, #2f7de1, #2f7de1 9px, #79b5ff 9px, #79b5ff 18px);
  transition: width .42s linear;
}
#bootsy-scan-result {
  margin: 0;
  color: #111;
  line-height: 1.45;
  white-space: pre-line;
}

.travel-firewall-error-screen {
  display: grid;
  place-items: center;
  min-height: 575px;
  padding: 24px;
  background: #d8e4f6;
}
.travel-firewall-error-box {
  width: min(410px, 100%);
  color: #111;
  background: #ece9d8;
  border: 2px solid #0740c7;
  box-shadow: 0 14px 28px rgba(0,0,0,.28);
}
.travel-firewall-error-titlebar {
  height: 29px;
  padding: 6px 8px 6px 10px;
  color: white;
  font-weight: bold;
  background: linear-gradient(#3a8cff, #0057d9 52%, #003eb3);
}
.travel-firewall-error-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
}
.travel-firewall-error-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: #111;
  font-weight: bold;
  background: linear-gradient(#fff5ad, #e3a128);
  border: 1px solid #866200;
  border-radius: 50%;
}
.travel-firewall-error-body p {
  margin: 2px 0 16px;
}
@media (max-width: 700px) {
  .welcome-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 34px;
    align-content: center;
    justify-items: center;
    padding: 0 24px;
  }
  .welcome-left { justify-self: center; width: 100%; padding-right: 0; text-align: center; }
  .brand-block { justify-content: center; }
  .welcome-divider, .media-sidebar { display: none; }
  .welcome-right { display: flex; justify-content: center; width: 100%; padding-left: 0; }
  .user-tile, .dialog-window, .start-menu { width: min(335px, calc(100vw - 24px)); }
  .desktop-icons { top: 12px; left: 12px; }
  .desktop-recycle-icon { top: 12px !important; right: 12px !important; }
  .msn-app, .media-player { grid-template-columns: 1fr; }
  .msn-contact-list { max-height: 170px; border-right: 0; border-bottom: 1px solid #8bb8e8; }
  .lineup-row { grid-template-columns: 1fr; }
}


/* =========================================================
   FORTIA FINAL PATCH — v4
   ========================================================= */

/* Real hosted wallpaper location: public_html/images/background.jpg */
#desktop {
  background-image: url("/images/background.jpg");
}

/* Welcome name tile: remove the visible hard right-edge block and fade to the screen background. */
.user-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent !important;
  border-color: transparent !important;
}
.user-tile::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(0, 58, 151, .78) 0%,
    rgba(0, 64, 165, .58) 42%,
    rgba(0, 64, 165, .24) 68%,
    rgba(0, 64, 165, 0) 100%
  );
  border-radius: inherit;
}
.user-tile:hover::before,
.user-tile:focus::before {
  background: linear-gradient(
    90deg,
    rgba(0, 58, 151, .90) 0%,
    rgba(0, 64, 165, .62) 42%,
    rgba(0, 64, 165, .26) 68%,
    rgba(0, 64, 165, 0) 100%
  );
}
.user-tile:hover,
.user-tile:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
  border-right-color: transparent !important;
}

/* Desktop icon selection square: same inset left/right and centered text. */
.desktop-icon {
  width: 88px;
  min-height: 76px;
  padding: 7px 6px;
  justify-items: center;
  align-content: start;
  border: 1px solid transparent;
}
.desktop-icon > span:last-child {
  width: 76px;
  max-width: 76px;
  margin: 0 auto;
}
.desktop-icon:hover,
.desktop-icon:focus,
.desktop-icon.selected {
  background: rgba(0,70,180,.35);
  border: 1px dotted rgba(255,255,255,.85);
}

/* TravelPortal window: smaller, less stretched, closer to old Windows app proportions. */
.travel-window {
  width: min(920px, calc(100vw - 34px));
  min-height: 560px;
}
.travel-content { padding: 0; background: #d8e4f6; }
.travel-login-screen,
.travel-loader-screen {
  min-height: 520px;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.55), transparent 24%),
    linear-gradient(180deg, #6b99d8 0%, #e9f1fb 38%, #cedbee 100%);
}
.travel-browser {
  min-height: 520px;
}
.browser-page {
  min-height: 470px;
  max-height: 485px;
  padding: 14px;
}

/* TravelPortal login: old Windows-style centered access dialog. */
.tp-login-window {
  width: min(520px, 100%);
  margin: 44px auto 0;
  overflow: hidden;
  background: #ece9d8;
  border: 2px solid #1c58b7;
  border-radius: 7px 7px 3px 3px;
  box-shadow: 0 18px 32px rgba(22,49,92,.32);
}
.tp-login-titlebar {
  height: 30px;
  padding: 7px 10px;
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0,0,0,.45);
  background: linear-gradient(#3a8cff, #0057d9 52%, #003eb3);
}
.tp-login-body {
  background: linear-gradient(#fff, #eef4fc 58%, #e2e8f2);
}
.tp-login-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px 28px 18px;
  border-bottom: 1px solid #c6cfda;
}
.tp-login-hero h2 {
  margin: 3px 0 5px;
  color: #1b3457;
  font-size: 27px;
}
.tp-login-hero p {
  color: #4d6079;
  line-height: 1.4;
}
.tp-login-icons {
  position: relative;
  width: 78px;
  height: 58px;
}
.tp-login-window .travel-login-form {
  padding: 18px 28px 24px;
  background: #f6f3ea;
}
.tp-login-window .travel-login-form input {
  height: 25px;
  border: 1px solid #7f9db9;
}
.tp-login-window .travel-login-actions {
  justify-content: flex-start;
}

/* Reusable desktop + globe icons. */
.portal-icon-pair,
.tp-login-icons {
  position: relative;
}
.portal-desktop-icon {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 38px;
  background: linear-gradient(#d5ecff, #4d8bd4 66%, #254467 67%);
  border: 2px solid #d8ebff;
  border-radius: 4px;
  box-shadow: 2px 3px 0 rgba(0,0,0,.16);
}
.portal-desktop-icon::after {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -8px;
  height: 7px;
  content: "";
  background: #3d4b5a;
  border-radius: 0 0 3px 3px;
}
.portal-desktop-icon.mini {
  position: relative;
  inset: auto;
  display: inline-block;
  flex: 0 0 auto;
  width: 39px;
  height: 31px;
}
.portal-earth-icon {
  position: absolute;
  right: 0;
  top: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, #ffffff, transparent 11%),
    radial-gradient(circle at 63% 64%, #38c76b 0 15%, transparent 16%),
    radial-gradient(circle at 30% 58%, #399d62 0 18%, transparent 19%),
    linear-gradient(135deg, #51a9ff, #084fae);
  border: 2px solid #eff8ff;
  box-shadow: 0 2px 5px rgba(0,0,0,.2);
}
.portal-earth-icon::before,
.portal-earth-icon::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}
.portal-earth-icon::before {
  inset: 7px 3px;
  border-top: 1px solid rgba(255,255,255,.67);
  border-bottom: 1px solid rgba(255,255,255,.67);
}
.portal-earth-icon::after {
  inset: 3px 10px;
  border-left: 1px solid rgba(255,255,255,.58);
  border-right: 1px solid rgba(255,255,255,.58);
}

/* Hide old TravelPortal home layout if any old classes remain. */
.portal-home { display: none !important; }

/* TravelPortal home rebuilt to match the sketch: left search, top info, three stacked invites, right rail, globe. */
.tp-home-shell {
  position: relative;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  min-height: 442px;
  padding: 14px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.35) 29%, rgba(255,255,255,0) 30%),
    linear-gradient(135deg, #f8fbff, #e7effa 54%, #d8e6f7);
  border: 1px solid #a8b9d0;
}
.tp-search-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(#ffffff, #edf4fe);
  border: 1px solid #aabbd2;
  box-shadow: 3px 4px 0 rgba(40,70,110,.08);
}
.tp-sidebar-user {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 11px;
  border-bottom: 1px solid #cbd7e7;
}
.tp-sidebar-user h2 {
  margin: 2px 0 0;
  color: #1c3558;
  font-size: 24px;
}
.tp-user-status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tp-user-status div {
  padding: 9px;
  background: rgba(255,255,255,.70);
  border: 1px solid #c6d4e7;
}
.tp-user-status span,
.tp-search-row span {
  display: block;
  color: #5d6f88;
  font-size: 11px;
  letter-spacing: .45px;
  text-transform: uppercase;
}
.tp-user-status strong,
.tp-search-row strong {
  display: block;
  margin-top: 3px;
  color: #263c5d;
  font-size: 16px;
}
.tp-search-panel {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 10px;
  background: linear-gradient(rgba(218,222,229,.96), rgba(193,201,212,.92));
  border: 1px solid #96a6bb;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.48);
}
.tp-search-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255,255,255,.32), rgba(110,123,142,.08));
  pointer-events: none;
}
.tp-search-panel h3 {
  position: relative;
  margin: 0 0 3px;
  color: #29486f;
  font-size: 15px;
}
.tp-search-row {
  position: relative;
  min-height: 56px;
  padding: 8px 40px 8px 10px;
  background: linear-gradient(#e9edf3, #d6dce5);
  border: 1px solid #a2acbb;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.76), inset 0 0 0 1px rgba(132,140,154,.08);
}
.search-glass {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid #5b6c84;
  border-radius: 50%;
  transform: translateY(-60%);
}
.search-glass::after {
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  content: "";
  background: #5b6c84;
  border-radius: 2px;
  transform: rotate(45deg);
}

.tp-invite-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  background: rgba(255,255,255,.56);
  border: 1px solid #aabbd2;
}
.tp-main-topbar {
  display: grid;
  grid-template-columns: auto 1fr 174px;
  gap: 12px;
  align-items: center;
  min-height: 74px;
  padding: 11px 14px 10px;
  background: linear-gradient(#fff, #f0f5fc);
  border-bottom: 1px solid #c2cfde;
}
.tp-faux-address {
  height: 14px;
  background: linear-gradient(90deg, #b1c0d6, #f8fbff);
  border: 1px solid #becddd;
}
.tp-top-user-info {
  display: grid;
  gap: 1px;
  padding: 8px 9px;
  background: #fff;
  border: 1px solid #b8c8da;
}
.tp-top-user-info span {
  color: #60728a;
  font-size: 10px;
  letter-spacing: .45px;
  text-transform: uppercase;
}
.tp-top-user-info strong {
  color: #233a5b;
  font-size: 17px;
  line-height: 1.05;
}
.tp-top-user-info em {
  color: #566a84;
  font-size: 11px;
  font-style: normal;
}
.tp-pending-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px 22px;
  background: linear-gradient(#ffffff, #e9f2ff);
  border-bottom: 1px solid #b9c8da;
}
.tp-pending-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tp-pending-title > span {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 30px;
  color: white;
  font-size: 12px;
  font-weight: bold;
  background: #295eaa;
  border: 1px solid #173f75;
}
.tp-pending-title h3 {
  margin: 0;
  color: #1c3558;
  font-size: 20px;
}
.tp-count {
  padding: 4px 9px;
  color: #315182;
  font-size: 12px;
  font-weight: bold;
  background: #f4f8ff;
  border: 1px solid #bccbe0;
}
.tp-invite-scroll {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(78px, 1fr);
  gap: 10px;
  padding: 14px 34px 16px 22px;
  overflow-y: auto;
}
.tp-invite-card {
  display: grid;
  grid-template-columns: minmax(190px, 42%) 1fr;
  min-height: 86px;
  overflow: hidden;
  color: #1e385f;
  text-align: left;
  background: #fff;
  border: 1px solid #aebfd6;
  box-shadow: 4px 5px 0 rgba(49,81,130,.08);
}
.tp-invite-card:hover,
.tp-invite-card:focus {
  outline: none;
  filter: brightness(1.02);
  transform: translateY(-1px);
}
.tp-invite-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  color: white;
}
.tp-invite-banner span {
  font-size: 42px;
  font-weight: bold;
  line-height: 1;
}
.tp-invite-card strong {
  display: grid;
  place-items: center start;
  padding: 15px 22px;
  color: #1b3457;
  font-size: 23px;
  line-height: 1.1;
}
.tp-flight-invite .tp-invite-banner { background: linear-gradient(135deg, #1765cd, #5ea3ff); }
.tp-roskilde-invite .tp-invite-banner { background: linear-gradient(135deg, #df7600, #ffac4a); }
.tp-balkan-invite .tp-invite-banner { background: linear-gradient(135deg, #347a37, #83c76a); }
.tp-scroll-rail {
  position: absolute;
  top: 82px;
  right: 10px;
  bottom: 54px;
  width: 10px;
  background: linear-gradient(#d8dde6, #c3ccd8);
  border: 1px solid #95a3b6;
}
.tp-scroll-rail span {
  display: block;
  width: 8px;
  height: 80px;
  margin: 44px auto 0;
  background: linear-gradient(#ffffff, #d8e4f7);
  border: 1px solid #8fa3c2;
}

.tp-earth-corner {
  position: absolute;
  right: 18px;
  bottom: 13px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 34%, rgba(255,255,255,.95), transparent 11%),
    radial-gradient(circle at 60% 62%, #39c768 0 18%, transparent 19%),
    radial-gradient(circle at 34% 58%, #389d63 0 20%, transparent 21%),
    linear-gradient(135deg, #62afff, #0f59b3);
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 3px 8px rgba(29,70,130,.22);
  pointer-events: none;
}
.tp-earth-corner::before,
.tp-earth-corner::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}
.tp-earth-corner::before {
  inset: 8px 4px;
  border-top: 1px solid rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.65);
}
.tp-earth-corner::after {
  inset: 4px 15px;
  border-left: 1px solid rgba(255,255,255,.58);
  border-right: 1px solid rgba(255,255,255,.58);
}

/* Symbols on invite banners. */
.flight-symbol {
  position: relative;
  width: 58px;
  height: 42px;
}
.flight-symbol::before {
  position: absolute;
  inset: 14px 3px;
  content: "";
  background: #fff;
  clip-path: polygon(0 43%, 61% 43%, 61% 0, 78% 0, 78% 43%, 100% 43%, 100% 58%, 78% 58%, 78% 100%, 61% 100%, 61% 58%, 0 58%);
  transform: rotate(-20deg);
}
.tent-symbol {
  position: relative;
  width: 58px;
  height: 42px;
}
.tent-symbol::before {
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 5px;
  height: 31px;
  content: "";
  background: #fff;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.tent-symbol::after {
  position: absolute;
  left: 28px;
  bottom: 5px;
  width: 2px;
  height: 24px;
  content: "";
  background: rgba(210,95,0,.75);
}
.car-symbol {
  position: relative;
  width: 62px;
  height: 42px;
}
.car-symbol::before {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 11px;
  height: 21px;
  content: "";
  background: #fff;
  border-radius: 11px 11px 5px 5px;
  box-shadow: inset 11px -8px 0 rgba(64,136,63,.25), inset -11px -8px 0 rgba(64,136,63,.25);
}
.car-symbol::after {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 10px;
  content: "";
  background:
    radial-gradient(circle, #1c4a25 0 5px, transparent 6px) left center / 14px 10px no-repeat,
    radial-gradient(circle, #1c4a25 0 5px, transparent 6px) right center / 14px 10px no-repeat;
}

/* Flights table: inline scroll menu, and only the action text changes to held. */
.flight-table-shell {
  max-height: 350px;
  overflow: auto;
  background: white;
  border: 1px solid #b8c9df;
}
.flight-row { cursor: pointer; }
.flight-row.held {
  background: linear-gradient(180deg, #2a4f80, #183763);
}
.flight-row.held:hover,
.flight-row.held:focus {
  background: linear-gradient(180deg, #2a4f80, #183763);
}
.flight-row.held td,
.flight-row.held td strong,
.flight-row.held td small {
  color: #f4f8ff;
}
.flight-row.held td em {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.35);
}
.seat-card.locked {
  background: linear-gradient(#e4eefc, #ccdff8);
  border-color: #6f96ca;
}
.seat-grid {
  grid-template-columns: repeat(5, 1fr);
}

/* Responsive fallbacks. */
@media (max-width: 900px) {
  .tp-home-shell,
  .tp-main-topbar,
  .tp-invite-card {
    grid-template-columns: 1fr;
  }
  .tp-search-sidebar {
    order: 1;
  }
  .tp-invite-panel {
    order: 2;
  }
  .travel-window {
    width: min(920px, calc(100vw - 24px));
  }
}


/* =========================================================
   TRAVELPORTAL REDESIGN V6
   XP-era lost intranet / abandoned booking registry.
   Design-only overrides: does not alter Flights, Roskilde, Balkan content.
   ========================================================= */

/* Root TravelPortal window: squarer, denser, more like a forgotten XP line-of-business app */
.travel-window {
  width: min(1040px, calc(100vw - 42px));
  min-height: 640px;
  border-width: 3px;
  border-color: #0751c6;
  box-shadow:
    8px 9px 0 rgba(0, 0, 0, .18),
    14px 18px 38px rgba(0, 0, 0, .36);
}
.travel-window .window-titlebar {
  height: 28px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.22), transparent 26%),
    linear-gradient(#2f8af8 0, #075ed9 48%, #003eaa 49%, #06308e 100%);
  border-bottom: 1px solid #001d72;
}
.travel-content {
  padding: 0;
  background: #d7d3c6;
  border-top: 1px solid rgba(255,255,255,.75);
}

/* Login: old access client instead of marketing card */
.travel-login-screen,
.travel-loader-screen {
  min-height: 594px;
  padding: 34px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 82% 16%, rgba(33,91,166,.28), transparent 20%),
    linear-gradient(135deg, #bdcde1 0%, #f1efe4 45%, #c7d6e9 100%);
}
.tp-login-window {
  position: relative;
  width: 610px;
  margin: 34px auto 0;
  color: #111;
  background: #ece9d8;
  border: 1px solid #284e83;
  box-shadow:
    inset 1px 1px 0 #fff,
    inset -1px -1px 0 #9a9788,
    0 18px 38px rgba(18, 43, 79, .34);
}
.tp-login-window::before {
  position: absolute;
  left: -16px;
  top: 42px;
  bottom: 18px;
  width: 16px;
  content: "";
  background:
    linear-gradient(180deg, #174a8c, #0d2e5f);
  border: 1px solid #09244b;
  box-shadow: inset 1px 0 0 rgba(255,255,255,.35);
}
.tp-login-window::after {
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: rgba(45,61,80,.24);
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 11px;
  content: "ARCHIVE NODE // TPDESK-04";
}
.tp-login-titlebar {
  height: 29px;
  padding: 6px 9px;
  color: #fff;
  font-weight: bold;
  background: linear-gradient(#3a8cff, #0057d9 52%, #003eb3);
  border-bottom: 1px solid #001d72;
  text-shadow: 1px 1px 0 #001e66;
}
.tp-login-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 330px;
  background:
    linear-gradient(90deg, #d7e4f5 0 190px, #ece9d8 190px);
}
.tp-login-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-content: start;
  padding: 26px 20px;
  border-right: 1px solid #aeb8c6;
}
.tp-login-hero h2 {
  margin: 8px 0 6px;
  color: #112f5c;
  font-size: 22px;
  line-height: 1.08;
}
.tp-login-hero p {
  color: #40556f;
  line-height: 1.45;
}
.tp-login-icons {
  position: relative;
  width: 92px;
  height: 68px;
}
.tp-login-window .travel-login-form {
  align-self: start;
  padding: 44px 32px 24px;
  background:
    repeating-linear-gradient(90deg, rgba(60,82,110,.04), rgba(60,82,110,.04) 1px, transparent 1px, transparent 9px),
    #ece9d8;
}
.travel-login-form label {
  color: #1b3150;
  font-size: 12px;
}
.travel-login-form input {
  height: 24px;
  background: #fff;
  border: 1px solid #7f9db9;
  box-shadow: inset 1px 1px 2px rgba(0,0,0,.12);
}
.travel-login-actions {
  border-top: 1px solid #c3beae;
  padding-top: 12px;
}
#travel-login-message {
  color: #8a0000;
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 11px;
}

/* Loader: utility process dialog */
.travel-loader-screen .loader-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  width: 560px;
  max-width: 100%;
  padding: 18px;
  margin: 76px auto 12px;
  background: #ece9d8;
  border: 1px solid #31537d;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #9b9788, 0 14px 30px rgba(0,0,0,.22);
}
.loader-panel h2 {
  color: #18385f;
}
.progress-shell {
  width: min(560px, 100%);
  height: 21px;
  background: #fff;
  border: 1px solid #31537d;
  box-shadow: inset 1px 1px 2px rgba(0,0,0,.18);
}
.progress-bar {
  background:
    repeating-linear-gradient(90deg, #1b67d1 0 10px, #3d8dff 10px 18px),
    linear-gradient(#7bb8ff, #0d5fcc);
}
.loader-log {
  width: min(560px, 100%);
  padding: 10px 10px 10px 28px;
  color: #1f3d1b;
  background: #f8f8ee;
  border: 1px solid #afa98f;
}

/* Browser chrome: old IE/application hybrid */
.travel-browser {
  position: relative;
  min-height: 594px;
  padding-bottom: 24px;
  background: #ece9d8;
}
.browser-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  background: #ece9d8;
  border-bottom: 1px solid #aaa593;
}
.tp-browser-menubar {
  height: 22px;
  padding: 4px 9px;
  color: #111;
  font-size: 12px;
  background: #ece9d8;
  border-bottom: 1px solid #c7c1ae;
}
.tp-browser-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background:
    linear-gradient(#f7f5ec, #e6e1d2);
  border-top: 1px solid #fff;
}
.tp-address-label {
  color: #4c4c4c;
  font-size: 11px;
}
.address-bar {
  height: 25px;
  padding: 4px 8px;
  color: #08254c;
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 12px;
  background: #fff;
  border: 1px solid #7f9db9;
  box-shadow: inset 1px 1px 2px rgba(0,0,0,.16);
}
.tp-go-button {
  display: inline-grid;
  place-items: center;
  height: 23px;
  min-width: 34px;
  color: #063a75;
  font-size: 11px;
  background: linear-gradient(#fff, #dfdccc);
  border: 1px solid #8f8877;
}
.browser-page {
  min-height: 521px;
  max-height: 521px;
  padding: 0;
  background: #f4f6f8;
}
.tp-statusbar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2px;
  height: 24px;
  padding: 2px;
  color: #333;
  font-size: 11px;
  background: #ece9d8;
  border-top: 1px solid #aaa593;
}
.tp-statusbar span {
  padding: 3px 7px;
  background: #f7f4e9;
  border: 1px solid #bcb6a2;
  box-shadow: inset 1px 1px 0 #fff;
}

/* Home dashboard: lost booking registry */
.tp-home-shell {
  position: relative;
  display: grid;
  grid-template-columns: 286px 1fr;
  gap: 0;
  min-height: 521px;
  padding: 0;
  overflow: hidden;
  color: #10233f;
  background:
    linear-gradient(90deg, rgba(255,255,255,.55) 0 286px, rgba(255,255,255,0) 286px),
    repeating-linear-gradient(0deg, rgba(44,70,108,.045) 0 1px, transparent 1px 25px),
    repeating-linear-gradient(90deg, rgba(44,70,108,.035) 0 1px, transparent 1px 25px),
    linear-gradient(135deg, #dce8f7, #f8fafc 45%, #d4e1f0);
  border: 1px solid #9dafc6;
}
.tp-home-shell::before {
  position: absolute;
  left: 285px;
  top: 0;
  bottom: 0;
  width: 1px;
  content: "";
  background: #8ea0bb;
  box-shadow: 1px 0 0 #fff;
}
.tp-home-shell::after {
  position: absolute;
  right: 82px;
  bottom: 36px;
  width: 160px;
  height: 160px;
  content: "";
  opacity: .14;
  background:
    linear-gradient(transparent 48%, #2b5b93 49% 51%, transparent 52%),
    linear-gradient(90deg, transparent 48%, #2b5b93 49% 51%, transparent 52%);
  border: 2px dashed #2b5b93;
  border-radius: 50%;
  pointer-events: none;
}

/* Left rail */
.tp-search-sidebar {
  position: relative;
  z-index: 1;
  padding: 18px 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(232,238,247,.86)),
    repeating-linear-gradient(0deg, rgba(40,63,91,.08) 0 1px, transparent 1px 24px);
  border-right: 1px solid #fff;
  box-shadow: inset -1px 0 0 #9cafc6;
}
.tp-search-sidebar::before {
  display: block;
  margin-bottom: 12px;
  padding: 5px 7px;
  color: #f6fbff;
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 10px;
  letter-spacing: .5px;
  content: "F:\\SUMMER26\\PRIVATE BOOKING FILTER";
  background: linear-gradient(#275d9f, #123e77);
  border: 1px solid #0d2d58;
}
.tp-sidebar-user {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: #f7f9fe;
  border: 1px solid #b5c5d9;
  box-shadow: inset 1px 1px 0 #fff, 2px 2px 0 rgba(48,70,102,.08);
}
.tp-sidebar-user h2 {
  margin: 2px 0 0;
  color: #0d315f;
  font-size: 25px;
  letter-spacing: .2px;
}
.page-kicker {
  color: #345171;
  font-size: 10px;
  letter-spacing: 1px;
}
.tp-user-status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 10px 0 14px;
}
.tp-user-status div {
  padding: 8px 9px;
  background: linear-gradient(#fff, #edf1f6);
  border: 1px solid #b7c3d4;
  box-shadow: inset 1px 1px 0 #fff;
}
.tp-user-status span,
.tp-search-row span,
.tp-top-user-info span {
  display: block;
  color: #53677f;
  font-size: 10px;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.tp-user-status strong,
.tp-search-row strong {
  display: block;
  margin-top: 3px;
  color: #142d4d;
  font-size: 17px;
}

/* Locked search filters */
.tp-search-panel {
  position: relative;
  padding: 11px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.5), rgba(136,145,156,.16)),
    #cfd5dd;
  border: 1px solid #8d9bac;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.78), inset -1px -1px 0 rgba(80,85,94,.18);
}
.tp-search-panel h3 {
  margin: 0 0 10px;
  color: #173a66;
  font-size: 17px;
}
.tp-search-panel h3::after {
  display: block;
  margin-top: 3px;
  color: #6f7d8e;
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 10px;
  font-weight: normal;
  content: "entered / locked";
}
.tp-search-row {
  position: relative;
  margin-bottom: 8px;
  min-height: 54px;
  padding: 8px 38px 7px 10px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.52), rgba(255,255,255,.06)),
    linear-gradient(#e7ebf0, #c8ced7);
  border: 1px solid #9ca7b6;
  box-shadow:
    inset 1px 1px 0 #fff,
    inset -1px -1px 0 rgba(87,96,110,.22);
}
.tp-search-row::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  content: "";
  background: repeating-linear-gradient(0deg, #9ba8b9 0 4px, #cfd6de 4px 8px);
}
.search-glass {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid #526275;
  border-radius: 50%;
  transform: translateY(-60%);
}
.search-glass::after {
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  content: "";
  background: #526275;
  transform: rotate(45deg);
}

/* Main panel */
.tp-invite-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  min-width: 0;
  padding: 14px 46px 20px 18px;
}
.tp-window-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  height: 28px;
  padding: 0 9px;
  color: #f6fbff;
  font-size: 12px;
  font-weight: bold;
  background: linear-gradient(#315f9b, #163e78);
  border: 1px solid #0f315f;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.28);
}
.tp-window-caption em {
  color: #d7e6fb;
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 10px;
  font-style: normal;
  font-weight: normal;
}
.tp-main-topbar {
  display: grid;
  grid-template-columns: 44px 1fr 190px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: linear-gradient(#fbfdff, #e4ebf5);
  border: 1px solid #b0c0d5;
  border-top: 0;
  box-shadow: inset 1px 1px 0 #fff;
}
.tp-faux-address {
  height: 18px;
  background:
    linear-gradient(90deg, #c2ccda, #fff);
  border: 1px solid #b2c0d1;
}
.tp-faux-address::before {
  display: block;
  padding: 2px 6px;
  color: #6b7788;
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 10px;
  content: "registry://pending-invites";
}
.tp-top-user-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1px 7px;
  padding: 7px 9px;
  background: #fffef8;
  border: 1px solid #b9b191;
  box-shadow: inset 1px 1px 0 #fff;
}
.tp-top-user-info strong {
  color: #122f53;
  font-size: 15px;
}
.tp-top-user-info em {
  color: #2e5d2f;
  font-size: 11px;
  font-style: normal;
}
.tp-pending-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 64px;
  padding: 11px 12px;
  background:
    repeating-linear-gradient(90deg, rgba(24,71,130,.04) 0 1px, transparent 1px 8px),
    #f7fbff;
  border: 1px solid #b0c0d5;
  border-top: 0;
}
.tp-pending-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tp-pending-title > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 31px;
  color: #fff;
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 14px;
  font-weight: bold;
  background: #1e5597;
  border: 1px solid #123a69;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.28);
}
.tp-pending-title h3 {
  margin: 0;
  color: #143257;
  font-size: 24px;
  letter-spacing: .2px;
}
.tp-count {
  padding: 6px 10px;
  color: #173f75;
  font-weight: bold;
  background: #fffef6;
  border: 1px solid #b7c3d4;
  box-shadow: 2px 2px 0 rgba(40,70,110,.08);
}

/* Invite rows: registry/file cards instead of posters */
.tp-invite-scroll {
  display: grid;
  grid-auto-rows: 88px;
  gap: 10px;
  min-height: 292px;
  padding: 16px 0 0;
  overflow-y: auto;
}
.tp-invite-card {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr 152px;
  align-items: stretch;
  min-height: 88px;
  padding: 0;
  overflow: hidden;
  color: #132f52;
  text-align: left;
  background:
    linear-gradient(#fff, #eef3fa);
  border: 1px solid #9fb0c7;
  box-shadow: inset 1px 1px 0 #fff, 3px 3px 0 rgba(39,66,102,.08);
}
.tp-invite-card::before {
  position: absolute;
  right: 8px;
  top: 8px;
  color: rgba(35,52,75,.24);
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 10px;
  content: "INVITED";
  border: 1px solid rgba(35,52,75,.20);
  padding: 2px 5px;
  transform: rotate(2deg);
}
.tp-invite-card:hover,
.tp-invite-card:focus {
  outline: none;
  background: linear-gradient(#fff, #dcecff);
  border-color: #386ea9;
  box-shadow: inset 1px 1px 0 #fff, 0 0 0 2px rgba(49,106,197,.18), 3px 3px 0 rgba(39,66,102,.08);
}
.tp-invite-banner {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 100%;
  padding: 10px 11px;
  color: white;
}
.tp-invite-banner span {
  font-size: 35px;
  font-weight: bold;
  line-height: 1;
}
.tp-invite-card > strong {
  align-self: center;
  padding: 0 20px;
  color: #112e52;
  font-size: 25px;
  letter-spacing: .2px;
}
.tp-file-meta {
  align-self: center;
  justify-self: end;
  margin-right: 18px;
  padding: 6px 8px;
  color: #53697f;
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 10px;
  font-style: normal;
  background: #f9f7ee;
  border: 1px solid #c4bea7;
}
.tp-flight-invite .tp-invite-banner {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.28), transparent 18%),
    linear-gradient(135deg, #174e9c, #3c87e8);
}
.tp-roskilde-invite .tp-invite-banner {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.30), transparent 18%),
    linear-gradient(135deg, #b55a00, #f09b22);
}
.tp-balkan-invite .tp-invite-banner {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.24), transparent 18%),
    linear-gradient(135deg, #2f6434, #67a94d);
}

/* Right rail and globe */
.tp-scroll-rail {
  position: absolute;
  right: 17px;
  top: 82px;
  bottom: 72px;
  width: 17px;
  background: #d7dce4;
  border: 1px solid #96a3b4;
  box-shadow: inset 1px 1px 0 #fff;
}
.tp-scroll-rail::before,
.tp-scroll-rail::after {
  position: absolute;
  left: 2px;
  right: 2px;
  height: 20px;
  content: "";
  background: linear-gradient(#fff, #bec8d6);
  border: 1px solid #929dad;
}
.tp-scroll-rail::before { top: 2px; }
.tp-scroll-rail::after { bottom: 2px; }
.tp-scroll-rail span {
  position: absolute;
  left: 2px;
  right: 2px;
  top: 52px;
  height: 82px;
  background: linear-gradient(#f8fbff, #b8c9e2);
  border: 1px solid #8293ab;
}
.tp-earth-corner {
  position: absolute;
  right: 24px;
  bottom: 30px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  opacity: .82;
  background:
    radial-gradient(circle at 35% 32%, rgba(255,255,255,.95), transparent 10%),
    radial-gradient(circle at 66% 60%, #40bd62 0 15%, transparent 16%),
    radial-gradient(circle at 36% 59%, #2c8d58 0 19%, transparent 20%),
    linear-gradient(135deg, #6ab8ff, #0e57a8);
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 0 0 5px rgba(18,70,126,.10), 0 4px 12px rgba(22,64,116,.22);
}
.tp-earth-corner::before {
  position: absolute;
  inset: 10px 5px;
  content: "";
  border-top: 1px solid rgba(255,255,255,.58);
  border-bottom: 1px solid rgba(255,255,255,.58);
  border-radius: 50%;
}
.tp-earth-corner::after {
  position: absolute;
  inset: 5px 20px;
  content: "";
  border-left: 1px solid rgba(255,255,255,.48);
  border-right: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
}

/* CSS symbols refined */
.flight-symbol,
.tent-symbol,
.car-symbol {
  position: relative;
  width: 48px;
  height: 40px;
}
.flight-symbol::before {
  position: absolute;
  inset: 12px 2px;
  content: "";
  background: #fff;
  clip-path: polygon(0 45%, 58% 45%, 58% 0, 73% 0, 73% 45%, 100% 45%, 100% 58%, 73% 58%, 73% 100%, 58% 100%, 58% 58%, 0 58%);
  transform: rotate(-22deg);
}
.tent-symbol::before {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 5px;
  height: 30px;
  content: "";
  background: #fff;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.tent-symbol::after {
  position: absolute;
  left: 23px;
  bottom: 5px;
  width: 2px;
  height: 25px;
  content: "";
  background: rgba(178,85,0,.75);
}
.car-symbol::before {
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 12px;
  height: 18px;
  content: "";
  background: #fff;
  border-radius: 10px 10px 5px 5px;
}
.car-symbol::after {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 7px;
  height: 10px;
  content: "";
  background:
    radial-gradient(circle, #1b3b20 0 5px, transparent 6px) left center / 14px 10px no-repeat,
    radial-gradient(circle, #1b3b20 0 5px, transparent 6px) right center / 14px 10px no-repeat;
}

/* Make child pages keep their existing designs but live inside the new shell cleanly */
.flight-page,
.flight-detail-page,
.orange-page,
.balkan-page,
.balkan-country-page {
  padding: 18px;
  min-height: 521px;
  max-height: 521px;
  background-clip: padding-box;
}

/* Responsive safety */
@media (max-width: 900px) {
  .tp-home-shell,
  .tp-login-body,
  .tp-main-topbar,
  .tp-invite-card {
    grid-template-columns: 1fr;
  }
  .tp-search-sidebar {
    border-right: 0;
    border-bottom: 1px solid #9cafc6;
  }
  .tp-invite-panel {
    padding-right: 18px;
  }
  .tp-scroll-rail,
  .tp-earth-corner,
  .tp-home-shell::after {
    display: none;
  }
  .tp-file-meta {
    justify-self: start;
    margin: 0 0 14px 20px;
  }
}


/* =========================================================
   TRAVELPORTAL V7 TUNING
   Keeps TravelPortal login screen intact. Refines home only.
   ========================================================= */

/* Remove fake scrollbar completely */
.tp-scroll-rail,
.tp-scroll-rail::before,
.tp-scroll-rail::after,
.tp-scroll-rail span {
  display: none !important;
}

/* Left header is no longer user info; user info exists in the main card */
.tp-sidebar-system {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  background:
    linear-gradient(#f8fafc, #e6edf6);
  border: 1px solid #aebccd;
  box-shadow: inset 1px 1px 0 #fff, 2px 2px 0 rgba(48,70,102,.08);
}
.tp-sidebar-system h2 {
  margin: 2px 0 1px;
  color: #17375e;
  font-size: 21px;
  letter-spacing: .1px;
}
.tp-sidebar-system small {
  display: block;
  color: #637286;
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 10px;
}
.tp-folder-stack {
  position: relative;
  width: 42px;
  height: 34px;
  background: linear-gradient(#f7de8a, #d59c32);
  border: 1px solid #8e6a22;
  border-radius: 3px;
  box-shadow: 2px 2px 0 rgba(50,60,75,.14);
}
.tp-folder-stack::before {
  position: absolute;
  left: 4px;
  top: -6px;
  width: 20px;
  height: 8px;
  content: "";
  background: #f4d67d;
  border: 1px solid #8e6a22;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}
.tp-folder-stack::after {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 28px;
  height: 24px;
  content: "";
  background: linear-gradient(#fff, #dce7f4);
  border: 1px solid #8898aa;
  box-shadow: -2px -2px 0 rgba(255,255,255,.55);
}

/* Search rows: smaller, slimmer, less heavy */
.tp-search-panel {
  padding: 9px !important;
}
.tp-search-panel h3 {
  margin-bottom: 8px !important;
  font-size: 15px !important;
}
.tp-search-panel h3::after {
  margin-top: 2px !important;
  font-size: 9px !important;
}
.tp-search-row {
  min-height: 39px !important;
  margin-bottom: 6px !important;
  padding: 5px 31px 5px 9px !important;
  background:
    linear-gradient(90deg, rgba(255,255,255,.46), rgba(255,255,255,.05)),
    linear-gradient(#e5e9ee, #cbd1da) !important;
}
.tp-search-row::before {
  width: 3px !important;
}
.tp-search-row span {
  font-size: 9px !important;
}
.tp-search-row strong {
  margin-top: 1px !important;
  font-size: 14px !important;
}
.tp-search-row .search-glass {
  right: 9px !important;
  width: 12px !important;
  height: 12px !important;
  border-width: 2px !important;
}
.tp-search-row .search-glass::after {
  right: -5px !important;
  bottom: -4px !important;
  width: 7px !important;
}

/* Pending header: remove PI and make it feel like an invitation card by shape/material */
.tp-pending-bar {
  position: relative;
  min-height: 70px;
  padding: 12px 14px 12px 18px !important;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(246,248,251,.88)),
    repeating-linear-gradient(90deg, rgba(104,128,160,.12) 0 1px, transparent 1px 11px);
  border: 1px solid #a9b9ce;
  border-top: 0;
}
.tp-pending-bar::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 15px;
  content: "";
  background:
    repeating-linear-gradient(135deg,
      rgba(47,81,124,.45) 0 8px,
      rgba(255,255,255,.35) 8px 14px,
      rgba(150,92,65,.34) 14px 22px,
      rgba(255,255,255,.35) 22px 28px);
}
.tp-pending-bar::after {
  position: absolute;
  right: 18px;
  top: 10px;
  width: 42px;
  height: 42px;
  content: "";
  opacity: .32;
  border: 2px solid #7b8fa9;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.55);
  transform: rotate(-9deg);
}
.tp-pending-title > span {
  display: none !important;
}
.tp-pending-title h3 {
  color: #1a3659 !important;
  font-size: 23px !important;
}
.tp-count {
  position: relative;
  z-index: 1;
  background: #fbf8ea !important;
  border-color: #b8ad88 !important;
}

/* Invite rows: no numbers, no CSS symbols, no file labels; entire muted bar carries the color */
.tp-invite-panel {
  padding-right: 22px !important;
}
.tp-invite-scroll {
  grid-auto-rows: 76px !important;
  gap: 9px !important;
  min-height: 260px !important;
  padding-top: 14px !important;
}
.tp-invite-card {
  grid-template-columns: 74px 1fr !important;
  min-height: 76px !important;
  border: 1px solid rgba(75, 91, 113, .52) !important;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.58),
    inset -1px -1px 0 rgba(35,42,55,.10),
    3px 3px 0 rgba(39,66,102,.07) !important;
}
.tp-invite-card::before {
  display: none !important;
}
.tp-invite-banner {
  min-height: 100%;
  padding: 0 !important;
  background: transparent !important;
  border-right: 1px solid rgba(40,50,68,.18);
}
.tp-invite-banner span,
.tp-invite-banner i,
.flight-symbol,
.tent-symbol,
.car-symbol,
.tp-file-meta {
  display: none !important;
}
.tp-invite-card > strong {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 0 18px !important;
  color: #132b4c !important;
  font-size: 22px !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}
.tp-flight-invite {
  background:
    linear-gradient(90deg, rgba(47,75,112,.22) 0 74px, rgba(255,255,255,.18) 74px),
    repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 7px, rgba(255,255,255,0) 7px 16px),
    linear-gradient(180deg, #c6d3e4, #9fb3cf) !important;
}
.tp-roskilde-invite {
  background:
    linear-gradient(90deg, rgba(118,80,44,.22) 0 74px, rgba(255,255,255,.18) 74px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #dfc5a1, #c49a69) !important;
}
.tp-balkan-invite {
  background:
    linear-gradient(90deg, rgba(63,89,63,.22) 0 74px, rgba(255,255,255,.18) 74px),
    radial-gradient(circle at 92% 30%, rgba(255,255,255,.24), transparent 18%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.16) 0 1px, transparent 1px 13px),
    linear-gradient(180deg, #c3d1b7, #91ab82) !important;
}
.tp-flight-invite .tp-invite-banner {
  background:
    repeating-linear-gradient(180deg, rgba(31,55,88,.34) 0 7px, rgba(255,255,255,.20) 7px 10px) !important;
}
.tp-roskilde-invite .tp-invite-banner {
  background:
    repeating-linear-gradient(45deg, rgba(105,63,27,.32) 0 8px, rgba(255,255,255,.18) 8px 13px) !important;
}
.tp-balkan-invite .tp-invite-banner {
  background:
    repeating-linear-gradient(135deg, rgba(48,76,48,.32) 0 6px, rgba(255,255,255,.18) 6px 13px) !important;
}

/* Hover stays restrained, not neon */
.tp-invite-card:hover,
.tp-invite-card:focus {
  filter: brightness(1.035);
  border-color: #536d92 !important;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.7),
    0 0 0 2px rgba(49,106,197,.10),
    3px 3px 0 rgba(39,66,102,.08) !important;
}

/* Remove unused responsive references to the deleted rail */
@media (max-width: 900px) {
  .tp-scroll-rail {
    display: none !important;
  }
}


/* =========================================================
   v9 scoped changes: TravelPortal home + Roskilde only
   ========================================================= */

/* Empty bottom margin / less clipped scroll feeling on TravelPortal home only */
#page-home.browser-page {
  padding-bottom: 24px;
}
.tp-home-shell {
  min-height: 452px;
  padding-bottom: 30px;
}
.tp-invite-panel {
  padding-bottom: 16px;
}
.tp-invite-scroll {
  padding-bottom: 32px !important;
  align-content: start;
}

/* Category blocks: centered XP text, subtle pattern over entire block */
.tp-invite-card {
  grid-template-columns: 1fr !important;
  place-items: center;
  min-height: 82px !important;
}
.tp-invite-banner {
  display: none !important;
}
.tp-invite-card > strong {
  display: grid !important;
  place-items: center !important;
  width: 100%;
  min-height: 82px;
  padding: 0 18px !important;
  text-align: center !important;
  font-family: Tahoma, Verdana, "MS Sans Serif", sans-serif;
  font-size: 22px !important;
  font-weight: bold;
  letter-spacing: .15px;
  color: #18304f !important;
  text-shadow: 1px 1px 0 rgba(255,255,255,.65);
}
.tp-flight-invite {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.12) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #dce6f3, #b9c9df 54%, #d7e2ef) !important;
}
.tp-roskilde-invite {
  background:
    radial-gradient(circle at 18px 18px, rgba(255,255,255,.18) 0 1px, transparent 2px) 0 0 / 20px 20px,
    linear-gradient(180deg, #ead8be, #c9ae87 56%, #e6d3b7) !important;
}
.tp-balkan-invite {
  background:
    linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px) 0 0 / 24px 100%,
    linear-gradient(0deg, rgba(255,255,255,.10) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(180deg, #d9e4d2, #b8caac 55%, #d4e0cd) !important;
}

/* Roskilde: access tab removed in HTML; keep layout clean */
.orange-tabs {
  grid-template-columns: repeat(2, 1fr) !important;
}
.orange-tab[data-orange-panel="access"] {
  display: none !important;
}

/* Roskilde lineup: date right, notes removed, three artist/song cards */
.lineup-board-head {
  grid-template-columns: 1fr auto !important;
}
.lineup-board-head > span {
  order: 2;
  min-width: 76px;
  text-align: center;
}
.lineup-board-head > div {
  order: 1;
}
.lineup-board-head small {
  display: block;
  margin-top: 3px;
  color: #9a6228;
  font-size: 11px;
  font-weight: normal;
}
.lineup-meta-strip,
.lineup-row em {
  display: none !important;
}
.lineup-rows {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.lineup-row.artist-highlight-row {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  min-height: 112px;
  padding: 14px 10px;
  text-align: center;
  background:
    radial-gradient(circle at 14% 18%, rgba(255,122,0,.10), transparent 24%),
    linear-gradient(#fffaf4, #ffe8c8);
  border: 1px solid #e5a75f;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.72), 3px 4px 0 rgba(160,90,30,.08);
}
.lineup-row.artist-highlight-row strong {
  color: #3f2106;
  font-size: 21px;
}
.lineup-row.artist-highlight-row .artist-song {
  display: block;
  margin-top: 9px;
  padding: 5px 8px;
  color: #7a4b1c;
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 12px;
  background: rgba(255,255,255,.72);
  border: 1px solid #efc38e;
}

/* Roskilde camp task text */
.camp-task-card strong {
  font-size: 20px;
}


/* =========================================================
   v10 scoped changes: Balkan split rental/country desk only
   ========================================================= */

/* Two-panel Balkan layout: rental left, scrolling country files right. */
.balkan-page {
  padding: 16px;
}
.balkan-split-desk {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(360px, 1.18fr);
  gap: 16px;
  min-height: 486px;
}
.balkan-rental-panel,
.balkan-country-panel {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(239,244,235,.88)),
    linear-gradient(135deg, #f8f1df, #eef5e8);
  border: 1px solid #8fa773;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.82),
    4px 5px 0 rgba(75,93,55,.08);
}
.balkan-rental-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 16px;
  border-left: 7px solid #435f31;
}
.balkan-country-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  padding: 16px;
  overflow: hidden;
  border-left: 7px solid #6c7d4f;
}
.balkan-panel-head {
  padding: 12px 14px;
  background:
    repeating-linear-gradient(90deg, rgba(72,92,55,.055) 0 1px, transparent 1px 9px),
    linear-gradient(#fffdf4, #edf4e5);
  border: 1px solid #b6c89a;
}
.balkan-panel-head h2 {
  margin: 4px 0 6px;
  color: #283f20;
  font-size: 28px;
  line-height: 1;
}
.balkan-panel-head p {
  color: #5d6c53;
  font-size: 12px;
  line-height: 1.4;
}

/* Remove/neutralize route-strip and old top-route layout if stale markup ever remains. */
.balkan-route-strip,
.balkan-index-row {
  display: none !important;
}

/* Country section is now an actual scroll menu. */
.balkan-country-panel .country-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-height: 358px;
  padding: 2px 8px 12px 2px;
  overflow-y: auto;
  scrollbar-color: #7f9368 #dfe8d8;
  scrollbar-width: thin;
}
.balkan-country-panel .country-grid::-webkit-scrollbar {
  width: 12px;
}
.balkan-country-panel .country-grid::-webkit-scrollbar-track {
  background: #dfe8d8;
  border: 1px solid #a9b997;
}
.balkan-country-panel .country-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(#f7fbf2, #8ea576);
  border: 1px solid #6f855d;
}

/* Country blocks: no descriptive info, only code + country name, with country-related colors/patterns. */
.country-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 12px 16px;
  text-align: left;
  color: #243821;
  border: 1px solid #9fb488;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.74),
    3px 3px 0 rgba(72,92,55,.08);
}
.country-card small,
.country-card em {
  display: none !important;
}
.country-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 36px;
  color: #fff;
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 13px;
  font-weight: bold;
  border: 1px solid rgba(0,0,0,.24);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.26);
}
.country-card strong {
  color: #1f3321;
  font-size: 24px;
  letter-spacing: .2px;
}
.country-card::after {
  right: -28px;
  bottom: -34px;
  width: 116px;
  height: 116px;
  opacity: .62;
}

/* Country-specific styling. Patterns are symbolic/subtle rather than literal flags. */
.country-albania {
  background:
    radial-gradient(circle at 86% 50%, rgba(123,28,28,.18), transparent 26%),
    linear-gradient(180deg, #f7e5e1, #e8b8ae);
  border-color: #b77267;
}
.country-albania span { background: #8f2929; }
.country-montenegro {
  background:
    linear-gradient(90deg, rgba(160,123,45,.18) 0 8px, transparent 8px),
    linear-gradient(180deg, #f4ead1, #dcc58a);
  border-color: #b9974f;
}
.country-montenegro span { background: #8b6e26; }
.country-croatia {
  background:
    repeating-linear-gradient(45deg, rgba(160,52,52,.12) 0 8px, rgba(255,255,255,.16) 8px 16px),
    linear-gradient(180deg, #e6edf7, #bacbe5);
  border-color: #7b91b8;
}
.country-croatia span { background: #345b94; }
.country-kosovo {
  background:
    radial-gradient(circle at 82% 42%, rgba(224,174,50,.18), transparent 18%),
    linear-gradient(180deg, #e2e9f3, #aebed8);
  border-color: #7589aa;
}
.country-kosovo span { background: #355785; }
.country-serbia {
  background:
    repeating-linear-gradient(0deg, rgba(120,55,70,.12) 0 10px, rgba(255,255,255,.08) 10px 20px),
    linear-gradient(180deg, #e7e3ef, #c0bfd8);
  border-color: #8180aa;
}
.country-serbia span { background: #514f8e; }
.country-north-macedonia {
  background:
    radial-gradient(circle at 84% 50%, rgba(207,153,33,.22), transparent 22%),
    repeating-linear-gradient(135deg, rgba(187,72,45,.10) 0 10px, transparent 10px 22px),
    linear-gradient(180deg, #f3e0c4, #ddb46d);
  border-color: #bc8c38;
}
.country-north-macedonia span { background: #955730; }

/* Rental panel uses its own side of the split, not the old wide footer desk. */
.balkan-rental-panel .vehicle-grid {
  display: grid;
  gap: 11px;
  align-content: start;
}
.balkan-rental-panel .vehicle-card {
  min-height: 66px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.72), rgba(255,255,255,.20)),
    linear-gradient(#ffffff, #edf5e7);
  border: 1px solid #a9ba96;
}
.balkan-rental-panel #reserve-car-button {
  justify-self: start;
  min-width: 145px;
}

/* Country detail page remains unchanged; this only affects the overview split page. */
@media (max-width: 900px) {
  .balkan-split-desk {
    grid-template-columns: 1fr;
  }
  .balkan-country-panel .country-grid {
    max-height: 300px;
  }
}


/* Requested: hosted icons for TravelPortal category cards */
.tp-invite-card {
  position: relative;
  display: grid !important;
  grid-template-columns: 108px 1fr !important;
  align-items: center !important;
}

.tp-category-icon {
  position: static !important;
  z-index: 2;
  display: block;
  justify-self: center;
  align-self: center;
  object-fit: contain;
  pointer-events: none;
  transform: none !important;
  opacity: .92;
  filter:
    drop-shadow(1px 1px 0 rgba(255,255,255,.55))
    drop-shadow(1px 2px 2px rgba(24,45,72,.18));
}

.tp-flight-icon {
  width: 66px;
  height: 58px;
}

.tp-roskilde-icon {
  width: 82px;
  height: 52px;
}

.tp-balkan-icon {
  width: 86px;
  height: 58px;
}

.tp-invite-card > strong {
  justify-self: center !important;
  align-self: center !important;
  width: 100%;
  padding: 0 108px 0 0 !important;
  text-align: center !important;
}


/* Requested: Balkan country hover keeps block color; only border/ring changes */
.balkan-country-panel .country-card:hover,
.balkan-country-panel .country-card:focus,
.balkan-country-panel .country-card.active {
  outline: none;
  transform: translateY(-1px);
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.74),
    0 0 0 2px rgba(44, 58, 42, .18),
    3px 3px 0 rgba(72,92,55,.08);
}
.balkan-country-panel .country-albania:hover,
.balkan-country-panel .country-albania:focus,
.balkan-country-panel .country-albania.active {
  background:
    radial-gradient(circle at 86% 50%, rgba(123,28,28,.18), transparent 26%),
    linear-gradient(180deg, #f7e5e1, #e8b8ae) !important;
  border-color: #81312c !important;
}
.balkan-country-panel .country-montenegro:hover,
.balkan-country-panel .country-montenegro:focus,
.balkan-country-panel .country-montenegro.active {
  background:
    linear-gradient(90deg, rgba(160,123,45,.18) 0 8px, transparent 8px),
    linear-gradient(180deg, #f4ead1, #dcc58a) !important;
  border-color: #806326 !important;
}
.balkan-country-panel .country-croatia:hover,
.balkan-country-panel .country-croatia:focus,
.balkan-country-panel .country-croatia.active {
  background:
    repeating-linear-gradient(45deg, rgba(160,52,52,.12) 0 8px, rgba(255,255,255,.16) 8px 16px),
    linear-gradient(180deg, #e6edf7, #bacbe5) !important;
  border-color: #405f95 !important;
}
.balkan-country-panel .country-kosovo:hover,
.balkan-country-panel .country-kosovo:focus,
.balkan-country-panel .country-kosovo.active {
  background:
    radial-gradient(circle at 82% 42%, rgba(224,174,50,.18), transparent 18%),
    linear-gradient(180deg, #e2e9f3, #aebed8) !important;
  border-color: #3b557e !important;
}
.balkan-country-panel .country-serbia:hover,
.balkan-country-panel .country-serbia:focus,
.balkan-country-panel .country-serbia.active {
  background:
    repeating-linear-gradient(0deg, rgba(120,55,70,.12) 0 10px, rgba(255,255,255,.08) 10px 20px),
    linear-gradient(180deg, #e7e3ef, #c0bfd8) !important;
  border-color: #514f82 !important;
}
.balkan-country-panel .country-north-macedonia:hover,
.balkan-country-panel .country-north-macedonia:focus,
.balkan-country-panel .country-north-macedonia.active {
  background:
    radial-gradient(circle at 84% 50%, rgba(207,153,33,.22), transparent 22%),
    repeating-linear-gradient(135deg, rgba(187,72,45,.10) 0 10px, transparent 10px 22px),
    linear-gradient(180deg, #f3e0c4, #ddb46d) !important;
  border-color: #8a5a21 !important;
}

/* Requested: short non-bold italic food description under dish */
#country-dish span {
  display: block;
}
#country-dish em {
  display: block;
  margin-top: 5px;
  color: #60705a;
  font-size: 11px;
  font-style: italic;
  font-weight: normal;
  line-height: 1.35;
}


/* Requested: AM/PM clock, date, and 25/05/2026 birthday reminder */
#clock {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  min-width: 112px;
  height: 100%;
  padding: 0 12px;
  color: white;
  font-size: 12px;
  line-height: 1.05;
  background: rgba(0,0,0,.08);
  border-left: 1px solid rgba(255,255,255,.25);
}

.clock-time,
.clock-date {
  display: block;
  text-align: center;
  white-space: nowrap;
}

.clock-time {
  font-weight: bold;
}

.clock-date {
  font-size: 10px;
  opacity: .92;
}

#birthday-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: rgba(4, 22, 58, .18);
}

#birthday-popup {
  width: 360px;
  color: #111;
  background: #ece9d8;
  border: 3px solid #0054e3;
  border-radius: 8px 8px 3px 3px;
  box-shadow: 8px 10px 28px rgba(0,0,0,.38);
}

.birthday-titlebar {
  height: 29px;
  padding: 6px 8px 6px 10px;
  color: white;
  font-weight: bold;
  background: linear-gradient(#3a8cff, #0057d9 52%, #003eb3);
  border-radius: 4px 4px 0 0;
  text-shadow: 1px 1px 1px rgba(0,0,0,.45);
}

.birthday-body {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 18px;
  align-items: start;
}

.birthday-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 31px;
  background: #fff;
  border: 1px solid #9d9d9d;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.8);
}

.birthday-body h2 {
  margin: 0 0 7px;
  color: #1b3457;
  font-size: 22px;
}

.birthday-body p {
  margin: 0 0 15px;
  color: #333;
}

#birthday-thank-you {
  min-width: 84px;
  height: 25px;
  padding: 1px 12px;
  color: #111;
  background: linear-gradient(#fff, #e7e7dc);
  border: 1px solid #003c74;
  border-radius: 2px;
}

#birthday-thank-you:hover,
#birthday-thank-you:focus {
  border-color: #245edb;
  outline: none;
}

.birthday-nudge {
  animation: birthday-nudge .22s ease;
}

@keyframes birthday-nudge {
  0% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  50% { transform: translateX(8px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}



/* =========================================================
   BOOTSY FIREWALL INSTALLER / STATUS WINDOW
   ========================================================= */
.desktop-bootsy-installer-icon,
.desktop-bootsy-firewall-icon {
  position: absolute !important;
  top: 109px !important;
  right: 22px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 4 !important;
}

.installer-icon {
  position: relative;
  background: linear-gradient(#eeeeee, #a9a9a9);
  border: 1px solid #4e4e4e;
  border-radius: 4px;
}
.installer-icon::before {
  position: absolute;
  top: 6px;
  right: 7px;
  left: 7px;
  height: 4px;
  content: "";
  background: #003399;
  box-shadow: 0 8px 0 #003399, 0 16px 0 #003399;
}
.installer-icon::after {
  position: absolute;
  right: -5px;
  bottom: -5px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #102f00;
  font-size: 15px;
  font-weight: bold;
  content: "+";
  text-shadow: none;
  background: linear-gradient(#d7ffb7, #62b72f);
  border: 1px solid #2d6f11;
  border-radius: 50%;
}

.firewall-icon {
  position: relative;
  background: linear-gradient(#bfe7ff, #2e72c6 70%, #19407a);
  clip-path: polygon(50% 0, 91% 15%, 84% 72%, 50% 100%, 16% 72%, 9% 15%);
  border: 0;
}
.firewall-icon::after {
  position: absolute;
  inset: 8px 13px 10px;
  content: "";
  background: linear-gradient(#fff8c6, #e6a930);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.bootsy-wizard-window {
  width: min(520px, calc(100vw - 34px));
  min-height: 355px;
}
.bootsy-wizard-shell {
  color: #111;
  background: #ece9d8;
  border-top: 1px solid rgba(255,255,255,.55);
}
.bootsy-wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 13px 16px;
  background: linear-gradient(#ffffff, #e5e5d8);
  border-bottom: 1px solid #b7b4a8;
}
.bootsy-wizard-header h1 {
  margin: 0 0 3px;
  color: #111;
  font-size: 18px;
}
.bootsy-wizard-header p {
  color: #555;
  font-size: 12px;
}
.bootsy-mascot {
  position: relative;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  background: linear-gradient(#dff3ff, #4f8ed1);
  border: 1px solid #6b7f9d;
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.45);
}
.bootsy-mascot::before {
  position: absolute;
  left: 9px;
  top: 9px;
  width: 13px;
  height: 13px;
  content: "";
  background: #111;
  border-radius: 50%;
  box-shadow: 21px 0 0 #111;
}
.bootsy-mascot::after {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 8px;
  content: "";
  border-bottom: 2px solid #111;
  border-radius: 50%;
}
.bootsy-wizard-body {
  min-height: 190px;
  padding: 18px 20px;
  background: #ece9d8;
}
.bootsy-step { display: none; }
.bootsy-step.active { display: block; }
.bootsy-step h2 {
  margin: 0 0 14px;
  color: #111;
  font-size: 16px;
}
.bootsy-step p {
  margin: 0 0 10px;
  max-width: 410px;
  color: #222;
  line-height: 1.45;
}
.bootsy-install-lines {
  display: grid;
  gap: 9px;
  min-height: 116px;
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 12px;
}
.bootsy-install-lines p {
  margin: 0;
  color: #777;
}
.bootsy-install-lines p.active {
  color: #111;
}
.bootsy-install-lines p.active::before {
  content: "> ";
}
.bootsy-progress-shell {
  height: 18px;
  padding: 2px;
  background: #fff;
  border: 1px solid #7f9db9;
}
.bootsy-progress-bar {
  width: 0;
  height: 100%;
  background: repeating-linear-gradient(90deg, #2f7de1, #2f7de1 9px, #79b5ff 9px, #79b5ff 18px);
  transition: width .42s linear;
}
.bootsy-wizard-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  padding: 10px 12px 12px;
  background: #ece9d8;
  border-top: 1px solid #c6c3b5;
}
#bootsy-quit-button {
  margin-right: auto;
}
.bootsy-wizard-buttons button,
.bootsy-firewall-body button {
  min-width: 76px;
  height: 24px;
  padding: 1px 10px;
  color: #111;
  background: linear-gradient(#fff, #e7e7dc);
  border: 1px solid #003c74;
  border-radius: 2px;
}
.bootsy-wizard-buttons button:hover,
.bootsy-firewall-body button:hover {
  border-color: #245edb;
}
.bootsy-wizard-buttons button:disabled {
  color: #777;
  cursor: default;
  background: #e6e3d3;
  border-color: #9d9d9d;
}

.bootsy-firewall-window {
  width: min(310px, calc(100vw - 34px));
  min-height: 185px;
}
.bootsy-firewall-body {
  padding: 18px;
  color: #111;
  background: #ece9d8;
}
.bootsy-firewall-body h2 {
  margin: 0 0 16px;
  font-size: 16px;
  letter-spacing: .4px;
}
.bootsy-firewall-body p {
  margin: 0 0 8px;
}
.bootsy-firewall-body button {
  margin-top: 12px;
}

@media (max-width: 700px) {
  .desktop-bootsy-installer-icon,
  .desktop-bootsy-firewall-icon {
    top: 99px !important;
    right: 12px !important;
  }
}

/* =========================================================
   HELP AND TRANSLATION PACK
   ========================================================= */
.pkg-file-icon {
  background: linear-gradient(#fefefe, #d7d7d7);
  border: 1px solid #777;
  box-shadow: 2px 2px 0 #c7c7c7;
}
.pkg-file-icon::before {
  position: absolute;
  top: 7px;
  left: 6px;
  right: 6px;
  height: 4px;
  content: "";
  background: #326ac4;
  box-shadow: 0 8px 0 #d89022, 0 16px 0 #326ac4;
}
.pkg-file-icon::after {
  position: absolute;
  right: 3px;
  bottom: 3px;
  color: #333;
  font-size: 8px;
  font-weight: bold;
  content: "PKG";
}

.help-pack-content {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  min-height: 370px;
  color: #111;
  background: #fff;
  border-top: 1px solid #c4d4e8;
}
.help-pack-sidebar {
  padding: 12px;
  background: linear-gradient(#eef6ff, #d6e7fb);
  border-right: 1px solid #9dbde3;
}
.help-sidebar-title {
  margin-bottom: 10px;
  padding: 7px 8px;
  color: #163d72;
  font-size: 12px;
  font-weight: bold;
  background: #fff;
  border: 1px solid #b6c8de;
}
.help-pack-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  align-items: center;
  width: 100%;
  padding: 8px;
  color: #111;
  text-align: left;
  background: linear-gradient(#ffffff, #f1f6ff);
  border: 1px solid #8faad0;
}
.help-pack-card:hover,
.help-pack-card:focus,
.help-pack-card.selected {
  outline: none;
  background: #dcebff;
  border-color: #316ac5;
  box-shadow: inset 0 0 0 1px #ffffff;
}
.help-pack-card.selected {
  background: linear-gradient(#dcebff, #c7ddfb);
}
.help-pack-card strong,
.help-pack-card small {
  display: block;
}
.help-pack-card strong {
  color: #103a75;
  font-size: 12px;
  line-height: 1.25;
}
.help-pack-card small {
  margin-top: 3px;
  color: #556b86;
  font-size: 11px;
}
.help-pack-card-icon {
  position: relative;
  width: 30px;
  height: 34px;
  background: linear-gradient(#fff, #dcecff);
  border: 1px solid #6d8bb3;
  box-shadow: 1px 1px 0 #b9c9dd;
}
.help-pack-card-icon::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #1b58a8;
  font-size: 15px;
  font-weight: bold;
  content: "?";
}
.help-pack-main {
  min-width: 0;
  padding: 14px 16px;
  background: linear-gradient(#ffffff, #f7fbff);
}
.help-pack-list h3,
.help-pack-loader h3,
.help-pack-results h3 {
  margin: 0 0 10px;
  color: #1d3f70;
  font-size: 17px;
}
.help-pack-list p,
.help-pack-loader p {
  margin: 0 0 10px;
  color: #40556f;
}
.help-pack-loader {
  max-width: 430px;
  padding: 12px;
  background: #f6f4ea;
  border: 1px solid #c7c2b1;
}
.help-pack-progress-shell {
  height: 18px;
  padding: 2px;
  margin: 10px 0;
  background: white;
  border: 1px solid #7f9db9;
}
.help-pack-progress-bar {
  width: 0;
  height: 100%;
  background: repeating-linear-gradient(90deg, #2f7de1, #2f7de1 9px, #79b5ff 9px, #79b5ff 18px);
  transition: width .35s linear;
}
.help-pack-loader-sub {
  font-family: "Lucida Console", Consolas, monospace;
  font-size: 12px;
}
.help-pack-results {
  max-height: 336px;
  overflow-y: auto;
  padding-right: 4px;
}
.idiom-entry-grid {
  display: grid;
  gap: 10px;
}
.idiom-entry {
  padding: 10px 11px;
  background: #fff;
  border: 1px solid #b7c8de;
  box-shadow: inset 0 0 0 1px #f3f8ff;
}
.idiom-entry h4 {
  margin: 0 0 8px;
  color: #000;
  font-size: 14px;
  font-style: italic;
  text-align: center;
}
.idiom-entry dl {
  display: grid;
  gap: 4px;
  margin: 0;
}
.idiom-entry dl div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 8px;
}
.idiom-entry dt {
  color: #4f6380;
  font-weight: bold;
}
.idiom-entry dd {
  margin: 0;
  color: #111;
}

@media (max-width: 700px) {
  .help-pack-content {
    grid-template-columns: 1fr;
  }
  .help-pack-sidebar {
    border-right: 0;
    border-bottom: 1px solid #9dbde3;
  }
  .idiom-entry dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
