/* ===== SIRCLE SURVEY - ULTIMATE CORPORATE THEME ===== */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  color: #2c3e50;
  line-height: 1.6;
  min-height: 100vh;
}

.container-fluid {
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
}

/* ===== CORPORATE HEADER ===== */
.survey-header {
  background: white;
  padding: 50px 30px 40px;
  text-align: center;
  position: relative;
  box-shadow: 
    0 10px 40px rgba(130, 77, 235, 0.1),
    0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 3px;
}

/* Purple gradient line at bottom */
.survey-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #824deb 20%, #9a6ff2 50%, #824deb 80%, transparent);
}

.sircle-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 25px;
  /* filter verwijderd - logo blijft originele kleuren */
}

.sircle-tagline {
  background: linear-gradient(135deg, #824deb, #9a6ff2);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 30px;
}

.ticket-info-bar {
  background: linear-gradient(135deg, #824deb 0%, #9a6ff2 100%);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 
    0 8px 30px rgba(130, 77, 235, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
}

.ticket-info-bar span {
  margin: 0 12px;
}

.ticket-info-bar strong {
  font-weight: 700;
  letter-spacing: 1px;
}

/* Progress Bar */
.progress {
  height: 3px;
  background: rgba(130, 77, 235, 0.1);
  margin: 0;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, #824deb 0%, #9a6ff2 100%);
  box-shadow: 0 0 10px rgba(130, 77, 235, 0.5);
}

/* ===== QUESTION CONTAINER ===== */
.question-container {
  background: white;
  margin: 35px auto;
  max-width: 880px;
  padding: 50px 55px;
  border-radius: 16px;
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.08),
    0 5px 15px rgba(130, 77, 235, 0.05);
  border: 1px solid rgba(130, 77, 235, 0.08);
  position: relative;
  overflow: hidden;
}

/* Subtle top gradient */
.question-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(130, 77, 235, 0.3), transparent);
}

/* Hide ticket/agent fields */
.question-container:has(input[name*="ticketid"]),
.question-container:has(input[name*="agent"]),
div[id*="question"][id*="ticketid"],
div[id*="question"][id*="agent"] {
  display: none !important;
}

/* Question text styling */
.question-title-container {
  margin-bottom: 45px;
  text-align: center;
}

.question-text {
  font-size: 26px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.5;
  letter-spacing: -0.3px;
}

.asterisk {
  color: #824deb;
  font-weight: 700;
  font-size: 20px;
}

/* ===== RADIO BUTTONS - PERFECT FIX ===== */
.ls-answers,
ul.ls-list-radio,
.answers-list {
  display: flex !important;
  justify-content: center !important;
  gap: 28px !important;
  padding: 35px 0 !important;
  list-style: none !important;
  margin: 0 !important;
  flex-wrap: wrap !important;
}

.ls-answers li {
  list-style: none !important;
  margin: 0 !important;
  position: relative !important;
}

/* Completely hide original radio buttons */
.ls-answers input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Style labels as circular buttons */
.ls-answers label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 88px !important;
  height: 88px !important;
  background: linear-gradient(145deg, #ffffff, #f8f8f8) !important;
  border: 3px solid #e5e5e5 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #555 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.05),
    inset 0 2px 4px rgba(255, 255, 255, 0.8) !important;
  position: relative !important;
}

/* Remove all pseudo elements */
.ls-answers label::before,
.ls-answers label::after,
.ls-answers input[type="radio"]::before,
.ls-answers input[type="radio"]::after {
  content: none !important;
  display: none !important;
}

/* Hover state */
.ls-answers label:hover {
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
  border-color: #824deb !important;
}

/* Selected states - Red to Green gradient */
.ls-answers li:nth-child(1) input:checked + label,
.ls-answers li:nth-child(1) input:checked ~ label {
  background: linear-gradient(145deg, #dc3545, #c82333) !important;
  color: white !important;
  border: none !important;
  transform: scale(1.12) !important;
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.35) !important;
}

.ls-answers li:nth-child(2) input:checked + label,
.ls-answers li:nth-child(2) input:checked ~ label {
  background: linear-gradient(145deg, #fd7e14, #e86100) !important;
  color: white !important;
  border: none !important;
  transform: scale(1.12) !important;
  box-shadow: 0 8px 25px rgba(253, 126, 20, 0.35) !important;
}

.ls-answers li:nth-child(3) input:checked + label,
.ls-answers li:nth-child(3) input:checked ~ label {
  background: linear-gradient(145deg, #ffc107, #ffb300) !important;
  color: white !important;
  border: none !important;
  transform: scale(1.12) !important;
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.35) !important;
}

.ls-answers li:nth-child(4) input:checked + label,
.ls-answers li:nth-child(4) input:checked ~ label {
  background: linear-gradient(145deg, #8bc34a, #7cb342) !important;
  color: white !important;
  border: none !important;
  transform: scale(1.12) !important;
  box-shadow: 0 8px 25px rgba(139, 195, 74, 0.35) !important;
}

.ls-answers li:nth-child(5) input:checked + label,
.ls-answers li:nth-child(5) input:checked ~ label {
  background: linear-gradient(145deg, #4caf50, #45a049) !important;
  color: white !important;
  border: none !important;
  transform: scale(1.12) !important;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.35) !important;
}

/* ===== TEXTAREA ===== */
textarea,
.textarea {
  width: 100% !important;
  min-height: 160px !important;
  padding: 22px !important;
  border: 2px solid #e5e5e5 !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  font-family: inherit !important;
  transition: all 0.3s ease !important;
  background: #fafafa !important;
  resize: vertical !important;
}

textarea:focus,
.textarea:focus {
  outline: none !important;
  border-color: #824deb !important;
  background: white !important;
  box-shadow: 
    0 0 0 4px rgba(130, 77, 235, 0.1),
    0 4px 12px rgba(130, 77, 235, 0.08) !important;
}

/* ===== SUBMIT BUTTON ===== */
button[type="submit"],
#ls-button-submit {
  background: linear-gradient(135deg, #824deb 0%, #9a6ff2 100%) !important;
  color: white !important;
  border: none !important;
  padding: 20px 70px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  display: block !important;
  margin: 50px auto 30px !important;
  box-shadow: 
    0 10px 35px rgba(130, 77, 235, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.2) !important;
  position: relative !important;
  overflow: hidden !important;
}

button[type="submit"]:hover,
#ls-button-submit:hover {
  transform: translateY(-3px) !important;
  box-shadow: 
    0 15px 45px rgba(130, 77, 235, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.3) !important;
}

/* Hide unwanted elements */
button[name="move"][value="default"],
button#defaultbtn,
.submit-button.default,
.group-name {
  display: none !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .question-container {
    padding: 35px 25px;
    margin: 20px;
    border-radius: 12px;
  }
  
  .ls-answers label {
    width: 75px !important;
    height: 75px !important;
    font-size: 22px !important;
  }
  
  .ls-answers {
    gap: 18px !important;
  }
  
  .question-text {
    font-size: 22px;
  }
}
/* ===== VERFIJNDE HEADER STYLING ===== */

.survey-header {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  padding: 50px 30px 40px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 3px;
}

.sircle-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 25px;
  /* Verwijder de filter voor originele kleuren */
  opacity: 0.9;
}

.sircle-tagline {
  color: #4a4a4a; /* Antraciet */
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 30px;
}

.ticket-info-bar {
  background: #2c2c3e; /* Donker antraciet */
  color: white;
  padding: 14px 35px;
  border-radius: 30px;
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  box-shadow: 0 4px 15px rgba(44, 44, 62, 0.15);
  border: 1px solid rgba(130, 77, 235, 0.2); /* Subtiele paarse rand */
  letter-spacing: 0.8px;
}

.ticket-info-bar span {
  margin: 0 15px;
  color: #b8b8c0; /* Lichtgrijs */
}

.ticket-info-bar strong {
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 1px;
}

/* Subtiel paars accent alleen bij hover */
.ticket-info-bar:hover {
  border-color: #824deb;
  box-shadow: 0 4px 20px rgba(130, 77, 235, 0.2);
}

/* Progress bar ook subtieler */
.progress-bar {
  background: linear-gradient(90deg, #6b6b7d 0%, #824deb 100%);
}

/* Submit button - antraciet met paarse hover */
#ls-button-submit {
  background: #2c2c3e !important;
  color: white !important;
  border: 2px solid transparent !important;
  padding: 18px 60px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  border-radius: 35px !important;
  letter-spacing: 1.5px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(44, 44, 62, 0.2) !important;
}

#ls-button-submit:hover {
  background: linear-gradient(135deg, #824deb 0%, #9a6ff2 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(130, 77, 235, 0.3) !important;
}
/* Fix voor gecentreerde cijfers in radio buttons */
.ls-answers label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 88px !important;
  height: 88px !important;
  background: linear-gradient(145deg, #ffffff, #f8f8f8) !important;
  border: 3px solid #e5e5e5 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #555 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-align: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Fix voor group-title spacing */
.group-title {
  font-size: 26px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 45px;
  text-align: center;
}

/* Of als het echt één regel moet zijn */
.group-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
  margin-bottom: 45px;
  text-align: center;
}
/* Fix voor submit button positie */
#ls-button-submit,
button[type="submit"] {
  background: #2c2c3e !important;
  color: white !important;
  border: none !important;
  padding: 18px 60px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  border-radius: 35px !important;
  letter-spacing: 1.5px !important;
  transition: all 0.3s ease !important;
  display: block !important;
  margin: 30px auto 20px !important; /* Was 50px, nu 30px */
  box-shadow: 0 4px 15px rgba(44, 44, 62, 0.2) !important;
}

/* Textarea ook wat aanpassen voor balans */
textarea,
.textarea {
  width: 100% !important;
  min-height: 140px !important; /* Was 160px */
  padding: 20px !important;
  border: 2px solid #e5e5e5 !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  margin-bottom: 10px !important; /* Extra margin onder textarea */
}

/* Question container padding aanpassen */
.question-container {
  padding: 40px 50px !important; /* Was 50px 55px */
}

/* Sircle dashboard look */
.sircle-dash { max-width: 1100px; margin: 0 auto; padding: 24px 16px 64px; }
.sircle-dash .dash-header { text-align: center; margin-bottom: 18px; }
.dash-logo { max-width: 160px; height: auto; margin: 6px auto 8px; display: block; }
.sircle-dash h1 { font-size: 28px; margin: 6px 0 4px; color: #111827; }
.sircle-dash .dash-sub { color: #6b7280; letter-spacing: .3px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 18px 0; }
.cards.full { grid-template-columns: 1fr; }

.card { background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 14px; padding: 14px 16px;
        box-shadow: 0 8px 22px rgba(0,0,0,0.04); }
.card-top { display:flex; align-items:center; justify-content:space-between; margin-bottom: 8px; }
.agent-name { font-weight:600; font-size:16px; color:#111827; }
.stars { font-size: 16px; color: #8b5cf6; }
.metrics { display:grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; }
.metric-label { color:#6b7280; font-size:12px; }
.metric-value { font-weight:700; color:#111827; font-variant-numeric: tabular-nums; }

.dash-table { width:100%; border-collapse: collapse; background:#fff; border-radius: 14px; overflow:hidden; box-shadow: 0 8px 22px rgba(0,0,0,0.04); }
.dash-table th, .dash-table td { padding:12px 14px; border-bottom: 1px solid rgba(0,0,0,0.06); text-align:left; }
.dash-table thead th { background: #fafafa; color:#374151; font-weight:600; }
.dash-error { padding: 16px; color:#b91c1c; background:#fee2e2; border:1px solid #fecaca; border-radius: 10px; }

@media (max-width: 640px) {
  .sircle-dash h1 { font-size: 22px; }
}

.img-fluid.mx-auto.d-block {
    display: none !important;
}

.col-12.d-block.d-sm-none.d-md-block.text-center {
    display: none !important;
}
.col-6.col-md-12 {
    display: none !important;
}
