/* 🔥 BASE */
.kiyaya-neon {
  background: radial-gradient(circle at top, #0b1026, #020617);
  color: #fff;
  font-family: Inter, sans-serif;
  min-height: 100vh;
}
/* 🔥 Elementor override */
.kiyaya-app {
  background: radial-gradient(circle at top, #0b1026, #020617) !important;
  padding: 60px 20px;
  border-radius: 20px;
}

/* fix witte page */
body {
  background: #020617 !important;
}

#kb-submit {
    margin-top: 30px;
}

/* placeholder kleur */
#kiyaya-builder-app input::placeholder,
#kiyaya-builder-app textarea::placeholder {
    color: rgba(249,249,249,0.5);
}
.kiyaya-app input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: #0f172a;
  color: #fff;
  margin-top: 6px;
  margin-bottom: 14px;
}

.kiyaya-app input:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,.5);
}
/* 🔥 HERO */
.kiyaya-neon h1 {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;

  background: linear-gradient(90deg, #22c55e, #3b82f6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 25px rgba(59,130,246,.6);
}

.kiyaya-neon p {
  text-align: center;
  color: #9ca3af;
}


/* 🔥 INPUTS */
.kiyaya-neon input {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  margin-bottom: 12px;

  background: #0f172a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: #fff;

  transition: 0.2s;
}

.kiyaya-neon input:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,.6);
}

/* 🔥 FIX: slider gaat echt tot rechts */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

/* TRACK */
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: #555;
    border-radius: 10px;
}

/* THUMB */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #22c55e;
    border-radius: 50%;
    margin-top: -5px; /* belangrijk voor alignment */
    cursor: pointer;
}
.demo-points {
  color: #ffffff;
}
.kb-upload {
    border: 2px dashed rgba(255,255,255,.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
    background: rgba(255,255,255,0.02);
}

.kb-upload:hover {
    border-color: #22c55e;
    box-shadow: 0 0 15px rgba(34,197,94,.4);
}

.kb-upload.dragover {
    border-color: #22c55e;
    background: rgba(34,197,94,.08);
}

.kb-upload img {
    display: block;
    margin: 15px auto 0;
    max-width: 120px;
    border-radius: 12px;
}

/* profielfoto rond */
#kb-photo-preview {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
}
/* 🔥 BUTTONS */
.kiyaya-neon button {
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border: none;
  padding: 14px 18px;
  border-radius: 12px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;

  box-shadow:
    0 10px 30px rgba(34,197,94,.5),
    0 0 15px rgba(34,197,94,.6);

  transition: 0.2s;
}

.kiyaya-neon button:hover {
  transform: scale(1.04);
  box-shadow:
    0 15px 40px rgba(34,197,94,.7),
    0 0 25px rgba(34,197,94,.9);
}
.kb-remove-btn {
    margin-top: 10px;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.4);
    color: #ef4444;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
}

.kb-remove-btn:hover {
    background: rgba(239,68,68,0.2);
}

#kb-preview-card {
  overflow: visible;
}
#kb-preview-banner {
aspect-ratio: 16 / 5;
width:100%;
object-fit:cover;
display:block;
 
}

#kb-preview-photo {
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:50%;
    display: block;
    margin:0 auto 14px auto;
    border:4px solid #fff;
}

#kb-preview-name {
    font-size:24px;
    line-height:1.2;
    margin:0 0 6px 0;
    text-align: center;
}

#kb-preview-job {
    font-size:14px;
    margin-top:2px;
    margin-bottom:12px;
    color:#cccccc;
    text-align: center;
}

#kb-preview-slogan {
    font-size:13px;
     text-align: center;
    line-height:1.5;
    margin-top:12px;
    margin-bottom:10px;
    color:#999999;
}

.kb-preview-buttons {
    display:flex;
    flex-direction:column;
    gap:16px;
    margin-top:20px;
}

#kb-preview-wrap {
    display: flex;
    justify-content: center;

    transform: scale(0.75);
    transform-origin: top center;
}

#kb-preview-card {
    text-align: center;
}

#kb-preview-card {
  padding: 0 !important;
}

#kb-preview-card > div {
  padding: 20px;
}
/* telefoon frame effect */
#kb-preview-card {
  width: 100%;
  max-width: 360px;
  border-radius: 30px;
  padding: 20px;

  background: linear-gradient(180deg, #0f172a, #020617);

  box-shadow:
    0 30px 80px rgba(0,0,0,.8),
    0 0 25px rgba(59,130,246,.4);

  position: relative;
}



.kiyaya-app h2 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 20px;
}

.kiyaya-app label {
  color: #9ca3af;
  font-size: 13px;
}


/* 🔥 CTA BUTTONS IN CARD */
#kb-preview-card a {
  transition: 0.2s;
}

#kb-preview-card a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,255,255,.3);
}

/* 🔥 UNLOCK BOX */
.kiyaya-unlock-box {
  text-align: center;
  margin-top: 60px;
}

.kiyaya-unlock-box button {
  background: linear-gradient(90deg, #3b82f6, #a855f7);
  box-shadow:
    0 0 20px rgba(168,85,247,.7),
    0 10px 30px rgba(0,0,0,.5);
}

/* 🔥 LOCK EFFECT */
body:not(.kiyaya-unlocked) .export-btn {
  opacity: 0.4;
  pointer-events: none;
}

  .builder-right {
    position: relative;
    top: 0;
  }

.kiyaya-panel {
  width: 100%;
  overflow: visible;
}
/* 🔥 KIYAYA CLEAN LAYOUT */

#kiyaya-builder-app {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: 60px auto;
  align-items: flex-start;
}
.kiyaya-preview {
  width: 380px;
  flex-shrink: 0;

  position: sticky;
  top: 40px;

  align-self: flex-start; /* 🔥 deze is KEY */
}
/* linker kolom */
.kiyaya-panel {
  flex: 1;
  max-width: 650px;
}

/* rechter kolom */
.kiyaya-preview {
  width: 380px;
  flex-shrink: 0;
  position: sticky;
  top: 40px;
}

/* 🔥 inputs */
.kiyaya-app input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: #0f172a;
  color: #fff;
  margin-top: 6px;
  margin-bottom: 14px;
}


/* 🔥 focus effect */
.kiyaya-app input:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,.5);
}


/* 🔥 preview telefoon look */
#kb-preview-card {
  max-width: 360px;
  border-radius: 30px;
  background: linear-gradient(180deg, #0f172a, #020617);
  box-shadow:
    0 30px 80px rgba(0,0,0,.8),
    0 0 25px rgba(59,130,246,.4);
  position: relative;
}

/* 🔥 glow border */
#kb-preview-card::before {
  content: '';
  position: absolute;
  inset: 0px;
  background: linear-gradient(90deg, #22c55e, #3b82f6, #a855f7);
  filter: blur(20px);
  opacity: 0.4;
  z-index: -1;
}
/* 🔥 FIX LEESBAARHEID */

.kiyaya-panel,
.kiyaya-section {
    color: #ffffff;
}
.kiyaya-panel {
    width: 100%;
}
/* labels duidelijker */
.kiyaya-section label {
    color: #e5e7eb; /* lichtgrijs → goed leesbaar */
}

/* inputs tekst */
.kiyaya-section input {
    color: #ffffff;
}

.kiyaya-tip {
    margin: 20px 0 25px 0;
    padding: 12px 14px;

    border-radius: 12px;

    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.3);

    color: #22c55e;
    font-size: 13px;

    box-shadow: 0 0 10px rgba(34,197,94,0.2);
}

/* placeholder tekst */
.kiyaya-section input::placeholder {
    color: #9ca3af;
}

/* titels */
.kiyaya-panel h2,
.kiyaya-panel h3 {
    color: #ffffff;
}
/* 🔥 subtiele glow op titels */
.kiyaya-panel h2 {
    text-shadow: 0 0 10px rgba(59,130,246,.5);
}
/* 🔥 TABS */
.kiyaya-tabs {
    display:flex;
    gap:10px;
    margin-bottom:20px;
}
.kiyaya-tabs {
    position: relative;
    z-index: 10;
}

.kb-upload {
    position: relative;
    z-index: 1;
}
.kiyaya-tab {
    flex:1;
    padding:10px;
    border-radius:10px;

    border:1px solid #22c55e; /* 🔥 neon groen */
    background:#020617;

    color:#22c55e; /* tekst ook groen */

    cursor:pointer;
    transition:.2s;

    /* 🔥 glow */
    box-shadow:
        0 0 6px rgba(34,197,94,0.6),
        inset 0 0 6px rgba(34,197,94,0.3);
}

.kiyaya-tab.active {
    color:#fff;
    background: linear-gradient(135deg,#22c55e,#16a34a);

    border:1px solid #22c55e;

    box-shadow:
        0 0 20px rgba(34,197,94,1),
        0 0 40px rgba(34,197,94,0.6);
}

/* 🔥 CONTENT */
.kiyaya-tab-content {
    display:none;
}

.kiyaya-tab-content.active {
    display:block;
}
.kiyaya-preview h2 {
    color: #ffffff !important;
}

#kiyaya-builder-app label {
  color: #e5e7eb;
}

#kiyaya-builder-app input,
#kiyaya-builder-app textarea,
#kiyaya-builder-app select {
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px;
    border-radius: 10px;
}

/* placeholder */
#kiyaya-builder-app input::placeholder,
#kiyaya-builder-app textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

/* spacing */
#kiyaya-builder-app .kiyaya-section label {
    display:block;
    margin-top: 12px;
    margin-bottom: 6px;
}

#kiyaya-builder-app .kiyaya-section input,
#kiyaya-builder-app .kiyaya-section select {
    margin-bottom: 18px;
}

/* autofill fix */
#kiyaya-builder-app input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #0f172a inset !important;
    -webkit-text-fill-color: #ffffff !important;
}
@media (min-width: 901px) {
  .kiyaya-preview {
    position: fixed !important;
    top: 80px !important; /* 🔥 meer ruimte boven */

    right: calc((100vw - 1100px) / 2);
    width: 380px !important;
    z-index: 999;

    max-height: calc(100vh - 120px); /* 🔥 ruimte onder */
    overflow: auto; /* 🔥 voorkomt “vastlopen” */
  }

  .kiyaya-panel {
    max-width: 650px;
    margin-right: 420px;
  }
}

@media (max-width: 1200px) {
  .kiyaya-preview {
    right: 20px !important;
  }
}