@charset "UTF-8";
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
body.page-template-page-wb-selfcheck #header,
body.page-template-page-wb-selfcheck .main--page > .container.position-relative,
body.page-template-page-wb-dashboard #header,
body.page-template-page-wb-dashboard .main--page > .container.position-relative,
body.page-template-page-wb-company-list #header,
body.page-template-page-wb-company-list .main--page > .container.position-relative,
body.page-template-page-wb-company-profile #header,
body.page-template-page-wb-company-profile .main--page > .container.position-relative,
body.page-template-page-wb-answers-history #header,
body.page-template-page-wb-answers-history .main--page > .container.position-relative {
  display: none !important;
}
body.page-template-page-wb-selfcheck,
body.page-template-page-wb-dashboard,
body.page-template-page-wb-company-list,
body.page-template-page-wb-company-profile,
body.page-template-page-wb-answers-history {
  margin: 0;
  padding: 0;
}

.wbselfcheck-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media print {
  .wbselfcheck-meta-bar,
  .wb-notification,
  .wb-dialog-overlay,
  .wb-login-prompt,
  .wb-certification-unlocked-notification {
    display: none !important;
  }
  .wbselfcheck-body {
    background: #fff !important;
  }
}
@keyframes wb-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.6;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes slide-in-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slide-out-down {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(20px);
    opacity: 0;
  }
}
@keyframes slide-in-right {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-out-right {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
@keyframes scale-in {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes scale-out {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.8);
    opacity: 0;
  }
}
@keyframes wb-progress-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
@keyframes sparkle-burst {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  33% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  66% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
}
@keyframes certification-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(49, 234, 155, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(49, 234, 155, 0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fillProgress {
  from {
    width: 0;
  }
  to {
    width: var(--tab-completion);
  }
}
@keyframes remove-button-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-slide-in-up {
  animation: slide-in-up 0.3s ease forwards;
}

.animate-slide-out-down {
  animation: slide-out-down 0.3s ease forwards;
}

.animate-slide-in-right {
  animation: slide-in-right 0.3s ease forwards;
}

.animate-slide-out-right {
  animation: slide-out-right 0.3s ease forwards;
}

.animate-fade-in {
  animation: fade-in 0.3s ease forwards;
}

.animate-fade-out {
  animation: fade-out 0.3s ease forwards;
}

.animate-scale-in {
  animation: scale-in 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.animate-scale-out {
  animation: scale-out 0.3s ease forwards;
}

.card-fade-in {
  animation: fade-in 0.5s ease;
}

.card-fade-out {
  animation: fade-out 0.5s ease;
}

.card-slide-left {
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.card-slide-left.out {
  transform: translateX(-100px) scale(0.8);
  opacity: 0;
}

.card-scale-in {
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.card-scale-in.in {
  transform: scale(1);
  opacity: 1;
}

.wbselfcheck-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 2px solid #ededed;
  position: sticky;
  top: 0;
  z-index: 100;
  will-change: transform;
}
body.admin-bar .wbselfcheck-meta-bar {
  top: 32px;
}
.wbselfcheck-meta-bar .meta-backlink {
  display: flex;
  align-items: center;
  width: 100%;
}
.wbselfcheck-meta-bar .meta-backlink a {
  font-weight: 600;
  color: #31ea9b;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}
.wbselfcheck-meta-bar .meta-backlink a:hover {
  background: #e3f2fd;
  text-decoration: none;
}
.wbselfcheck-meta-bar .meta-backlink .meta-logo {
  margin-left: auto;
}
.wbselfcheck-meta-bar .meta-backlink .meta-logo img {
  height: 50px;
  width: auto;
}
.wbselfcheck-meta-bar .meta-avatar-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.wbselfcheck-meta-bar .meta-avatar-link:hover {
  opacity: 0.85;
}
.wbselfcheck-meta-bar .wbselfcheck-avatar {
  width: 60px !important;
  height: 60px !important;
  margin: 0;
}
.wbselfcheck-meta-bar .wbselfcheck-avatar.with-progress {
  position: relative;
}
.wbselfcheck-meta-bar .wbselfcheck-avatar .avatar-progress-ring {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 0;
  left: 0;
}
.wbselfcheck-meta-bar .wbselfcheck-avatar .avatar-progress-ring circle {
  stroke-width: 4;
}
.wbselfcheck-meta-bar .wbselfcheck-avatar-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #ededed;
  background: #ededed;
  object-fit: cover;
  position: absolute;
  top: 6px;
  left: 6px;
}
.wbselfcheck-meta-bar .meta-text-link {
  font-weight: 600;
  color: #31ea9b;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}
.wbselfcheck-meta-bar .meta-text-link:hover {
  background: #e3f2fd;
  text-decoration: none;
}

.meta-divider {
  color: #ccc;
  margin: 0 0.5rem;
  opacity: 0.5;
}

.meta-login-link,
.meta-register-link {
  font-weight: 600;
}

.meta-login-link {
  color: #31ea9b;
}

.meta-register-link {
  color: #28c785;
}

@media only screen and (max-width: 768px) {
  .wbselfcheck-meta-bar .meta-backlink {
    display: none;
  }
  .wbselfcheck-meta-bar .meta-backlink .meta-avatar-link {
    display: none !important;
  }
  .wbselfcheck-meta-bar .meta-backlink .meta-logo {
    margin-left: 0;
  }
  .wbselfcheck-meta-bar.active .meta-backlink {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin-left: -1rem;
  }
}
@media (max-width: 768px) {
  .wbselfcheck-meta-bar {
    padding: 0.75rem 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }
  .wbselfcheck-meta-bar .meta-backlink {
    order: 2;
    gap: 0.75rem;
  }
  .wbselfcheck-meta-bar .meta-logo {
    order: 1;
  }
  .wbselfcheck-meta-bar .wbselfcheck-avatar,
  .wbselfcheck-meta-bar .wbselfcheck-avatar .avatar-progress-ring {
    width: 50px;
    height: 50px;
  }
  .wbselfcheck-meta-bar .wbselfcheck-avatar-image {
    width: 40px;
    height: 40px;
    top: 5px;
    left: 5px;
  }
  .wbselfcheck-meta-bar .wbselfcheck-avatar .avatar-progress-ring circle {
    stroke-width: 3;
  }
  .meta-divider {
    display: none;
  }
  .meta-login-link,
  .meta-register-link {
    display: block;
    margin-top: 0.5rem;
  }
}
@media only screen and (max-width: 575px) {
  .wbselfcheck-meta-bar .meta-backlink .wbselfcheck-avatar-image {
    width: 40px !important;
    height: 40px !important;
    top: 5px !important;
    left: 5px !important;
  }
}
@media (max-width: 480px) {
  .wbselfcheck-meta-bar .meta-logo img {
    height: 40px;
  }
}
.wb-form {
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  border: 1px solid #ededed;
}
.wb-form h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  color: #000;
  text-align: center;
}
.wb-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #000;
}
.wb-form input,
.wb-form select,
.wb-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 2px solid #ededed;
  border-radius: 0;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  box-sizing: border-box;
}
.wb-form input:focus,
.wb-form select:focus,
.wb-form textarea:focus {
  outline: none;
  border-color: #31ea9b;
  box-shadow: 0 0 0 3px rgba(49, 234, 155, 0.1);
}
.wb-form button {
  width: 100%;
  padding: 0.875rem;
  background: #31ea9b;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}
.wb-form button:hover {
  background: #28c785;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(49, 234, 155, 0.25);
}
.wb-form button:active {
  transform: translateY(0);
}
.wb-form button:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.4;
}
.form-footer a {
  color: #31ea9b;
  text-decoration: none;
  font-weight: 500;
}
.form-footer a:hover {
  text-decoration: underline;
}

.field-error {
  color: #fc6f6f;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

.wb-form input:focus,
.wb-form select:focus,
.wb-form textarea:focus {
  outline: 2px solid #31ea9b;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .wb-form {
    margin: 1rem auto;
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .wb-form h1 {
    font-size: 1.5rem;
  }
}
.wb-registration-form .student-email-warning {
  margin-top: 1rem;
  margin-bottom: 1rem;
  animation: fadeIn 0.3s ease;
}
.wb-registration-form .student-email-warning .wb-error {
  max-width: 100%;
}
.wb-registration-form .student-email-warning .wb-error:after {
  content: none !important;
  display: none !important;
}
.wb-registration-form .email-field-wrapper {
  animation: fadeIn 0.3s ease;
}
.wb-registration-form .email-validation-message {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 1.2em;
}
.wb-registration-form .email-validation-message.loading {
  color: #666;
}
.wb-registration-form .email-validation-message.loading::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 0.25rem;
  border: 2px solid #ededed;
  border-top-color: #31ea9b;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.wb-registration-form .email-validation-message.success {
  color: #31ea9b;
}
.wb-registration-form .email-validation-message.success::before {
  content: "✓";
  display: inline-block;
  margin-right: 0.25rem;
  font-weight: 700;
}
.wb-registration-form .email-validation-message.error {
  color: #fc6f6f;
}
.wb-registration-form .email-validation-message.error::before {
  content: "⚠";
  display: inline-block;
  margin-right: 0.25rem;
  font-weight: 700;
}
.wb-registration-form #registration_email.validating {
  border-color: #ccc;
}
.wb-registration-form #registration_email.valid {
  border-color: #31ea9b;
}
.wb-registration-form #registration_email.invalid {
  border-color: #fc6f6f;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.wbselfcheck-button {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  background: #31ea9b;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}
.wbselfcheck-button:hover {
  background: #28c785;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(49, 234, 155, 0.25);
  color: #fff;
  text-decoration: none;
}
.wbselfcheck-button:active {
  transform: translateY(0);
}
.wbselfcheck-button:focus {
  outline: 2px solid #31ea9b;
  outline-offset: 2px;
}

.wbselfcheck-button-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.wbselfcheck-button-secondary {
  background: #ededed;
  color: #333;
}
.wbselfcheck-button-secondary:hover {
  background: #ccc;
  color: #000;
}

.wb-success,
.wb-error,
.wb-info {
  max-width: 450px;
  margin: 1rem auto;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
  border-left: 4px solid;
  position: relative;
}

.wb-success.persistent,
.wb-error.persistent,
.wb-info.persistent {
  padding-right: 3rem;
}
.wb-success.persistent::after,
.wb-error.persistent::after,
.wb-info.persistent::after {
  content: "×";
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.wb-success.persistent:hover::after,
.wb-error.persistent:hover::after,
.wb-info.persistent:hover::after {
  opacity: 1;
}

.wb-success {
  background: #e6f4ea;
  border-color: #31ea9b;
  color: #155724;
}

.wb-error {
  background: #ffebee;
  border-color: #fc6f6f;
  color: #721c24;
}

.wb-info {
  background: #e3f2fd;
  border-color: #31ea9b;
  color: #0c5460;
}

.wb-notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 10000;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  max-width: 350px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.wb-notification.show {
  transform: translateX(0);
}
.wb-notification .close {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  font-size: 1.25rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
  margin-left: auto;
}
.wb-notification .close:hover {
  opacity: 1;
}

.wb-notification-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wb-notification-icon::before {
  font-family: dashicons;
  font-size: 1.5rem;
  display: block;
}

.wb-notification-success {
  background: #e6f4ea;
  border-left: 4px solid #31ea9b;
  color: #155724;
}
.wb-notification-success .wb-notification-icon::before {
  content: "\f147";
  color: #31ea9b;
}

.wb-notification-error {
  background: #ffebee;
  border-left: 4px solid #fc6f6f;
  color: #721c24;
}
.wb-notification-error .wb-notification-icon::before {
  content: "\f534";
  color: #fc6f6f;
}

.wb-notification-warning {
  background: #fff9e6;
  border-left: 4px solid #f39c12;
  color: #856404;
}
.wb-notification-warning .wb-notification-icon::before {
  content: "\f227";
  color: #f39c12;
}

.wb-notification-info {
  background: #e8f4fd;
  border-left: 4px solid #3498db;
  color: #0c5460;
}
.wb-notification-info .wb-notification-icon::before {
  content: "\f348";
  color: #3498db;
}

.wb-notification-close {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  font-size: 1.25rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
  margin-left: auto;
  transition: opacity 0.2s;
}
.wb-notification-close:hover {
  opacity: 1;
}

.wb-login-prompt {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  max-width: 350px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.wb-login-prompt.show {
  opacity: 1;
  transform: translateY(0);
}
.wb-login-prompt.fade-out {
  opacity: 0;
  transform: translateY(2rem);
}
.wb-login-prompt p {
  margin: 0 0 1rem 0;
  color: #333;
}

.wb-close-login-prompt {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wb-close-login-prompt:hover {
  background: #f8f9fa;
  color: #333;
}

.wb-login-prompt-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.wb-login-prompt-secondary {
  color: #31ea9b;
  text-decoration: none;
  font-weight: 500;
}
.wb-login-prompt-secondary:hover {
  text-decoration: underline;
}

.wb-certification-unlock-backdrop .certification-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #31ea9b 0%, #28c785 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: certification-pulse 1.5s ease-in-out infinite;
}
.wb-certification-unlock-backdrop .certification-icon .dashicons {
  font-size: 40px;
  width: 40px;
  height: 40px;
  color: #fff;
}

@media (max-width: 768px) {
  .wb-notification {
    top: 0.75rem;
    right: 0.75rem;
    left: 0.75rem;
    max-width: none;
    transform: translateY(-100%);
  }
  .wb-notification.show {
    transform: translateY(0);
  }
}
@media (max-width: 480px) {
  .wb-login-prompt {
    left: 2rem;
    right: 2rem;
    max-width: none;
  }
  .wb-certification-unlock-backdrop .certification-icon {
    width: 60px;
    height: 60px;
  }
  .wb-certification-unlock-backdrop .certification-icon .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
  }
}
.wb-modal-backdrop, .wb-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}
.wb-modal-backdrop.wb-modal-active, .wb-modal-active.wb-dialog-overlay {
  display: flex !important;
  opacity: 1;
}
.wb-modal-backdrop.wb-modal-admin, .wb-modal-admin.wb-dialog-overlay {
  z-index: 100000;
  background: rgba(0, 0, 0, 0.7);
}

.wb-modal, .wb-dialog {
  background: #fff;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.wb-modal-backdrop.wb-modal-active .wb-modal, .wb-modal-backdrop.wb-modal-active .wb-dialog, .wb-modal-active.wb-dialog-overlay .wb-modal, .wb-modal-active.wb-dialog-overlay .wb-dialog {
  transform: scale(1);
  opacity: 1;
}
.wb-modal.wb-modal-sm, .wb-modal-sm.wb-dialog {
  max-width: 400px;
}
.wb-modal.wb-modal-md, .wb-modal-md.wb-dialog {
  max-width: 600px;
}
.wb-modal.wb-modal-lg, .wb-modal-lg.wb-dialog {
  max-width: 800px;
}
.wb-modal.wb-modal-xl, .wb-modal-xl.wb-dialog {
  max-width: 1000px;
}
.wb-modal.wb-modal-full, .wb-modal-full.wb-dialog {
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
}

.wb-modal-close, .wb-dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  line-height: 1;
}
.wb-modal-close:hover, .wb-dialog-close:hover {
  background: #ededed;
  color: #000;
}
.wb-modal-close:focus, .wb-dialog-close:focus {
  outline: 2px solid #31ea9b;
  outline-offset: 2px;
}

.wb-modal-header, .wb-dialog-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e0e0e0;
}
.wb-modal:has(.wb-modal-close, .wb-dialog-close) .wb-modal-header, .wb-modal:has(.wb-modal-close, .wb-dialog-close) .wb-dialog-header, .wb-dialog:has(.wb-modal-close, .wb-dialog-close) .wb-modal-header, .wb-dialog:has(.wb-modal-close, .wb-dialog-close) .wb-dialog-header {
  padding-right: 50px;
}

.wb-modal-title, .wb-dialog-title {
  margin: 0;
  color: #333;
  font-size: 1.5rem;
  font-weight: 600;
}

.wb-modal-subtitle {
  margin: 0.5rem 0 0 0;
  color: #666;
  font-size: 0.85rem;
}

.wb-modal-body, .wb-dialog-content {
  padding: 2rem;
  color: #666;
}

.wb-modal-footer, .wb-dialog-actions {
  padding: 1.5rem 2rem;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
}
.wb-modal-footer.wb-modal-footer-spread, .wb-modal-footer-spread.wb-dialog-actions {
  justify-content: space-between;
}
.wb-modal-footer.wb-modal-footer-center, .wb-modal-footer-center.wb-dialog-actions {
  justify-content: center;
}

.wb-modal-button, .wb-dialog-button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.wb-modal-button.primary, .primary.wb-dialog-button {
  background: #31ea9b;
  color: #fff;
}
.wb-modal-button.primary:hover, .primary.wb-dialog-button:hover {
  background: #28c785;
}
.wb-modal-button.primary:disabled, .primary.wb-dialog-button:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}
.wb-modal-button.secondary, .secondary.wb-dialog-button {
  background: #ededed;
  color: #333;
}
.wb-modal-button.secondary:hover, .secondary.wb-dialog-button:hover {
  background: #ccc;
}
.wb-modal-button.danger, .danger.wb-dialog-button {
  background: #fc6f6f;
  color: #fff;
}
.wb-modal-button.danger:hover, .danger.wb-dialog-button:hover {
  background: #dc3232;
}

body.wb-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .wb-modal-backdrop, .wb-dialog-overlay {
    padding: 1rem;
  }
  .wb-modal, .wb-dialog {
    max-height: calc(100vh - 20px);
  }
  .wb-modal.wb-modal-full, .wb-modal-full.wb-dialog {
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }
  .wb-modal-header, .wb-dialog-header,
  .wb-modal-body,
  .wb-dialog-content,
  .wb-modal-footer,
  .wb-dialog-actions {
    padding: 1rem 1.5rem;
  }
  .wb-modal-footer, .wb-dialog-actions {
    flex-direction: column;
  }
  .wb-modal-footer .wb-modal-button, .wb-modal-footer .wb-dialog-button, .wb-dialog-actions .wb-modal-button, .wb-dialog-actions .wb-dialog-button {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .wb-modal, .wb-dialog {
    max-width: calc(100vw - 20px);
  }
  .wb-modal-header, .wb-dialog-header,
  .wb-modal-body,
  .wb-dialog-content,
  .wb-modal-footer,
  .wb-dialog-actions {
    padding: 0;
  }
}
.wb-sync-dialog .wb-sync-intro {
  margin-bottom: 2.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  text-align: center;
}

.wb-sync-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.wb-sync-option {
  text-align: center;
  padding: 2rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  transition: all 0.3s ease;
}
.wb-sync-option:hover {
  border-color: #31ea9b;
  box-shadow: 0 2px 8px rgba(49, 234, 155, 0.1);
}
.wb-sync-option h3 {
  margin: 0 0 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}
.wb-sync-option .wb-sync-stats {
  margin-bottom: 1.5rem;
  padding: 1rem 0;
}
.wb-sync-option .wb-sync-stats p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #666;
}
.wb-sync-option .wb-sync-stats p strong {
  color: #31ea9b;
  font-weight: 700;
  font-size: 1.25rem;
}
.wb-sync-option .wbselfcheck-button {
  margin-top: 1rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
}

@media (max-width: 768px) {
  .wb-sync-options {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .wb-sync-option {
    padding: 1.5rem;
  }
}
.wb-loading {
  opacity: 0.6;
  pointer-events: none;
}

.wb-loading-spinner {
  display: inline-block;
  animation: wb-spin 1s linear infinite;
}

.wb-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #c3c4c7;
  border-radius: 50%;
  border-top-color: #0073aa;
  animation: spin 1s ease-in-out infinite;
  margin-right: 0.5rem;
}

.wb-progress-container {
  width: 100%;
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.wb-progress-bar {
  height: 100%;
  background: #31ea9b;
  transition: width 0.3s ease;
  border-radius: inherit;
}
.wb-progress-bar.animated {
  background: linear-gradient(90deg, #31ea9b, #90caf9, #31ea9b);
  background-size: 200% 100%;
  animation: wb-progress-shimmer 2s ease-in-out infinite;
}

.wb-progress-text {
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  font-size: 0.75rem;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}

.wb-user-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.wb-user-stats .stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.wb-user-stats .stat-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.wb-user-stats .stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #31ea9b;
}

@media (max-width: 768px) {
  .wb-user-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
.wb-tooltip {
  position: absolute;
  background: #333;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  z-index: 10000;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
}

.wbselfcheck-avatar {
  position: relative;
  flex-shrink: 0;
}
.wbselfcheck-avatar.with-progress {
  width: 130px;
  height: 130px;
}
.wbselfcheck-avatar img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  background: #ededed;
  left: 0.75rem;
  top: 0.75rem;
}
.wbselfcheck-avatar:not(.with-progress) img {
  width: 50px;
  height: 50px;
  left: 0;
  top: 0;
}

.avatar-progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transform: rotate(-90deg);
}
.avatar-progress-ring circle {
  transition: stroke-dashoffset 0.5s ease-in-out;
}

.anonymous-avatar {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}
.anonymous-avatar img {
  width: 60px !important;
  height: 60px !important;
  opacity: 0.5;
  border: none !important;
}

.anonymous-avatar-small {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.anonymous-icon {
  opacity: 0.6;
}

.wbselfcheck-avatar-image {
  transition: opacity 0.3s ease;
}

.wbselfcheck-avatar .avatar-progress-ring circle:last-child {
  transition: stroke-dashoffset 0.5s ease;
}

.wbselfcheck-avatar.with-progress:hover {
  animation: pulse 2s infinite;
}

@media (max-width: 480px) {
  .wbselfcheck-avatar.with-progress {
    width: 100px;
    height: 100px;
  }
  .avatar-progress-ring {
    width: 100px;
    height: 100px;
  }
}
.hamburger {
  width: 36px;
  height: 28px;
  position: relative;
  display: inline-block;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transform-origin: center;
  transition: top 280ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 180ms;
  backface-visibility: hidden;
  will-change: top, transform, opacity;
}
.hamburger span:nth-child(1) {
  top: 6px;
}
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger span:nth-child(3) {
  top: calc(100% - 6px - 3px);
}
.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scaleX(0.2);
}
.hamburger.active span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}
.hamburger:focus {
  outline: 2px solid #9fd;
  outline-offset: 3px;
  border-radius: 4px;
}

.wbselfcheck-card {
  width: 280px;
  height: 300px;
  perspective: 1000px;
  cursor: pointer;
  position: relative;
  margin: 0 auto;
  contain: layout style paint;
}
.wbselfcheck-card:focus {
  outline: 2px solid #31ea9b;
  outline-offset: 2px;
}
.wbselfcheck-card.flipped {
  height: 300px;
  overflow: visible;
  contain: none;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.wbselfcheck-card.flipped .card-inner {
  transform: rotateY(180deg);
  min-height: 100%;
  display: flex;
  align-content: start;
}

.card-face {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backface-visibility: hidden;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border: 2px solid #ededed;
  overflow: hidden;
}

.card-front {
  background: #fff;
  border-color: #ededed;
}
.wbselfcheck-card.flipped .card-front {
  opacity: 0;
  pointer-events: none;
  display: none;
}

.card-color-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
  transition: background 0.3s ease;
}

.card-front .card-icon,
.card-front .card-title {
  position: relative;
  z-index: 2;
}

.card-back {
  background: #fff;
  transform: rotateY(180deg);
  justify-content: flex-start;
  text-align: left;
  cursor: auto;
  pointer-events: none;
}
.wbselfcheck-card.flipped .card-back {
  pointer-events: all;
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: rotateY(180deg) translate(50%, -50%);
  width: 120%;
  height: auto;
  min-height: 300px;
  z-index: 10;
  overflow: visible;
}

.card-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto 1rem auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

.card-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #000;
  line-height: 1.3;
}
.card-back .card-title {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.card-description {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.4;
  flex-grow: 1;
  overflow-y: auto;
}
.card-description:empty {
  display: none;
}

.card-answers {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.card-answer {
  background: #ededed;
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  transition: background all 0.3s ease, border-color all 0.3s ease, transform all 0.3s ease;
  border: 2px solid transparent;
  font-size: 0.75rem;
  text-align: left;
  width: calc(100% - 8px);
}
.card-answer:hover {
  background: #e3f2fd;
  border-color: #90caf9;
  transform: translateX(4px);
}
.card-answer.selected-answer {
  background: #e3f2fd;
  border-color: #31ea9b;
  font-weight: 600;
  color: #28c785;
}
.card-answer:focus {
  outline: 2px solid #31ea9b;
  outline-offset: 2px;
}

.wbselfcheck-card .card-front {
  background: #fff;
  border-color: #ededed;
}
.wbselfcheck-card .card-color-overlay {
  background: transparent;
}
.wbselfcheck-card.card-completed[data-selected-index="0"] .card-color-overlay {
  background: linear-gradient(135deg, rgba(var(--card-base-color-rgb), 0.1) 0%, rgba(var(--card-base-color-rgb), 0.05) 100%);
}
.wbselfcheck-card.card-completed[data-selected-index="0"] .card-front {
  border-color: rgba(var(--card-base-color-rgb), 0.3);
}
.wbselfcheck-card.card-completed[data-selected-index="1"] .card-color-overlay {
  background: linear-gradient(135deg, rgba(var(--card-base-color-rgb), 0.2) 0%, rgba(var(--card-base-color-rgb), 0.1) 100%);
}
.wbselfcheck-card.card-completed[data-selected-index="1"] .card-front {
  border-color: rgba(var(--card-base-color-rgb), 0.4);
}
.wbselfcheck-card.card-completed[data-selected-index="2"] .card-color-overlay {
  background: linear-gradient(135deg, rgba(var(--card-base-color-rgb), 0.3) 0%, rgba(var(--card-base-color-rgb), 0.15) 100%);
}
.wbselfcheck-card.card-completed[data-selected-index="2"] .card-front {
  border-color: rgba(var(--card-base-color-rgb), 0.5);
}
.wbselfcheck-card.card-completed:hover .card-color-overlay {
  filter: brightness(1.1);
}
.wbselfcheck-card.card-completed[data-selected-index="0"] .card-front, .wbselfcheck-card.card-completed[data-selected-index="1"] .card-front, .wbselfcheck-card.card-completed[data-selected-index="2"] .card-front {
  background: #fff;
}

.wbselfcheck-card-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
  color: #666;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 20;
  transition: background all 0.3s ease, color all 0.3s ease, border-color all 0.3s ease, transform all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wbselfcheck-card-close:hover {
  background: #fc6f6f;
  color: #fff;
  border-color: #fc6f6f;
  transform: scale(1.1);
}
.wbselfcheck-card-close:focus {
  outline: 2px solid #fc6f6f;
  outline-offset: 2px;
}

.wbselfcheck-loader {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #31ea9b, rgba(49, 234, 155, 0.8), #31ea9b);
  opacity: 0.2;
  transition: width 3s linear;
  z-index: 5;
  border-radius: inherit;
}
.wbselfcheck-loader.run {
  width: 100%;
}

.wbselfcheck-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.wbselfcheck-overlay.active {
  opacity: 1;
  visibility: visible;
}

.wbselfcheck-card.card-focused {
  position: fixed !important;
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 90vw;
  max-width: 600px;
  height: 90vh;
  max-height: 700px;
  z-index: 9999;
  transition: transform all 0.4s ease, opacity all 0.4s ease;
}

@media (max-width: 768px) {
  .wbselfcheck-card.card-focused {
    width: 95vw;
    height: 95vh;
  }
}
@media (max-width: 480px) {
  .card-face {
    padding: 1rem;
  }
  .card-title {
    font-size: 1rem;
  }
  .card-description {
    font-size: 0.8rem;
  }
  .card-answer {
    padding: 0.6rem;
    font-size: 0.8rem;
  }
}
@media print {
  .wbselfcheck-overlay,
  .wbselfcheck-card-close {
    display: none !important;
  }
  .wbselfcheck-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #000;
  }
  .card-inner {
    transform: none !important;
  }
  .card-back {
    transform: none !important;
    display: block;
  }
  .card-front {
    display: none;
  }
}
.wbselfcheck-table {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0 auto;
  padding: 5rem 2rem 2rem 2rem;
  max-width: 1400px;
}

.wbselfcheck-drawer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  margin: 0 0 2rem 0;
  justify-content: center;
}

.drawer-tab {
  position: relative;
  padding: 1rem 2rem;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: background all 0.3s ease, border-color all 0.3s ease, transform all 0.3s ease;
  text-align: center;
  border: 2px solid #ededed;
  font-weight: 500;
  min-width: 150px;
  isolation: isolate;
}
.drawer-tab:focus {
  outline: 2px solid #31ea9b;
  outline-offset: 2px;
}
.drawer-tab .drawer-tab-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.drawer-tab .drawer-tab-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  background: transparent;
  transition: background 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
}
.drawer-tab .drawer-tab-progress-fill.wb-animating {
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, opacity 0.3s ease;
}
.drawer-tab .drawer-tab-text {
  position: relative;
  z-index: 2;
}
.drawer-tab:hover .drawer-tab-progress-fill, .drawer-tab.active .drawer-tab-progress-fill {
  opacity: 1;
}
.drawer-tab[data-answer-quality="0"] .drawer-tab-progress-fill, .drawer-tab[data-answer-quality="0.1"] .drawer-tab-progress-fill, .drawer-tab[data-answer-quality="0.2"] .drawer-tab-progress-fill, .drawer-tab[data-answer-quality="0.3"] .drawer-tab-progress-fill {
  background: linear-gradient(90deg, rgba(var(--tab-color-rgb), 0.15) 0%, rgba(var(--tab-color-rgb), 0.1) 100%);
}
.drawer-tab[data-answer-quality="0.4"] .drawer-tab-progress-fill, .drawer-tab[data-answer-quality="0.5"] .drawer-tab-progress-fill, .drawer-tab[data-answer-quality="0.6"] .drawer-tab-progress-fill, .drawer-tab[data-answer-quality="0.7"] .drawer-tab-progress-fill {
  background: linear-gradient(90deg, rgba(var(--tab-color-rgb), 0.25) 0%, rgba(var(--tab-color-rgb), 0.15) 100%);
}
.drawer-tab[data-answer-quality="0.8"] .drawer-tab-progress-fill, .drawer-tab[data-answer-quality="0.9"] .drawer-tab-progress-fill, .drawer-tab[data-answer-quality="1.0"] .drawer-tab-progress-fill, .drawer-tab[data-answer-quality="1"] .drawer-tab-progress-fill {
  background: linear-gradient(90deg, rgba(var(--tab-color-rgb), 0.35) 0%, rgba(var(--tab-color-rgb), 0.2) 100%);
}
.drawer-tab:hover {
  background: #f5f5f5;
  border-color: rgba(var(--tab-color-rgb), 0.4);
  transform: translateY(-2px);
}
.drawer-tab.active {
  background: #fff;
  border-color: rgba(var(--tab-color-rgb), 0.6);
  border-width: 3px;
}
.drawer-tab.deck-complete {
  border-color: rgba(var(--tab-color-rgb), 0.5);
}
.drawer-tab.deck-complete .drawer-tab-progress-fill {
  background: linear-gradient(90deg, rgba(var(--tab-color-rgb), 0.3) 0%, rgba(var(--tab-color-rgb), 0.15) 100%);
}
.drawer-tab.deck-complete::after {
  content: "✓";
  position: absolute;
  top: -8px;
  right: -8px;
  background: rgb(var(--tab-color-rgb));
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  border: 2px solid #fff;
  z-index: 3;
}
.drawer-tab.group-complete-with-feedback {
  position: relative;
}
.drawer-tab.group-complete-with-feedback::after {
  content: "✨";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1rem;
}

.drawer-subtitle-tooltip {
  display: none;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.drawer-tab:hover .drawer-subtitle-tooltip {
  display: block;
  opacity: 1;
}

.wbselfcheck-drawer-group-select-holder {
  display: none;
  margin-bottom: 1rem;
}

.wbselfcheck-drawer-group-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ededed;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
}

.drawer-content {
  display: none;
}
.drawer-content.active {
  display: block;
  animation: fadeInUp 0.3s ease-out;
}

.wbselfcheck-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.drawer-content .wbselfcheck-cards {
  position: relative;
  height: auto;
  min-height: 320px;
  width: 100%;
  overflow: visible;
  justify-content: flex-start;
  contain: layout style;
}

.drawer-content .wbselfcheck-card {
  position: absolute !important;
  top: 0;
  width: 280px;
  height: 300px;
  transition: transform 0.3s ease, z-index 0.3s step-end, height 0.3s ease;
  z-index: 1;
  cursor: pointer;
}
.drawer-content .wbselfcheck-card:hover {
  transform: scale(1.05) translateY(-10px);
  z-index: 10;
}
.drawer-content .wbselfcheck-card.flipped {
  height: auto;
  min-height: 300px;
}

.wbselfcheck-quick-cards .wbselfcheck-cards,
.wbselfcheck-shortcode-cards .wbselfcheck-cards {
  position: static;
  height: auto;
}

.wbselfcheck-quick-cards .wbselfcheck-card,
.wbselfcheck-shortcode-cards .wbselfcheck-card {
  position: static !important;
  width: 100%;
  max-width: 350px;
  /*    height: $card-height-extended;*/
  flex: 1 1 300px;
  transform: none !important;
}
.wbselfcheck-quick-cards .wbselfcheck-card:hover,
.wbselfcheck-shortcode-cards .wbselfcheck-card:hover {
  transform: translateY(-5px) !important;
}
.wbselfcheck-quick-cards .wbselfcheck-card .card-back .card-title,
.wbselfcheck-shortcode-cards .wbselfcheck-card .card-back .card-title {
  display: none;
}

.wb-card-locked-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  z-index: 10;
}
.wb-card-locked-overlay .lock-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}
.wb-card-locked-overlay .lock-text {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  font-weight: 500;
}

.wb-loading-placeholder {
  background: #f9f9f9;
  border: 2px dashed #ddd;
  border-radius: 8px;
  text-align: center;
  padding: 2rem;
  color: #666;
  font-style: italic;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wb-no-more-cards {
  text-align: center;
  padding: 1rem;
  color: #666;
  font-style: italic;
}

@media only screen and (max-width: 1199px) {
  .wbselfcheck-card.flipped .card-back {
    width: 100%;
  }
  .wbselfcheck-quick-cards .wbselfcheck-card {
    max-width: 100%;
  }
}
@media only screen and (max-width: 992px) {
  .wbselfcheck-card.flipped .card-back {
    width: 100%;
  }
  .drawer-content .wbselfcheck-cards {
    flex-direction: row;
  }
}
@media (max-width: 1200px) {
  .wbselfcheck-table {
    padding: 1.5rem;
  }
}
@media (max-width: 768px) {
  .wbselfcheck-drawer-group-select-holder {
    display: block;
  }
  .drawer-content .wbselfcheck-card {
    position: static !important;
    width: 100%;
    max-width: 48%;
    margin-bottom: 1rem;
  }
  .wbselfcheck-table {
    padding: 1rem;
  }
  .wbselfcheck-quick-cards .wbselfcheck-card,
  .wbselfcheck-shortcode-cards .wbselfcheck-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .wbselfcheck-quick-cards .wbselfcheck-card .card-back .card-title,
  .wbselfcheck-shortcode-cards .wbselfcheck-card .card-back .card-title {
    display: block;
  }
  .drawer-tab .drawer-tab-progress-fill {
    width: var(--tab-completion);
    opacity: 0.7;
  }
  .drawer-tab {
    min-width: 120px;
    padding: 0.75rem 1.5rem;
  }
  .drawer-tab-percentage {
    display: none;
  }
}
@media only screen and (max-width: 635px) {
  .drawer-content .wbselfcheck-card {
    max-width: 100%;
  }
}
@media only screen and (max-width: 575px) {
  .drawer-content .wbselfcheck-card {
    width: 100%;
    max-width: 100%;
  }
}
.drawer-feedback {
  margin-bottom: 2rem;
  padding: 0;
  background: transparent;
  border-radius: 8px;
  display: none;
  animation: fadeIn 0.5s ease;
}
.drawer-feedback.active {
  display: block;
}
.drawer-feedback .feedback-block {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(0.75rem);
  transition: all 0.3s ease;
  display: none;
  position: relative;
  overflow: hidden;
}
.drawer-feedback .feedback-block.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.drawer-feedback .feedback-level-0 {
  border-left: 4px solid #dc3232;
}
.drawer-feedback .feedback-level-1 {
  border-left: 4px solid #31ea9b;
}
.drawer-feedback .feedback-level-2 {
  border-left: 4px solid #28a745;
}

.feedback-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  padding-bottom: 0;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}
.feedback-header:hover {
  background-color: rgba(0, 0, 0, 0.02);
}
.feedback-header h3 {
  margin: 0;
  color: #31ea9b;
  font-size: 1.25rem;
  flex: 1;
}

.feedback-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border: 2px solid #ededed;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.feedback-toggle:hover {
  background: #e3f2fd;
  border-color: #31ea9b;
  transform: scale(1.1);
}
.feedback-toggle .toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.feedback-toggle .icon-expand {
  display: none;
}

.feedback-content {
  padding: 1.5rem;
  padding-top: 0.75rem;
  max-height: none;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}
.feedback-content p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.feedback-content ul,
.feedback-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
.feedback-content li {
  margin-bottom: 0.5rem;
}

.feedback-block.minimized .feedback-header {
  padding-bottom: 1.5rem;
  border-bottom: none;
}
.feedback-block.minimized .feedback-content {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}
.feedback-block.minimized .feedback-toggle {
  background: #ededed;
}
.feedback-block.minimized .icon-minimize {
  display: none;
}
.feedback-block.minimized .icon-expand {
  display: block;
}
.feedback-block.minimized::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #90caf9 20%, #90caf9 80%, transparent);
  opacity: 0.5;
}

.feedback-level-0 .feedback-header h3::before {
  content: "💡 ";
  margin-right: 0.5rem;
}

.feedback-level-1 .feedback-header h3::before {
  content: "👍 ";
  margin-right: 0.5rem;
}

.feedback-level-2 .feedback-header h3::before {
  content: "🌟 ";
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .drawer-feedback {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  .feedback-header {
    padding: 1rem;
    padding-bottom: 0;
  }
  .feedback-content {
    padding: 1rem;
    padding-top: 0.5rem;
  }
  .feedback-block.minimized .feedback-header {
    padding-bottom: 1rem;
  }
  .feedback-toggle {
    width: 28px;
    height: 28px;
  }
}
@media (max-width: 480px) {
  .drawer-feedback {
    padding: 1rem;
    margin-bottom: 1rem;
  }
}
.wb-xp-notification {
  position: fixed;
  background: #31ea9b;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 3px 12px rgba(49, 234, 155, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  z-index: 10000;
  opacity: 0;
  transform: translateY(0.75rem) translateX(-50%);
  transition: all 0.3s ease;
  pointer-events: none;
}
.wb-xp-notification.show {
  opacity: 1;
  transform: translateY(0) translateX(-50%);
}
.wb-xp-notification.fade-out {
  opacity: 0;
  transform: translateY(-2rem) translateX(-50%);
}
.wb-xp-notification .xp-icon {
  font-size: 1.25rem;
  animation: pulse 0.5s ease;
}
.wb-xp-notification .xp-text {
  font-size: 1rem;
}

.wb-levelup-notification {
  position: fixed;
  background: linear-gradient(135deg, #31ea9b 0%, #31ea9b 100%);
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 300px;
}
.wb-levelup-notification .levelup-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.75rem;
  color: #fff;
}
.wb-levelup-notification .levelup-content p {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
}
.wb-levelup-notification .levelup-xp {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: inline-block;
  font-weight: 700;
  font-size: 1.1rem;
}

.wbselfcheck-dashboard-stats strong {
  transition: color 0.3s ease;
  position: relative;
}
.wbselfcheck-dashboard-stats strong.updating {
  color: #31ea9b;
  animation: pulse 0.5s ease;
}

.evolution-star {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #31ea9b;
  border-radius: 50%;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}
.evolution-star.burst {
  animation: sparkle-burst 0.9s ease-out forwards;
}

@media (max-width: 768px) {
  .wb-xp-notification {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
  .wb-levelup-notification {
    min-width: 90vw;
    max-width: 90vw;
    padding: 1.5rem;
  }
  .wb-levelup-notification .levelup-content h3 {
    font-size: 1.5rem;
  }
}
.wbselfcheck-prerequisite-message {
  background: #fff;
  border: 2px solid #f39c12;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.wbselfcheck-prerequisite-message h3 {
  color: #000;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}
.wbselfcheck-prerequisite-message p {
  color: #666;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.wbselfcheck-prerequisite-message p:last-child {
  margin-bottom: 0;
}
.wbselfcheck-prerequisite-message em {
  color: #999;
  font-style: italic;
}

.prerequisite-icon {
  margin-bottom: 1rem;
}
.prerequisite-icon .dashicons {
  font-size: 3rem;
  color: #f39c12;
  width: 3rem;
  height: 3rem;
}

.card-remove-answer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px 0;
  padding: 6px 12px;
  background: transparent;
  color: #dc3232;
  border: 1px solid #ef9a9a;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 5;
}
.card-remove-answer:hover:not(:disabled) {
  background: #ffebee;
  border-color: #dc3232;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(220, 50, 50, 0.1);
}
.card-remove-answer:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}
.card-remove-answer:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.card-remove-answer.loading {
  pointer-events: none;
}
.card-remove-answer.loading::after {
  content: "";
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid #ef9a9a;
  border-top-color: #dc3232;
  border-radius: 50%;
  animation: remove-button-spin 0.6s linear infinite;
}
.card-remove-answer.loading span,
.card-remove-answer.loading svg {
  opacity: 0;
}
.card-remove-answer svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.card-back .card-remove-answer + .card-description {
  margin-top: 0;
}

.card-focused .card-remove-answer {
  position: relative;
  z-index: 1001;
}

@media (max-width: 768px) {
  .wbselfcheck-prerequisite-message {
    padding: 1.5rem;
  }
  .prerequisite-icon .dashicons {
    font-size: 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }
  .wbselfcheck-prerequisite-message h3 {
    font-size: 1.25rem;
  }
  .card-remove-answer {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  .card-remove-answer svg {
    width: 12px;
    height: 12px;
  }
}
.wbselfcheck-dashboard {
  min-height: 100vh;
}

/* === Mobile Dashboard Menu === */
.mobile-dash-menu {
  display: none;
}

.wbselfcheck-dashboard-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.wbselfcheck-dashboard-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.wbselfcheck-dashboard-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  color: #fff;
}

/* === Progress Overview === */
.wbselfcheck-dashboard-main {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.wbselfcheck-dashboard-main .certification-banner {
  height: 100%;
}

.wbselfcheck-progress-overview {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 0 !important;
  contain: layout style;
}

.wbselfcheck-progress-overview h2 {
  color: #000;
  margin-top: 0;
}

.wbselfcheck-progress-overview-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

/* === Avatar Display === */
.wbselfcheck-avatar {
  position: relative;
  flex-shrink: 0;
}
.wbselfcheck-avatar.with-progress {
  width: 130px;
  height: 130px;
}
.wbselfcheck-avatar img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
  background: #ededed;
  left: 10px;
  top: 10px;
}
.wbselfcheck-avatar:not(.with-progress) img {
  width: 50px;
  height: 50px;
  left: 0;
  top: 0;
}

.avatar-progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transform: rotate(-90deg);
}
.avatar-progress-ring circle {
  transition: stroke-dashoffset 0.5s ease-in-out;
}

/* === Dashboard Stats === */
.wbselfcheck-dashboard-stats {
  flex: 1;
  color: #000;
}
.wbselfcheck-dashboard-stats p {
  font-size: 1.1rem;
  margin: 0.75rem 0;
}
.wbselfcheck-dashboard-stats strong {
  color: #31ea9b;
  font-weight: 700;
}

/* === Action Buttons === */
.wbselfcheck-deck-cta {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.wbselfcheck-deck-cta .wbselfcheck-button {
  margin-right: 1rem;
  margin-bottom: 1rem;
  background: #fff;
  color: #31ea9b;
  font-weight: 700;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.wbselfcheck-deck-cta .wbselfcheck-button:hover {
  background: #31ea9b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.wbselfcheck-deck-cta a:not(.wbselfcheck-button) {
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: 2px solid #fff;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}
.wbselfcheck-deck-cta a:not(.wbselfcheck-button):hover {
  background: #fff;
  color: #31ea9b;
  transform: translateY(-2px);
}

/* === Quick Cards Section === */
.wbselfcheck-quick-cards {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  contain: layout style;
  overflow: visible;
  position: relative;
  z-index: 1;
}
.wbselfcheck-quick-cards h2 {
  color: #000;
  margin-top: 0;
}
.wbselfcheck-quick-cards .wbselfcheck-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  overflow: visible;
}
.wbselfcheck-quick-cards .wbselfcheck-card {
  min-height: 320px;
  transition: all 0.3s ease;
}
.wbselfcheck-quick-cards .wbselfcheck-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.wbselfcheck-quick-cards .wbselfcheck-card.wb-preload-card {
  display: none !important;
}
.wbselfcheck-quick-cards .wbselfcheck-card.card-completed[data-selected-index="0"] .card-color-overlay {
  background: rgba(var(--card-base-color-rgb), 0.1);
}
.wbselfcheck-quick-cards .wbselfcheck-card.card-completed[data-selected-index="0"] .card-front {
  border-color: rgba(var(--card-base-color-rgb), 0.3);
}
.wbselfcheck-quick-cards .wbselfcheck-card.card-completed[data-selected-index="1"] .card-color-overlay {
  background: rgba(var(--card-base-color-rgb), 0.2);
}
.wbselfcheck-quick-cards .wbselfcheck-card.card-completed[data-selected-index="1"] .card-front {
  border-color: rgba(var(--card-base-color-rgb), 0.4);
}
.wbselfcheck-quick-cards .wbselfcheck-card.card-completed[data-selected-index="2"] .card-color-overlay {
  background: rgba(var(--card-base-color-rgb), 0.3);
}
.wbselfcheck-quick-cards .wbselfcheck-card.card-completed[data-selected-index="2"] .card-front {
  border-color: rgba(var(--card-base-color-rgb), 0.5);
}
.wbselfcheck-quick-cards .wbselfcheck-card.card-completed:hover .card-color-overlay {
  filter: brightness(1.1);
}

/* === Contact Form Section === */
.wbselfcheck-certification-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.wbselfcheck-contact-form,
.wbselfcheck-certification-info {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 2rem;
}
.wbselfcheck-contact-form h2,
.wbselfcheck-certification-info h2 {
  color: #000;
  margin-top: 0;
}

.wbselfcheck-certification-info h2 {
  font-size: 1.5rem;
}
.wbselfcheck-certification-info h3 {
  color: #31ea9b;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.wbselfcheck-certification-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.wb-hint {
  color: #666;
  font-style: italic;
  font-size: 0.85rem;
}

/* === User Statistics Component === */
.wb-user-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.wb-user-stats .stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.wb-user-stats .stat-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.wb-user-stats .stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #31ea9b;
}

/* === Responsive Design === */
@media (max-width: 1200px) {
  .wbselfcheck-quick-cards .wbselfcheck-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
@media (max-width: 992px) {
  .wbselfcheck-dashboard-main {
    flex-direction: column;
    gap: 1.5rem;
  }
  .wbselfcheck-certification-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .certification-icon {
    margin-left: auto;
    margin-right: auto;
  }
  .wbselfcheck-certification-banner {
    flex: none !important;
    min-width: auto !important;
  }
}
@media (max-width: 768px) {
  .wbselfcheck-dashboard-content {
    padding: 1rem;
  }
  .wbselfcheck-dashboard-content h1 {
    font-size: 2rem;
  }
  .wbselfcheck-progress-overview-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .wbselfcheck-progress-overview,
  .wbselfcheck-deck-cta,
  .wbselfcheck-quick-cards,
  .wbselfcheck-contact-form,
  .wbselfcheck-certification-info {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .wbselfcheck-deck-cta {
    text-align: left;
  }
  .wbselfcheck-deck-cta .wbselfcheck-button,
  .wbselfcheck-deck-cta a:not(.wbselfcheck-button) {
    display: block;
    margin-right: 0;
    margin-bottom: 1rem;
    text-align: center;
  }
  .wbselfcheck-quick-cards .wbselfcheck-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .wb-user-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .certification-banner {
    flex-direction: column;
    text-align: center;
  }
  .progress-summary {
    justify-content: center;
    flex-wrap: wrap;
  }
}
@media only screen and (max-width: 768px) {
  .mobile-dash-menu {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .wbselfcheck-dashboard-content h1 {
    font-size: 1.75rem;
  }
  .wbselfcheck-progress-overview,
  .wbselfcheck-deck-cta,
  .wbselfcheck-quick-cards,
  .wbselfcheck-contact-form,
  .wbselfcheck-certification-info {
    padding: 1rem;
  }
  .wbselfcheck-avatar.with-progress {
    width: 100px;
    height: 100px;
  }
  .avatar-progress-ring {
    width: 100px;
    height: 100px;
  }
  .wbselfcheck-dashboard-stats p {
    font-size: 1rem;
  }
}
@media only screen and (max-width: 449px) {
  .wbselfcheck-auth-actions {
    flex-direction: column;
  }
  .wbselfcheck-button {
    display: block;
    width: 100%;
  }
  .wbselfcheck-certification-banner {
    flex: 0 0 100%;
    min-width: 100%;
  }
}
/* === Animation Enhancements === */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.6;
  }
}
.wbselfcheck-avatar.with-progress:hover {
  animation: wb-pulse 2s infinite;
}

.wbselfcheck-dashboard-stats strong {
  transition: color 0.3s ease;
}

/* === Anonymous User Styles === */
.anonymous-avatar {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.anonymous-avatar img {
  width: 60px !important;
  height: 60px !important;
  opacity: 0.5;
  border: none !important;
}

.wbselfcheck-anonymous-prompt {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.wbselfcheck-auth-actions {
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.auth-separator {
  color: #666;
}

.auth-benefits {
  color: #666;
  font-style: italic;
  margin-top: 1rem;
}

.wbselfcheck-login-cta {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.wbselfcheck-login-cta h2 {
  color: #31ea9b;
  margin-bottom: 1rem;
}
.wbselfcheck-login-cta .wbselfcheck-button {
  margin-top: 1.5rem;
}

.wbselfcheck-progress-overview {
  flex: 1;
}

/* === Certification Banner Styles === */
.wbselfcheck-certification-banner {
  flex: 0 0 350px;
  min-width: 350px;
}

.certification-banner {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1rem;
  border-left: 4px solid #31ea9b;
  height: fit-content;
}
.certification-banner.eligible {
  border-left-color: #31ea9b;
  background: linear-gradient(135deg, #e6f4ea, #a5d6a7);
}
.certification-banner.not-eligible {
  border-left-color: #fc6f6f;
  background: linear-gradient(135deg, #ffebee, #ef9a9a);
}

.certification-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.certification-content {
  flex: 1;
}
.certification-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}
.certification-content p {
  margin: 0 0 1rem 0;
  color: #666;
  line-height: 1.4;
}

.progress-summary {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.progress-item {
  background: #ededed;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
}

.wbselfcheck-button-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* === Quick Cards Notice Styles === */
.prerequisite-notice {
  background: linear-gradient(135deg, #fff9e6, rgba(243, 156, 18, 0.1));
  border: 1px solid #f39c12;
  color: #333;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
}

.anonymous-notice {
  background: linear-gradient(135deg, #e8f4fd, rgba(52, 152, 219, 0.1));
  border: 1px solid #3498db;
  color: #333;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
}

.no-quick-cards-message {
  background: #f8f9fa;
  border: 1px solid #ddd;
  color: #666;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  font-style: italic;
}
.no-quick-cards-message p {
  margin: 0;
  color: #666;
}

/* === Print Styles === */
@media print {
  .wbselfcheck-dashboard {
    background: white !important;
    color: black !important;
  }
  .wbselfcheck-dashboard-content h1,
  .wbselfcheck-dashboard-content h2,
  .wbselfcheck-dashboard-stats {
    color: black !important;
  }
  .wbselfcheck-progress-overview,
  .wbselfcheck-quick-cards,
  .wbselfcheck-contact-form,
  .wbselfcheck-certification-info {
    background: white !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  .wbselfcheck-deck-cta {
    display: none !important;
  }
  .wbselfcheck-certification-wrapper {
    grid-template-columns: 1fr;
  }
}
/* Onboarding Popup Styles */
.wbselfcheck-onboarding-overlay {
  background: rgba(0, 0, 0, 0.85);
  opacity: 1;
  display: flex;
}

.wbselfcheck-onboarding-popup {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  opacity: 1;
}
.wbselfcheck-onboarding-popup.wb-modal {
  max-width: 100%;
  max-width: 900px;
}
.wbselfcheck-onboarding-popup h1 {
  margin: 0 0 1rem 0;
  color: #31ea9b;
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
}
.wbselfcheck-onboarding-popup > p {
  text-align: center;
  margin-bottom: 2rem;
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}
.wbselfcheck-onboarding-popup .form-row {
  margin-bottom: 1.5rem;
}
.wbselfcheck-onboarding-popup label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #000;
}
.wbselfcheck-onboarding-popup input[type=text],
.wbselfcheck-onboarding-popup input[type=number],
.wbselfcheck-onboarding-popup select,
.wbselfcheck-onboarding-popup textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ededed;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.wbselfcheck-onboarding-popup input[type=text]:focus,
.wbselfcheck-onboarding-popup input[type=number]:focus,
.wbselfcheck-onboarding-popup select:focus,
.wbselfcheck-onboarding-popup textarea:focus {
  outline: none;
  border-color: #31ea9b;
  box-shadow: 0 0 0 3px rgba(49, 234, 155, 0.1);
}
.wbselfcheck-onboarding-popup select {
  cursor: pointer;
  background: #fff;
}
.wbselfcheck-onboarding-popup textarea {
  resize: vertical;
  min-height: 100px;
}

@keyframes slide-in-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Avatar Selection */
.wb-avatar-selection {
  border-top: 2px solid #ededed;
  padding-top: 2rem;
  margin-top: 2rem;
}
.wb-avatar-selection h2 {
  color: #31ea9b;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}
.wb-avatar-selection > p {
  color: #666;
  margin-bottom: 1.5rem;
}

.avatar-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}
.avatar-choices label {
  position: relative;
  cursor: pointer;
  text-align: center;
  padding: 1rem;
  border: 3px solid #ededed;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.avatar-choices label:hover {
  border-color: #90caf9;
  background: #e3f2fd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(49, 234, 155, 0.2);
}
.avatar-choices label:has(input[type=radio]:checked) {
  border-color: #31ea9b;
  background: #e3f2fd;
  box-shadow: 0 0 20px rgba(49, 234, 155, 0.3);
}
.avatar-choices input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.avatar-choices input[type=radio]:checked + img {
  border-color: #31ea9b;
  box-shadow: 0 0 0 3px rgba(49, 234, 155, 0.3);
  transform: scale(1.1);
}
.avatar-choices input[type=radio]:checked + img + span {
  color: #31ea9b;
}
.avatar-choices img {
  width: 80px;
  height: 80px;
  border: 3px solid #ededed;
  border-radius: 50%;
  transition: all 0.3s ease;
  object-fit: cover;
  margin-bottom: 0.75rem;
}
.avatar-choices span {
  font-weight: 600;
  color: #000;
  font-size: 0.85rem;
}

/* Submit Section */
.wb-onboarding-submit {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #ededed;
}
.wb-onboarding-submit .wbselfcheck-button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background: #31ea9b;
  border: 3px solid #31ea9b;
  transition: all 0.3s ease;
  min-width: 200px;
}
.wb-onboarding-submit .wbselfcheck-button:hover, .wb-onboarding-submit .wbselfcheck-button:focus {
  background: #fff;
  color: #31ea9b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(49, 234, 155, 0.3);
}

/* Error Messages */
.wbselfcheck-onboarding-error {
  background: #ffebee;
  color: #fc6f6f;
  border: 2px solid #ef9a9a;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
}

/* Body scroll lock */
body.onboarding-active {
  overflow: hidden;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
  .wbselfcheck-onboarding-popup {
    padding: 15px 0;
    margin: 5px;
  }
}
@media (max-width: 768px) {
  .wbselfcheck-onboarding-popup {
    padding: 2rem;
    margin: 10px;
    max-height: calc(100vh - 20px);
  }
  .avatar-choices {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
  }
  .avatar-choices img {
    width: 60px;
    height: 60px;
  }
  .wb-onboarding-submit .wbselfcheck-button {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .wbselfcheck-onboarding-popup {
    padding: 1.5rem;
  }
  .wbselfcheck-onboarding-popup h1 {
    font-size: 1.5rem;
  }
  .avatar-choices {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* === Additional Form Styles === */
.wb-onboarding-form .form-group {
  margin-bottom: 20px;
}
.wb-onboarding-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}
.wb-onboarding-form .required {
  color: #e74c3c;
}
.wb-onboarding-form select,
.wb-onboarding-form input[type=text],
.wb-onboarding-form input[type=number],
.wb-onboarding-form textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.85rem;
}
.wb-onboarding-form .form-hint {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #666;
}

.avatar-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.avatar-option {
  cursor: pointer;
  text-align: center;
}
.avatar-option input[type=radio] {
  display: none;
}
.avatar-option.selected .avatar-preview,
.avatar-option .avatar-preview:hover {
  border-color: #31ea9b;
  background-color: rgba(49, 234, 155, 0.1);
}

.avatar-preview {
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.avatar-preview img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.avatar-placeholder {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background-color: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #666;
}

.avatar-name {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #333;
}

.wb-error-messages {
  background-color: #fee;
  border: 1px solid #fcc;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.wb-error-messages .error {
  color: #c00;
  margin: 5px 0;
}

/* === Certification Section === */
.wb-certification-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
}

/* === Locked State === */
.wb-certification-locked {
  text-align: center;
}

.certification-header {
  margin-bottom: 2rem;
}
.certification-header h2 {
  color: #000;
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
}
.certification-header p {
  color: #666;
  font-size: 1.1rem;
  margin: 0;
}
.certification-header.success {
  position: relative;
  padding-top: 60px;
}

.certification-badge {
  display: inline-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: #31ea9b;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.certification-badge .dashicons {
  font-size: 40px;
  width: 40px;
  height: 40px;
  color: white;
}

/* === Requirements === */
.certification-requirements {
  margin: 2rem 0;
  text-align: left;
}

.requirement-item {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.requirement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.requirement-label {
  font-weight: 600;
  color: #000;
  font-size: 1.1rem;
}

.requirement-status {
  font-weight: 700;
  color: #31ea9b;
  font-size: 1.1rem;
}

/* === Progress Bar === */
.progress-bar {
  background: rgba(0, 0, 0, 0.1);
  height: 30px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.5rem;
}

.progress-fill {
  background: linear-gradient(90deg, #31ea9b 0%, #28c785 100%);
  height: 100%;
  border-radius: 15px;
  position: relative;
  min-width: 40px;
  transition: width 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.progress-fill.xp-fill {
  background: linear-gradient(90deg, #f39c12 0%, #e67e22 100%);
}

.progress-text {
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.requirement-hint {
  color: #666;
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

.requirement-complete {
  color: #31ea9b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
}
.requirement-complete .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

/* === CTA Section === */
.certification-cta {
  margin-top: 2rem;
}
.certification-cta .wbselfcheck-button {
  background: #31ea9b;
  transition: all 0.3s ease;
}
.certification-cta .wbselfcheck-button:hover {
  background: #28c785;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(49, 234, 155, 0.25);
}
.certification-cta .wbselfcheck-button:active {
  transform: translateY(0);
}
.certification-cta .wbselfcheck-button {
  background: #31ea9b;
  color: white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.cta-hint {
  color: #666;
  font-style: italic;
  margin: 1rem 0 0;
}

/* === Unlocked State === */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* === Certification Form === */
.certification-form {
  margin-top: 2rem;
}

.form-section {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.form-section h3 {
  margin: 0 0 1rem;
  color: #000;
  font-size: 1.3rem;
}

.form-description {
  color: #666;
  margin: -0.5rem 0 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  margin-bottom: 1rem;
}
.form-field.full-width {
  grid-column: 1/-1;
}
.form-field label {
  display: block;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}
.form-field input[type=text],
.form-field input[type=email],
.form-field input[type=number],
.form-field textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.3s ease;
}
.form-field input[readonly],
.form-field textarea[readonly] {
  background: rgba(241, 241, 241, 0.8);
  color: #000;
  cursor: not-allowed;
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}
.form-field input[type=checkbox] {
  margin-right: 0.5rem;
}

/* === Contacts List === */
.contacts-list {
  margin-top: 1rem;
}

.contact-option {
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.contact-option:hover {
  border-color: #31ea9b;
}
.contact-option label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
}
.contact-option input[type=radio] {
  margin-right: 1rem;
  margin-top: 0.25rem;
}
.contact-option input[type=radio]:checked + .contact-info {
  color: #31ea9b;
}

.contact-info strong {
  display: block;
  margin-bottom: 0.25rem;
}
.contact-info p {
  margin: 0;
  color: #666;
  font-size: 0.85rem;
}

/* === Certification Note === */
.certification-note {
  background: rgba(255, 243, 224, 0.6);
  border-left: 4px solid #f39c12;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}
.certification-note p {
  margin: 0.5rem 0;
}
.certification-note p:first-child {
  margin-top: 0;
}
.certification-note p:last-child {
  margin-bottom: 0;
}
.certification-note .certificationeer-data {
  white-space: pre;
}

/* === Certification Contacts List === */
.certification-contacts-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.certification-contact-item {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: 6px;
  padding: 0.75rem 1rem;
}
.certification-contact-item .contact-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.certification-contact-item .contact-name .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
  color: #f39c12;
}
.certification-contact-item .contact-name strong {
  color: #000;
  font-size: 1rem;
}
.certification-contact-item .contact-note {
  color: #666;
  font-size: 0.85rem;
  margin-left: 1.6rem;
  line-height: 1.4;
  white-space: pre;
}

/* === Consent Field === */
.consent-field {
  position: relative;
}

.consent-error {
  background: #ffebee;
  border-left: 3px solid #fc6f6f;
  color: #dc3232;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  max-height: 0;
  padding: 0;
  margin-top: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease, padding 0.3s ease;
}
.consent-error.show {
  opacity: 1;
  max-height: 100px;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
}
.consent-error::before {
  content: "⚠";
  font-size: 1.2rem;
  display: inline-block;
  flex-shrink: 0;
}

/* === Form Actions === */
.form-actions {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#wb-certification-form .form-actions {
  display: block;
}

.submit-certification {
  background: #31ea9b;
  transition: all 0.3s ease;
}
.submit-certification:hover {
  background: #28c785;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(49, 234, 155, 0.25);
}
.submit-certification:active {
  transform: translateY(0);
}
.submit-certification {
  background: #31ea9b;
  color: white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.submit-certification .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.submit-note {
  color: #666;
  font-size: 0.85rem;
  margin: 0 0 1rem 0;
  font-style: italic;
}

/* === No Contacts Message === */
.no-contacts-message {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 243, 224, 0.6);
  border-radius: 8px;
}
.no-contacts-message p {
  margin: 0.5rem 0;
  color: #666;
}

/* === Success Message === */
.certification-success {
  text-align: center;
  padding: 2rem;
  background: rgba(225, 255, 242, 0.6);
  border-radius: 8px;
  animation: successPulse 0.5s ease;
}
.certification-success .dashicons {
  font-size: 60px;
  width: 60px;
  height: 60px;
  color: #31ea9b;
}
.certification-success h3 {
  color: #31ea9b;
  margin: 1rem 0 0.5rem;
}

@keyframes successPulse {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/* === Loading State === */
.certification-loading {
  text-align: center;
  padding: 2rem;
}
.certification-loading .spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #31ea9b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  width: 40px;
  height: 40px;
  margin: 0 auto;
}

/* === Responsive Design === */
@media only screen and (max-width: 768px) {
  .wb-certification-section {
    padding-top: 30px;
    padding-bottom: 30px;
    margin: 0;
  }
}
@media (max-width: 768px) {
  .certification-header h2 {
    font-size: 1.5rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .certification-cta .wbselfcheck-button,
  .submit-certification {
    width: 100%;
    justify-content: center;
  }
  .requirement-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
/* === Unlock Overlay === */
.certification-unlock-overlay {
  position: fixed;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.certification-unlock-overlay.active {
  opacity: 1;
}

.unlock-content {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.5s ease;
}
.unlock-content .dashicons {
  font-size: 60px;
  width: 60px;
  height: 60px;
  color: #31ea9b;
  display: block;
  margin: 0 auto 1rem;
}
.unlock-content h2 {
  margin: 0 0 1rem;
  color: #31ea9b;
}
.unlock-content .countdown {
  margin-top: 2rem;
  color: #666;
}

.certification-unlock-overlay.active .unlock-content {
  transform: scale(1);
}

/* === Notification System === */
.wb-certification-notification {
  position: fixed;
  bottom: 20px;
  right: -400px;
  max-width: 400px;
  background: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: right 0.3s ease;
  z-index: 101;
}
.wb-certification-notification.show {
  right: 20px;
}
.wb-certification-notification.success {
  border-left: 4px solid #31ea9b;
}
.wb-certification-notification.success .dashicons {
  color: #31ea9b;
}
.wb-certification-notification.error {
  border-left: 4px solid #fc6f6f;
}
.wb-certification-notification.error .dashicons {
  color: #fc6f6f;
}
.wb-certification-notification .dashicons {
  font-size: 24px;
  width: 24px;
  height: 24px;
}

.notification-message {
  flex: 1;
  color: #333;
}

.notification-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}
.notification-close:hover {
  color: #333;
}

/* === Form Spinner === */
#wb-certification-form .spinner,
.submit-certification .spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #31ea9b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 5px;
}

/* Overlay */
.wb-profile-update-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  display: none;
}

/* Modal */
.wb-profile-update-modal {
  background: white;
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
@keyframes slide-in-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.wb-profile-update-modal h2 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 24px;
}
.wb-profile-update-modal .form-row {
  margin-bottom: 20px;
}
.wb-profile-update-modal label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 0.85rem;
}
.wb-profile-update-modal .required {
  color: #e74c3c;
  margin-left: 4px;
}
.wb-profile-update-modal input[type=text],
.wb-profile-update-modal input[type=number],
.wb-profile-update-modal select,
.wb-profile-update-modal textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}
.wb-profile-update-modal input[type=text]:focus,
.wb-profile-update-modal input[type=number]:focus,
.wb-profile-update-modal select:focus,
.wb-profile-update-modal textarea:focus {
  outline: none;
  border-color: #31ea9b;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
.wb-profile-update-modal textarea {
  resize: vertical;
  min-height: 80px;
}

/* Close button */
.wb-close-popup {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
}
.wb-close-popup:hover {
  background: #f5f5f5;
  color: #333;
}

.popup-description {
  color: #666;
  margin-bottom: 25px;
}

/* Messages */
.profile-errors,
.profile-success {
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.profile-errors p,
.profile-success p {
  margin: 0 0 5px 0;
}
.profile-errors p:last-child,
.profile-success p:last-child {
  margin-bottom: 0;
}

.profile-errors {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.profile-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

/* Avatar display (read-only) */
.avatar-display {
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 25px;
}

.current-avatar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 10px 0;
}
.current-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #31ea9b;
}
.current-avatar span {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.helper-text {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
  font-style: italic;
}

/* School types */
.education-level {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  background-color: #fafafa;
}

.level-header {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
}

.level-title {
  font-weight: 600;
  color: #2c3e50;
  font-size: 13px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.school-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

.radio-item {
  display: flex;
  align-items: center;
  padding: 8px;
  background-color: white;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.radio-item:hover {
  background-color: #f8f9fa;
  border-color: #e0e0e0;
}
.radio-item.selected {
  background-color: #e3f2fd;
  border-color: #31ea9b;
}
.radio-item input[type=radio] {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.radio-item label {
  margin: 0;
  font-weight: 400;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  flex-grow: 1;
}

/* Form actions */
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}
.form-actions button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel {
  background: #e0e0e0;
  color: #333;
}
.btn-cancel:hover {
  background: #d0d0d0;
}

.btn-primary {
  background: #31ea9b;
  color: white;
}
.btn-primary:hover {
  background: #28c785;
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Body state when popup is open */
body.profile-update-active {
  overflow: hidden;
}

/* Update profile link styling */
.wb-update-profile-link {
  color: #31ea9b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.wb-update-profile-link:hover {
  color: #28c785;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .wb-profile-update-modal {
    padding: 20px;
  }
  .school-types-grid {
    grid-template-columns: 1fr;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions button {
    width: 100%;
  }
}
.wbselfcheck-wb-company-list-page {
  min-height: 100vh;
}

.wb-company-list-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}
.wb-company-list-wrapper h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.wb-company-list-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.wb-company-list-entry {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}
.wb-company-list-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.wb-company-list-entry .avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
}
.wb-company-list-entry .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.wb-company-list-entry .avatar a {
  display: block;
  transition: transform 0.2s ease;
}
.wb-company-list-entry .avatar a:hover {
  transform: scale(1.05);
}
.wb-company-list-entry .info {
  flex: 1;
  min-width: 0; /* Allows text to wrap properly */
}
.wb-company-list-entry .info p {
  margin: 0.5rem 0;
  line-height: 1.4;
}
.wb-company-list-entry .info p:first-child {
  margin-top: 0;
}
.wb-company-list-entry .info p:last-child {
  margin-bottom: 0;
}

.wb-company-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #31ea9b;
  margin-bottom: 0.25rem !important;
}
.wb-company-name a {
  color: #31ea9b;
  text-decoration: none;
  transition: color 0.2s ease;
}
.wb-company-name a:hover {
  color: #28c785;
  text-decoration: underline;
}

.wb-school-name {
  color: #666;
  font-weight: 400;
}

.wb-company-description {
  color: #666;
  font-size: 0.95rem;
  /* Text truncation for long descriptions */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  max-height: 4.2em; /* 3 lines * 1.4 line-height */
}
.wb-company-description p {
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}
.wb-company-description p:last-child {
  margin-bottom: 0;
}
.wb-company-description p:only-child {
  margin: 0;
}

.wb-view-profile-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #31ea9b;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.wb-view-profile-btn:hover {
  background: #28c785;
  transform: translateX(2px);
}

/* Company Card Component */
.wb-company-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #ededed;
}
.wb-company-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.wb-company-card .company-avatar {
  text-align: center;
  margin-bottom: 1rem;
}
.wb-company-card .company-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ededed;
}
.wb-company-card .company-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #31ea9b;
  margin: 0 0 0.5rem 0;
  text-align: center;
}
.wb-company-card .company-school,
.wb-company-card .company-description,
.wb-company-card .company-members {
  font-size: 0.85rem;
  color: #666;
  margin: 0.25rem 0;
  text-align: center;
}
.wb-company-card .company-description {
  font-style: italic;
  line-height: 1.4;
}

/* Empty State */
.wb-company-list-empty {
  text-align: center;
  padding: 2.5rem 2rem;
  color: #fff;
}
.wb-company-list-empty h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.wb-company-list-empty p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* === Page Header Styles === */
.page-header {
  text-align: center;
  margin-bottom: 50px;
}
.page-header h1 {
  margin-bottom: 15px;
  font-size: 2.5em;
  color: #333;
}

.page-description {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 30px;
}

.companies-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}
.companies-stats .stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 3em;
  font-weight: 700;
  color: #31ea9b;
}

.stat-label {
  display: block;
  font-size: 1em;
  color: #666;
  margin-top: 5px;
}

/* === Filter Controls === */
.filter-controls {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 250px;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1em;
}

.filter-select {
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1em;
  background: white;
  cursor: pointer;
}

/* === Companies Grid === */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.company-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}
.company-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}
.company-card.hidden {
  display: none;
}

.company-card-link {
  display: block;
  padding: 25px;
  color: inherit;
  text-decoration: none;
}

.company-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.company-avatar {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
}
.company-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.company-card-title h3 {
  margin: 0 0 5px 0;
  font-size: 1.3em;
  color: #333;
}

.school-name {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

.company-card-description {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
  min-height: 60px;
}

.company-card-action {
  padding-top: 15px;
  border-top: 1px solid #ededed;
}

.view-profile-link {
  color: #31ea9b;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.company-card:hover .view-profile-link {
  color: #28c980;
}

/* === Empty State === */
.no-companies {
  text-align: center;
  padding: 60px 20px;
  background: #fafafa;
  border-radius: 12px;
}
.no-companies p {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 20px;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .wb-company-list-wrapper {
    padding: 1rem;
  }
  .wb-company-list-wrapper h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  .wb-company-list-entry {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
  .wb-company-list-entry .avatar {
    width: 80px;
    height: 80px;
  }
  .wb-company-list-entry .info {
    text-align: center;
  }
  .wb-company-description {
    -webkit-line-clamp: 4;
    max-height: 5.6em;
  }
  .companies-grid {
    grid-template-columns: 1fr;
  }
  .filter-controls {
    flex-direction: column;
  }
  .search-input,
  .filter-select {
    width: 100%;
  }
}
@media only screen and (max-width: 575px) {
  .company-card-link {
    padding: 15px;
  }
  .company-card-title h3 {
    font-size: 1em;
    line-height: 1.4;
  }
  .company-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
  }
  .company-card-header {
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .wb-company-list-wrapper h1 {
    font-size: 1.75rem;
  }
  .wb-company-list-entry {
    padding: 1rem;
    gap: 1rem;
  }
  .wb-company-list-entry .avatar {
    width: 60px;
    height: 60px;
  }
  .wb-company-name {
    font-size: 1.1rem;
  }
  .wb-company-description {
    font-size: 0.85rem;
  }
}
/* === Company Profile Page === */
.wbselfcheck-company-profile-page {
  min-height: 100vh;
}

.wb-company-profile-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

/* Profile Container */
.wb-company-profile {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}

/* Profile Header */
.wb-profile-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #e3f2fd, rgba(49, 234, 155, 0.1));
  border-bottom: 1px solid #ededed;
}
.wb-profile-header img {
  width: 100% !important;
  height: auto !important;
}

.wb-profile-avatar {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
}
.wb-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.wb-profile-header-info {
  flex: 1;
}
.wb-profile-header-info h1 {
  margin: 0 0 0.5rem 0;
  font-size: 1.75rem;
  color: #000;
}

.wb-profile-school {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  color: #666;
}

.wb-button-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Info Grid */
.wb-profile-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 2rem;
  background: #f5f5f5;
}

.wb-info-card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wb-info-label {
  font-size: 0.75rem;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wb-info-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
}

/* Profile Sections */
.wb-profile-section {
  padding: 2rem;
  border-top: 1px solid #ededed;
}
.wb-profile-section h2 {
  margin: 0 0 1.5rem 0;
  font-size: 1.5rem;
  color: #31ea9b;
}

.wb-business-idea {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}
.wb-business-idea p {
  margin: 0 0 1rem 0;
}
.wb-business-idea p:last-child {
  margin-bottom: 0;
}

/* Progress Stats */
.wb-progress-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.wb-stat {
  text-align: center;
  padding: 1.5rem;
  background: #e3f2fd;
  border-radius: 8px;
  border: 2px solid #90caf9;
}

.wb-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #31ea9b;
  margin-bottom: 0.5rem;
}

.wb-stat-label {
  display: block;
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === Updates to Company List for Clickable Elements === */
.wb-company-name a {
  color: #31ea9b;
  text-decoration: none;
  transition: color 0.2s ease;
}
.wb-company-name a:hover {
  color: #28c785;
  text-decoration: underline;
}

.wb-school-name {
  color: #666;
  font-weight: 400;
}

.wb-view-profile-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #31ea9b;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.wb-view-profile-btn:hover {
  background: #28c785;
  transform: translateX(2px);
}

.wb-company-list-entry .avatar a {
  display: block;
  transition: transform 0.2s ease;
}
.wb-company-list-entry .avatar a:hover {
  transform: scale(1.05);
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
  .wb-profile-info-grid {
    padding: 15px;
  }
}
@media (max-width: 768px) {
  .wb-company-profile-wrapper {
    padding: 1rem;
  }
  .wb-profile-header {
    flex-direction: column;
    text-align: center;
  }
  .wb-profile-avatar {
    width: 120px;
    height: 120px;
  }
  .wb-profile-header-info h1 {
    font-size: 1.5rem;
  }
  .wb-profile-info-grid {
    grid-template-columns: 1fr;
  }
  .wb-progress-stats {
    grid-template-columns: 1fr;
  }
}
.wb-answers-history-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.wb-answers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}
.wb-answers-header h2 {
  margin: 0;
  color: #333;
  font-size: 28px;
}

.wb-export-btn {
  background: #31ea9b;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.3s ease;
}
.wb-export-btn:hover {
  background: #28c785;
}

/* Filters */
.wb-answers-filters {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.filter-group label {
  font-size: 13px;
  font-weight: 600;
  color: #666;
}

.wb-filter-select,
.wb-filter-date {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.85rem;
  background: white;
}
.wb-filter-select:focus,
.wb-filter-date:focus {
  outline: none;
  border-color: #31ea9b;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.wb-clear-filters-btn {
  padding: 8px 16px;
  background: #e0e0e0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.3s ease;
}
.wb-clear-filters-btn:hover {
  background: #d0d0d0;
}

/* Table Wrapper */
.wb-answers-table-wrapper {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  overflow-x: auto;
}

/* DataTable Customization */
#wb-answers-table {
  width: 100% !important;
}
#wb-answers-table thead th {
  background: #f8f9fa;
  color: #333;
  font-weight: 600;
  padding: 12px;
  border-bottom: 2px solid #dee2e6;
}
#wb-answers-table tbody td {
  padding: 12px;
  border-bottom: 1px solid #e9ecef;
  vertical-align: middle;
}
#wb-answers-table tbody tr:hover {
  background-color: #f8f9fa;
}
#wb-answers-table tfoot th {
  background: #f8f9fa;
  font-weight: 600;
  padding: 12px;
  border-top: 2px solid #dee2e6;
}

.text-center {
  text-align: center;
}

/* Action buttons */
.wb-view-question {
  color: #31ea9b;
  text-decoration: none;
  display: inline-block;
  padding: 4px;
  transition: color 0.3s ease;
}
.wb-view-question:hover {
  color: #28c785;
}

.dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

/* DataTables Controls */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 20px;
}
.dataTables_wrapper .dataTables_filter {
  text-align: right;
}
.dataTables_wrapper .dataTables_filter input {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-left: 10px;
}
.dataTables_wrapper .dataTables_info {
  padding-top: 20px;
  color: #666;
  font-size: 0.85rem;
}
.dataTables_wrapper .dataTables_paginate {
  padding-top: 20px;
  text-align: right;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 6px 12px;
  margin: 0 2px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #f8f9fa;
  border-color: #31ea9b;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #31ea9b;
  color: white;
  border-color: #31ea9b;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Company Profile Link */
.wb-company-profile-link {
  text-align: center;
  padding: 30px 0;
}
.wb-company-profile-link .wb-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #31ea9b;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.wb-company-profile-link .wb-btn:hover {
  background: #28c785;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Empty state */
.error-message,
.wb-login-required {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 1rem;
}

/* Lightbox Overlay */
.wb-lightbox-overlay {
  display: none;
  position: fixed;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.wb-lightbox-overlay.active {
  display: flex;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

/* Lightbox Container */
.wb-lightbox-container {
  position: relative;
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: lightboxSlideIn 0.3s ease;
}

@keyframes lightboxSlideIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Close Button */
.wb-lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #ddd;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.wb-lightbox-close:hover {
  background: white;
  border-color: #ccc;
  transform: scale(1.1);
}
.wb-lightbox-close span {
  font-size: 24px;
  line-height: 1;
  color: #666;
  font-weight: 300;
}

/* Lightbox Content */
.wb-lightbox-content {
  padding: 30px;
  min-height: 200px;
  /* Card in Lightbox Adjustments */
}
.wb-lightbox-content .wbselfcheck-card {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 400px;
  margin: 0;
  box-shadow: none;
}
.wb-lightbox-content .wbselfcheck-card.flipped {
  pointer-events: auto;
}
.wb-lightbox-content .wbselfcheck-card {
  /* Fix for mirrored text in lightbox - disable 3D flip effect */
}
.wb-lightbox-content .wbselfcheck-card .card-inner {
  transform: none !important;
  transform-style: flat;
}
.wb-lightbox-content .wbselfcheck-card .card-front {
  display: none;
}
.wb-lightbox-content .wbselfcheck-card .card-back {
  transform: none !important;
  position: relative;
}
.wb-lightbox-content .card-answer {
  transition: all 0.2s ease;
}
.wb-lightbox-content .card-answer.user-selected-answer {
  background: #31ea9b;
  color: white;
  font-weight: 600;
  position: relative;
}
.wb-lightbox-content .card-answer.user-selected-answer::after {
  content: "✓";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

/* Loader */
.wb-lightbox-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}
.wb-lightbox-loader .spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #31ea9b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  width: 40px;
  height: 40px;
}
.wb-lightbox-loader p {
  margin-top: 20px;
  color: #666;
  font-size: 0.85rem;
}

/* Error State */
.wb-lightbox-error {
  text-align: center;
  padding: 40px;
}
.wb-lightbox-error p {
  color: #dc3232;
  margin-bottom: 20px;
}

.wb-lightbox-close-btn {
  background: #31ea9b;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}
.wb-lightbox-close-btn:hover {
  background: #28c785;
}

/* Answer Info Banner */
.wb-answer-info-banner {
  background: #f0f8ff;
  border: 1px solid #d1e5f3;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}
.wb-answer-info-banner p {
  margin: 5px 0;
  color: #333;
  font-size: 0.85rem;
}
.wb-answer-info-banner strong {
  color: #31ea9b;
}

/* View Question Button in Table */
.wb-view-question-btn {
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #666;
}
.wb-view-question-btn:hover {
  background: #31ea9b;
  border-color: #31ea9b;
  color: white;
}
.wb-view-question-btn .dashicons {
  display: block;
  font-size: 18px;
  width: 18px;
  height: 18px;
}

/* Export Buttons Container */
.wb-export-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Export Button Base Styles */
.wb-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: white;
  border: 2px solid #ddd;
  border-radius: 5px;
  color: #333;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.wb-export-btn:hover {
  background: #f8f9fa;
  border-color: #31ea9b;
  color: #31ea9b;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.wb-export-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.wb-export-btn .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
  line-height: 1;
}
.wb-export-btn:first-child {
  background: #28a745;
  color: white;
  border-color: #28a745;
}
.wb-export-btn:first-child:hover {
  background: #218838;
  border-color: #218838;
  color: white;
}
.wb-export-btn.loading {
  opacity: 0.7;
  cursor: wait;
  position: relative;
}
.wb-export-btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #31ea9b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.wb-export-pdf-btn {
  background: #dc3545;
  color: white;
  border-color: #dc3545;
}
.wb-export-pdf-btn:hover {
  background: #c82333;
  border-color: #c82333;
  color: white;
}

/* Responsive */
@media only screen and (max-width: 768px) {
  .wb-answers-history-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  .wb-answers-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .wb-answers-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-group {
    width: 100%;
  }
  .wb-filter-select,
  .wb-filter-date {
    width: 100%;
  }
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_paginate {
    text-align: center;
    float: none;
  }
  /* Make table scrollable on mobile */
  .wb-answers-table-wrapper {
    padding: 10px;
  }
  #wb-answers-table {
    font-size: 12px;
  }
  .wb-lightbox-container {
    width: 95%;
    max-height: 95vh;
    margin: 10px;
  }
  .wb-lightbox-content {
    padding: 20px;
  }
  .wb-lightbox-content .wbselfcheck-card {
    min-height: 350px;
  }
  .wb-lightbox-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }
  .wb-export-buttons {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .wb-export-btn {
    flex: 1;
    min-width: 80px;
    justify-content: center;
    padding: 6px 12px;
    font-size: 12px;
  }
  .wb-export-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
  }
}
/* Print Styles */
@media print {
  .wb-answers-header,
  .wb-answers-filters,
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_info,
  .dataTables_wrapper .dataTables_paginate,
  .wb-export-buttons,
  .wb-view-question-btn {
    display: none !important;
  }
  .wb-answers-table-wrapper {
    overflow: visible !important;
  }
  #wb-answers-table {
    font-size: 10pt;
    border: 1px solid #000;
  }
  #wb-answers-table th,
  #wb-answers-table td {
    border: 1px solid #ccc;
    padding: 4px;
  }
  #wb-answers-table th {
    background: #f0f0f0 !important;
    color: #000 !important;
    font-weight: 700;
  }
  .wb-answers-summary {
    page-break-inside: avoid;
    margin-top: 20px;
  }
  .summary-card {
    border: 1px solid #000;
    page-break-inside: avoid;
  }
}
/* === Avatar Container === */
.meta-avatar-link {
  position: relative;
}

/* === Speech Bubble Base === */
.avatar-speech-bubble {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  transform: scale(0.95) translateY(-5px);
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
  border: 1px solid rgba(49, 234, 155, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  width: 320px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(49, 234, 155, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 100;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-top: 2px solid #31ea9b;
}
.avatar-speech-bubble.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

/* === Bubble Arrow === */
.avatar-speech-bubble .bubble-arrow {
  position: absolute;
  bottom: 100%;
  left: 32px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #31ea9b;
}
.avatar-speech-bubble .bubble-arrow::before {
  content: "";
  position: absolute;
  bottom: -13px;
  left: -10px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
}

/* === Bubble Content === */
.avatar-speech-bubble .bubble-content {
  position: relative;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.avatar-speech-bubble .bubble-content::before {
  content: attr(data-icon);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.7;
}
.avatar-speech-bubble .bubble-content a {
  color: #31ea9b;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(49, 234, 155, 0.3);
  transition: all 0.2s ease;
  border-radius: 2px;
  padding: 1px 2px;
}
.avatar-speech-bubble .bubble-content a:hover {
  color: #fff;
  background: #31ea9b;
  border-bottom-color: transparent;
  transform: translateY(-1px);
}

/* === Close Button === */
.avatar-speech-bubble .bubble-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #31ea9b 0%, #28c785 100%);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.avatar-speech-bubble .bubble-close:hover {
  background: linear-gradient(135deg, #28c785 0%, #1fb36f 100%);
  transform: scale(1.15) rotate(90deg);
  box-shadow: 0 4px 12px rgba(49, 234, 155, 0.3);
}

/* === Message Types === */
/* Welcome/Success messages */
.avatar-speech-bubble.welcome-message,
.avatar-speech-bubble.onboarding-complete {
  background: linear-gradient(135deg, #e3f2fd 0%, #f0fdf7 100%);
  border-top: 2px solid #31ea9b;
  animation: bubbleBounce 0.6s ease-out;
}

/* Random facts */
.avatar-speech-bubble.random-fact {
  background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
  border-top: 2px solid #3498db;
}
.avatar-speech-bubble.random-fact .bubble-arrow {
  border-bottom-color: #3498db;
}
.avatar-speech-bubble.random-fact .bubble-arrow::before {
  border-bottom-color: #e8f4fd;
}

/* Card deck hint */
.avatar-speech-bubble.card-deck-hint {
  background: linear-gradient(135deg, #fff5e6 0%, #fef9f2 100%);
  border-top: 2px solid #f39c12;
}
.avatar-speech-bubble.card-deck-hint .bubble-arrow {
  border-bottom-color: #f39c12;
}
.avatar-speech-bubble.card-deck-hint .bubble-arrow::before {
  border-bottom-color: #fff5e6;
}

/* === Animations === */
@keyframes bubbleBounce {
  0% {
    transform: scale(0.8) translateY(15px);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  40% {
    transform: scale(1.08) translateY(-8px);
  }
  60% {
    transform: scale(0.98) translateY(3px);
  }
  80% {
    transform: scale(1.02) translateY(-2px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}
/* Pulse animation for important messages */
.avatar-speech-bubble.pulse {
  animation: bubblePulse 2.5s ease-in-out infinite;
}

@keyframes bubblePulse {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(49, 234, 155, 0.1);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 12px 40px rgba(49, 234, 155, 0.25), 0 4px 16px rgba(49, 234, 155, 0.2);
    transform: scale(1.02);
  }
}
/* Subtle glow animation for special messages */
.avatar-speech-bubble.glow {
  animation: bubbleGlow 3s ease-in-out infinite alternate;
}

@keyframes bubbleGlow {
  from {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(49, 234, 155, 0.1);
  }
  to {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(49, 234, 155, 0.3), 0 0 20px rgba(49, 234, 155, 0.15);
  }
}
/* === Mobile Responsiveness === */
@media (max-width: 768px) {
  .avatar-speech-bubble {
    min-width: 180px;
    max-width: 220px;
    font-size: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    top: calc(100% + 12px);
  }
  .avatar-speech-bubble .bubble-content::before {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .avatar-speech-bubble {
    font-size: 13px;
    padding: 12px 14px;
    min-width: 160px;
    max-width: 200px;
    border-radius: 12px;
  }
  .avatar-speech-bubble .bubble-close {
    width: 22px;
    height: 22px;
    font-size: 12px;
    top: -5px;
    right: -5px;
  }
  .avatar-speech-bubble .bubble-content::before {
    font-size: 13px;
  }
}
/* === Print Styles === */
@media print {
  .avatar-speech-bubble {
    display: none !important;
  }
}
/* Evolution animation container */
.avatar-evolution-overlay {
  position: fixed;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.avatar-evolution-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Evolution content container */
.avatar-evolution-content {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  max-width: 400px;
  width: 90%;
  position: relative;
  overflow: hidden;
  left: 50%;
  transform: scale(0.8) translate(-50%, 20px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.avatar-evolution-overlay.active .avatar-evolution-content {
  transform: scale(1) translate(-50%, 0);
}

/* Evolution header */
.evolution-header {
  margin-bottom: 1.5rem;
}

.evolution-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #31ea9b;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.evolution-subtitle {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* Avatar evolution container */
.avatar-evolution-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Old avatar (start state) */
.evolution-avatar-old {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  transition: all 0.8s ease;
}
.evolution-avatar-old.shrinking {
  opacity: 0;
  transform: scale(0.8);
}

/* New avatar (end state) */
.evolution-avatar-new {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.6);
  z-index: 3;
  transition: all 0.8s ease;
}
.evolution-avatar-new.appearing {
  opacity: 1;
  transform: scale(1);
}

/* Cloud animation overlay */
.evolution-cloud {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 248, 255, 0.95) 25%, rgba(255, 255, 255, 0.9) 50%, rgba(240, 248, 255, 0.95) 75%, rgba(255, 255, 255, 0.9) 100%);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  z-index: 4;
  transition: all 0.6s ease;
}
.evolution-cloud.active {
  opacity: 0.95;
  transform: scale(1.2);
  animation: cloudPulse 1.5s ease-in-out infinite;
}

@keyframes cloudPulse {
  0%, 100% {
    transform: scale(1.2);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.85;
  }
}
/* Sparkle effects */
.evolution-sparkles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #31ea9b;
  border-radius: 50%;
  opacity: 0;
  animation: sparkle 2s ease-in-out infinite;
}
.sparkle:nth-child(1) {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}
.sparkle:nth-child(2) {
  top: 20%;
  right: 15%;
  animation-delay: 0.3s;
}
.sparkle:nth-child(3) {
  bottom: 30%;
  left: 10%;
  animation-delay: 0.6s;
}
.sparkle:nth-child(4) {
  bottom: 15%;
  right: 25%;
  animation-delay: 0.9s;
}
.sparkle:nth-child(5) {
  top: 40%;
  left: 5%;
  animation-delay: 1.2s;
}
.sparkle:nth-child(6) {
  top: 60%;
  right: 10%;
  animation-delay: 1.5s;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
}
/* Glow effect */
.evolution-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 234, 155, 0.3) 0%, rgba(49, 234, 155, 0.1) 40%, transparent 70%);
  opacity: 0;
  transform: scale(0.8);
  z-index: 1;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}
/* Level up text */
.evolution-level-info {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid #31ea9b;
}

.evolution-new-level {
  font-size: 1.2rem;
  font-weight: 700;
  color: #31ea9b;
  margin: 0 0 0.5rem 0;
}

.evolution-xp-info {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

/* Continue button */
.evolution-continue {
  background: #31ea9b;
  transition: all 0.3s ease;
}
.evolution-continue:hover {
  background: #28c785;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(49, 234, 155, 0.25);
}
.evolution-continue:active {
  transform: translateY(0);
}
.evolution-continue {
  background: #31ea9b;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.evolution-continue:active {
  transform: translateY(0);
}

/* Responsive design */
@media (max-width: 480px) {
  .avatar-evolution-content {
    padding: 1.5rem;
    margin: 1rem;
  }
  .evolution-title {
    font-size: 1.2rem;
  }
  .avatar-evolution-container {
    width: 150px;
    height: 150px;
  }
  .evolution-avatar-old {
    width: 90px;
    height: 90px;
  }
  .evolution-avatar-new {
    width: 110px;
    height: 110px;
  }
  .evolution-glow {
    width: 130px;
    height: 130px;
  }
}

/*# sourceMappingURL=frontend.css.map */
