/* ===================================================================
   Tema: Futurista — Preto + Vermelho Queimado + Glassmorphism
   =================================================================== */
:root {
  --bg: #070507;
  --bg-2: #10090b;
  --bg-card: rgba(24, 10, 13, 0.62);
  --bg-input: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.09);
  --border-bright: rgba(255, 58, 75, 0.35);
  --text: #f4f2f5;
  --text-dim: #a8a0a6;

  --ember: #d6102a;          /* vermelho queimado (base) */
  --ember-hot: #ff3a4b;      /* brilho vivo */
  --ember-deep: #7c0a12;     /* vermelho profundo */
  --ember-dark: #430308;     /* quase preto avermelhado */

  --red-glow: rgba(255, 58, 75, 0.55);
  --red-glow-soft: rgba(214, 16, 42, 0.35);

  --success: #2ed573;
  --warning: #ffb020;
  --danger: #ff4d5e;
  --cyan: #00d0d0;

  --radius: 18px;
  --grad-red: linear-gradient(135deg, #ff3a4b 0%, #d6102a 38%, #a30d1d 68%, #5e0609 100%);
  --grad-glass: linear-gradient(160deg, rgba(255, 58, 75, 0.16), rgba(20, 8, 10, 0.5));
  --font-display: 'Orbitron', 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: rgba(214, 16, 42, 0.6); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0708; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--ember), var(--ember-deep)); border-radius: 8px; border: 2px solid #0a0708; }
::-webkit-scrollbar-thumb:hover { background: var(--ember-hot); }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 620px at 50% -12%, rgba(214, 16, 42, 0.12), transparent 62%),
    var(--bg);
  background-attachment: fixed;
}

/* Orbes de luz animados no fundo */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  z-index: -1;
  pointer-events: none;
}
body::before {
  width: 560px; height: 560px;
  top: -180px; right: -140px;
  background: radial-gradient(circle, rgba(255, 58, 75, 0.5), transparent 64%);
  animation: drift1 18s ease-in-out infinite alternate;
}
body::after {
  width: 520px; height: 520px;
  bottom: -200px; left: -160px;
  background: radial-gradient(circle, rgba(163, 13, 29, 0.55), transparent 64%);
  animation: drift2 24s ease-in-out infinite alternate;
}
@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-90px, 70px) scale(1.18); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(80px, -60px) scale(1); }
}

.container { max-width: 1040px; margin: 0 auto; padding: 0 22px; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 5, 7, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--grad-red);
  box-shadow: 0 0 18px var(--red-glow), 0 0 40px rgba(214, 16, 42, 0.6);
  animation: linhaGlow 6s ease-in-out infinite;
}
@keyframes linhaGlow {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; filter: brightness(1.25); }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo img {
  width: 62px; height: 62px;
  filter: drop-shadow(0 0 14px var(--red-glow)) drop-shadow(0 0 30px rgba(214, 16, 42, 0.35));
}
.logo h1 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: linear-gradient(120deg, #fff 20%, #ff7a8a 60%, var(--ember-hot));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Avatar (somente site de solicitações) */
.avatar-wrap { position: relative; margin-bottom: 14px; }
.avatar-wrap img {
  width: 178px; height: 178px;
  border-radius: 50%;
  border: 2px solid rgba(255, 58, 75, 0.55);
  box-shadow: 0 0 34px var(--red-glow-soft), 0 0 80px rgba(214, 16, 42, 0.35), inset 0 0 18px rgba(0, 0, 0, 0.6);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.avatar-wrap img:hover { transform: scale(1.06); box-shadow: 0 0 50px var(--red-glow), 0 0 110px rgba(214, 16, 42, 0.55); }
.avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 0deg, transparent 0%, var(--ember-hot) 20%, transparent 45%, var(--ember) 70%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: spin 14s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.user-label { color: var(--text-dim); font-size: 14px; }

/* ===== CARDS ===== */
.card {
  position: relative;
  background: linear-gradient(165deg, var(--bg-card), rgba(10, 6, 8, 0.86));
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-red);
  box-shadow: 0 0 22px var(--red-glow-soft);
}
.card:hover { border-color: var(--border-bright); box-shadow: 0 30px 90px -30px rgba(0, 0, 0, 0.95), 0 12px 46px -22px var(--red-glow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.card-narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #fff;
}
.card p.dim { color: var(--text-dim); font-size: 13px; margin-bottom: 18px; }
.card code {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 13px;
  color: var(--ember-hot);
}

.hero h2 {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  background: linear-gradient(120deg, #fff, #ff8694);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 58, 75, 0.35));
}
.hero p { color: var(--text-dim); margin-bottom: 26px; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-text { flex: 1; }

/* ===== FORMULÁRIOS ===== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text);
}
input[type="text"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input::placeholder, textarea::placeholder { color: rgba(168, 160, 166, 0.55); }
input:focus, select:focus, textarea:focus {
  border-color: var(--ember-hot);
  background: rgba(255, 58, 75, 0.05);
  box-shadow: 0 0 0 3px rgba(214, 16, 42, 0.18), 0 0 22px var(--red-glow-soft);
}
select option { background: #140a0d; }
textarea { resize: vertical; min-height: 90px; }
.hint { color: var(--text-dim); font-size: 12px; margin-top: 6px; display: block; }
.required { color: var(--danger); font-weight: 700; }

/* ===== BOTÕES ===== */
.btn {
  position: relative;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.3px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.22s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; filter: grayscale(0.4); }

/* Botão principal em degrade com brilho */
.btn-primary {
  background: var(--grad-red);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  box-shadow: 0 12px 32px -12px rgba(214, 16, 42, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -12px var(--red-glow), 0 0 30px var(--red-glow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  filter: brightness(1.12);
}
.btn-primary:hover:not(:disabled)::after { left: 120%; }
.btn-primary:disabled { background: var(--bg-input); color: var(--text-dim); box-shadow: none; text-shadow: none; border-color: var(--border); }

/* Vidro (glass) */
.btn-ghost, .btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover:not(:disabled), .btn-outline:hover:not(:disabled) {
  color: #fff;
  border-color: var(--border-bright);
  background: rgba(255, 58, 75, 0.1);
  box-shadow: 0 0 22px var(--red-glow-soft);
}

.btn-danger {
  background: linear-gradient(135deg, rgba(255, 77, 94, 0.9), rgba(163, 13, 29, 0.9));
  color: #fff;
  border-color: rgba(255, 77, 94, 0.35);
  box-shadow: 0 8px 26px -12px rgba(255, 77, 94, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-danger:hover:not(:disabled) { filter: brightness(1.12); box-shadow: 0 10px 32px -12px rgba(255, 77, 94, 0.8); }
.btn-success {
  background: linear-gradient(135deg, rgba(46, 213, 115, 0.9), rgba(20, 120, 66, 0.9));
  color: #0a2313;
  border-color: rgba(46, 213, 115, 0.35);
  box-shadow: 0 8px 26px -12px rgba(46, 213, 115, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-success:hover:not(:disabled) { filter: brightness(1.1); box-shadow: 0 10px 32px -12px rgba(46, 213, 115, 0.7); }
.btn-sm { padding: 7px 14px; font-size: 12px; border-radius: 10px; }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.btn-full { width: 100%; }

.btn-icon {
  width: 36px; height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-dim);
  backdrop-filter: blur(10px);
  transition: all 0.22s ease;
}
.btn-icon:hover:not(:disabled) { color: #fff; border-color: var(--border-bright); background: rgba(255, 58, 75, 0.12); box-shadow: 0 0 18px var(--red-glow-soft); transform: translateY(-1px); }

.btn-label {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 7px 13px;
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.btn-label:hover { border-color: var(--ember-hot); color: var(--ember-hot); box-shadow: 0 0 14px var(--red-glow-soft); }
.btn-label.danger:hover { border-color: var(--danger); color: var(--danger); box-shadow: 0 0 14px rgba(255, 77, 94, 0.4); }

/* ===== BUSCA ===== */
.search-box { display: flex; gap: 10px; }
.search-box input { flex: 1; }
.resultados-busca {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 12px;
}
.item-resultado {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.item-resultado:hover { border-color: var(--border-bright); transform: translateY(-3px); background: rgba(255, 58, 75, 0.07); box-shadow: 0 14px 30px -14px var(--red-glow-soft); }
.item-resultado.selecionado { border-color: var(--success); background: rgba(46, 213, 115, 0.09); box-shadow: 0 0 0 3px rgba(46, 213, 115, 0.18), 0 0 24px rgba(46, 213, 115, 0.25); }
.item-resultado img { width: 58px; height: 86px; object-fit: cover; border-radius: 9px; background: #050405; border: 1px solid var(--border); }
.item-resultado-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.item-resultado-info strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-resultado-info span { color: var(--text-dim); font-size: 12px; }
.sem-foto {
  width: 58px; height: 86px; border-radius: 9px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 58, 75, 0.12), rgba(20, 10, 13, 0.6));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--text-dim);
}

/* ===== CONTEÚDO SELECIONADO ===== */
.conteudo-selecionado {
  display: flex;
  gap: 16px;
  align-items: center;
  background: linear-gradient(120deg, rgba(46, 213, 115, 0.14), rgba(46, 213, 115, 0.04));
  border: 1px solid rgba(46, 213, 115, 0.45);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 20px;
  box-shadow: 0 0 26px rgba(46, 213, 115, 0.14);
}
.conteudo-selecionado img { width: 64px; height: 96px; object-fit: cover; border-radius: 9px; border: 1px solid var(--border); }
.conteudo-selecionado .info strong { display: block; font-size: 17px; }
.conteudo-selecionado .info span { color: var(--text-dim); font-size: 14px; }
.conteudo-selecionado .btn-remover { margin-left: auto; }

/* ===== TOAST ===== */
.toast {
  display: none;
  padding: 14px 18px;
  border-radius: 12px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
  backdrop-filter: blur(12px);
  animation: toastIn 0.3s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.toast.show { display: block; }
.toast.erro { background: rgba(255, 77, 94, 0.12); border: 1px solid var(--danger); color: var(--danger); box-shadow: 0 0 20px rgba(255, 77, 94, 0.2); }
.toast.sucesso { background: rgba(46, 213, 115, 0.12); border: 1px solid var(--success); color: var(--success); box-shadow: 0 0 20px rgba(46, 213, 115, 0.2); }

/* ===== ABAS ===== */
.tabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 14px; flex-wrap: wrap; }
.tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 9px 18px;
  cursor: pointer;
  border-radius: 11px;
  backdrop-filter: blur(10px);
  transition: all 0.22s ease;
}
.tab:hover { color: var(--text); border-color: var(--border-bright); box-shadow: 0 0 16px var(--red-glow-soft); }
.tab.active {
  background: var(--grad-red);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: 0 8px 26px -8px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.tab-content { display: none; }
.tab-content.active { display: block; animation: toastIn 0.35s ease; }

/* ===== FILTROS ===== */
.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.btn-filter {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-filter:hover:not(:disabled) { color: var(--text); border-color: var(--border-bright); }
.btn-filter.active {
  background: var(--grad-red);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: 0 6px 22px -8px var(--red-glow);
}

/* ===== LISTA DE SOLICITAÇÕES ===== */
.lista { display: flex; flex-direction: column; gap: 14px; }
.vazio { color: var(--text-dim); text-align: center; padding: 36px 0; }
.solicitacao {
  position: relative;
  background: linear-gradient(150deg, rgba(26, 11, 14, 0.7), rgba(10, 6, 8, 0.85));
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.solicitacao::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-red);
  box-shadow: 0 0 16px var(--red-glow-soft);
}
.solicitacao:hover { border-color: var(--border-bright); transform: translateY(-3px); box-shadow: 0 18px 44px -22px var(--red-glow-soft); }
.solicitacao img { width: 74px; height: 110px; object-fit: cover; border-radius: 10px; background: #050405; border: 1px solid var(--border); flex-shrink: 0; }
.solicitacao .dados { flex: 1; min-width: 250px; }
.solicitacao .titulo { font-size: 17px; font-weight: 700; }
.solicitacao .meta { color: var(--text-dim); font-size: 13px; margin: 4px 0 8px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.solicitacao .observacao { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--text); margin-top: 8px; }
.solicitacao .acoes { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.badge-pendente { background: rgba(255, 176, 32, 0.14); color: var(--warning); border: 1px solid rgba(255, 176, 32, 0.35); box-shadow: 0 0 14px rgba(255, 176, 32, 0.12); }
.badge-aprovado { background: rgba(46, 213, 115, 0.14); color: var(--success); border: 1px solid rgba(46, 213, 115, 0.4); box-shadow: 0 0 14px rgba(46, 213, 115, 0.14); }
.badge-adicionado { background: rgba(0, 208, 208, 0.14); color: var(--cyan); border: 1px solid rgba(0, 208, 208, 0.45); box-shadow: 0 0 14px rgba(0, 208, 208, 0.16); }
.badge-rejeitado { background: rgba(255, 77, 94, 0.14); color: var(--danger); border: 1px solid rgba(255, 77, 94, 0.4); box-shadow: 0 0 14px rgba(255, 77, 94, 0.14); }
.badge-filme { background: rgba(255, 58, 75, 0.14); color: var(--ember-hot); border: 1px solid rgba(255, 58, 75, 0.4); box-shadow: 0 0 14px rgba(255, 58, 75, 0.14); }
.badge-serie { background: rgba(0, 208, 208, 0.12); color: var(--cyan); border: 1px solid rgba(0, 208, 208, 0.4); box-shadow: 0 0 14px rgba(0, 208, 208, 0.12); }
.badge-adicionar { background: rgba(46, 213, 115, 0.14); color: var(--success); border: 1px solid rgba(46, 213, 115, 0.4); }
.badge-corrigir { background: rgba(255, 176, 32, 0.14); color: var(--warning); border: 1px solid rgba(255, 176, 32, 0.4); }

/* ===== LISTA DE SERVIDORES ===== */
.servidor-item {
  background: linear-gradient(150deg, rgba(26, 11, 14, 0.7), rgba(10, 6, 8, 0.85));
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.servidor-item:hover { border-color: var(--border-bright); transform: translateY(-2px); box-shadow: 0 14px 38px -20px var(--red-glow-soft); }
.servidor-item .nome { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.servidor-item .acoes { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.acoes-ordem { display: inline-flex; gap: 3px; }
.btn-seta { width: 30px; height: 30px; font-size: 13px; padding: 0; border-radius: 8px; }
.form-inline { display: flex; gap: 10px; align-items: end; }
.form-inline .form-group { flex: 1; margin-bottom: 8px; }

/* Edição inline do nome do servidor */
.servidor-item.editando { border-color: var(--border-bright); box-shadow: 0 0 26px var(--red-glow-soft); }
.servidor-item.editando .nome { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex: 1; }
.input-edicao {
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  min-width: 200px;
  box-shadow: 0 0 18px var(--red-glow-soft);
}
.input-edicao:focus { border-color: var(--ember-hot); box-shadow: 0 0 0 3px rgba(214, 16, 42, 0.18), 0 0 22px var(--red-glow-soft); }

.switch { position: relative; width: 46px; height: 26px; display: inline-block; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 26px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.slider:before {
  content: '';
  position: absolute; width: 18px; height: 18px;
  left: 4px; top: 3px;
  background: linear-gradient(135deg, #fff, #d8d2d6);
  border-radius: 50%;
  transition: transform 0.25s;
}
.switch input:checked + .slider { background: linear-gradient(135deg, rgba(46, 213, 115, 0.9), rgba(20, 120, 66, 0.95)); border-color: rgba(46, 213, 115, 0.5); box-shadow: 0 0 14px rgba(46, 213, 115, 0.5); }
.switch input:checked + .slider:before { transform: translateX(20px); }

/* ===== LOGIN ===== */
.admin-bg { min-height: 100vh; }
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.login-card { max-width: 430px; width: 100%; text-align: center; }
.login-logo {
  width: 112px;
  max-width: 100%;
  margin: 0 auto 20px;
  padding: 8px;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(255, 58, 75, 0.14), rgba(20, 8, 10, 0.5));
  border: 1px solid rgba(255, 58, 75, 0.3);
  box-shadow: 0 0 30px var(--red-glow-soft), inset 0 0 18px rgba(214, 16, 42, 0.15);
  backdrop-filter: blur(12px);
}
.login-logo img {
  display: block;
  width: 100%;
  max-height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 58, 75, 0.35));
}
.login-card h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: linear-gradient(120deg, #fff, #ff8694);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitulo { color: var(--text-dim); font-size: 14px; margin: 10px 0 26px; }
.login-card form { text-align: left; }
.erro { background: rgba(255, 77, 94, 0.12); border: 1px solid var(--danger); color: var(--danger); border-radius: 12px; padding: 11px; margin-top: 14px; font-size: 13px; box-shadow: 0 0 18px rgba(255, 77, 94, 0.18); }
.link-voltar { display: inline-block; margin-top: 20px; color: var(--text-dim); font-size: 13px; text-decoration: none; transition: color 0.2s; }
.link-voltar:hover { color: var(--ember-hot); }

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 30px 0 36px;
}
.footer .container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  background: linear-gradient(120deg, #ffb1bb 0%, #ff3a4b 28%, #d6102a 55%, #a30d1d 78%, #ff8694 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 58, 75, 0.45)) drop-shadow(0 2px 16px rgba(0, 0, 0, 0.55));
}
.footer strong { font-weight: 800; }

/* ===== RESPONSIVO ===== */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; }
  .solicitacao { flex-direction: column; }
  .solicitacao .acoes { align-items: stretch; width: 100%; flex-direction: row; justify-content: flex-end; }
  .header-inner { justify-content: center; text-align: center; }
  .avatar-wrap img { width: 108px; height: 108px; }
  .hero h2 { font-size: 22px; }
}