.penz-naplo, .pn-dashboard {
    background-color: #f9fafb;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px dashed #ccc;
    padding: 20px;
    margin-top: 10mm;
}
.penz-naplo input, .penz-naplo select{
    margin-bottom: 3mm;
}
.pn-submit {
    margin-top: 5mm;
}

.pn-form-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
}

.pn-form-content.is-open {
  max-height: 1000px; /* legyen elég nagy a formhoz */
  opacity: 1;
}

.pn-sep { border:0; height:1px; background:#eee; margin:18px 0; }

.pn-toolbar { display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.pn-tabs { display:flex; gap:8px; }
.pn-tab { padding:8px 12px; border-radius:10px; border:1px solid #e2e2e5; cursor:pointer; }
.pn-tab.is-active { background:#7c3aed; color:#fff; border-color:#7c3aed; }
.pn-search input { padding:10px 12px; border:1px solid #e2e2e5; border-radius:10px; min-width:240px; }

.pn-list-meta { font-size:13px; color:#666; margin:10px 0; }
.pn-table { width:100%; overflow:auto; border:1px solid #eee; border-radius:12px; }
.pn-table table { width:100%; border-collapse:collapse; }
.pn-table th, .pn-table td { padding:10px 12px; border-bottom:1px solid #f2f2f4; text-align:left; }
.pn-table th { position:sticky; top:0; background:#fff; z-index:1; }

.pn-amt-neg { color:#e74c3c; font-weight:600; }
.pn-amt-pos { color:#2ecc71; font-weight:600; }

.pn-more { margin:12px auto 0; display:block; padding:10px 14px; border-radius:10px; border:1px solid #e2e2ff; cursor:pointer; }
.pn-more:hover { background:#ececff; color: #7c3aed;}

.pn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-left: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 560px) {
  .pn-search input { min-width:0; width:100%; }
}
