/* ═══════════════════════════════════════════════════════════════
   PALMAREF · Cliente (v8) styles
   Overrides minimais — reutiliza .deck-card, .shot-grid, .palette, .shot-dialog
   ═══════════════════════════════════════════════════════════════ */

body.cliente-page { overflow: auto; }

[hidden] { display: none !important; }

/* Topbar pill: nome do usuário */
.cliente-user-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  margin-left: 4px;
  background: rgba(0, 183, 232, 0.12);
  border: 1px solid rgba(0, 183, 232, 0.4);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  border-radius: 0;
}
.cliente-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0;
}
.cliente-link:hover { color: #fff; }

/* === AUTH === */
.cliente-auth-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
}
.cliente-auth-card {
  width: 100%;
  max-width: 440px;
  padding: 36px 32px;
  background: #0a0d12;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cliente-auth-eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.cliente-auth-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.cliente-auth-intro {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.cliente-tabs {
  display: flex;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cliente-tab {
  flex: 1;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.5);
  font: 800 13px Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.18s;
}
.cliente-tab:hover { color: #fff; }
.cliente-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* === FORMS === */
.cliente-form-intro {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.cliente-label {
  display: block;
  margin: 12px 0 6px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cliente-input {
  width: 100%;
  padding: 12px 14px;
  background: #050a10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font: 14px Arial, Helvetica, sans-serif;
  border-radius: 0;
  outline: none;
  transition: border-color 0.18s;
}
.cliente-input:focus { border-color: var(--cyan); }
.cliente-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.cliente-hint {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}
.cliente-aux-row {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
}
.cliente-aux-row a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight: 700;
}
.cliente-aux-row a:hover { color: var(--cyan); }

/* Checkbox "permanecer logado" */
.cliente-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}
.cliente-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--cyan);
  cursor: pointer;
  margin: 0;
}
.cliente-checkbox:hover { color: #fff; }

/* Stub verify link box (só aparece em modo stub) */
.cliente-stub-link {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: rgba(255, 200, 0, 0.08);
  border: 1px solid rgba(255, 200, 0, 0.3);
  color: #ffd84d;
  font-size: 12px;
  word-break: break-all;
}
.cliente-stub-link strong { display: block; margin-bottom: 6px; }
.cliente-stub-link a {
  color: var(--cyan);
  text-decoration: underline;
  font-weight: 700;
}

/* Detail counter (X de Y) */
.cliente-counter-wrap { display: flex; align-items: center; }
.cliente-counter {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === BUTTONS === */
.cliente-btn {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--cyan);
  background: var(--cyan);
  color: #001017;
  font: 800 13px Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 0;
  transition: filter 0.18s;
  text-decoration: none;
}
.cliente-btn:hover { filter: brightness(1.1); }
.cliente-btn:disabled { opacity: 0.4; cursor: not-allowed; filter: none; }
.cliente-btn-primary { width: 100%; padding: 14px; margin-top: 18px; }
.cliente-btn-inline { width: auto; padding: 10px 20px; margin: 0; }
.cliente-btn-full { width: 100%; padding: 12px; margin: 0; }
.cliente-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.cliente-btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* === MESSAGES === */
.cliente-msg {
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
}
.cliente-msg-error {
  background: rgba(214, 111, 111, 0.08);
  border: 1px solid rgba(214, 111, 111, 0.4);
  color: #ff8b8b;
}
.cliente-msg-ok {
  background: rgba(123, 184, 111, 0.08);
  border: 1px solid rgba(123, 184, 111, 0.4);
  color: #9be08c;
}

/* === EMPTY STATES === */
.cliente-empty {
  padding: 80px 20px;
  text-align: center;
}
.cliente-empty p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

/* === PROJECT GALLERY (uses palmaref shell + filters sidebar) === */
#screen-project {
  display: flex;
  min-height: calc(100vh - 62px);
}
.cliente-filters {
  position: relative;
  width: 260px;
  flex-shrink: 0;
  padding: 24px 20px;
  background: #050a10;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cliente-back-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.cliente-back-link:hover { color: var(--cyan); }
.cliente-side-meta {
  padding: 12px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cliente-side-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.2;
  word-break: break-word;
}
.cliente-side-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

/* === MODALS === */
.cliente-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px 20px;
  overflow-y: auto;
}
.cliente-modal-card {
  width: 100%;
  max-width: 480px;
  padding: 32px;
  background: #0a0d12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.cliente-upload-card { max-width: 600px; }
.cliente-modal-card h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.cliente-modal-sub {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}
.cliente-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font: 900 22px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.cliente-modal-close:hover { color: #fff; }
.cliente-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}
.cliente-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}
.cliente-summary {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === DROP ZONE === */
.cliente-drop {
  display: block;
  position: relative;
  padding: 36px 20px;
  background: rgba(0, 183, 232, 0.05);
  border: 1px dashed rgba(0, 183, 232, 0.35);
  cursor: pointer;
  text-align: center;
  transition: all 0.18s;
}
.cliente-drop:hover, .cliente-drop.drag-over {
  background: rgba(0, 183, 232, 0.1);
  border-color: var(--cyan);
}
.cliente-drop-icon {
  display: block;
  color: var(--cyan);
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1;
}
.cliente-drop-text {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cliente-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* === FILE LIST DURING UPLOAD === */
.cliente-files {
  margin-top: 16px;
  max-height: 280px;
  overflow-y: auto;
}
.cliente-files:empty { display: none; }
.cliente-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cliente-file:last-child { border-bottom: none; }
.cliente-file-thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: #050a10;
  overflow: hidden;
}
.cliente-file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cliente-file-info { flex: 1; min-width: 0; }
.cliente-file-name {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cliente-file-meta {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cliente-file-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 4px;
  overflow: hidden;
}
.cliente-file-bar-fill {
  height: 100%;
  background: var(--cyan);
  width: 0%;
  transition: width 0.2s;
}
.cliente-file-status {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cliente-file-status.pending { color: rgba(255, 255, 255, 0.5); }
.cliente-file-status.uploading { color: var(--cyan); }
.cliente-file-status.done { color: #7bb86f; }
.cliente-file-status.error { color: #ff8b8b; }
.cliente-file-remove {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
}
.cliente-file-remove:hover { color: #ff8b8b; }

/* === DETAIL DIALOG override (reusa shot-dialog) === */
.cliente-detail-content { display: flex; flex-direction: column; }
.cliente-detail-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  min-height: 50vh;
}
.cliente-detail-img-wrap img {
  max-width: 100%;
  max-height: calc(100vh - 240px);
  object-fit: contain;
  display: block;
}
.cliente-detail-info {
  padding: 16px 14px 24px;
}
.cliente-detail-dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px 16px;
  margin: 14px 0 0;
  font-size: 12px;
}
.cliente-detail-dl dt {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cliente-detail-dl dd {
  margin: 0;
  color: #fff;
  word-break: break-word;
}

/* Deck card preview — usa multi-image grid (mesma estrutura do palmaref) */
.cliente-deck-empty-preview {
  display: grid;
  place-items: center;
  background: #111;
  color: rgba(255, 255, 255, 0.25);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  height: 100%;
}

/* === Responsive === */
@media (max-width: 800px) {
  #screen-project { flex-direction: column; }
  .cliente-filters {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: row;
    align-items: center;
    padding: 16px;
  }
  .cliente-side-meta {
    flex: 1;
    padding: 0;
    border: none;
  }
  .cliente-side-title { font-size: 16px; }
  #upload-btn { width: auto; flex-shrink: 0; }
  .cliente-back-link { display: none; }
}

/* === PASSWORD STRENGTH METER (v1.5) === */
.cliente-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.cliente-strength-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.cliente-strength-fill {
  height: 100%;
  width: 0%;
  background: #888;
  transition: width 0.18s, background 0.18s;
}
.cliente-strength-label {
  min-width: 70px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  text-align: right;
}

/* === SETTINGS ACCOUNT (v1.5) === */
.settings-account-info { padding: 14px 0 0; }
.settings-account-info .cliente-detail-dl {
  margin: 0 0 18px;
}
.settings-account-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.settings-logout-btn:hover {
  border-color: #ff8b8b !important;
  color: #ff8b8b !important;
}

/* === MEUS PROJETOS — toolbar + tabs + actions (v1.6) === */
.projects-toolbar { gap: 18px; align-items: center; flex-wrap: wrap; }
.projects-toolbar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.projects-search {
  position: relative;
}
.projects-search input {
  width: 260px;
  padding: 8px 12px;
  background: #050a10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font: 13px Arial, Helvetica, sans-serif;
  outline: none;
}
.projects-search input:focus { border-color: var(--cyan); }
.projects-search input::placeholder { color: rgba(255, 255, 255, 0.4); }

.projects-tabs {
  display: flex;
  gap: 4px;
  margin: 18px 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.projects-tab {
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.5);
  font: 700 12px Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.projects-tab:hover { color: #fff; }
.projects-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.projects-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
}
.projects-tab.active .projects-tab-count {
  background: rgba(0, 183, 232, 0.2);
  color: var(--cyan);
}

/* Project card actions */
.project-deck-card {
  position: relative;
}
.deck-preview-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.deck-card-bottom {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
}
.deck-card-info {
  flex: 1;
  min-width: 0;
  display: block;
  text-decoration: none;
  color: inherit;
}
.deck-card-info strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deck-card-info span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}
.deck-fav-marker { color: #ffd84d; }
.project-actions {
  display: flex;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.15s;
}
.project-deck-card:hover .project-actions { opacity: 1; }
.project-action {
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.project-action:hover {
  border-color: var(--cyan);
  background: rgba(0, 183, 232, 0.15);
}
.project-action.is-on { color: #ffd84d; border-color: rgba(255, 216, 77, 0.5); }
.project-action.danger:hover {
  border-color: #ff8b8b;
  color: #ff8b8b;
  background: rgba(255, 139, 139, 0.1);
}

@media (max-width: 700px) {
  .projects-toolbar-actions { width: 100%; }
  .projects-search input { width: 100%; }
  .projects-tabs { overflow-x: auto; }
  .projects-tab { white-space: nowrap; padding: 10px 12px; }
  .project-actions { opacity: 1; }
}

/* === DECKS LAYOUT (v1.7 — shotdeck-style) === */
.decks-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  min-height: 100vh;
  background: #000;
  padding-top: 62px;  /* nav height */
}
.palmaref-in-iframe .decks-layout {
  padding-top: 50px;  /* iframe nav height */
}

/* Sidebar */
.decks-sidebar {
  background: #050a10;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0 32px;
  overflow-y: auto;
}
.decks-sidebar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 18px 14px;
}
.decks-sidebar-head h2 {
  margin: 0;
  color: var(--cyan, #00b7e8);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.decks-new-link {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.decks-new-link:hover { color: var(--cyan, #00b7e8); }

.decks-search {
  position: relative;
  margin: 0 18px 14px;
  display: flex;
}
.decks-search input {
  flex: 1;
  padding: 7px 10px;
  background: #0c1218;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font: 12px Arial, Helvetica, sans-serif;
  outline: none;
  border-right: 0;
}
.decks-search input:focus { border-color: var(--cyan, #00b7e8); }
.decks-search input::placeholder { color: rgba(255, 255, 255, 0.35); }
.decks-search-btn {
  width: 30px;
  background: #0c1218;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.decks-search-btn svg { width: 14px; height: 14px; fill: currentColor; }
.decks-search-btn:hover { color: var(--cyan, #00b7e8); }

.decks-tree {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.decks-tree-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  border-left: 2px solid transparent;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  position: relative;
}
.decks-tree-item:hover { background: rgba(255, 255, 255, 0.03); }
.decks-tree-item.active {
  border-left-color: var(--cyan, #00b7e8);
  color: var(--cyan, #00b7e8);
  background: rgba(0, 183, 232, 0.05);
}
.decks-tree-toggle {
  display: inline-block;
  width: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  line-height: 1;
}
.decks-tree-label {
  flex: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.decks-tree-count {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 500;
}
.decks-tree-menu {
  width: 22px;
  height: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.decks-tree-menu svg { width: 14px; height: 14px; fill: currentColor; }
.decks-tree-menu:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Main area */
.decks-main {
  padding: 28px 32px 80px;
  min-width: 0;
}
.decks-main-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.decks-tab {
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--cyan, #00b7e8);
  color: var(--cyan, #00b7e8);
  font: 700 12px Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  margin-bottom: -15px;
}
.decks-main-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Deck cards (no emojis) */
.project-deck-card {
  background: transparent;
  position: relative;
}
.deck-preview-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.deck-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 2px 0;
}
.deck-card-name {
  flex: 1;
  min-width: 0;
  color: var(--cyan, #00b7e8);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deck-card-name:hover { text-decoration: underline; }
.deck-card-menu {
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.deck-card-menu svg { width: 16px; height: 16px; fill: currentColor; }
.deck-card-menu:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Popover */
.deck-popover {
  position: absolute;
  z-index: 200;
  background: #161b22;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  padding: 4px;
  min-width: 180px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.deck-popover button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  background: transparent;
  border: 0;
  color: #fff;
  font: 13px Arial, Helvetica, sans-serif;
  cursor: pointer;
  border-radius: 2px;
}
.deck-popover button:hover { background: rgba(0, 183, 232, 0.15); color: var(--cyan, #00b7e8); }
.deck-popover button[data-act="trash"]:hover { background: rgba(255, 139, 139, 0.12); color: #ff8b8b; }

/* Logout in nav */
.nav-logout {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 11px !important;
  margin-left: 10px;
}
.nav-logout:hover { color: #fff !important; }

/* Decks empty state */
.decks-empty {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 700px) {
  .decks-layout { grid-template-columns: 1fr; }
  .decks-sidebar { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .decks-tree-menu { opacity: 1; }
}
