.zzp-dashboard {
    padding: 20px;
    background: #f9f9f9;
    font-family: "Segoe UI", sans-serif;
}

.zzp-form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
}

.zzp-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    flex: 1 1 calc(50% - 20px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.zzp-card.fullwidth {
    flex: 1 1 100%;
}

.zzp-card h3 {
    margin-top: 0;
    font-size: 18px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.zzp-card label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: #444;
}

.zzp-card input[type="text"],
.zzp-card input[type="email"],
.zzp-card input[type="date"],
.zzp-card input[type="file"],
.zzp-card textarea {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.zzp-submit {
    flex: 1 1 100%;
    text-align: right;
}

.zzp-submit .button {
    padding: 10px 20px;
    font-size: 16px;
}

/* Menu */
.zzp-sidebar {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    max-width: 260px;
    font-family: 'Segoe UI', sans-serif;
}

.zzp-sidebar h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #222;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.zzp-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zzp-menu li {
    margin-bottom: 12px;
}

.zzp-menu a {
    display: block;
    background: #f1f5f9;
    padding: 12px 16px;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    box-shadow: inset 0 0 0 1px transparent;
}

.zzp-menu a:hover {
    background: #0073aa;
    color: white;
    box-shadow: inset 0 0 0 1px #0073aa;
}

.zzp-menu a.active {
    background: #0073aa;
    color: white;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px #005f8d;
}

/* Aanmaken knop detacheringsbureau */
.zzp-form.hidden {
    display: none;
}
.zzp-form.visible {
    display: block;
    margin-top: 20px;
}

.zzp-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.zzp-toggle-button {
    background: #0073aa;
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.zzp-toggle-button:hover {
    background-color: #005f8d;
}

.formulier-succesmelding {
    background-color: #d4edda;
    /* Lichtgroen */
    color: #155724;
    /* Donkergroen voor de tekst */
    padding: 15px 20px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.zzp-feedback-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    padding: 25px;
}

.zzp-feedback-info {
    background-color: #e2e3e5;
    border-color: #d6d8db;
    color: #383d41;
    padding: 25px;
}

.zzp-feedback-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    padding: 25px;
}



/* ===== Accountoverzicht: Documenten-layout ===== */
.zzp-docs-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:20px;
}
@media (max-width: 980px){
  .zzp-docs-grid{ grid-template-columns:1fr; }
}

.zzp-card{
  background:#fff; border:1px solid #eef1f6; border-radius:14px;
  box-shadow:0 6px 18px rgba(16,24,40,.04);
}
.zzp-card--flush .zzp-card__section{ padding:16px 18px; }
.zzp-card__title{
  margin:0 0 12px; font-size:16px; font-weight:700; color:#0f172a;
}
.zzp-card__section{ padding:18px; }
.zzp-card__section + .zzp-card__section{ border-top:1px solid #f1f4f9; }
.zzp-card__section--muted{ background:#fafbfd; border-top:1px dashed #e6ecf5; border-bottom-left-radius:14px; border-bottom-right-radius:14px; }

.field{ margin:12px 0; }
.field--stack label{ display:block; font-weight:600; margin:0 0 6px; color:#0b1324; }
.field small{ opacity:.7; font-weight:500; }

.zzp-links{ margin-top:6px; }
.zzp-links .link{ display:inline-block; font-size:13px; text-decoration:underline; }

.zzp-req-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.zzp-req-list li{
  display:flex; justify-content:space-between; align-items:center;
  background:#fff; padding:10px 12px; border:1px solid #eef2f7; border-radius:10px;
}
.chip{ display:inline-block; padding:2px 8px; border-radius:999px; font-size:12px; font-weight:700; }
.chip.ok{ background:#e9f9ee; color:#0a7a3a; border:1px solid #c9f0d6; }

.zzp-submit--right{ display:flex; justify-content:flex-end; margin-top:16px; }


/* ===== Documenten: nette 2-koloms layout ===== */
.zzp-docs-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:20px;
}
@media (max-width: 980px){
  .zzp-docs-grid{ grid-template-columns:1fr; }
}

/* Cards */
.zzp-card{ background:#fff; border:1px solid #eef0f4; border-radius:16px; box-shadow:0 1px 2px rgba(16,24,40,.04); }
.zzp-card--flush .zzp-card__section{ padding:18px 18px 0; }
.zzp-card__section + .zzp-card__section{ border-top:1px solid #f3f4f6; padding:18px; }
.zzp-card__section--muted{ background:#fafbfc; border-bottom-left-radius:16px; border-bottom-right-radius:16px; }

/* Headings */
.zzp-card__title{ margin:0 0 10px; font-size:16px; font-weight:600; color:#0f172a; }

/* Form fields (linkerkolom) */
.field{ margin-bottom:14px; }
.field--stack label{ display:block; font-weight:600; margin:0 0 6px; }
.field small{ color:#6b7280; font-weight:500; }

/* “Vereisten vanuit opdrachtgever” lijst */
.zzp-req-list{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.zzp-req-list li{
  display:flex; justify-content:space-between; align-items:center;
  background:#fff; border:1px solid #eef0f4; border-radius:12px; padding:10px 12px;
}

/* Chips / badges */
.chip{ display:inline-flex; align-items:center; gap:6px; font-size:12px; padding:4px 8px; border-radius:999px; border:1px solid transparent; }
.chip.ok{ background:#ecfdf5; color:#047857; border-color:#bbf7d0; }
.chip.muted{ background:#f3f4f6; color:#6b7280; border-color:#e5e7eb; }
.chip.info{ background:#eef2ff; color:#3730a3; border-color:#c7d2fe; }

/* Submit rechts uitlijnen */
.zzp-submit--right{ display:flex; justify-content:flex-end; }

/* ===== Accordeon (rechterkolom) ===== */
.zzp-accordion{ display:flex; flex-direction:column; gap:10px; }
.zzp-accordion__item{ border:1px solid #eef0f4; border-radius:12px; background:#fff; overflow:hidden; }
.zzp-accordion__trigger{
  width:100%; display:flex; justify-content:space-between; align-items:center;
  gap:12px; padding:12px 14px; background:#fff; border:none; cursor:pointer; text-align:left;
}
.zzp-acc-title{ font-weight:600; color:#0f172a; }
.zzp-acc-chips{ display:flex; align-items:center; gap:8px; }
.zzp-acc-caret{ transition:transform .2s ease; }
.zzp-accordion__item.is-open .zzp-acc-caret{ transform:rotate(180deg); }

.zzp-accordion__panel{ padding:12px 14px 14px; border-top:1px solid #f3f4f6; }

/* ===== Dropzone: verberg native input, maak hele blok klikbaar ===== */
.zzp-dropzone{ position:relative; border:1.5px dashed #d1d5db; border-radius:12px; background:#fafbfc; }
.zzp-dropzone:hover{ background:#f7faff; border-color:#94a3b8; }
.zzp-dropzone__input{
  position:absolute; inset:0; opacity:0; cursor:pointer; /* native input blijft functioneel, maar onzichtbaar */
}
.zzp-dropzone__inner{ padding:18px; display:flex; align-items:center; gap:12px; }
.zzp-dz-icon{ width:28px; height:28px; display:grid; place-items:center; border-radius:8px; background:#eef2ff; color:#3730a3; font-weight:700; }
.zzp-dz-text strong{ display:block; font-weight:600; color:#0f172a; }
.zzp-dz-text small{ display:block; color:#6b7280; }

/* Bestandsnaam-regel onder de dropzone */
.zzp-dz-filename{ margin-top:8px; font-size:12px; color:#475569; }
.zzp-dz-current{ margin-top:6px; font-size:12px; }

/* Verklein “No file chosen”-tekst van sommige browsers als hij toch nog zichtbaar is */
input[type="file"]{ font-size:12px; }

/* Maak de rechterkolom rustiger: zet de accordeon bovenaan en laat padding het werk doen */
.zzp-card > .zzp-accordion{ padding:10px; }

/* Verwijder dubbele randen in rechter card */
.zzp-card .field{ margin:10px 0 0; }
