/* decisions style */
.circle {
  width: 32px;
  height: 31px;
  border-radius: 50%;
  border: 4px solid #050D24;
  background-color: #FFFFFF;
}
.bar{
   height: 275px;              
  width: 52px;                
  display: flex;              
  flex-direction: column;    
  justify-content: space-between;
  align-items: center;       
  padding-top: 20px;          
  padding-bottom: 20px;   
}
@media (min-width: 640px) {
  .bar {
    height: 230px; 
    width: 40px;   
    padding-top: 20px;
  }
}
@media (min-width: 768px) {
  .bar {
    height: 240px; 
    width: 40px;   
    padding-top: 20px;
  }
}
@media (min-width: 1024px) {
  .bar {
    height: 250px; 
    width: 45px;   
    padding-top: 20px;
  }
}
@media (min-width: 1280px) {
  .bar {
    height: 275px; 
    width: 52px;   
    padding-top: 20px;
  }
}


.arrow-circle{
  width: 34.35px;        
  height: 34.35px;       
  border: 4px solid #050D24;     
  background-color: #FFFFFF; 
  border-radius: 50%;
}
@media (max-width: 640px) {
  .arrow-circle {
    width: 23px;        
    height: 23px;       
    border: 3px solid #050D24; 
  }
}
@media (min-width: 768px) {
  .arrow-circle {
    height: 29px; 
    width: 29px;   
    padding-top: 20px;
  }
}
@media (min-width: 1024px) {
  .arrow-circle {
    height: 34.35px; 
    width: 34.35px;   
    padding-top: 20px;
  }
}

.behind-bar {
  height: 510.42px;
  width: 33px;
  border-radius: 73.39px;
}

html, body {
width: 100%;
overflow-x: hidden !important;
position: relative;
}

.comment-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  overflow: hidden;
  min-height: 96px;
}
.comment-divider {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #D3D3E5;
}

.rotate-180 {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
  }

.custom-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid gray;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative;
  margin-right: 10px;
}

input[type="checkbox"]:checked + .custom-checkbox {
  background-color: #0171C0;
  border-color: #0171C0;
}

.custom-checkbox svg {
  display: none;
}

input[type="checkbox"]:checked + .custom-checkbox svg {
  display: block;
}

/* Decision Chat Panel Styles */
.decision-chat-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.decision-chat-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 1rem;
}

.decision-chat-panel__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.5rem 0;
}

.decision-chat-panel__link {
  color: #f1892d;
  text-decoration: none;
  font-size: 0.9rem;
}

.decision-chat-panel__link:hover {
  text-decoration: underline;
}

.decision-chat-panel__reset {
  background: transparent;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: #555;
  font-size: 0.9rem;
  white-space: nowrap;
}

.decision-chat-panel__reset:hover {
  background: #f7f7f7;
  border-color: #f1892d;
}

.decision-chat-panel__messages {
  min-height: 300px;
  max-height: 500px;
  overflow-y: auto;
  padding: 1rem;
  background: #fafafa;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.decision-chat-panel__message {
  padding: 1rem;
  border-radius: 8px;
  max-width: 85%;
}

.decision-chat-panel__message--user {
  background: #e3f2fd;
  margin-left: auto;
  align-self: flex-end;
}

.decision-chat-panel__message--assistant {
  background: white;
  border: 1px solid #e5e5e5;
  margin-right: auto;
  align-self: flex-start;
}

.decision-chat-panel__message--error {
  background: #ffebee;
  border: 1px solid #ef5350;
}

.decision-chat-panel__message-body {
  color: #333;
  line-height: 1.6;
  white-space: pre-wrap;
}

.decision-chat-panel__message-meta {
  font-size: 0.75rem;
  color: #777;
  margin-top: 0.5rem;
}

.decision-chat-panel__status {
  padding: 0.75rem 1rem;
  background: #fff8e1;
  border-radius: 8px;
  color: #f57c00;
  font-size: 0.9rem;
  text-align: center;
}

.decision-chat-panel__status[hidden] {
  display: none;
}

.decision-chat-panel__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.decision-chat-panel__label {
  font-weight: 500;
  color: #555;
  font-size: 0.95rem;
}

.decision-chat-panel__input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  min-height: 80px;
}

.decision-chat-panel__input:focus {
  outline: none;
  border-color: #f1892d;
  box-shadow: 0 0 0 3px rgba(241, 137, 45, 0.1);
}

.decision-chat-panel__input:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

.decision-chat-panel__actions {
  display: flex;
  justify-content: flex-end;
}

.decision-chat-panel__submit {
  background: #f1892d;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.decision-chat-panel__submit:hover:not(:disabled) {
  background: #e07a1f;
}

.decision-chat-panel__submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Simon Says Page Spinner Styles */
.spinner-dot {
  position: absolute;
  border-radius: 50%;
  background-color: #22c55e;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  animation: fade 1.2s linear infinite;
}

/* Gradually decreasing size for each dot */
.spinner-dot:nth-child(1) { width:26.5px; height:26.5px; transform: translate(-50%, -50%) rotate(320deg) translateY(-50px); opacity:1; animation-delay:0s; }
.spinner-dot:nth-child(2) { width:25px;   height:25px;   transform: translate(-50%, -50%) rotate(280deg) translateY(-50px); opacity:0.9; animation-delay:0.1s; }
.spinner-dot:nth-child(3) { width:23.9px; height:23.9px; transform: translate(-50%, -50%) rotate(240deg) translateY(-50px); opacity:0.8; animation-delay:0.2s; }
.spinner-dot:nth-child(4) { width:22.6px; height:22.6px; transform: translate(-50%, -50%) rotate(200deg) translateY(-50px); opacity:0.7; animation-delay:0.3s; }
.spinner-dot:nth-child(5) { width:21.8px; height:21.8px; transform: translate(-50%, -50%) rotate(160deg) translateY(-50px); opacity:0.6; animation-delay:0.4s; }
.spinner-dot:nth-child(6) { width:20.7px; height:20.7px; transform: translate(-50%, -50%) rotate(120deg) translateY(-50px); opacity:0.5; animation-delay:0.5s; }
.spinner-dot:nth-child(7) { width:19.6px; height:19.6px; transform: translate(-50%, -50%) rotate(80deg) translateY(-50px); opacity:0.4; animation-delay:0.6s; }
.spinner-dot:nth-child(8) { width:18.5px; height:18.5px; transform: translate(-50%, -50%) rotate(40deg) translateY(-50px); opacity:0.3; animation-delay:0.7s; }
.spinner-dot:nth-child(9) { width:16.2px; height:16.2px; transform: translate(-50%, -50%) rotate(0deg) translateY(-50px); opacity:0.2; animation-delay:0.8s; }

@keyframes fade {
  0% { opacity: 1; }
  100% { opacity: 0.05; }
}

/* FawToast background overrides */
.faw-toast.faw-toast-border-red {
  background-color: #dc2626;
  color: #ffffff;
}

.faw-toast.faw-toast-border-green {
  background-color: #16a34a;
  color: #ffffff;
}

.faw-toast.faw-toast-border-sky {
  background-color: #0284c7;
  color: #ffffff;
}

.faw-toast.faw-toast-border-indigo {
  background-color: #4f46e5;
  color: #ffffff;
}

.blog-post-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3rem;
}

.blog-post-card__summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.625;
  max-height: calc(1.625em * 3);
  text-overflow: ellipsis;
}

.blog-post-card__read-more {
  margin-top: 0.75rem;
  background: none;
  border: 0;
  padding: 0;
  color: #0171C0;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.blog-post-card__read-more:hover {
  text-decoration: underline;
}

/* ===== Modal Base ===== */
.promo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.promo-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease;
}
.promo-modal__dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  color: #111;
  width: min(480px, 90vw);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: scaleIn 0.25s ease forwards;
}
.promo-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 600;
}
.promo-modal__close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
}
.promo-modal__close:hover {
  color: #000;
}
.promo-modal__body {
  padding: 16px;
}

/* ===== Code List ===== */
.promo-code-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.promo-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  transition: box-shadow 0.2s;
}
.promo-code-row:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.promo-code-meta {
  display: flex;
  flex-direction: column;
}
.promo-code-name {
  
  font-size: 1rem;
}
.promo-code-meta small {
  color: #666;
  font-size: 0.85rem;
}
.copy-promo-btn {
  background: #050D24;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

/* ===== Tooltip ===== */
.tooltip {
  position: relative;
}

.tooltip:not([data-tooltip])::after,
.tooltip:not([data-tooltip])::before,
.tooltip[data-tooltip=""]::after,
.tooltip[data-tooltip=""]::before {
  display: none;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, -6px);
  background: #050D24;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.3;
  max-width: min(260px, calc(100vw - 32px));
  text-align: left;
  white-space: normal;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1000;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.tooltip.tooltip-nowrap::after {
  white-space: nowrap;
  max-width: none;
}

.tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 75%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #050D24 transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1000;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.tooltip:not(.tooltip-trigger):hover::after,
.tooltip:not(.tooltip-trigger):focus-within::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -10px);
}

.tooltip:not(.tooltip-trigger):hover::before,
.tooltip:not(.tooltip-trigger):focus-within::before {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -4px);
}

.tooltip.is-open::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -10px);
}

.tooltip.is-open::before {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -4px);
}

@media (max-width: 640px) {
  .tooltip.tooltip-nowrap::after {
    white-space: normal;
    max-width: min(260px, calc(100vw - 32px));
  }
}

@media (hover: hover) and (pointer: fine) {
  .tooltip.tooltip-trigger:hover::after,
  .tooltip.tooltip-trigger:focus-within::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -10px);
  }

  .tooltip.tooltip-trigger:hover::before,
  .tooltip.tooltip-trigger:focus-within::before {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -4px);
  }
}

/* Personality type hover details */
.personality-type-card {
  position: relative;
}

.tt_left,
.tt_right {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  min-width: 160px;
  max-width: 220px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #050D24;
  color: #FFFFFF;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 12px 28px rgba(5, 13, 36, 0.18);
  text-align: left;
}

.personality-type-card:hover .tt_left,
.personality-type-card:hover .tt_right,
.personality-type-card:focus-within .tt_left,
.personality-type-card:focus-within .tt_right {
  display: block;
}

.tt_left {
  left: 0;
  transform: none;
}

.tt_right {
  left: auto;
  right: 0;
  transform: none;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #111;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
  animation: toastIn 0.3s ease forwards, toastOut 0.3s ease forwards 2.3s;
  z-index: 10000;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  to { transform: translate(-50%, -50%) scale(1); }
}
@keyframes toastIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(20px); }
}

