/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f3f3f3;
  --surface: #ffffff;
  --surface-2: #f0f0f0;
  --border: #e1e1e1;
  --border-dark: #c8c8c8;
  --text: #242424;
  --text-2: #616161;
  --text-3: #a0a0a0;
  --accent: #0f6cbd;
  --accent-dark: #0c5aa6;
  --accent-light: #dce9f9;
  --danger: #c4314b;
  --danger-light: #fdf0f2;
  --success: #107c10;
  --success-light: #dff6dd;
  --radius: 4px;
  --radius-lg: 6px;
  --sidebar-w: 280px;
  --shadow: 0 2px 8px rgba(0,0,0,0.12);
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  background: var(--bg);
  color: var(--text);
  height: 100vh;
  overflow: hidden;
}

/* ── Layout ── */
.app-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ── Sidebar ── */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: #ffffff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f6cbd;
}

.sync-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 20px;
  cursor: default;
}
.sync-badge.sync-ok      { background:rgba(255,255,255,0.2); color:#ffffff; }
.sync-badge.sync-offline { background:rgba(255,255,255,0.15); color:rgba(255,255,255,0.8); }
.sync-badge.sync-error   { background:rgba(255,0,0,0.2); color:#ffffff; }
.sync-badge.sync-saving  { background:rgba(255,255,255,0.15); color:rgba(255,255,255,0.9); }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.logo i {
  width: 32px;
  height: 32px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.sidebar-search {
  padding: 12px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 10px;
}

.search-box i { color: var(--text-3); font-size: 14px; }

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  outline: none;
}

.search-box input::placeholder { color: var(--text-3); }

.clear-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-3);
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 13px;
  display: none;
}
.clear-btn:hover { color: var(--text); background: var(--border); }
.clear-btn.visible { display: flex; }

.sidebar-search select {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

.sidebar-actions {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.btn-new {
  width: 100%;
  padding: 8px 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: opacity 0.15s;
}
.btn-new:hover { background: var(--accent-dark); opacity: 1; }

.sidebar-stats {
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-3);
  border-bottom: 1px solid var(--border);
}

.list-container {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

/* ── Provider list items ── */
.prov-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.1s;
}
.prov-item:hover { background: var(--surface-2); }
.prov-item.active { background: var(--accent-light); border-left: 2px solid var(--accent); padding-left: 10px; }

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}

.prov-info { flex: 1; min-width: 0; }
.prov-name {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}
.prov-sub {
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

/* ── Main content ── */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.top-bar h1 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.top-bar-right {
  display: flex;
  gap: 8px;
}

.btn-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-2);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-icon:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-dark); }

/* ── Detail view ── */
#detail-view {
  flex: 1;
  overflow-y: auto;
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: var(--text-3);
  text-align: center;
  min-height: 400px;
}
.empty-icon { font-size: 53px; opacity: 0.25; }
.empty-state h2 { font-size: 18px; font-weight: 500; color: var(--text-2); }
.empty-state p { font-size: 14px; }
.empty-state .btn-new { width: auto; margin-top: 8px; padding: 9px 20px; }

/* ── Provider detail card ── */
.detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
}

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

.detail-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: -1px;
}

.detail-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 6px;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.detail-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-action {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-action:hover { background: var(--surface-2); color: var(--text); }
.btn-action.danger { color: var(--danger); }
.btn-action.danger:hover { background: var(--danger-light); border-color: #fca5a5; }
.btn-action.accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-action.accent:hover { background: var(--accent-dark); }

.detail-body {
  padding: 0;
}

.detail-section {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}
.detail-section:last-child { border-bottom: none; }

.section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.field-item {}
.field-label {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 3px;
  font-weight: 500;
}
.field-value {
  font-size: 14px;
  color: var(--text);
  word-break: break-word;
}
.field-value a { color: var(--accent); text-decoration: none; }
.field-value a:hover { text-decoration: underline; }
.field-value.empty { color: var(--text-3); font-style: italic; }

.copy-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: var(--surface-2);
  border-top: 2px dashed var(--border-dark);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  align-items: center;
  justify-content: center;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-2);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
}
.copy-btn:hover { background: var(--accent-light); color: var(--accent); border-color: #bfdbfe; }

/* ── Modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  overflow-y: auto;
}
.modal-overlay.open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 560px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  flex-shrink: 0;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.modal-header h2 { font-size: 17px; font-weight: 600; }

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-3);
  font-size: 17px;
  padding: 4px 8px;
  border-radius: 6px;
}
.modal-close:hover { background: var(--surface-2); color: var(--text); }

.modal-body { padding: 20px 24px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.form-group input {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-group input::placeholder { color: var(--text-3); }

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

.btn-cancel {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-2);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}
.btn-cancel:hover { background: var(--surface-2); }

.btn-save {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-save:hover { opacity: 0.9; }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s;
  pointer-events: none;
  z-index: 9999;
  max-width: 320px;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 10px; }

/* ── Responsive ── */
@media (max-width: 680px) {
  .app-layout { flex-direction: column; }
  .sidebar { width: 100%; min-width: unset; height: 40vh; border-right: none; border-bottom: 1px solid var(--border); }
  .fields-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .detail-header { flex-direction: column; }
}

/* ── Logo imagen ── */
.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: var(--radius);
}

/* ── Marca field destacada ── */
.marca-group {
  margin-bottom: 4px;
}

.marca-label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--accent) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.marca-input {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  padding: 12px 14px !important;
  border: 2px solid var(--accent) !important;
  border-radius: var(--radius-lg) !important;
  background: var(--accent-light) !important;
  letter-spacing: 0.01em;
}

.marca-input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.15) !important;
  background: #fff !important;
}

.marca-input::placeholder {
  color: #93c5fd !important;
  font-weight: 400 !important;
  font-size: 15px !important;
}

.form-divider {
  border: none;
  border-top: 1px dashed var(--border-dark);
  margin: 14px 0;
}

/* ── Marca en ficha detalle ── */
.detail-marca {
  font-size: 21px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.detail-marca-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid #bfdbfe;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

/* ── Lista: marca visible ── */
.prov-marca {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Detail header text ── */
.detail-header-text { display: flex; flex-direction: column; gap: 4px; }
.detail-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.detail-nif { font-size: 13px; color: var(--text-3); }
.detail-name--sub { font-size: 14px !important; color: var(--text-2) !important; font-weight: 500 !important; }

/* ── 4-column grid for identification ── */
.fields-grid--4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

/* ── Copy bar always centered, sticky at bottom ── */
.copy-bar {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  padding: 14px 20px !important;
  background: var(--surface-2) !important;
  border-top: 2px dashed var(--border-dark) !important;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
  align-items: center !important;
  justify-content: center !important;
}

.copy-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  margin-right: 2px;
}

/* ── Compact detail overrides ── */
.detail-name { font-size: 16px !important; font-weight: 600; }
.detail-name.detail-name--sub { font-size: 13px !important; color: var(--text-2) !important; font-weight: 500 !important; }
.detail-marca { font-size: 20px !important; font-weight: 700; color: var(--accent); line-height: 1.1; }
.detail-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 3px; }
.detail-nif { font-size: 12px; color: var(--text-3); }
.detail-header-text { display: flex; flex-direction: column; gap: 2px; }

.section-title { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.field-label { font-size: 11px; color: var(--text-3); margin-bottom: 2px; font-weight: 500; }
.field-value { font-size: 13px; color: var(--text); }
.field-value.empty, .field-value span.empty { color: var(--text-3); font-style: italic; }
.field-value a { color: var(--accent); text-decoration: none; }
.field-value a:hover { text-decoration: underline; }

/* ── Copy bar always fully visible ── */
.copy-bar {
  display: flex !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  padding: 10px 16px !important;
  background: var(--surface-2) !important;
  border-top: 2px dashed var(--border-dark) !important;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
  align-items: center !important;
  justify-content: center !important;
}
.copy-label { font-size: 11px; color: var(--text-3); font-weight: 500; margin-right: 2px; }
.copy-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px !important;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-2);
  font-size: 11px !important;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.copy-btn:hover { background: var(--accent-light); color: var(--accent); border-color: #bfdbfe; }

/* ── Outlook-style polish ── */
.logo-img { width: 28px; height: 28px; object-fit: contain; border-radius: 3px; }

.sidebar-search { padding: 8px 10px; background: #fff; border-bottom: 1px solid var(--border); gap: 6px; }

.search-box {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 0 8px;
}
.search-box:focus-within { background: #fff; border-color: var(--accent); }
.search-box input { padding: 6px 0; font-size: 13px; }

.sidebar-stats { padding: 4px 12px; font-size: 11px; color: var(--text-3); background: #fafafa; }

.prov-name { font-size: 13px; font-weight: 500; }
.prov-sub { font-size: 11px; color: var(--text-3); }
.prov-marca { font-size: 12px; font-weight: 600; color: var(--accent); }

.top-bar h1 { font-size: 16px; font-weight: 600; color: var(--text); }

.detail-section { padding: 10px 18px; border-bottom: 1px solid var(--border); }
.section-title { font-size: 10px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }

.fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.field-label { font-size: 11px; color: var(--text-3); margin-bottom: 1px; }
.field-value { font-size: 13px; color: var(--text); }

.detail-header { padding: 14px 18px; }
.detail-marca { font-size: 18px !important; }
.detail-name { font-size: 14px !important; }

.badge { font-size: 11px; padding: 2px 8px; border-radius: 3px; }

.modal { border-radius: 6px; }
.modal-header { padding: 14px 20px; }
.modal-header h2 { font-size: 15px; }
.modal-body { padding: 16px 20px; }
.modal-footer { padding: 12px 20px; }
.form-group label { font-size: 12px; }
.form-group input { font-size: 13px; padding: 6px 10px; border-radius: 4px; }

.marca-input { font-size: 16px !important; padding: 10px 12px !important; }
.marca-label { font-size: 12px !important; }

/* ── CAE Module ── */
.btn-action.cae {
  background: #5b21b6;
  color: #fff;
  border-color: #5b21b6;
}
.btn-action.cae:hover { background: #4c1d95; }

.modal-cae { width: 820px; max-width: 95vw; }
.modal-small { width: 460px; }

.cae-body { padding: 0; max-height: 75vh; overflow-y: auto; }

.cae-section {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}
.cae-section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cae-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}

.cae-doc-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  background: var(--surface);
}
.cae-doc-card:hover { border-color: var(--accent); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }

.cae-doc-name { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.cae-doc-date { font-size: 11px; color: var(--text-3); }

.cae-semaforo {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.cae-semaforo.verde  { background: #16a34a; }
.cae-semaforo.amarillo { background: #eab308; }
.cae-semaforo.rojo   { background: #dc2626; }
.cae-semaforo.gris   { background: #d1d5db; }

.cae-trabajador-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.cae-trab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--surface-2);
  cursor: pointer;
}
.cae-trab-name { font-size: 13px; font-weight: 600; color: var(--text); }
.cae-trab-meta { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.cae-trab-docs {
  padding: 12px 14px;
  display: none;
}
.cae-trab-docs.open { display: block; }

.cae-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-3);
  font-size: 12px;
}

.btn-add-small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 11px;
  cursor: pointer;
}
.btn-add-small:hover { background: var(--accent-dark); }

.btn-trab-del {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  padding: 4px 6px;
  font-size: 12px;
}

/* Logo as link (home button) */
a.logo { text-decoration: none; cursor: pointer; transition: opacity 0.15s; }
a.logo:hover { opacity: 0.85; }
