:root{
  --bg:#0f1115;
  --card:#151923;
  --text:#e9eef7;
  --muted:#a9b3c7;
  --border:#262c3a;
  --accent:#6aa6ff;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
}

.wrap{
  max-width: 1100px;
  margin: 28px auto;
  padding: 0 16px 40px;
}

header h1{ margin:0 0 6px; font-size: 26px; }
.sub{ margin:0 0 18px; color: var(--muted); }

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin: 14px 0;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

h2{ margin: 0 0 12px; font-size: 18px; }

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

label{
  display:flex;
  flex-direction:column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

input, select{
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0f131c;
  color: var(--text);
  outline: none;
}

.actions{ margin-top: 12px; display:flex; gap: 10px; }
button{
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--accent);
  color: #06101f;
  font-weight: 700;
  cursor:pointer;
}

.tableWrap{
  overflow:auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}

table{
  border-collapse: collapse;
  width: 100%;
  min-width: 900px;
}

th, td{
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: right;
  font-size: 13px;
}

th{
  position: sticky;
  top: 0;
  background: #111623;
  color: var(--muted);
}

td:first-child, th:first-child,
td:nth-child(2), th:nth-child(2){
  text-align: left;
}

.initial{
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--muted);
}

.hidden{ display:none; }

.entry{
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin: 10px 0;
}

.entry h3{
  margin: 0 0 8px;
  font-size: 14px;
}

.lines{
  width: 100%;
  border-collapse: collapse;
}

.lines td{
  border-bottom: 1px solid var(--border);
  padding: 8px;
  font-size: 13px;
}
.lines td:nth-child(2),
.lines td:nth-child(3){
  text-align:right;
}

footer{ color: var(--muted); margin-top: 16px; }
.header-gif{
  display: block;
  width: 180px;
  max-width: 100%;
  margin-top: 10px;
  border-radius: 12px;
  opacity: 0.95;
}
.header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.header-text{
  flex: 1;
}

.header-gif{
  width: 420px;
      /* tamaño grande y bonito */
  max-width: 100%;
}
