body, input, textarea, button, .ql-editor {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

body::before {
    content: "";
    position: fixed;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1; /* 10% zichtbaarheid */
    z-index: -1;
}

body.nachdenken::before {
  background-image: url("/static/img/nachdenken.png");
}

body.ordnen::before {
  background-image: url("/static/img/ordnen.png");
}

body.verdeutschen::before {
  background-image: url("/static/img/verdeutschen.png");
}

body.schreiben::before {
  background-image: url("/static/img/schreiben.png");
}

body.korrekturlesen::before {
  background-image: url("/static/img/korrekturlesen.png");
}

body.evaluieren::before {
  background-image: url("/static/img/evaluieren.png");
}

body.verbessern::before {
  background-image: url("/static/img/verbessern.png");
}

body.evaluieren2::before {
  background-image: url("/static/img/evaluieren.png");
}

body.inleveren::before {
  background-image: url("/static/img/inleveren.png");
}

body.nachdenken {
  background-color: rgba(179, 0, 255, 0.1); /* #b300ff */
}

body.ordnen {
  background-color: rgba(213, 0, 234, 0.1); /* #d500ea */
}

body.verdeutschen {
  background-color: rgba(239, 3, 198, 0.1); /* #ef03c6 */
}

body.schreiben {
  background-color: rgba(255, 15, 148, 0.1); /* #ff0f94 */
}

body.korrekturlesen {
  background-color: rgba(255, 52, 88, 0.1); /* #ff3458 */
}

body.evaluieren {
  background-color: rgba(255, 79, 42, 0.1); /* #ff4f2a */
}

body.verbessern {
  background-color: rgba(255, 108, 13, 0.1); /* #ff6c0d */
}

body.evaluieren2 {
  background-color: rgba(255, 146, 0, 0.1); /* #ff9200 */
}

body.inleveren {
  background-color: rgba(255, 196, 0, 0.1); /* #ffc400 */
}

/* Gemeenschappelijke achtergrondinstellingen */
body {
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 100%;
  background-attachment: fixed;
  transition: background-color 0.3s ease;
}

.stap-flow {
  display: flex;
  flex-wrap: wrap;
  overflow-x: auto;
  margin: 20px 0;
  padding: 0;  /* geen horizontale ruimte */
  gap: 3px;      /* zorg dat ze echt tegen elkaar zitten */
}

/* Elke pijlknop */
.stap {
  flex: 1 1 auto;
  min-width: 140px;
  padding: 10px 20px;
  background-color: gray;
  color: white;
  text-align: center;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin-left: -12px; /* schuift tegen vorige pijl aan */
  clip-path: polygon(
    0% 0%, 
    calc(100% - 12px) 0%, 
    100% 50%, 
    calc(100% - 12px) 100%, 
    0% 100%, 
    12px 50%
  );
  z-index: 1;
}

/* .stap:first-child {
  margin-left: 0;
  clip-path: polygon(
    0% 0%,
    calc(100% - 12px) 0%,
    100% 50%,
    calc(100% - 12px) 100%,
    0% 100%
  );
}
 */
/* Hover effect */
.stap:hover {
  transform: scale(1.02);
}

/* Kleuren per stap */
.stap.nachdenken      { background-color: #b300ff; }
.stap.ordnen          { background-color: #d500ea; }
.stap.verdeutschen    { background-color: #ef03c6; }
.stap.schreiben       { background-color: #ff0f94; }
.stap.korrekturlesen  { background-color: #ff3458; }
.stap.evaluieren      { background-color: #ff4f2a; }
.stap.verbessern      { background-color: #ff6c0d; }
.stap.evaluieren2     { background-color: #ff9200; }
.stap.inleveren       { background-color: #ffc400; }

/* Actieve knop */
.stap.active {
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); 
  background-color: #919191;
}

#editor {
  height: 300px;
}

.container {
  width: 80%;
  margin: auto;
  padding-top: 20px;
}

.volgende-knop {
  display: block;
  margin: 40px auto 20px auto;
  padding: 12px 24px;
  font-size: 16px;
  background-color: #444;
  color: white;
  text-align: center;
  width: fit-content;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.volgende-knop:hover {
  background-color: #222;
}

.terugknop {
  display: inline-block;
  padding: 10px 16px;
  background-color: #ccc;
  color: #000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.terugknop:hover {
  background-color: #bbb;
}

#clear-button {
  margin-top: 12px;
  padding: 6px 14px;
  background-color: #d9534f;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#clear-button:hover {
  background-color: #c9302c;
}

#generate-button {
  margin: 16px 0;
  padding: 8px 16px;
  background-color: #0275d8;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#generate-button:hover {
  background-color: #025aa5;
}

#evaluate-button {
  margin: 16px 0;
  padding: 8px 16px;
  background-color: #0275d8;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#evaluate-button:hover {
  background-color: #025aa5;
}

.readonly-box .ql-editor {
  min-height: 150px;
  background-color: #f3f6fa; /* zacht blauwgrijs */
  border: 1px solid #ccd6e0;
  border-radius: 6px;
  padding: 8px;
  cursor: not-allowed;
}

.ql-container {
    background-color: white !important;
    border-radius: 6px;
    padding: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 6px 6px;
}

.ql-toolbar {
    background-color:  #fefefe !important;
    border-radius: 6px 6px 0 0;
    border: 1px solid #ccc;
}

#response-editor {
    min-height: 200px;
    border: 1px solid #ccc;
    background-color: #fefefe;
    padding: 10px;
}

.step {
  margin-bottom: 40px;
}

#download-pdf {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #5cb85c;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#download-pdf:hover {
  background-color: #4cae4c;
}

#wis-logboek{
  background-color: #d9534f;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#wis-logboek:hover {
  background-color: #c9302c;
}

#reset-alles {
  background-color: #5c5c5c;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#reset-alles:hover {
  background-color: #444;
}

#pdf-wrapper {
    max-width: 800px;
    margin: auto;
    font-family: Arial, sans-serif;
}

#metadata input {
    padding: 6px;
    width: 250px;
    max-width: 100%;
    margin-bottom: 10px;
}

