:root {
  --bg:#f7f9fc;
  --card:#ffffff;
  --muted:#646f7a;
  --text:#0b1220;
  --accent:#0d6efd;
  --glass-border: rgba(13,110,253,0.06);
}

@media (prefers-color-scheme: dark){
  :root {
    --bg: linear-gradient(180deg,#071018 0%, #071217 100%);
    --card: rgba(18,20,22,0.6);
    --muted:#9aa3ab;
    --text:#e6eef6;
    --accent:#4ea1ff;
    --glass-border: rgba(255,255,255,0.04);
  }
}

html,body {height:100%;}
body {
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.wrap { width:100%; max-width:980px; }

.glass-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.6));
  border-radius:14px;
  padding:26px;
  box-shadow: 0 10px 40px rgba(6,24,44,0.12);
  border:1px solid var(--glass-border);
  backdrop-filter: blur(6px) saturate(120%);
  transition: transform .18s ease, box-shadow .18s ease;
}
@media (prefers-color-scheme: dark){
  .glass-card { background: var(--card); }
}
.glass-card:hover { transform: translateY(-4px); box-shadow: 0 16px 50px rgba(6,24,44,0.2); }

.brand-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:6px; }
.brand { display:flex; align-items:center; gap:12px; font-weight:700; }
.logo-circle {
  width:48px; height:48px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg,var(--accent), #6ea6ff);
  color:white; font-weight:700;
}
.title { font-size:1.25rem; }
.subtitle { color:var(--muted); font-size:.95rem; margin-top:3px; }

.search-box { display:flex; gap:10px; align-items:center; }
.search-input {
  flex:1; min-height:56px; border-radius:999px; padding:14px 18px;
  border:1px solid rgba(6,24,44,0.06);
  background:transparent; color:var(--text);
}
.btn-search {
  min-width:110px; padding:12px 16px; border-radius:999px; font-weight:600;
  background: linear-gradient(90deg,var(--accent), #67a8ff); border:none; color:white;
}
.file-dropdown .dropdown-toggle {
  height:56px; border-radius:12px; background:transparent;
  border:1px solid rgba(6,24,44,0.06); padding:10px 12px;
  display:flex; align-items:center; gap:8px; color:var(--text);
}
.file-dropdown .dropdown-menu { max-height:320px; overflow:auto; }

.helper { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-top:10px; color:var(--muted); font-size:.92rem; }
footer { margin-top:18px; text-align:center; color:var(--muted); font-size:0.9rem; }
.accent-link { color:var(--accent); font-weight:600; text-decoration:none; }

@media (max-width:720px){
  .brand-row{ flex-direction:column; align-items:flex-start; gap:8px; }
  .search-box{ flex-direction:column; align-items:stretch; }
  .btn-search{ width:100%; border-radius:12px; }
  .file-dropdown .dropdown-toggle{ width:100%; }
}

.bi { margin-right:8px; }
