.ow-wrap { max-width: 980px; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; }
.ow-toast { background:#ecfeff; border:1px solid #a5f3fc; color:#0f172a; padding:12px 14px; border-radius:14px; margin: 0 0 14px; }

.ow-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 16px; padding: 6px; border: 1px solid #e7eaf0; margin-bottom: 18px; }
.ow-tab { border: 0; background: transparent; padding: 12px 14px; border-radius: 12px; cursor: pointer; font-weight: 700; color: #0b1b2b; }
.ow-tab.is-active { background: #0f2b3a; color: #fff; }

.ow-form { background: #fff; }
.ow-step { display: none; }
.ow-step.is-active { display: block; }

.ow-block { border: 1px solid #eef1f6; border-radius: 18px; padding: 18px; background: #fff; }
.ow-label { font-weight: 800; display: block; margin: 0 0 8px; }
.ow-field select { width: 100%; padding: 14px 14px; border-radius: 14px; border: 1px solid #e2e6ee; outline: none; }

.ow-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; margin-top: 14px; }
@media (max-width: 900px){ .ow-grid { grid-template-columns: 1fr; } }

.ow-h { margin: 16px 0 8px; font-size: 16px; }
.ow-muted { color: #5a6775; font-size: 13px; margin: 0 0 10px; }

.ow-measures { display: grid; gap: 10px; margin-top: 10px; }
.ow-measure input,
.ow-two-col input,
textarea { width: 100%; padding: 14px 14px; border-radius: 14px; border: 1px solid #e2e6ee; outline: none; }

.ow-specs { display: grid; gap: 10px; margin-top: 10px; }
.ow-specs select { width: 100%; padding: 14px; border-radius: 14px; border: 1px solid #e2e6ee; outline: none; }

.ow-options { display: flex; gap: 16px; margin-top: 8px; }
.ow-options label { display: flex; gap: 8px; align-items: center; color: #223; }

.ow-preview { border: 1px solid #eef1f6; border-radius: 18px; padding: 18px; height: 100%; }
.ow-preview-inner { display: grid; place-items: center; min-height: 280px; background: #fafbfd; border-radius: 14px; }
.ow-preview-img { max-width: 100%; height: auto; display: none; }
.ow-preview-placeholder { color: #7b8794; font-size: 13px; padding: 18px; text-align: center; }

.ow-actions { margin-top: 16px; display: flex; justify-content: flex-end; }
.ow-actions-split { justify-content: space-between; }

.ow-btn { border: 1px solid #e2e6ee; background: #fff; padding: 12px 16px; border-radius: 14px; cursor: pointer; font-weight: 800; }
.ow-btn-primary { background: #0f2b3a; color: #fff; border-color: #0f2b3a; }

.ow-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 700px){ .ow-two-col { grid-template-columns: 1fr; } }

.ow-upload { border: 1px dashed #cfd6e3; border-radius: 14px; padding: 14px; background: #fbfcfe; }
.ow-upload-hint, .ow-upload-count { font-size: 12px; color: #5a6775; margin-top: 8px; }

.ow-check { display: flex; gap: 10px; align-items: center; margin-top: 12px; color: #223; }

/* Error highlight */
.ow-error { border-color: #e54848 !important; background: #fff6f6; }


/* Loading overlay */
.ow-loading {
  position: fixed;
  inset: 0;
  background: rgba(15, 43, 58, 0.55);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.ow-loading.is-active {
  display: flex;
}

.ow-loading-box {
  background: #ffffff;
  padding: 28px 32px;
  border-radius: 18px;
  text-align: center;
  max-width: 320px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.ow-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid #e5e7eb;
  border-top-color: #0f2b3a;
  border-radius: 50%;
  animation: owspin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes owspin {
  to { transform: rotate(360deg); }
}

.ow-error-box {
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  color: #c00;
}

.ow-error-box strong {
  color: #900;
}


/* Voeg dit toe aan je bestaande CSS file */

/* Info boxes voor bedrijfsdeur */
.ow-specs-info,
.ow-options-info {
  background: #f3f4f6;
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
  font-style: italic;
  color: #4b5563;
}

.ow-specs-info p,
.ow-options-info p {
  margin: 0;
  line-height: 1.5;
}

/* Hide/show measures section */
.ow-measures {
  transition: all 0.3s ease;
}

/* Specificaties layout */
.ow-specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.ow-specs select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.ow-specs select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Opties layout */
.ow-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.ow-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f9fafb;
  border-radius: 6px;
  cursor: pointer;
}

.ow-options label:hover {
  background: #f3f4f6;
}

.ow-options input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* Preview image */
.ow-preview-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .ow-specs,
  .ow-options {
    grid-template-columns: 1fr;
  }
  
  .ow-grid {
    grid-template-columns: 1fr;
  }
}

/* Voeg dit toe aan je bestaande CSS file */

/* Tooltip styling */
.ow-tooltip-trigger {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: #3b82f6;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 18px;
  font-size: 12px;
  cursor: help;
  margin-left: 8px;
  vertical-align: middle;
  position: relative;
}

.ow-tooltip-trigger:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  z-index: 1000;
  margin-bottom: 8px;
}

.ow-tooltip-trigger:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1f2937;
  margin-bottom: 2px;
  z-index: 1001;
}

/* Bedrijfsdeur info */
.ow-bedrijfsdeur-info {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.ow-bedrijfsdeur-info h3 {
  color: #1f2937;
  margin-top: 0;
}

.ow-bedrijfsdeur-info .ow-muted {
  color: #6b7280;
  margin-bottom: 16px;
}

/* Upload styling */
.ow-upload {
  margin: 16px 0;
}

.ow-upload input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 2px dashed #d1d5db;
  border-radius: 6px;
  background: white;
  cursor: pointer;
}

.ow-upload input[type="file"]:hover {
  border-color: #3b82f6;
}

.ow-upload-hint {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

.ow-upload-count {
  font-size: 14px;
  color: #059669;
  margin-top: 8px;
  font-weight: 500;
}

/* Maten sectie show/hide */
.ow-measures-section {
  transition: all 0.3s ease;
}

/* Specificaties layout */
.ow-specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.ow-specs select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.ow-specs select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Opties layout */
.ow-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.ow-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f9fafb;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.ow-options label:hover {
  background: #f3f4f6;
}

.ow-options input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #3b82f6;
}

/* Preview image */
.ow-preview-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
  .ow-specs,
  .ow-options {
    grid-template-columns: 1fr;
  }
  
  .ow-grid {
    grid-template-columns: 1fr;
  }
  
  .ow-tooltip-trigger:hover::after {
    white-space: normal;
    max-width: 200px;
  }
}

/* Form elements */
.ow-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1f2937;
}

.ow-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: white;
}

.ow-field select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Button styling */
.ow-btn {
  padding: 10px 20px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  color: #4b5563;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.ow-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.ow-btn-primary {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.ow-btn-primary:hover {
  background: #2563eb;
  border-color: #2563eb;
}

.ow-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.ow-actions-split {
  display: flex;
  justify-content: space-between;
}

