/* ==========================================================================
   BEUGEM SURVEY & QUESTIONNAIRE STYLES (Match Screenshot 1 & 2)
   ========================================================================== */


/* Page Base */
.survey-page-body {
  margin: 0;
  padding: 0;
  background-color: #FFFFFF;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1E293B;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.survey-page-body .site-footer {
  margin-top: auto !important;
}

/* --------------------------------------------------------------------------
   Top Navigation Header (Screenshot 1 Match)
   -------------------------------------------------------------------------- */
.survey-header {
  width: 100%;
  background-color: #FFFFFF;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 50;
}

.survey-header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.survey-header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.survey-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.survey-logo-brand {
  display: flex;
  flex-direction: column;
}

.survey-logo-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #D97706;
  /* Beugem brand gold/orange as shown in screenshot 1 */
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.survey-logo-subtitle {
  font-size: 8px;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav Menu Links */
.survey-header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.survey-nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.survey-nav-link:hover {
  color: #C85A17;
}

.survey-nav-link.active {
  color: #C85A17;
  font-weight: 700;
}

/* Oturum Aç Button */
.survey-btn-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background-color: #C85A17;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 4px rgba(200, 90, 23, 0.2);
}

.survey-btn-auth:hover {
  background-color: #A8480F;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Initial Status Checking Loader (Seamless transition for logged-in users)
   -------------------------------------------------------------------------- */
.survey-initial-loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  gap: 14px;
}

html.survey-checking-mode .survey-initial-loader,
html.survey-checking-mode #survey-initial-loader {
  display: flex !important;
}

html.survey-checking-mode #guidelines-wrapper,
html.survey-checking-mode .survey-guidelines-wrapper,
html.survey-checking-mode #survey-app,
html.survey-results-mode #guidelines-wrapper,
html.survey-results-mode .survey-guidelines-wrapper {
  display: none !important;
}

.survey-loader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #E2E8F0;
  border-top-color: #C85A17;
  border-radius: 50%;
  animation: surveyLoaderSpin 0.75s linear infinite;
}

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

.survey-loader-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: #64748B;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Guidelines Screen (Screenshot 2 Match)
   -------------------------------------------------------------------------- */
.survey-guidelines-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 24px 60px 24px;
  box-sizing: border-box;
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.survey-guidelines-wrapper.is-hidden {
  display: none !important;
}

.survey-card-wrapper {
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.survey-illus-box {
  width: 124px;
  height: 124px;
  background: #FFF5EC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
}

.survey-guidelines-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 30px 0;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.survey-guidelines-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-bottom: 38px;
  text-align: left;
}

.survey-guideline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.survey-check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #C85A17;
}

.survey-guideline-text {
  font-size: 16px;
  line-height: 1.55;
  color: #334155;
  font-weight: 500;
  margin: 0;
}

.btn-start-test {
  width: 100%;
  height: 48px;
  padding: 0 22px;
  background-color: #C85A17;
  color: #FFFFFF;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.22s ease;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(200, 90, 23, 0.32);
  box-sizing: border-box;
}

.btn-start-test:hover {
  background-color: #B44F13;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 90, 23, 0.42);
}

/* Mobile: Hide floating chat button on survey test flow to prevent blocking 'Teste Başla' and survey elements */
@media (max-width: 768px) {

  body.survey-page-body .footer-chat-btn,
  body.survey-page-body .chat-widget-modal {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Dynamic Questionnaire Main Container (Screenshot 1 Match)
   -------------------------------------------------------------------------- */
.survey-dynamic-app {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 24px 60px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  min-height: calc(100vh - 200px);
  animation: fadeInSurvey 0.4s ease forwards;
}

@keyframes fadeInSurvey {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.survey-dynamic-app.is-hidden {
  display: none !important;
}

/* Main Title */
.survey-main-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  margin: 0 0 28px 0;
  letter-spacing: -0.02em;
}

/* Sticky Progress Area */
.survey-progress-sticky {
  position: sticky;
  top: 72px;
  /* Just under main header */
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 0 16px 0;
  z-index: 40;
  border-bottom: 1px solid rgba(241, 245, 249, 0.8);
  margin-bottom: 32px;
}

.survey-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 10px;
}

.survey-progress-percent {
  font-variant-numeric: tabular-nums;
}

.survey-progress-step {
  font-variant-numeric: tabular-nums;
  color: #475569;
}

.survey-progress-track {
  width: 100%;
  height: 8px;
  background-color: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.survey-progress-bar {
  height: 100%;
  width: 0%;
  background: #C85A17;
  /* Vibrant Green as in Screenshot 1 */
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Description / Instruction Wrap & Back Button */
.survey-instruction-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 860px;
  margin: 0 auto 32px auto;
  box-sizing: border-box;
}

.survey-instruction-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin: 0;
  line-height: 1.35;
}

.btn-survey-back {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  color: #475569;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-survey-back:hover {
  background-color: #C85A17;
  border-color: #C85A17;
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.06);
}

.btn-survey-back.is-hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Legend / Rating Scale Guide (Screenshot 1 Match)
   -------------------------------------------------------------------------- */
.survey-legend-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 820px;
  margin: 0 auto 40px auto;
  padding: 0 12px;
  box-sizing: border-box;
}

.survey-legend-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.survey-legend-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

/* Exact colors matching Screenshot 1 */
.survey-badge-1 {
  border: 1.5px solid rgb(255, 138, 128);
  background-color: rgba(255, 138, 128, 0.18);
  color: rgb(239, 68, 68);
}

.survey-badge-2 {
  border: 1.5px solid rgb(255, 181, 128);
  background-color: rgba(255, 181, 128, 0.18);
  color: rgb(249, 115, 22);
}

.survey-badge-3 {
  border: 1.5px solid rgb(196, 204, 204);
  background-color: rgba(196, 204, 204, 0.22);
  color: rgb(100, 116, 139);
}

.survey-badge-4 {
  border: 1.5px solid rgb(108, 217, 126);
  background-color: rgba(108, 217, 126, 0.2);
  color: rgb(34, 197, 94);
}

.survey-badge-5 {
  border: 1.5px solid #C85A17;
  background-color: rgba(200, 90, 23, 0.2);
  color: rgb(13, 148, 136);
}

.survey-legend-label {
  font-size: 13.5px;
  font-weight: 500;
  color: #475569;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Question Cards List (Screenshot 1 Match)
   -------------------------------------------------------------------------- */
.survey-questions-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.survey-question-card {
  background-color: #F8FAFC;
  /* Soft Light Background matching screenshot */
  border-radius: 12px;
  border: 1.5px solid transparent;
  padding: 32px 36px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.survey-question-card.is-answered {
  background-color: #FAFCFD;
  border-color: #F1F5F9;
}

.survey-question-text {
  font-size: 17.5px;
  font-weight: 500;
  color: #1E293B;
  text-align: center;
  line-height: 1.55;
  margin: 0;
  max-width: 760px;
}

/* Options Container */
.survey-question-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
}

.survey-option-label {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.survey-option-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

.survey-option-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  border-width: 1.5px;
  border-style: solid;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  user-select: none;
}

.survey-option-circle:hover {
  transform: scale(1.1);
}

/* Checked solid colors with checkmark */
.survey-option-label.is-checked .survey-option-circle {
  color: #FFFFFF !important;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Checked background matches exact color solid */
.survey-option-label.is-checked[data-val="1"] .survey-option-circle {
  background-color: rgb(255, 138, 128) !important;
  border-color: rgb(255, 138, 128) !important;
}

.survey-option-label.is-checked[data-val="2"] .survey-option-circle {
  background-color: rgb(255, 181, 128) !important;
  border-color: rgb(255, 181, 128) !important;
}

.survey-option-label.is-checked[data-val="3"] .survey-option-circle {
  background-color: rgb(196, 204, 204) !important;
  border-color: rgb(196, 204, 204) !important;
}

.survey-option-label.is-checked[data-val="4"] .survey-option-circle {
  background-color: rgb(108, 217, 126) !important;
  border-color: rgb(108, 217, 126) !important;
}

.survey-option-label.is-checked[data-val="5"] .survey-option-circle {
  background-color: #C85A17 !important;
  border-color: #C85A17 !important;
}

.survey-checkmark-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Animations: Blink & Highlight
   -------------------------------------------------------------------------- */
@keyframes blink-border-red {

  0%,
  100% {
    border-color: transparent;
    box-shadow: none;
  }

  25%,
  75% {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
  }
}

.survey-question-card.blink {
  animation: blink-border-red 0.5s ease-in-out 3;
}

@keyframes pulse-highlight {

  0%,
  100% {
    border-color: transparent;
  }

  50% {
    border-color: #C85A17;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  }
}

.survey-question-card.highlight {
  animation: pulse-highlight 0.5s ease-in-out 2;
}

/* --------------------------------------------------------------------------
   Actions & Next Button
   -------------------------------------------------------------------------- */
.survey-actions-container {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.btn-survey-next {
  width: 100%;
  max-width: 440px;
  height: 52px;
  background-color: #C85A17;
  color: #FFFFFF;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(200, 90, 23, 0.25);
}

.btn-survey-next:hover {
  background-color: rgb(168, 72, 15);
  box-shadow: 0 6px 16px rgba(200, 90, 23, 0.35);
  transform: translateY(-1px);
}

.btn-survey-next:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Spinner */
.survey-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #FFFFFF;
  animation: spin 0.8s linear infinite;
}

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

/* --------------------------------------------------------------------------
   Completion & Congratulations Screen
   -------------------------------------------------------------------------- */
.survey-completion-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 24px 60px 24px;
  box-sizing: border-box;
  animation: fadeInSurvey 0.5s ease forwards;
}

.survey-completion-card {
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Illustration Box (Match Screenshot: Soft peach bg circle with document checkmark card) */
.survey-completion-illus-wrap {
  margin-bottom: 32px;
}

.survey-completion-circle-bg {
  width: 140px;
  height: 140px;
  background-color: #FFF2E8;
  /* Soft peach/cream background matching screenshot */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.survey-completion-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 12px 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.survey-completion-subtitle {
  font-size: 16.5px;
  font-weight: 500;
  color: #64748B;
  margin: 0 0 36px 0;
}

.survey-completion-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.btn-survey-results {
  width: 100%;
  max-width: 380px;
  height: 52px;
  background-color: #C85A17;
  color: #FFFFFF;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(200, 90, 23, 0.25);
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-survey-results:hover {
  background-color: rgb(168, 72, 15);
  box-shadow: 0 6px 18px rgba(200, 90, 23, 0.35);
  transform: translateY(-1px);
}

.btn-survey-edit-answers {
  background: none;
  border: none;
  color: #64748B;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.btn-survey-edit-answers:hover {
  color: #1E293B;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Analyzing / Loading Screen (Match Screenshot 1)
   -------------------------------------------------------------------------- */
.survey-analyzing-card {
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  box-sizing: border-box;
  animation: fadeInSurvey 0.4s ease forwards;
}

.survey-analyzing-video-box {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.survey-analyzing-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.survey-analyzing-progress-wrap {
  width: 100%;
  max-width: 280px;
  height: 8px;
  background-color: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.survey-analyzing-progress-bar {
  height: 100%;
  width: 0%;
  background-color: #C85A17;
  /* Green progress bar matching screenshot 1 */
  border-radius: 999px;
  transition: width 0.1s linear;
}

.survey-analyzing-subtext {
  font-size: 16px;
  font-weight: 500;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Paywall / Report Unlock Screen (Match Screenshots 2 & 3)
   -------------------------------------------------------------------------- */
.survey-paywall-card {
  width: 100%;
  max-width: 960px;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 36px 40px;
  margin: 0 auto;
  box-sizing: border-box;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  animation: fadeInSurvey 0.5s ease forwards;
}

.paywall-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.paywall-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 24px 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.paywall-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.paywall-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.paywall-check-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #C85A17;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.paywall-check-badge svg {
  stroke: #FFFFFF !important;
}

.paywall-feature-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 4px 0;
}

.paywall-feature-desc {
  font-size: 14.5px;
  color: #64748B;
  margin: 0;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Payment Gateway Options (iyzico & PayTR)
   -------------------------------------------------------------------------- */
.paywall-payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  margin-bottom: 24px;
}

.btn-payment-option {
  width: 100%;
  height: 54px;
  background-color: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-payment-option span {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1E293B;
  white-space: nowrap;
}

.btn-payment-option .payment-logo-img,
.method-card .payment-logo-img {
  height: 26px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.btn-iyzico .payment-logo-img {
  height: 24px;
  max-width: 135px;
}

.btn-paytr .payment-logo-img {
  height: 22px;
  max-width: 95px;
}

.btn-iyzico:hover {
  border-color: #C85A17;
  background-color: #FEF3EC;
  box-shadow: 0 4px 18px rgba(200, 90, 23, 0.18);
  transform: translateY(-1px);
}

.btn-paytr:hover:not(:disabled) {
  border-color: #C85A17;
  background-color: #FEF3EC;
  box-shadow: 0 4px 18px rgba(200, 90, 23, 0.18);
  transform: translateY(-1px);
}

.btn-payment-option:disabled,
.btn-payment-option.disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background-color: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.btn-payment-option:disabled .payment-logo-img,
.btn-payment-option.disabled .payment-logo-img {
  filter: grayscale(100%);
  opacity: 0.55;
}

.btn-payment-option:disabled span,
.btn-payment-option.disabled span {
  color: #94A3B8 !important;
}

.paywall-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: #64748B;
}

.paywall-trust-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* Info Box at Bottom */
.paywall-info-box {
  background-color: #FFFFFF;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.paywall-info-icon {
  margin-top: 2px;
  flex-shrink: 0;
}

.paywall-info-text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 4px;
}

.paywall-info-text p {
  font-size: 13px;
  color: #64748B;
  margin: 0;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Paywall Visual Preview Stack (Right Column)
   -------------------------------------------------------------------------- */
.paywall-preview-stack {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-card {
  position: absolute;
  background-color: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  padding: 20px;
  box-sizing: border-box;
}

.preview-card-radar {
  top: 10px;
  left: 10px;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.preview-card-doc {
  top: 25px;
  right: 20px;
  width: 240px;
  height: 260px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-doc-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.preview-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #FEF3EC;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-line {
  background-color: #E2E8F0;
  border-radius: 4px;
}

.doc-line-lg {
  width: 120px;
  height: 10px;
}

.doc-line-md {
  width: 80px;
  height: 8px;
  margin-top: 4px;
}

.doc-line-full {
  width: 100%;
  height: 8px;
}

.doc-line-sub {
  width: 60%;
  height: 8px;
}

.preview-card-scores {
  bottom: 0px;
  right: 0px;
  width: 250px;
  z-index: 3;
  padding: 20px 22px;
}

.scores-title {
  font-size: 15px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 14px;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
}

.score-num {
  width: 14px;
}

.score-bar-track {
  flex: 1;
  height: 6px;
  background-color: #F1F5F9;
  border-radius: 999px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.score-pct {
  width: 28px;
  text-align: right;
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .survey-header-nav {
    display: none;
  }

  .survey-paywall-card {
    padding: 36px 24px;
    border-radius: 20px;
    max-width: 100%;
  }

  .paywall-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .paywall-title {
    font-size: 26px;
    margin-bottom: 24px;
    text-align: center;
  }

  .paywall-right {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
  }

  .paywall-preview-stack {
    width: 100%;
    max-width: 320px;
    height: 310px;
    margin: 0 auto;
  }

  .preview-card-radar {
    width: 175px;
    height: 175px;
    top: 0;
    left: 0;
  }

  .preview-card-doc {
    width: 195px;
    height: 215px;
    top: 15px;
    right: 5px;
  }

  .preview-card-scores {
    width: 215px;
    bottom: 0;
    right: 0;
    padding: 14px 16px;
  }

  .scores-title {
    font-size: 13.5px;
    margin-bottom: 10px;
  }

  .score-row {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .paywall-trust-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    justify-content: center;
  }

  .paywall-cards-icons {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .survey-header-container {
    padding: 14px 20px;
  }

  .survey-legend-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0 16px;
  }

  .survey-legend-item {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-align: left;
  }

  .survey-question-card {
    padding: 24px 16px;
  }

  .survey-question-options {
    gap: 10px;
    max-width: 100%;
  }

  .survey-option-circle {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .survey-guidelines-title {
    font-size: 26px;
  }

  .survey-main-heading {
    font-size: 24px;
  }

  .survey-instruction-text {
    font-size: 19px;
  }

  /* Paywall Mobile Optimization */
  .survey-paywall-card {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .paywall-title {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .paywall-features {
    gap: 16px;
    margin-bottom: 24px;
  }

  .paywall-feature-item {
    gap: 12px;
  }

  .paywall-feature-title {
    font-size: 15px;
  }

  .paywall-feature-desc {
    font-size: 13px;
  }

  .btn-paywall-unlock {
    height: 50px;
    font-size: 16px;
    margin-bottom: 16px;
  }

  .paywall-trust-row {
    margin-bottom: 20px;
    font-size: 12.5px;
  }

  .card-pill {
    font-size: 9px;
    padding: 3px 6px;
  }

  .paywall-info-box {
    padding: 14px 16px;
    gap: 12px;
    border-radius: 12px;
  }

  .paywall-info-text strong {
    font-size: 13px;
  }

  .paywall-info-text p {
    font-size: 12px;
  }

  /* Compact Card Preview Stack */
  .paywall-preview-stack {
    max-width: 290px;
    height: 265px;
  }

  .preview-card-radar {
    width: 150px;
    height: 150px;
  }

  .preview-card-doc {
    width: 165px;
    height: 185px;
  }

  .preview-card-scores {
    width: 190px;
    padding: 12px 12px;
  }

  /* Completion Card Mobile */
  .survey-completion-heading {
    font-size: 30px;
  }

  .survey-completion-subtitle {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .survey-completion-circle-bg {
    width: 110px;
    height: 110px;
  }

  .btn-survey-results {
    height: 48px;
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .survey-paywall-card {
    padding: 18px 12px;
  }

  .paywall-title {
    font-size: 19px;
  }

  .paywall-preview-stack {
    max-width: 260px;
    height: 240px;
  }

  .preview-card-radar {
    width: 135px;
    height: 135px;
  }

  .preview-card-doc {
    width: 150px;
    height: 165px;
  }

  .preview-card-scores {
    width: 170px;
    padding: 10px 10px;
  }

  .score-num {
    font-size: 11px;
  }

  .score-pct {
    font-size: 10px;
  }
}

/* --------------------------------------------------------------------------
   Checkout Page Form (Match Screenshot 100%)
   -------------------------------------------------------------------------- */
.checkout-wrapper {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 80px 16px;
  box-sizing: border-box;
  animation: fadeInSurvey 0.4s ease forwards;
}

.checkout-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.checkout-main-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  margin: 0;
  letter-spacing: -0.02em;
}

.checkout-currency-tag {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.checkout-currency-tag:hover {
  background-color: #F1F5F9;
}

.checkout-card {
  width: 100%;
  background-color: #F8FAFC;
  /* Soft Off-White / Light Grey matching screenshot */
  border-radius: 20px;
  padding: 28px 28px 32px 28px;
  box-sizing: border-box;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

/* Total Due Banner */
.checkout-total-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1.5px solid #E2E8F0;
}

.total-label {
  font-size: 15.5px;
  font-weight: 700;
  color: #1E293B;
}

.total-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #C85A17;
  /* Green amount matching screenshot */
}

/* Field Groups */
.checkout-field-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.checkout-input {
  width: 100%;
  height: 52px;
  background-color: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 0 16px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #1E293B;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-input::placeholder {
  color: #94A3B8;
}

/* --------------------------------------------------------------------------
   PERSONALITY.CO CLEAN SINGLE-CARD CHECKOUT STYLES
   -------------------------------------------------------------------------- */

.checkout-clean-container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 32px 20px 80px 20px;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.checkout-clean-header {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 24px;
}

.checkout-clean-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #1E293B;
  margin: 0;
  letter-spacing: -0.02em;
}

.checkout-currency-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.checkout-currency-selector:hover {
  background-color: #F1F5F9;
}

/* Central Rounded Card Container */
.checkout-card-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

/* Total Banner */
.checkout-total-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1.5px solid #E2E8F0;
}

.total-banner-label {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
}

.total-banner-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #C85A17;
}

/* Form Body */
.checkout-form-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-field-wrap {
  width: 100%;
}

.clean-input {
  width: 100%;
  height: 52px;
  background-color: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 0 16px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #1E293B;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.clean-input::placeholder {
  color: #94A3B8;
}

.clean-input:focus {
  border-color: #C85A17;
  box-shadow: 0 0 0 3px rgba(200, 90, 23, 0.15);
}

.input-field-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Payment Method Section */
.payment-method-section {
  margin-top: 8px;
}

.section-sub-label {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 12px;
}

.payment-tabs-grid {
  display: grid;
  grid-template-columns: 100px 100px;
  gap: 12px;
  margin-bottom: 20px;
}

.payment-tab-btn {
  height: 48px;
  background-color: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  color: #1E293B;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s ease;
}

.payment-tab-btn:hover {
  border-color: #CBD5E1;
}

.payment-tab-btn.active {
  border-color: #1E293B;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.payment-tab-btn:disabled,
.payment-tab-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  background-color: #F8FAFC;
  border-color: #E2E8F0;
  color: #94A3B8;
  box-shadow: none;
}

/* Credit Card Inputs Group */
.credit-card-inputs-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cc-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.cc-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
}

.cc-brand-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cc-brand-badges .pay-logo-badge {
  height: 28px;
  padding: 0 10px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.cc-brand-badges .visa-text {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.8px;
  color: #1A1F71;
  font-style: italic;
  line-height: 1;
}

/* Instant Access Green CTA Button */
.btn-instant-access {
  width: 100%;
  height: 56px;
  background-color: #C85A17;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17.5px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(200, 90, 23, 0.3);
  transition: all 0.2s ease;
  margin-top: 12px;
}

.btn-instant-access:hover {
  background-color: #C85A17;
  box-shadow: 0 6px 20px rgba(200, 90, 23, 0.4);
  transform: translateY(-1px);
}

.btn-instant-access:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Disclaimer Terms Text */
.checkout-terms-text {
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.6;
  text-align: center;
  margin: 16px 0 0 0;
}

/* Bottom Guarantees Features (2 columns) */
.checkout-footer-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.feature-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1E293B;
  margin: 0;
}

.feature-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

/* Alert Box */
.checkout-alert-box {
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   3D SECURE MODAL OVERLAY
   -------------------------------------------------------------------------- */
/* ===================================================
   3D SECURE MODAL (sites/500/login ile birebir)
   =================================================== */
.payment-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.payment-modal-backdrop[hidden],
.payment-modal-backdrop:not(.is-open) {
  display: none !important;
}

.payment-modal__loading[hidden] {
  display: none !important;
}

.payment-modal {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.payment-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.payment-modal__title-box {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #C85A17;
}

.payment-modal__title-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}

.payment-modal__close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
}

.payment-modal__close:hover {
  color: #0f172a;
}

.payment-modal__body {
  position: relative;
  height: 600px;
  max-height: calc(92vh - 65px);
  background: #f8fafc;
}

.payment-3ds-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.payment-modal__loading {
  position: absolute;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #64748b;
  font-size: 0.95rem;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.payment-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e2e8f0;
  border-top-color: #C85A17;
  border-radius: 50%;
  animation: payment-spin 0.8s linear infinite;
}

@keyframes payment-spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   PAYMENT SUCCESS SCREEN STYLES
   -------------------------------------------------------------------------- */
.payment-success-container {
  width: 100%;
  max-width: 520px;
  margin: 40px auto 80px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.payment-success-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon-badge {
  width: 88px;
  height: 88px;
  background-color: #FEF3EC;
  border: 2px solid #FDE8DB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  from {
    transform: scale(0.6);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-main-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.success-subtitle {
  font-size: 14.5px;
  color: #64748B;
  line-height: 1.6;
  margin: 0 0 28px 0;
  max-width: 420px;
}

.success-details-box {
  width: 100%;
  background-color: #F8FAFC;
  border: 1.5px solid #F1F5F9;
  border-radius: 16px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.success-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.detail-label {
  color: #64748B;
}

.detail-value {
  font-weight: 700;
  color: #0F172A;
}

.detail-value.text-green {
  color: #C85A17;
  font-size: 16px;
}

.detail-value.badge-success {
  background-color: #FDE8DB;
  color: #8F3B0A;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.btn-view-results {
  width: 100%;
  height: 54px;
  background-color: #C85A17;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(200, 90, 23, 0.3);
  transition: all 0.2s ease;
}

.btn-view-results:hover {
  background-color: #C85A17;
  box-shadow: 0 6px 20px rgba(200, 90, 23, 0.4);
  transform: translateY(-1px);
}

/* ==========================================================================
   Survey Results Report Dashboard Styles (Full Responsive)
   ========================================================================== */

.survey-results-view {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 60px auto;
  padding: 0 16px;
  box-sizing: border-box;
  overflow-x: hidden;
  animation: fadeInResults 0.4s ease-out forwards;
}

@keyframes fadeInResults {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Results Skeleton Loading State
   ========================================================================== */
.results-skeleton-view {
  min-height: 540px;
  width: 100%;
}

.results-skeleton-view .skeleton-pill {
  display: inline-block;
  width: 190px;
  height: 28px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: shimmerResultsSkeleton 1.5s infinite;
  margin-bottom: 12px;
}

.results-skeleton-view .skeleton-title {
  width: 340px;
  max-width: 85%;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: shimmerResultsSkeleton 1.5s infinite;
  margin-bottom: 8px;
}

.skeleton-chart-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #FAFAFA;
  border: 1px solid #F1F5F9;
  border-radius: 16px;
  padding: 32px;
  min-height: 380px;
}

.skeleton-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 24px solid #F1F5F9;
  background: transparent;
  animation: shimmerResultsCircle 1.5s infinite ease-in-out;
}

.skeleton-badge {
  width: 180px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: shimmerResultsSkeleton 1.5s infinite;
}

.skeleton-bar {
  width: 100%;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: shimmerResultsSkeleton 1.5s infinite;
  margin-bottom: 12px;
}

@keyframes shimmerResultsSkeleton {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@keyframes shimmerResultsCircle {

  0%,
  100% {
    border-color: #F1F5F9;
  }

  50% {
    border-color: #E2E8F0;
  }
}

/* Header Banner */
.survey-results-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  background: linear-gradient(135deg, #FEF3EC 0%, #FFFFFF 100%);
  border: 1.5px solid #FDE8DB;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(200, 90, 23, 0.06);
}

.results-header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.results-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #FEF3EC;
  color: #C85A17;
  border: 1px solid rgba(200, 90, 23, 0.2);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}

.results-main-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.02em;
}

.results-sub-text {
  font-size: 14.5px;
  color: #64748B;
  margin: 0;
}

.results-sub-text strong {
  color: #1E293B;
}

.results-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-results-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-print-report {
  background-color: #C85A17;
  color: #FFFFFF;
  border: none;
  box-shadow: 0 2px 8px rgba(200, 90, 23, 0.25);
}

.btn-print-report:hover {
  background-color: #C85A17;
  transform: translateY(-1px);
}

.btn-home-link {
  background-color: #FFFFFF;
  color: #334155;
  border: 1.5px solid #E2E8F0;
}

.btn-home-link:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
}

/* 3-Col KPI Highlights Grid */
.results-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.results-kpi-card {
  background-color: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.results-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.kpi-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kpi-top-skill .kpi-icon-wrap {
  background-color: #FDE8DB;
}

.kpi-overall-score .kpi-icon-wrap {
  background-color: #FEF3EC;
}

.kpi-occupations .kpi-icon-wrap {
  background-color: #F3E8FF;
}

.kpi-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.kpi-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.kpi-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpi-meta {
  font-size: 13px;
  font-weight: 600;
  color: #C85A17;
}

/* Analytics 2-Col Grid */
.results-analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.results-card {
  background-color: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.results-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.results-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.results-card-tag {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  background-color: #F1F5F9;
  padding: 3px 10px;
  border-radius: 12px;
}

/* Radar Chart Card */
.results-radar-container {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.results-radar-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.results-radar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.legend-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  color: #334155;
}

.legend-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-pill-pct {
  font-weight: 700;
  color: #0F172A;
}

/* Scores List Card */
.results-skill-bars-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skill-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-bar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.skill-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-rank-badge {
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  background-color: #F1F5F9;
  padding: 2px 6px;
  border-radius: 6px;
}

.skill-title {
  color: #1E293B;
  font-weight: 600;
}

.skill-percent-text {
  font-weight: 800;
}

.skill-track {
  width: 100%;
  height: 8px;
  background-color: #F1F5F9;
  border-radius: 6px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hierarchy Accordion Table */
.results-hierarchy-card {
  margin-bottom: 24px;
}

.results-card-desc {
  font-size: 13.5px;
  color: #64748B;
  margin: 4px 0 0 0;
}

.results-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resultTable-card {
  background-color: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.resultTable-card.is-expanded {
  border-color: #E2E8F0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.resultTable-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: #FAFAFA;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease;
}

.resultTable-header:hover {
  background-color: #F1F5F9;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skill-color-tag {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.header-title {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-percent-badge {
  font-size: 14px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 10px;
}

.header-chevron {
  color: #64748B;
  transition: transform 0.25s ease;
}

.resultTable-card.is-expanded .header-chevron {
  transform: rotate(180deg);
}

.resultTable-body {
  padding: 0 20px 16px 20px;
  background-color: #FFFFFF;
}

.resultTable-body.is-hidden {
  display: none;
}

/* Sub-skills table */
.subskills-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #F1F5F9;
  margin-top: 12px;
  padding-top: 8px;
}

.subskills-head-row {
  display: grid;
  grid-template-columns: 1fr 1fr 80px;
  gap: 12px;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #F8FAFC;
}

.subskills-item-row {
  display: grid;
  grid-template-columns: 1fr 1fr 80px;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #F8FAFC;
  font-size: 14px;
}

.subskills-item-row:last-child {
  border-bottom: none;
}

.subskill-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #1E293B;
}

.subskill-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.subskill-occ {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.occ-badge {
  font-size: 11.5px;
  color: #64748B;
}

.occ-title {
  font-weight: 600;
  color: #0F172A;
}

.score-pct-bold {
  font-weight: 800;
  font-size: 14.5px;
}

.subskills-empty-note {
  padding: 14px 0 6px 0;
  font-size: 13.5px;
  color: #64748B;
}

/* Guidance Card */
.results-guidance-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, #FEF3EC 0%, #FFFFFF 100%);
  border: 1.5px solid #FDE8DB;
  border-radius: 20px;
  margin-bottom: 28px;
}

.guidance-icon-box {
  width: 48px;
  height: 48px;
  background-color: #FDE8DB;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guidance-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guidance-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.guidance-text {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

.guidance-text strong {
  color: #C85A17;
}

/* Bottom Actions */
.results-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.btn-bottom-print {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #C85A17;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(200, 90, 23, 0.3);
  transition: all 0.2s ease;
}

.btn-bottom-print:hover {
  background-color: #C85A17;
  transform: translateY(-1px);
}

.btn-bottom-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  color: #334155;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-bottom-home:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
}

/* ==========================================================================
   Responsive Breakpoints for Results View
   ========================================================================== */

@media (max-width: 840px) {
  .results-kpi-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .results-analytics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .survey-results-header {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .results-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .btn-results-action {
    flex: 1;
    justify-content: center;
  }

  .results-main-title {
    font-size: 22px;
  }

  .subskills-head-row {
    grid-template-columns: 1fr 1fr;
  }

  .subskills-head-row>span:last-child {
    display: none;
  }

  .subskills-item-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .subskills-item-row>.subskill-score {
    grid-column: span 2;
    text-align: left !important;
    padding-top: 4px;
  }

  .results-bottom-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-bottom-print,
  .btn-bottom-home {
    width: 100%;
  }
}

/* Print Stylesheet for Clean PDF Export */
@media print {
  @page {
    margin: 0 !important;
    size: auto;
  }

  .no-print,
  .site-header,
  header,
  header.header,
  .header,
  .mobile-drawer-overlay,
  nav,
  footer,
  .site-footer {
    display: none !important;
  }

  body,
  .survey-page-body {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    padding: 12mm 10mm !important;
    margin: 0 !important;
  }

  .survey-results-view,
  .results-accordion-list {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
  }

  .results-hierarchy-card {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
  }

  .results-card,
  .survey-results-header {
    box-shadow: none !important;
    border: 1px solid #E2E8F0 !important;
  }

  .resultTable-card {
    box-shadow: none !important;
    border: 1px solid #E2E8F0 !important;
    margin-bottom: 12px !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
  }

  .subskills-item-row {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .resultTable-body,
  .resultTable-body.is-hidden {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    opacity: 1 !important;
  }
}

/* ==========================================
   New Report Sections & YKS Matching Table
   ========================================== */

/* 1. Evaluation & Beceri Yorumu Card */
.results-eval-card {
  margin-bottom: 24px;
}

.eval-panels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
}

.eval-panel-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 18px;
}

.eval-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px 0;
}

.eval-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #334155;
  margin: 0;
}

.eval-highlight-box {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(200, 90, 23, 0.06), rgba(245, 158, 11, 0.05));
  border-left: 4px solid #C85A17;
  border-radius: 12px;
  padding: 16px 18px;
}

.eval-highlight-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #A8480F;
  margin-bottom: 6px;
}

.eval-highlight-text {
  font-size: 14px;
  color: #1E293B;
  margin: 0;
  line-height: 1.5;
}

/* 2. Guidance & Roadmap 2-Column Section */
.results-guidance-sections-card {
  margin-bottom: 24px;
}

.guidance-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}

.guidance-box-column {
  display: flex;
  flex-direction: column;
}

.guidance-box-title {
  font-size: 15px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 12px 0;
  padding-bottom: 6px;
  border-bottom: 2px solid #F1F5F9;
}

.two-col-bullets {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.7;
}

.two-col-bullets li {
  margin-bottom: 4px;
}

.program-tags-wrap,
.edu-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.program-tag-pill {
  display: inline-block;
  background: #FEF3EC;
  color: #C85A17;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #FDE8DB;
}

.edu-tag-item {
  display: inline-block;
  background: #FEF3EC;
  color: #A8480F;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #FDE8DB;
}

.roadmap-step-list {
  margin: 0;
  padding-left: 20px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.6;
}

.roadmap-step-list li {
  margin-bottom: 8px;
}

/* 3. YKS Matching Data Table */
.results-matching-table-card {
  margin-bottom: 24px;
}

.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
}

.matching-data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
  text-align: left;
  background: #FFFFFF;
}

.matching-data-table th {
  background: #F8FAFC;
  color: #1E293B;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid #E2E8F0;
  vertical-align: bottom;
}

.th-sub-text {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  margin-top: 2px;
}

.matching-data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}

.matching-data-table tr:last-child td {
  border-bottom: none;
}

.matching-data-table tr:hover td {
  background: #F8FAFC;
}

.td-occ-name {
  color: #0F172A;
}

.occ-name-bold {
  font-size: 14px;
  font-weight: 700;
}

.td-prog-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.prog-title {
  font-weight: 600;
  color: #1E293B;
  font-size: 13.5px;
}

.unit-subtitle {
  font-size: 11.5px;
  color: #64748B;
}

.td-types {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.type-badge-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-ptype-söz {
  background: #EDE9FE;
  color: #6D28D9;
}

.badge-ptype-say {
  background: #F1F5F9;
  color: #334155;
}

.badge-ptype-ea {
  background: #FFEDD5;
  color: #C2410C;
}

.badge-ptype-tyt {
  background: #FDE8DB;
  color: #A8480F;
}

.badge-ptype-dil {
  background: #FEF3EC;
  color: #C85A17;
}

.level-sub-badge {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
}

.badge-level-onlisans {
  color: #D97706;
}

.td-scores .rank-value {
  font-weight: 800;
  font-size: 14.5px;
  color: #0F172A;
}

.td-scores .score-value {
  font-size: 11.5px;
  color: #64748B;
  font-family: monospace, monospace;
}

/* ==========================================
   Beugem Dashboard (Donut Chart + 6 Skill Area Bars)
   ========================================== */
.beugem-dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.beugem-chart-box {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.donut-svg-wrapper {
  width: 100%;
  max-width: 220px;
  position: relative;
}

.donut-chart-svg {
  width: 100%;
  height: auto;
}

.donut-center-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 28px;
  font-weight: 700;
  fill: #0F172A;
  transition: all 0.3s ease;
}

.chart-selected-skill-badge {
  margin-top: 16px;
  background: #FEF3EC;
  border: 1px solid rgba(200, 90, 23, 0.25);
  border-radius: 20px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.chart-selected-skill-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C85A17;
  flex-shrink: 0;
}

.chart-selected-skill-badge .badge-text {
  font-size: 13px;
  font-weight: 700;
  color: #C85A17;
  line-height: 1.35;
}

.donut-slice-group {
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.donut-slice-group:hover {
  opacity: 0.88;
}

.beugem-skill-bars-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Master Report Top Action Card */
.beugem-master-report-card {
  background: linear-gradient(135deg, #FEF3EC 0%, #FFFFFF 100%);
  border: 1.5px solid #FDE8DB;
  border-radius: 14px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 18px rgba(200, 90, 23, 0.06);
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
}

.beugem-master-report-card::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(200, 90, 23, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.master-report-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.master-report-sub-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #C85A17;
  text-transform: uppercase;
}

.master-report-main-title {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.btn-master-see-results {
  background: #C85A17;
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(200, 90, 23, 0.22);
  transition: all 0.2s ease;
}

.btn-master-see-results:hover {
  background: #8F3B0A;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 90, 23, 0.32);
}


.beugem-skill-bar-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.beugem-skill-bar-wrapper:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.beugem-skill-bar-wrapper.is-active-skill {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(200, 90, 23, 0.22) !important;
}

.beugem-skill-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #FFFFFF;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease;
}

.beugem-skill-bar:hover {
  opacity: 0.95;
}

.skill-bar-left-title {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex: 1;
}

.skill-bar-center-action {
  margin: 0 16px;
}

.btn-view-report-link {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-block;
  transition: background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-view-report-link:hover {
  background: rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}

.skill-bar-right-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skill-pct-val {
  font-size: 16px;
  font-weight: 800;
  font-family: monospace, sans-serif;
  letter-spacing: -0.02em;
}

.skill-chevron {
  transition: transform 0.3s ease;
}

.beugem-skill-bar-wrapper.is-expanded .skill-chevron {
  transform: rotate(180deg);
}

/* Detailed Skill Report Card (Inside Accordion) */
.beugem-skill-report-body {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-top: none;
  padding: 24px;
}

.beugem-skill-report-body.is-hidden {
  display: none !important;
}

.skill-report-inner-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.report-card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 2px solid #E2E8F0;
  flex-wrap: wrap;
  gap: 12px;
}

.report-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-skill-badge {
  width: 10px;
  height: 24px;
  border-radius: 4px;
}

.report-skill-heading {
  font-size: 19px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.btn-download-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #C85A17;
  color: #FFFFFF !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(200, 90, 23, 0.25);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-download-pdf-link:hover {
  background: #A8480F;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 90, 23, 0.35);
}

.report-eval-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.report-panel-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px 18px;
}

.report-panel-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 8px 0;

}

.report-panel-p {
  font-size: 13px;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

.report-panel-highlight {
  grid-column: 1 / -1;
  background: #FEF3EC;
  border-left: 4px solid #C85A17;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: #A8480F;
}

.report-guidance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.guidance-col {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 18px;
}

.guidance-sub-heading {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px 0;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 4px;
}

.guidance-bullets {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #334155;
  line-height: 1.65;
}

.program-tag-cloud,
.edu-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.program-tag-cloud span {
  background: #FEF3EC;
  color: #C85A17;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
  border: 1px solid #FDE8DB;
}

.edu-tag-cloud span {
  background: #FEF3EC;
  color: #A8480F;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
  border: 1px solid #FDE8DB;
}

.roadmap-steps {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
}

.report-matching-table-wrap {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 18px;
}

.matching-table-title {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 12px 0;
}

.table-scroll-container {
  overflow-x: auto;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
}

.yks-matching-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.yks-matching-table th {
  background: #F8FAFC;
  padding: 10px 14px;
  font-weight: 700;
  color: #1E293B;
  border-bottom: 2px solid #E2E8F0;
  text-align: left;
}

.th-sub {
  font-size: 10.5px;
  color: #64748B;
  font-weight: 600;
}

.yks-matching-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}

.yks-matching-table tr:last-child td {
  border-bottom: none;
}

.occ-bold {
  font-size: 13.5px;
  color: #0F172A;
}

.prog-name {
  font-weight: 600;
  color: #1E293B;
}

.unit-name {
  font-size: 11px;
  color: #64748B;
}

.ptype-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 800;

}

.badge-ptype-söz {
  background: #EDE9FE;
  color: #6D28D9;
}

.badge-ptype-say {
  background: #F1F5F9;
  color: #334155;
}

.badge-ptype-ea {
  background: #FFEDD5;
  color: #C2410C;
}

.badge-ptype-tyt {
  background: #FDE8DB;
  color: #A8480F;
}

.badge-ptype-dil {
  background: #FEF3EC;
  color: #C85A17;
}

.level-sub {
  display: block;
  font-size: 10.5px;
  color: #64748B;
  margin-top: 2px;
}

.rank-txt {
  font-weight: 800;
  font-size: 13.5px;
  color: #0F172A;
}

.score-txt {
  font-size: 11px;
  color: #64748B;
  font-family: monospace, sans-serif;
}

/* Responsive Dashboard Breakpoint */
@media (max-width: 900px) {
  .beugem-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .beugem-chart-box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 20px 16px;
  }

  .chart-selected-skill-badge {
    box-sizing: border-box;
    max-width: 100%;
    padding: 6px 12px;
  }

  .chart-selected-skill-badge .badge-text {
    font-size: 12.5px;
    word-break: break-word;
  }

  .report-eval-sections,
  .report-guidance-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .survey-dynamic-app {
    padding: 16px 14px 36px 14px;
  }

  .survey-guidelines-wrapper {
    padding: 18px 14px 36px 14px;
  }

  .survey-completion-box {
    padding: 4px 0 36px 0;
  }

  .survey-results-view {
    padding: 0 12px;
  }

  .survey-results-header {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .results-main-title {
    font-size: 20px;
    line-height: 1.25;
  }

  .beugem-skill-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title pct"
      "action action";
    gap: 10px 8px;
    padding: 12px 14px;
    box-sizing: border-box;
  }

  .skill-bar-left-title {
    grid-area: title;
    font-size: 14.5px;
    line-height: 1.35;
    word-break: break-word;
  }

  .skill-bar-right-meta {
    grid-area: pct;
    align-self: center;
  }

  .skill-pct-val {
    font-size: 15px;
  }

  .skill-bar-center-action {
    grid-area: action;
    margin: 4px 0 0 0;
    width: 100%;
  }

  .btn-view-report-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* ==========================================
   Empty State (When User Has Not Taken Survey)
   ========================================== */
.empty-results-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid #E2E8F0;
  padding: 56px 36px;
  text-align: center;
  max-width: 520px;
  margin: 48px auto;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.empty-results-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #FEF3EC;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.empty-results-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.empty-results-desc {
  font-size: 15px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 32px;
}

.btn-go-to-survey {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #C85A17;
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(200, 90, 23, 0.3);
  transition: all 0.25s ease;
}

.btn-go-to-survey:hover {
  background: #A8480F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 90, 23, 0.4);
}

/* --------------------------------------------------------------------------
   Auth Gate Screen (Post-Survey Authentication Modal/Card)
   -------------------------------------------------------------------------- */
.survey-auth-gate-card {
  width: 100%;
  max-width: 520px;
  margin: 20px auto 40px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 24px;
  padding: 38px 36px;
  box-sizing: border-box;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  animation: fadeInSurvey 0.4s ease forwards;
}

.auth-gate-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-gate-icon-badge {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FEF3EC 0%, #FDE8DB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C85A17;
  box-shadow: 0 4px 14px rgba(200, 90, 23, 0.15);
}

.auth-gate-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.auth-gate-subtitle {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.55;
  margin: 0;
}

.auth-gate-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 22px;
}

.auth-gate-tab-btn {
  height: 38px;
  border: none;
  background: transparent;
  color: #64748B;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-gate-tab-btn.active {
  background: #FFFFFF;
  color: #C85A17;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.auth-gate-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-gate-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-gate-form .form-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.auth-gate-form .form-input {
  height: 44px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  background: #F8FAFC;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: #0F172A;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.auth-gate-form .form-input:focus {
  background: #FFFFFF;
  border-color: #C85A17;
  box-shadow: 0 0 0 3px rgba(200, 90, 23, 0.12);
}

.auth-gate-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-gate-input-prefix {
  display: flex;
  align-items: stretch;
  height: 44px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  background: #F8FAFC;
  overflow: hidden;
  transition: all 0.2s ease;
}

.auth-gate-input-prefix:focus-within {
  background: #FFFFFF;
  border-color: #C85A17;
  box-shadow: 0 0 0 3px rgba(200, 90, 23, 0.12);
}

.auth-gate-prefix-badge {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #FEF3EC;
  border-right: 1px solid #F0D0BC;
  color: #C85A17;
  font-size: 12.5px;
  font-weight: 700;
}

.auth-gate-input-prefix input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 12px;
  font-size: 14px;
  color: #0F172A;
}

.auth-gate-input-toggle {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-gate-input-toggle input {
  width: 100%;
  padding-right: 40px;
}

.auth-gate-eye-btn {
  position: absolute;
  right: 10px;
  border: none;
  background: transparent;
  color: #64748B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.auth-gate-alert-box {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.auth-gate-submit-btn {
  height: 46px;
  border: none;
  border-radius: 10px;
  background: #C85A17;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(200, 90, 23, 0.25);
  transition: all 0.2s ease;
  margin-top: 4px;
}

.auth-gate-submit-btn:hover {
  background: #8F3B0A;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200, 90, 23, 0.35);
}

.auth-gate-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 640px) {
  .survey-auth-gate-card {
    padding: 28px 20px;
    margin: 12px 10px 30px;
  }

  .auth-gate-grid-2 {
    grid-template-columns: 1fr;
  }
}