:root{
  --bg:#f3f3f3;
  --panel:#fff;
  --line:#e6e6e6;
  --muted:#777;
  --text:#111;
  --link:#1e73be;
  --side:#ececec;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.app{ display:flex; min-height:100vh; }

/* Sidebar */
.sidebar{
  width:260px;
  background:var(--side);
  border-right:1px solid var(--line);
  padding:18px 16px;
}
.brand{
  display:flex;
  gap:10px;
  align-items:center;
  padding:8px 8px 8px;
  border-bottom:1px solid var(--line);
  margin-bottom:12px;
}

.logo-img {
  width: 201px;          /* largura do espaço da logo */
  height: 61px;         /* altura do espaço da logo */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img img {
  width: 100%;          /* ocupa o container */
  height: auto;         /* mantém proporção */
  object-fit: contain; /* nunca corta */
}

.brand .logo{
  width:20px;
  height:20px;
  border-radius:10px;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:700;
}



.brand .t1{ font-weight:700; }
.brand .t2{ font-size:12px; color:var(--muted); }

.nav{
  margin-top:12px;
  display:flex;
  flex-direction:column;
}
.nav a{
  padding:12px 10px;
  border-radius:10px;
  margin-bottom:6px;
  color:#222;
  text-decoration:none;
}
.nav a.active{
  background:#fff;
  font-weight:700;
  border:1px solid var(--line);
}
.nav a:hover{ background:#fff; }

/* Conteúdo */
.content{ flex:1; padding:18px 20px; }

/* Topbar */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}
.left-controls{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.label{ color:#444; font-size:14px; }
select{
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:6px;
  background:#fff;
}
.reset{
  color:var(--link);
  font-size:14px;
  text-decoration:none;
}
.search{
  width:min(520px,60vw);
  padding:10px 12px;
  border:2px dashed #cfcfcf;
  border-radius:10px;
  outline:none;
  background:#fff;
}

/* Tabela */
.table-wrap{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:6px;
  overflow:hidden;
}
table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}
thead th{
  background:#f7f7f7;
  border-bottom:1px solid var(--line);
  padding:12px;
  font-size:14px;
  text-align:left;
}
tbody td{
  border-bottom:1px solid var(--line);
  padding:14px 12px;
  vertical-align:top;
  font-size:14px;
}
.col-img{ width:180px; }
.col-ref{ width:160px; }
.col-drive{ width:190px; }

.thumb{
  width:160px;
  height:160px;
  border:1px solid #cfcfcf;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.thumb img{
  max-width:100;
  max-height:100%;
  display:block;
  padding: 15px 15px 8px;
}

.nome a{ color:var(--link); text-decoration:none; }
.muted{ color:var(--muted); }
.ref{
  font-family: Consolas, monospace;
  color:#222;
}

/* Botão Drive */
.btn-drive{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  text-decoration:none;
}
.btn-drive .g{
  font-weight:700;
  color:#db4437;
}

.footer-count{
  padding:10px 12px;
  font-size:12px;
  color:var(--muted);
}



/* Título do produto */
.nome .title {
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.nome .title:hover {
  text-decoration: underline;
}

/* Área dos botões */
.actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Botões estilo tag */
.btn-tag {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}

.btn-tag:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
