/* sailABC Tools — Dziennik pokładowy (MVP) */

.log-page{ padding: 28px 0 46px; }
.log-hero{ margin-bottom: 14px; }

.grid2{
  display:grid;
  gap:12px;
  grid-template-columns: 1fr;
  margin-top: 10px;
}
.grid3{
  display:grid;
  gap:12px;
  grid-template-columns: 1fr;
  margin-top: 10px;
}

@media (min-width: 860px){
  .grid2{ grid-template-columns: 1fr 1fr; }
  .grid3{ grid-template-columns: 1fr 1fr 1fr; }
}

.field label{
  display:block;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}
.field input{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.92);
  outline: none;
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 14px;
}

.log-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 10px;
}

.table-wrap{
  overflow:auto;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.10);
}

.log-table{
  width:100%;
  border-collapse:collapse;
  min-width: 920px;
}

.log-table th, .log-table td{
  text-align:left;
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.86);
  font-size:14px;
  vertical-align: top;
}

.log-table th{
  color: rgba(255,255,255,0.92);
  font-size:13px;
  white-space: nowrap;
}

.td-small{ white-space: nowrap; }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.btn-danger{
  border-color: rgba(225,29,72,0.45);
  background: rgba(225,29,72,0.18);
}
.btn-danger:hover{
  border-color: rgba(225,29,72,0.65);
  background: rgba(225,29,72,0.26);
}

/* Print view (Raport PDF) */
@media print{
  body{ background:#fff !important; color:#111 !important; }
  .site-header, .site-footer, .btn, .nav-btn, .actions, .log-head-actions { display:none !important; }
  .card{ box-shadow:none !important; border:1px solid #ddd !important; background:#fff !important; }
  .muted{ color:#333 !important; }
  .table-wrap{ border:0 !important; }
  .log-table{ min-width:auto !important; }
  .log-table th, .log-table td{ color:#111 !important; border-bottom:1px solid #ddd !important; }
}
