:root{
  --bg:#f4f8fc;
  --card:#ffffff;
  --card-2:#f9fbff;
  --ink:#0f172a;          /* deep navy */
  --ink-2:#334155;        /* softer */
  --brand:#0d3b66;        /* button bg */
  --brand-2:#124a80;      /* button hover */
  --accent:#0b3e5f;
  --ring:#e7eef7;
  --border:#dbe7f5;
  --border-2:#e2e8f0;
  --border-soft:#f0f4f8;
  --surface-2:#eef4fb;
  --surface-3:#f5f9fc;
  --surface-4:#f0f9ff;
  --surface-5:#e0eeff;
  --shadow:0 8px 24px rgba(16,24,40,.08), 0 2px 8px rgba(16,24,40,.06);
  --radius:18px;
  --glow: radial-gradient(120% 120% at 10% 10%, rgba(13,59,102,.14), transparent 40%),
          radial-gradient(140% 120% at 90% 0%, rgba(18,74,128,.12), transparent 45%),
          radial-gradient(110% 120% at 50% 120%, rgba(12,53,92,.1), transparent 40%);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font:16px/1.5 ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--ink);
  background:var(--bg);
  background-image: var(--glow);
}

html[data-theme="dark"]{
  --bg:#0b1220;
  --card:#0f172a;
  --card-2:#111827;
  --ink:#e2e8f0;
  --ink-2:#94a3b8;
  --brand:#60a5fa;
  --brand-2:#3b82f6;
  --accent:#60a5fa;
  --ring:#1f2937;
  --border:#1f2937;
  --border-2:#334155;
  --border-soft:#1f2937;
  --surface-2:#111827;
  --surface-3:#0b1324;
  --surface-4:#0b1b2f;
  --surface-5:#0f243b;
  --glow: radial-gradient(120% 120% at 10% 10%, rgba(96,165,250,.08), transparent 40%),
          radial-gradient(140% 120% at 90% 0%, rgba(59,130,246,.08), transparent 45%),
          radial-gradient(110% 120% at 50% 120%, rgba(29,78,216,.07), transparent 40%);
}

.page{min-height:100%; display:flex; flex-direction:column;}
.topbar{
  height:56px; display:flex; align-items:center; justify-content:flex-end;
  padding:0 24px; color:var(--ink-2);
}
.theme-toggle-fab{
  position:absolute;
  right:24px;
  bottom:24px;
  width:21px; height:21px; border-radius:6px;
  border:1px solid var(--brand);
  background:var(--brand);
  color:#fff;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
  font-size:10px; line-height:1;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:.15s ease;
  box-shadow:0 8px 20px rgba(15,23,42,.18);
  z-index:50;
  visibility:visible;
  opacity:1;
  pointer-events:auto;
}
.theme-toggle-fab:hover{filter:brightness(.98)}
.theme-toggle-fab:focus-visible{outline:2px solid var(--brand); outline-offset:2px}
.brand-small{font-weight:600; letter-spacing:.02em}
.link{color:#3b82f6; text-decoration:none}
.link:hover{text-decoration:underline}

.brand-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between; /* right-justify logo */
  gap:16px;
  margin-bottom:10px
}
.brand-logo{
  width:96px; height:96px; border-radius:16px; flex-shrink:0;
  background: #fff url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAP8AAABJCAYAAADym/CiAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAscSURBVHhe7ZyxyjU7FYbPpdh7E1Zega1wWktrC630BtTCQrGwEdRGEKsDR0GwEhErQQRBUAtF+08e+V95XSfJJJlk/tln1gOLb++ZZCWZyZPM3vs/54O3JEkeScqfJA8l5U+Sh5LyJ8lDSfmT5KGk/EnyUFL+JHkoKX9ya777s1+9/f2f/373LllJyp/cmpR/Hyl/cmtS/n2k/MmtSfn3kfIntybl30fKn9yaGfn/9o9/NaNEqVwpjugp15PnClL+5NaMyv/jX/zm7Yvf+H4zvvPTX35CwI9/+4di2RgtyEsZ+lCDdinz+z/95d2R90fKn9yaGfm//O0fvXv3SZCO84jqSH7Oa/cuRQ3OUf/rP/j5f//Wyqpcyp8kB6yWH/R04IJK/pbgLZBe7fK3tvun/EmTP/75r28f/fp3/wveE09kl/yxzBn5JTQ5oLS4iJeSn0n3vZ989H9x5US8on3PjWxXQ7sffuWb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x8pf3JrUv59pPxJ8lBS/iR5KCl/kjyUlD9JHkrKnyQPJeVPkoeS8ifJQ0n5k+ShpPxJ8lBS/iR5KCl/kjyUlD9JHsnb238AZ/2NQGJOH2UAAAAASUVORK5CYII=') center/contain no-repeat;
  box-shadow:0 8px 20px rgba(0,0,0,.1);
}

.main{padding:24px; display:flex; justify-content:center}
.card{
  width:100%; max-width:1240px; background:var(--card); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:44px 48px;
  border:1px solid var(--ring);
  position:relative;
  overflow:hidden;
  background:var(--card);
}
.card.card-xl{max-width:1100px; padding:44px 48px}

.card::before{
  content:"";
  position:absolute;
  inset:-20% auto auto -10%;
  width:32%; height:60%;
  background:radial-gradient(circle at 30% 30%, rgba(13,59,102,.12), transparent 60%);
  filter:blur(0px);
  pointer-events:none;
}

.eyebrow{
  font-size:14px; font-weight:700; color:var(--ink-2); letter-spacing:.12em;
  text-transform:uppercase; margin-bottom:8px;
}
.title{
  font-size:44px; line-height:1.15; margin:6px 0 10px; font-weight:800; letter-spacing:.01em;
}
.title.big{font-size:54px}
.title{color:var(--brand);}

.tag-row{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px}
.pill-tag{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px; font-weight:700; letter-spacing:.04em;
  text-transform:uppercase; font-size:12px; color:var(--brand); background:rgba(13,59,102,.08);
  border:1px solid rgba(13,59,102,.14);
}
.pill-tag.ghost{color:var(--ink-2); background:rgba(255,255,255,.7); border-color:var(--ring)}

.lede{color:var(--ink-2); font-size:18px; margin:8px 0 20px; max-width:720px}

.muted{color:var(--ink-2); margin:0 0 20px}
.footnote{color:var(--ink-2); margin-top:20px; font-size:13px}

.actions-row{display:flex; gap:14px; flex-wrap:wrap; margin:12px 0 4px}
.actions-row .btn{height:52px; padding:0 22px; font-size:16px}
.meta{color:var(--ink-2); font-size:14px; align-self:center}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:48px; padding:0 18px; border-radius:12px; font-weight:700;
  text-decoration:none; border:1px solid transparent; transition:.15s ease;
}
.btn-primary{background:var(--brand); color:#fff;}
.btn-primary:hover{background:var(--brand-2)}
.btn-secondary{
  background:var(--surface-2); color:var(--ink); border-color:var(--border);
}
.btn-secondary:hover{filter:brightness(.98)}

.logo-row{display:grid; grid-template-columns:auto 1fr; gap:24px; align-items:end}
.logo{
  font-weight:900; letter-spacing:.06em; color:var(--ink); white-space:nowrap;
}
.logo span{font-weight:700}

.section-title{
  font-size:22px; margin:28px 0 14px; color:var(--ink); font-weight:800;
}

.grid{
  display:grid; grid-template-columns:1fr; gap:18px;
}
@media (min-width:900px){
  .grid{grid-template-columns:1fr 1fr}
}

.feature-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; margin-top:22px}
.feature{display:flex; gap:12px; padding:12px 14px; border:1px solid var(--ring); border-radius:12px; background:var(--surface-2)}
.dot{width:10px; height:10px; border-radius:50%; background:var(--brand)}
.feature-title{font-weight:700; color:var(--ink)}
.feature-text{color:var(--ink-2); font-size:14px}

.pill{
  display:flex; align-items:center; justify-content:center;
  background:#0f2940; color:#fff; text-decoration:none;
  border-radius:16px; height:80px; font-size:22px; font-weight:800;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
  transition:transform .08s ease, box-shadow .15s ease;
}
.pill:hover{transform:translateY(-1px); box-shadow:0 8px 20px rgba(0,0,0,.12)}
.welcome{margin-top:6px}

/* Form Styles */
.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 15px;
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  background: var(--card);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.1);
}

.form-control[multiple] {
  height: auto;
  min-height: 350px; /* much taller for better scrolling */
  padding: 8px 12px;
}

.employee-list {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 4px;
  list-style: none;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  max-height: 280px;
  overflow-y: auto;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  display: none;
  z-index: 1000;
}

.employee-list.active {
  display: block;
}

.employee-list li {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
  color: var(--ink);
  transition: background-color 0.15s ease;
}

.employee-list li:last-child {
  border-bottom: none;
}

.employee-list li:hover {
  background: var(--surface-3);
  color: var(--brand);
}

#employee {
  display: none;
}

.notice-red {
  color: #b91c1c;
  font-weight: 700;
  margin: 0 0 12px;
}

.access-permissions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.access-group {
  display: flex;
  flex-direction: column;
}

.access-group label {
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 15px;
}

.dual-list-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.dual-list-pane {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 300px;
  position: relative;
}

/* S Drive specific - allow overflow for tooltip but keep scrolling */
#sDriveAvailable,
#sDriveSelected {
  overflow-y: auto !important;
  overflow-x: visible !important;
}

.dual-list-search {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  background: var(--card-2);
}

.dual-list-search:focus {
  outline: none;
  background: var(--card);
}

.dual-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  overflow-x: visible; /* Allow horizontal overflow for tooltip */
  flex: 1;
}

.dual-list li {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-soft);
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
  transition: background-color 0.15s ease;
  user-select: none;
  position: relative;
}

.dual-list li:hover {
  background: var(--surface-3);
}

.dual-list li.selected {
  background: rgba(13, 59, 102, 0.1);
  color: var(--brand);
  font-weight: 500;
}

.dual-list.selected li {
  background: var(--card);
}

.dual-list.selected li:hover {
  background: #ffe5e5;
}

.dual-list-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-add, .btn-remove {
  padding: 10px 8px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-add:hover {
  background: var(--brand-2);
}

.btn-remove {
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-remove:hover {
  filter: brightness(.98);
}

.group-tooltip {
  position: fixed; /* Changed from absolute to fixed */
  left: auto;
  top: auto;
  transform: none;
  background: var(--brand);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  white-space: normal;
  word-wrap: break-word;
  margin-left: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999; /* Higher z-index */
  max-width: 250px;
  min-width: 200px;
  pointer-events: none; /* Don't interfere with mouse events */
}

.group-tooltip strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

/* Required field indicator */
.required {
  color: #b91c1c;
  font-weight: 600;
}

/* Center card layout */
.card.card-center {
  text-align: center;
}

/* Success icon circle */
.success-icon {
  width: 64px;
  height: 64px;
  background: #10b981;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Info box styling */
.info-box {
  background: var(--surface-4);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.info-box h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px 0;
}

.info-box ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
  line-height: 1.6;
}

.info-box li {
  margin-bottom: 8px;
}

.info-box strong {
  color: var(--ink);
  font-weight: 600;
}

/* Actions row center alignment */
.actions-row.center {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Dropdown styling for country/employee selectors */
.country-selector-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.country-search-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-2);
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: var(--card);
}

.country-search-input:focus {
  outline: none;
  border-color: #0d3b66;
  box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.1);
}

.country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.country-dropdown.active {
  display: block;
}

.country-option {
  padding: 0.75rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border-soft);
  transition: background-color 0.2s;
}

.country-option:hover {
  background-color: var(--surface-3);
}

.country-option.highlighted {
  background-color: var(--surface-5);
  color: var(--brand);
}

.country-option.selected {
  background-color: var(--surface-5);
  color: var(--brand);
  font-weight: 500;
}

.country-selected-display {
  padding: 0.5rem 0.75rem;
  background-color: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 0.375rem;
  font-size: 0.9rem;
  color: var(--ink-2);
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* User menu styling */
.user-menu-wrap {
  position: relative;
  display: inline-block;
}

.user-menu-trigger {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: #3b82f6;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 500;
  font: inherit;
}

.user-menu-trigger:hover {
  color: #2563eb;
  text-decoration: none;
}

.user-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 180px;
  margin-top: 8px;
}

.user-dropdown.show {
  display: block;
}

.user-menu-item {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--border-soft);
  transition: background-color 0.15s ease;
}

.user-menu-item:last-child {
  border-bottom: none;
}

.user-menu-item:hover {
  background-color: var(--surface-3);
  color: var(--brand);
}

/* Button grid for dashboard */
.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 30px 0;
}

.btn-large {
  padding: 20px;
  font-size: 16px;
  text-align: center;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Textarea styles */
.form-control[type="textarea"],
textarea.form-control {
  height: auto;
  padding: 12px;
  min-height: 100px;
}

/* Form section divider */
.form-divider {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-2);
}

.form-divider p {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mb-24 {
  margin-bottom: 24px;
}

.mt-8 {
  margin-top: 8px;
}

.mt-12 {
  margin-top: 12px;
}
