@import url('license-key.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&amp;display=swap');

:root {
  --primary: #4e46e5e3;
  /* Indigo */
  --primary-soft: #EEF2FF;
  --surface: #FFFFFF;
  --background: #F3F4F6;
  --text-main: #111827;
  --text-muted: #6b7280a9;
  --border: #E5E7EB;
  --danger: #EF4444;
  --danger-soft: #FEF2F2;
  --radius-lg: 16px;
  --radius-md: 8px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove autofill background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  background-color: transparent !important;
  -webkit-text-fill-color: inherit !important;
  transition: background-color 9999s ease-in-out 0s !important;
}

/* Normalize wp */
.update-nag {
  display: none;
}

#wpfooter {
  display: none !important;
}

#wpcontent {
  padding-left: unset !important;
}

.wrap {
  margin: unset;
}

.postbox .inside h2,
.wrap [class$=icon32]+h2,
.wrap h1,
.wrap>h2:first-child {
  padding: unset;
}

.wp-list-table {
  border-radius: 18px !important;
  border: 2px solid rgba(0, 0, 0, 0.175) !important;
  box-shadow: 0 8px 20px rgba(146, 155, 177, 0.1) !important;
  overflow: hidden;
}

.form-table th {
  width: unset;
}

/**
* == QuizFlow - Advanced Quiz Builder & Management System ==
*
* Contributors: FixBD
* Author URI: http://fixbd.com
* Source: https://github.com/fixbd/quizflow/blob/fixbd/assets/css/quizflow-admin.css
* @since 1.0.0
* @version: 1.0.0
* @last-update 1.0.0
*/

ul.category-tabs,
.categorychecklist {
  margin: 4px 0px !important;
  padding-left: 0px !important;
}

ul.category-tabs li.tabs {
  border: none;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.tabs-panel {
  border: unset !important;
}

.notice, div.error, div.updated {
  margin: 0px;
  margin-bottom: 12px;
  border-radius: 12px;
}

#post-body-content {
  margin-bottom: unset !important;
}

/* #wp-admin-bar-wp-btn {
  display: none;
} */

.media-modal-content {
  border-radius: 18px;
}

.mw-0 {
  min-width: 0px;
}

.max-width-0 {
  max-width: 0px;
}
.min-width-40 {
  max-width: 40px;
}

a:focus,
a:active {
  outline: 1px solid rgb(13, 83, 86);
  box-shadow: none;
}

.e-notice {
  display: none !important;
}

#titlediv #title-prompt-text {
  padding: 0px 10px;
}

#titlediv #title,
#titlediv #title-prompt-text {
  font-size: 1.5rem;
}

#edit-slug-box {
  background-color: rgb(230, 231, 255);
  border-radius: 8px;
  margin-bottom: 8px;
}

.wrap .add-new-h2,
.wrap .add-new-h2:active,
.wrap .page-title-action,
.wrap .page-title-action:active {
  padding: 0px 10px;
}


/* end clean */

* {
  --bs-border-radius: 18px;
  --bs-border-radius-sm: 12px;
}

.quizflow-dashboard,
.toplevel_page_quizflow {
  background: #f6f8fb;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.navbar {
  position: sticky;
  top: 32px;
  z-index: 1050;
  box-shadow: 0 8px 20px rgba(146, 155, 177, 0.1);
}

@media screen and (max-width: 782px) {
  .navbar {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  .navbar {
    top: 0;
  }
}

.bg-glass {
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.menu-dropdown {
  min-width: 200px;
}

.menu-btn {
  width: 42px;
  height: 42px;
}

a:focus,
a:active {
  outline: none;
}

.quiz-settings .card {
  border-radius: 0.75rem;
  overflow: hidden;
}

/* #quiz_settings_meta_box,
#quizflow_ai_meta_box {
  overflow: hidden;
} */

#quizflow_ai_meta_box .postbox-header,
.box-header {
  color: white;
  background: linear-gradient(90deg, #5d00ff, #e100ff);
}

/* #quiz_settings_meta_box .postbox-header, */
#quizflow_ai_meta_box .postbox-header {
  border-bottom: none;
  padding: 8px;
  font-weight: 600;
}

.box-header {
  padding-top: 10px;
  padding-bottom: 10px;
}

#quiz_settings_meta_box .inside,
#quizflow_ai_meta_box .inside {
  margin: 18px;
  padding: 8px;
}

.quizflow-ai-tools button {
  font-size: unset;
}

.setting-inside {
  max-width: 1280px;
  margin: auto;
}

.quiz-settings .card-body {
  background-color: #f9fafb;
}

#side-sortables .row {
  display: block;
}

#side-sortables .col-md-6 {
  width: unset;
}

#side-sortables #quiz_settings_meta_box .inside,
#side-sortables #quizflow_ai_meta_box .inside {
  margin: 8px;
  padding: 2px;
}

#side-sortables #quiz_settings_meta_box .postbox-header,
#side-sortables #quizflow_ai_meta_box .postbox-header {
  padding: unset;
}

#quizflow_ai_meta_box .postbox-header .handle-actions button span::before {
  color: white !important;
}

.quiz-settings .form-control,
.quiz-settings .form-select {
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
}

.quiz-settings .form-control:focus,
.quiz-settings .form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  border-color: #0d6efd;
}


.form-switch input[type=checkbox]:checked::before {
  content: '';
}

/* Sidebar metabox style */
.postbox,
#postdivrich {
  background: #fff;
  border-color: #e2e3e5;
  border-radius: 14px;
  box-shadow: unset;
  overflow: hidden;
}

.postbox-header {
  border-color: #e2e3e5;
}

.postbox.closed .postbox-header {
  border: none;
}

#quiz_shortcode_meta_box .inside {
  margin-top: 8px;
}

/* Input */
.quizflow-shortcode-box input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dce0e5;
  font-family: monospace;
  background: #f9fafb;
  font-size: 13px;
  margin-bottom: 10px;
}

/* Copy button */
.quizflow-copy-btn.button,
.page-title-action {
  background: linear-gradient(135deg, #0060cf, #4b9eff) !important;
  color: white !important;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}


#posts-filter select,
#posts-filter input {
  border-radius: 50px;
}

.quizflow-copy-btn:hover {
  background: linear-gradient(135deg, #006fee, #0077ff);
  transform: translateY(-1px);
}

.quizflow-copy-success {
  display: none;
}

.input-group-text,
.form-control {
  font-size: unset;
}

.input-group-text,
.input-group input,
.input-group div {
  border: unset !important;
  border-radius: unset !important;
}

.input-group {
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  overflow: hidden;
}

input[type=color],
input[type=date],
input[type=datetime-local],
input[type=datetime],
input[type=email],
input[type=month],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
input[type=week],
select,
textarea,
.wp-core-ui select {
  border: 1px solid #8c8f9466;
}

.form-check {
  margin-bottom: 0px;
  border-radius: 4px;
}

.form-check-input:checked[type=checkbox] {
  content: var(--bs-form-check-bg-image);
}


/* Universal Skeleton Component */
.skeleton-show .skeleton,
.skeleton-show.skeleton {
  position: relative;
  overflow: hidden;
  /* border-radius: 18px; */
}

.skeleton-show .skeleton:not(.skeleton.skeleton-nobg) {
  background: #e5e7eb !important;
}

.skeleton-show .skeleton:not(.skeleton.skeleton-nobg) * {
  visibility: hidden;
}

.skeleton-show .skeleton::after,
.skeleton-show.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 100%);
  animation: skeleton-shimmer 1.6s infinite;
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.kpi-card {
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(12, 22, 39, 0.04);
}

.kpi-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
}

.chart-card {
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(12, 22, 39, 0.04);
}

.table-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(12, 22, 39, 0.04);
}

.small-muted {
  font-size: .85rem;
  color: #6c757d;
}

.badge-status {
  font-weight: 600;
  padding: .45rem .6rem;
}

@media screen and (min-width: 782px) {
  .points-group {
    max-width: 150px;
  }

  .timer-group {
    max-width: 178px;
  }
}


.option-preview img {
  max-width: 30px;
  /* max-height: 32px; */
}

.q-remove-preview,
.remove-option-image {
  /* --bs-btn-bg: #dc354654;
  --bs-btn-border-color: #dc354662; */
  transform: translate(-20%, 20%);
}

.border-dotted {
  border-style: dotted !important;
}

.border-dashed {
  border-style: dashed !important;
}

.d-none-normal {
  display: none;
}






/* .pulse-glow {
  animation: pulseGlow 3.5s ease-in-out infinite;
}
.pulse-glow:focus {
  animation: unset;
  box-shadow: 0 0 18px rgba(13, 110, 253, 0.3);
  border-color: rgba(13, 110, 253, 0.3);
}

@keyframes pulseGlow {
  0%   { box-shadow: 0 0 0 rgba(13, 110, 253, 0.1); }
  50%  { box-shadow: 0 0 18px rgba(13, 110, 253, 0.3); }
  100% { box-shadow: 0 0 0 rgba(13, 110, 253, 0.1); }
} */


/* ---------------------------------
   🔥 DEFAULT ANIMATED PULSE-GLOW
------------------------------------ */
.pulse-glow {
  position: relative;
  padding: 2px;
  border-radius: 14px;
  animation: pulseGlow 2.4s infinite ease-in-out;
}

.skeleton-show .pulse-glow {
  animation: pulseGlowing 2s infinite ease-in-out;
}

.skeleton-show .pulse-glow::before {
  opacity: 0.2;
}

/* Outer color animation */
.pulse-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(120deg,
      #ff00c8,
      #7000ff,
      #0066ff,
      #00eaff,
      #00ffb0,
      #ffde00,
      #ff6b00,
      #ff008c);
  background-size: 300% 300%;
  animation: rainbowFlow 6s linear infinite;
  filter: blur(8px);
  z-index: -1;
  opacity: 0.1;
}

.pulse-glow.pulse-box::before {
  /* animation: rainbowFlow 15s linear infinite; */
  animation: unset;
  filter: blur(2px);
  opacity: 0.02;
}

.pulse-glow.pulse-box:hover::before {
  animation: rainbowFlow 6s linear infinite;
  opacity: 0.05;
}

/* Pulse animation (container) */
@keyframes pulseGlow {

  0%,
  100% {
    filter: brightness(1);
  }
}

@keyframes pulseGlowing {

  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.4);
  }
}

/* Rainbow animated border */
@keyframes rainbowFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(153, 13, 253, 0.7);
  }

  70% {
    box-shadow: 0 0 20px 10px rgba(13, 110, 253, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
  }
}

/* ---------------------------------
   🎯 FOCUS STATE - WHEN INPUT/TEXTAREA INSIDE IS FOCUSED
------------------------------------ */
/* .pulse-glow:has(input:focus),
.pulse-glow:has(textarea:focus) {
  animation: none;
}

.pulse-glow:has(input:focus)::before,
.pulse-glow:has(textarea:focus)::before {
  animation: none;
  background: #0d6efd;
  filter: blur(4px);
  opacity: 0.6;
} */


/* Actual input/textarea styling */
.pulse-glow .question-title-box,
.pulse-glow textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border) !important;
  padding: 10px 14px;
  font-size: 15px;
  outline: none;
  background: #ffffff;
  position: relative;
  transition: var(--transition);
}

.pulse-glow .question-title-box:focus-within,
.pulse-glow textarea:focus-within {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.question-title-box .form-control:disabled {
  background-color: unset;
  box-shadow: unset;
}

/* inner element focus shadow */
.pulse-glow input:focus,
.pulse-glow textarea:focus {
  outline: unset;
  box-shadow: unset;
}

.dropdown-menu {
  --bs-dropdown-font-size: unset;
  --bs-dropdown-link-active-color: var(--primary);
  min-width: 200px;
}
.navbar .dropdown-menu {
  min-width: 240px;
}

.dropdown-item.active,
.dropdown-item:hover:not(.animated-btn),
.dropdown-item:active:not(.animated-btn),
.dropdown-item:focus:not(.animated-btn) {
  background: linear-gradient(90deg, rgb(230, 231, 255), rgba(230, 231, 255, 0));
  color: var(--primary);
}

/* QuizFlow Post */
.option-preview .position-relative {
  display: inline-block;
}

.option-preview .btn {
  z-index: 5;
}

.upload-box {
  min-height: 72px;
  width: 100%;
  /* display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; */
}

.drag-handle {
  cursor: grab;
}

.cursor-pointer {
  cursor: pointer;
}

.action-item {
  cursor: pointer;
  border-radius: 12px;
  transition: background-color .15s, transform .15s;
}

.action-item:hover {
  background-color: #eef3ff;
}

/* Pulse up button */
.quizflow-ai-generate {
  /* position: relative;
  overflow: hidden;
  color: #fff; */
  /* background: linear-gradient(90deg, #5d00ff, #e100ff); */
  border: none;
  /* transition: all 0.3s ease; */
}

#side-sortables #quizflow_ai_meta_box .inside .quizflow-ai-generate {
  width: 100%;
}

/* .quizflow-ai-generate:hover {
  color: #fff;
} */

/* .quizflow-ai-generate::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
  transition: all 0.5s;
} */

.quizflow-ai-generate:hover::before {
  top: 0;
  left: 0;
}

.modal {
  --bs-modal-zindex: 100000;
  --bs-modal-border-radius: 18px;
}
.toast-container {
  --bs-toast-zindex: 100001;
}

.accordion {
  --bs-accordion-active-bg: rgba(230, 231, 255, 0);
  --bs-accordion-btn-icon-transform: rotate(-90deg);
  --bs-accordion-btn-icon-width: 1rem;
}

.input-group-text {
  background: linear-gradient(90deg, rgb(230, 231, 255), rgba(230, 231, 255, 0));
}

.new-item-badge {
  display: none;
}

.new-item .new-item-badge {
  display: inline-block;
}

.drag-handle-icon,
.option-table tr i:not(button i) {
  color: var(--primary);
  opacity: 0.2;
  transition: 0.3s;
}

.accordion-header:hover .drag-handle-icon,
.option-table tr:hover i:not(button i) {
  opacity: 1;
  transition: 0.3s;
}

input[type=checkbox] {
  border-radius: 100% !important;
}

.shadow-md {
  box-shadow: 0 2px 8px rgba(146, 155, 177, 0.1);
}

.border-light {
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}





/* Template management */
.quizflow-template-item {
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  border-radius: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.quizflow-template-item.selected {
  /* border-color: rgba(13, 110, 253, 0.3);
  background: rgba(13, 110, 253, 0.1); */
  border-color: #5d00ff47;
  background: #5d00ff0b;
}

.quizflow-template-item img {
  width: 60px;
  height: auto;
  border-radius: 4px;
  background: #eee;
}

.quizflow-template-settings .qf-field {
  padding: 8px 0px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.quizflow-template-settings .qf-field:last-child {
  border-bottom: unset;
  padding-bottom: 0px;
}

.qf-field label {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

/* Smaller Premium Switch */
.qf-switch {
  --qf-width: 38px;
  --qf-height: 18px;
  --qf-bg-off: #d0d5dd;
  --qf-bg-on: #5d00ff;
  --qf-thumb-size: 14px;
  position: relative;
  display: inline-block;
  width: var(--qf-width);
  height: var(--qf-height);
}

.qf-switch input {
  display: none;
}

.qf-switch .slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: var(--qf-bg-off);
  border-radius: var(--qf-height);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.qf-switch .slider::before {
  content: "";
  position: absolute;
  height: var(--qf-thumb-size);
  width: var(--qf-thumb-size);
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
}

.qf-switch input:checked+.slider {
  background: var(--qf-bg-on);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.25);
}

.qf-switch input:checked+.slider::before {
  transform: translateX(calc(var(--qf-width) - var(--qf-thumb-size) - 4px));
}

.qf-switch:hover .slider::before {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.26);
}

.qf-switch input:focus-visible+.slider {
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.35);
}


.option-no {
  cursor: grab;
}


.ui-sortable-placeholder {
  background-color: rgba(0, 0, 0, 0.02);
  margin: 0 !important;
  padding: 0 !important;
}

.page-questions-list:not(:has(.quiz-item))
/* #quizflow-question-builder:not(:has(.quiz-item, .page-item)) */ {
  background-color: rgba(0, 0, 0, 0.02);
  border: 1px dashed #bbb;
  border-radius: 18px;
  min-height: 48.32px;
}

.quizflow-initbox,
.quizflow-builder-container .builder-action-button {
  display: none;
}

#quizflow-question-builder:not(:has(.quiz-item, .page-item)) .quizflow-initbox,
.quizflow-builder-container:has(.quiz-item, .page-item) .builder-action-button {
  display: block;
}

.ai-suggested-title,
.ai-suggested-hints {
  background: linear-gradient(90deg, #cfe2ff73, #ba33ff2e);
}

.hints-notification-badge {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  /* keeps layout stable */
}

.accordion-item:has(.ai-suggested-hints:not(.d-none)) .hints-notification-badge {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}


.quiz-item tbody tr {
  border-color: transparent;
}

/* .question-head-title {
  display: none;
} */

.accordion-header.collapsed .question-head-title {
  display: inline-block;
}

.accordion-header.collapsed .question-head-type-wrapper {
  display: none;
}

.open-settings-btn {
  opacity: 1;
  transform: rotate(0deg);
  width: auto;
  margin-right: 0;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    width 0.4s ease,
    margin 0.4s ease;
}

.accordion-header.collapsed .open-settings-btn {
  opacity: 0;
  transform: rotate(180deg) scale(0.8);
  width: 0;
  /* collapse width */
  margin-right: 0;
  /* remove spacing */
  padding: 0;
  /* avoid leftover click area */
  pointer-events: none;
  /* disable interaction */
  overflow: hidden;
  /* hide icon inside */
}

.option-input-wrapper {
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 8px;
  transition: var(--transition);
}

.option-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.option-input-wrapper .option-text {
  flex-grow: 1;
  border: none;
  font-size: 0.95rem;
  color: var(--text-main);
  background: transparent;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* .option-input-wrapper .option-text,
.option-input-wrapper:focus .option-text {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
} */

.option-input-wrapper .option-upload {
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.option-input-wrapper .option-upload:hover {
  border-color: var(--primary) !important;
}

.form-check-input {
  border-color: var(--primary) !important;
}

.form-check-input:checked {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.add-option {
  padding-right: 10px;
}



/* UI */
.quizflow-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-orb {
  filter: blur(80px);
  opacity: 0.6;
}

/* Animated btn */
@keyframes btnFlow {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes btnPulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4), 0 0 40px rgba(236, 72, 153, 0.2);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6), 0 0 60px rgba(236, 72, 153, 0.4);
    transform: scale(1.05);
  }
}

@keyframes btnLetterWave {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

.animated-btn {
  /* background: linear-gradient(90deg, #8b5cf6, #ec4899, #06b6d4, #8b5cf6); */
  background: linear-gradient(90deg, #5d00ff, #ec4899, #06b6d4, #5d00ff);
  background-size: 300% 100%;
}

.animated-btn.active {
  background: linear-gradient(90deg, #004b03, #20ff29);
}

.skeleton-show .animated-btn,
body:has(.skeleton-show) .animated-logo,
.animated-btn.animated-btn-hover:hover {
  animation: btnFlow 3s ease infinite, btnPulse 2s ease-in-out infinite;
}


/* Animated Logo */
@keyframes logoFlow {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes logoLetterWave {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

.logo-text {
  background: linear-gradient(90deg, #000000, #003cff, #c4b5fd, #0d0d0d);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoFlow 5s ease infinite;
}

.quizflow-primary-navbar .logo-text {
  font-size: large;
}

.logo-letter {
  display: inline-block;
  /* animation: logoLetterWave 2s ease-in-out infinite; */
}

.logo-letter:nth-child(1) {
  animation-delay: 0s;
}

.logo-letter:nth-child(2) {
  animation-delay: 0.1s;
}

.logo-letter:nth-child(3) {
  animation-delay: 0.2s;
}

.logo-letter:nth-child(4) {
  animation-delay: 0.3s;
}

.logo-letter:nth-child(5) {
  animation-delay: 0.4s;
}

.logo-letter:nth-child(6) {
  animation-delay: 0.5s;
}

.logo-letter:nth-child(7) {
  animation-delay: 0.6s;
}

.logo-letter:nth-child(8) {
  animation-delay: 0.7s;
}

.quizflow-icon {
  transition: 0.3s;
}

.quizflow-icon:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@keyframes flowIcon {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(5deg);
  }

  75% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.flow-icon {
  cursor: pointer;
  animation: flowIcon 2s ease-in-out infinite;
}

.w-10 {
  width: 2rem;
}

.h-10 {
  height: 2rem;
}

/* .global-actions #add-page-btn {
  display: inline-block;
} */
.global-actions:has(.add-question-btn.d-none)>#add-page-btn {
  display: inline-block;
}

.global-actions:has(.add-question-btn.d-none) .dropdown #add-page-btn {
  display: none !important;
}

body:has(.page-item) .quizflow-ai-select-page {
  display: block !important;
  padding-top: 1.5px;
  padding-bottom: 1.5px;
  border-color: #eaeaea;
}

.quizflow-tooltip {
  --bs-tooltip-bg: var(--primary);
  --bs-tooltip-color: var(--bs-white);
}


.quizflow-tooltip .tooltip-inner {
  padding: 12px;
  /* text-align: justify; */
}

.license-details {
  display: none;
}

/* ==========================================
 * Meta Box Avatar & Icon Styles
 * ========================================== */

/**
 * Student Avatar Circle
 * 
 * Styles for displaying student profile images in circular containers
 * with consistent sizing and centering.
 */
.quizflow-student-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

/**
 * Icon Container Circle
 * 
 * Styles for small circular icon containers used in alerts and info sections.
 * Used for plugin/feature suggestion displays.
 */
.quizflow-icon-container {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

/**
 * Description Text with Tight Line Height
 * 
 * Provides compact line spacing for descriptive text content in alerts.
 */
.quizflow-compact-text {
  line-height: 1.4;
}

/**
 * Folder Icon Container
 * 
 * Styles for the circular container holding the folder/empty state icon.
 */
.quizflow-folder-icon {
  width: 80px;
  height: 80px;
}