:root {
  --bg: #eef3fb;
  --panel: rgba(255, 255, 255, .92);
  --panel-solid: #ffffff;
  --line: #d8e0ee;
  --line-strong: #b9c6da;
  --text: #111827;
  --muted: #64748b;
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --red: #ef4444;
  --red-dark: #991b1b;
  --green-row: #7ff0a4;
  --blue-row: #7db7ff;
  --orange-row: #ffb263;
  --yellow-row: #ffe45c;
  --green-strong: #16a34a;
  --blue-strong: #2563eb;
  --orange-strong: #f97316;
  --yellow-strong: #facc15;
  --yellow-text: #422006;
  --glpi: #1d4ed8;
  --shadow: 0 22px 55px rgba(15, 23, 42, .10);
  --soft-shadow: 0 10px 28px rgba(15, 23, 42, .08);
  --radius: 22px;
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, .16), transparent 32rem),
    radial-gradient(circle at top right, rgba(239, 68, 68, .12), transparent 30rem),
    linear-gradient(135deg, #f8fbff 0%, var(--bg) 48%, #e8eef9 100%);
}

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .84);
  border-bottom: 1px solid rgba(216, 224, 238, .86);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 230px;
}

.brand strong {
  font-size: 18px;
  letter-spacing: -.03em;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.period-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .8);
}

.period-controls label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.select,
.year-input,
.search,
.btn {
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #fff;
  color: var(--text);
  padding: 0 12px;
  outline: none;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
}

.select {
  min-width: 128px;
  font-weight: 800;
}

.year-input {
  width: 86px;
  font-weight: 800;
}

.search {
  width: 250px;
}

.select:focus,
.year-input:focus,
.search:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .13);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--soft-shadow);
}

.btn.primary {
  border-color: var(--blue);
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, var(--blue));
}

.btn.danger {
  border-color: #fecaca;
  color: #991b1b;
  background: #fff5f5;
}

.file-btn input { display: none; }

.day-strip {
  position: sticky;
  top: 69px;
  z-index: 19;
  display: flex;
  gap: 7px;
  padding: 10px 20px;
  overflow-x: auto;
  background: rgba(238, 243, 251, .86);
  border-bottom: 1px solid rgba(216, 224, 238, .86);
  backdrop-filter: blur(18px);
}

.day-btn {
  position: relative;
  min-width: 42px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  color: #334155;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.day-btn:hover {
  transform: translateY(-1px);
  border-color: var(--blue);
}

.day-btn.active {
  color: #fff;
  border-color: var(--blue);
  background: linear-gradient(135deg, #3b82f6, var(--blue));
  box-shadow: 0 10px 22px rgba(37, 99, 235, .24);
}

.day-btn.today::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(37, 99, 235, .55);
  border-radius: 9px;
}

.day-btn.active.today::before {
  border-color: rgba(255, 255, 255, .75);
}

.day-btn.has-data::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 2px #fff;
}

.day-btn.active.has-data::after {
  background: #fff;
  box-shadow: none;
}

.page {
  width: min(1920px, 100%);
  margin: 0 auto;
  padding: 22px;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 46px);
  line-height: .95;
  letter-spacing: -.06em;
}

.summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(112px, 1fr));
  gap: 10px;
  max-width: 850px;
}

.summary div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .055);
}

.summary strong {
  display: block;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -.04em;
}

.summary span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.summary-total { border-left: 5px solid #64748b !important; }
.summary-c { border-left: 5px solid var(--green-strong) !important; }
.summary-p { border-left: 5px solid var(--blue-strong) !important; }
.summary-a { border-left: 5px solid var(--orange-strong) !important; }
.summary-u { border-left: 5px solid var(--yellow-strong) !important; }

.summary-c strong { color: var(--green-strong); }
.summary-p strong { color: var(--blue-strong); }
.summary-a strong { color: var(--orange-strong); }
.summary-u strong { color: #a16207; }

.legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #475569;
  background: rgba(255, 255, 255, .64);
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .045);
}

.dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 6px;
  border: 1px solid rgba(15, 23, 42, .32);
  border-radius: 999px;
  vertical-align: -2px;
}

.dot.c { background: var(--green-row); }
.dot.p { background: var(--blue-row); }
.dot.a { background: var(--orange-row); }
.dot.u { background: var(--yellow-row); }
.hint { margin-left: auto; color: var(--muted); }

.team-section {
  margin-bottom: 26px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.team-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.team-title h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.04em;
}

.team-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(310px, 1fr));
  gap: 12px;
}

.sheet-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--panel-solid);
  box-shadow: 0 12px 26px rgba(15, 23, 42, .075);
}

.card-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 43px;
  padding: 7px 8px 7px 12px;
  color: #fff;
}

.remote .card-name {
  background: linear-gradient(135deg, #3b82f6, var(--blue-dark));
}

.field .card-name {
  background: linear-gradient(135deg, #f97316, var(--red-dark));
}

.card-name input {
  width: 100%;
  min-width: 70px;
  border: 0;
  outline: none;
  color: #fff;
  background: transparent;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.card-name input::placeholder {
  color: rgba(255, 255, 255, .7);
}

.counters {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.counters b {
  min-width: 25px;
  padding: 4px 5px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  text-align: center;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  box-shadow: 0 3px 8px rgba(15, 23, 42, .12);
}

.counters .counter-c { background: var(--green-strong); }
.counters .counter-p { background: var(--blue-strong); }
.counters .counter-a { background: var(--orange-strong); }
.counters .counter-u { color: var(--yellow-text); background: var(--yellow-strong); }

.sheet-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 11px;
}

.sheet-table th,
.sheet-table td {
  height: 28px;
  padding: 0 5px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sheet-table th:last-child,
.sheet-table td:last-child {
  border-right: 0;
}

.sheet-table th {
  height: 36px;
  color: #fff;
  text-align: center;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .04em;
}

.remote .sheet-table th { background: #1d4ed8; }
.field .sheet-table th { background: #b91c1c; }

.col-ticket { width: 72px; }
.col-cliente { width: auto; }
.col-status { width: 30px; }
.col-glpi { width: 82px; }

.glpi-head {
  padding: 3px 4px !important;
}

.glpi-head span {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  opacity: .9;
}

.next-day-btn {
  display: block;
  width: 100%;
  height: 19px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  cursor: pointer;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
}

.next-day-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, .28);
}

.next-day-btn:disabled {
  cursor: not-allowed;
  opacity: .38;
}

.cell-input {
  width: 100%;
  height: 26px;
  border: 0;
  outline: none;
  padding: 0;
  color: #0f172a;
  background: transparent;
  text-align: center;
  font-size: 10px;
  font-weight: 850;
}

.cell-input::placeholder {
  color: #cbd5e1;
  font-weight: 700;
}

.client-input {
  text-align: left;
  text-transform: uppercase;
}

.cell-input:focus {
  border-radius: 8px;
  background: #fff7ed;
  box-shadow: inset 0 0 0 2px #3b82f6;
}

.status-btn {
  width: 100%;
  height: 24px;
  border: 0;
  border-radius: 8px;
  color: #0f172a;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 950;
  transition: background .08s ease, box-shadow .08s ease;
}

.status-btn:hover,
.status-btn:focus {
  outline: none;
  background: rgba(15, 23, 42, .08);
}

.status-btn.active {
  color: #fff;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .20);
}

.status-c-btn.active { background: var(--green-strong); }
.status-p-btn.active { background: var(--blue-strong); }
.status-a-btn.active { background: var(--orange-strong); }

.status-btn.urgent-active.active {
  color: var(--yellow-text);
  background: var(--yellow-strong);
  box-shadow: 0 2px 7px rgba(250, 204, 21, .42);
}

.urgent-input {
  width: 100%;
  height: 24px;
  border: 0;
  border-radius: 8px;
  outline: none;
  color: var(--yellow-text);
  background: var(--yellow-row);
  text-align: center;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 2px var(--yellow-strong);
}

.urgent-input::placeholder { color: #a16207; }

tr.status-c td { background: var(--green-row); }
tr.status-p td { background: var(--blue-row); }
tr.status-a td { background: var(--orange-row); }
tr.status-u td { background: var(--yellow-row); }
tr.search-hide { display: none; }

.glpi-link {
  display: block;
  width: 100%;
  border-radius: 999px;
  color: var(--glpi);
  background: #eff6ff;
  text-align: center;
  font-size: 10px;
  font-weight: 950;
  line-height: 20px;
  text-decoration: none;
}

.glpi-link:hover {
  text-decoration: underline;
}

.glpi-empty {
  display: block;
  color: #cbd5e1;
  text-align: center;
  font-weight: 900;
}

.card-footer {
  display: flex;
  gap: 8px;
  padding: 9px;
  background: #f8fafc;
}

.card-footer button {
  flex: 1;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #334155;
  background: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 950;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.card-footer button:hover {
  transform: translateY(-1px);
  border-color: var(--blue);
  background: #eff6ff;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(420px, calc(100vw - 36px));
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  color: #fff;
  background: #0f172a;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  font-size: 13px;
  font-weight: 800;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1700px) {
  .sheet-grid { grid-template-columns: repeat(3, minmax(310px, 1fr)); }
  .summary { grid-template-columns: repeat(3, minmax(112px, 1fr)); }
}

@media (max-width: 1080px) {
  .topbar,
  .page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .actions {
    justify-content: flex-start;
    width: 100%;
  }

  .summary {
    width: 100%;
    max-width: none;
  }

  .sheet-grid { grid-template-columns: repeat(2, minmax(300px, 1fr)); }
  .hint { margin-left: 0; }
}

@media (max-width: 720px) {
  .topbar { padding: 12px; }
  .page { padding: 12px; }
  .day-strip { top: 118px; padding-inline: 12px; }
  .period-controls { width: 100%; flex-wrap: wrap; }
  .period-controls label { flex: 1 1 150px; }
  .select, .year-input { width: 100%; }
  .search { width: 100%; }
  .actions .btn { flex: 1 1 auto; }
  .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-title { align-items: flex-start; flex-direction: column; }
  .sheet-grid { grid-template-columns: 1fr; }
}

.login-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, .16), transparent 34%),
    linear-gradient(135deg, #f8fafc, #eef2ff);
}

.login-view[hidden],
#appView[hidden] {
  display: none !important;
}

.login-card {
  width: min(420px, 100%);
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 0 0 6px;
  color: #0f172a;
}

.login-card p {
  margin: 0;
  color: #64748b;
  font-weight: 700;
}

.login-card label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.login-card input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 13px;
  font-size: 15px;
  font-weight: 800;
  outline: none;
}

.login-card input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.btn.primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.btn.ghost {
  color: #334155;
  background: #fff;
  border-color: var(--line);
}

.login-msg {
  min-height: 18px;
  color: #dc2626;
  font-size: 12px;
  font-weight: 900;
}

.logs-dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: 78vh;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0;
  box-shadow: var(--shadow);
}

.logs-dialog::backdrop {
  background: rgba(15, 23, 42, .36);
  backdrop-filter: blur(3px);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.logs-content {
  display: grid;
  gap: 10px;
  max-height: 60vh;
  overflow: auto;
  padding: 16px;
}

.log-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
}

.log-item strong,
.log-item span,
.log-item p {
  display: block;
  margin: 0;
}

.log-item span {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.log-item p {
  margin-top: 7px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.usuarios-dialog {
  width: min(1040px, calc(100vw - 28px));
  max-height: 84vh;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0;
  box-shadow: var(--shadow);
}

.usuarios-dialog::backdrop {
  background: rgba(15, 23, 42, .36);
  backdrop-filter: blur(3px);
}

.dialog-head > div {
  display: grid;
  gap: 3px;
}

.dialog-head > div span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.usuarios-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 16px;
  max-height: 68vh;
  overflow: auto;
  padding: 16px;
  background: #f8fafc;
}

.usuario-form,
.usuarios-list-wrap {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .055);
}

.usuario-form {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
}

.usuario-form h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -.03em;
}

.usuario-form label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.usuario-form input,
.usuario-form select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 12px;
  color: var(--text);
  background: #fff;
  outline: none;
  font-size: 14px;
  font-weight: 800;
}

.usuario-form input:focus,
.usuario-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.check-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 9px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 13px !important;
}

.check-line input {
  width: 18px;
  min-height: 18px;
  padding: 0;
}

.usuario-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.usuario-actions .btn {
  flex: 1 1 auto;
}

.form-msg {
  min-height: 18px;
  margin: 0;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.usuarios-list-wrap {
  min-width: 0;
  overflow: hidden;
}

.usuarios-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.usuarios-content {
  display: grid;
  gap: 9px;
  max-height: 55vh;
  overflow: auto;
  padding: 12px;
}

.usuario-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green-strong);
  border-radius: 16px;
  background: #fff;
}

.usuario-item.inactive {
  border-left-color: #94a3b8;
  opacity: .72;
  background: #f8fafc;
}

.usuario-item strong,
.usuario-item span {
  display: block;
}

.usuario-item strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 950;
}

.usuario-item span {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .usuarios-layout {
    grid-template-columns: 1fr;
    max-height: 72vh;
  }
}

.user-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(37, 99, 235, .22);
  border-radius: 999px;
  background: rgba(37, 99, 235, .08);
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

/* Ajustes de dias úteis/finais de semana */
.day-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  height: 44px;
}

.day-btn .day-number {
  line-height: 1;
}

.day-btn small {
  display: block;
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
}

.day-btn.weekend {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.day-btn.weekend small {
  color: #c2410c;
}

.day-btn.weekend:hover {
  border-color: #f97316;
}

.day-btn.weekend.active {
  color: #fff;
  border-color: #f97316;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  box-shadow: 0 10px 22px rgba(249, 115, 22, .24);
}

.day-btn.active small,
.day-btn.weekend.active small {
  color: rgba(255, 255, 255, .9);
}

.weekday-label {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.admin-card-action {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
}

.remove-card-btn {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, .18);
  font-size: 18px;
  line-height: 20px;
  font-weight: 900;
  cursor: pointer;
}

.remove-card-btn:hover {
  background: rgba(220, 38, 38, .9);
}

.google-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  margin-top: 10px;
  background: #fff;
  border: 1px solid #d7deea;
  color: #172033;
}

.google-login:hover {
  border-color: #2f6be6;
  color: #1f55c7;
}

.solicitacoes-wrap {
  border: 1px solid #d8e1ee;
  border-radius: 18px;
  background: #f8fbff;
  padding: 14px;
  margin-bottom: 16px;
}

.solicitacoes-content {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.solicitacao-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d8e1ee;
  border-radius: 14px;
  background: #fff;
}

.solicitacao-item div:first-child {
  display: grid;
  gap: 4px;
}

.solicitacao-item span,
.usuario-item small {
  color: #60708a;
  font-size: 12px;
}

.solicitacao-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}


/* Login somente Google */
.login-card {
  text-align: left;
}

.google-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 999px;
  border: 1px solid #d7deea;
  color: #2563eb;
  font-weight: 950;
  background: #fff;
}

.user-badge {
  gap: 8px;
  padding: 4px 11px 4px 5px;
}

.user-avatar,
.usuario-foto {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, .18);
  background: #e2e8f0;
}

.user-avatar.fallback,
.usuario-foto.fallback {
  display: inline-grid;
  place-items: center;
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 950;
}

.usuario-item,
.solicitacao-item {
  justify-content: flex-start;
}

.usuario-item > div,
.solicitacao-item > div:not(.solicitacao-actions) {
  min-width: 0;
  flex: 1 1 auto;
}

.solicitacao-actions {
  flex: 0 0 auto;
}
