@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;700&display=swap');

#sp-popup {
  position: absolute;
  z-index: 9999;
}

.sp-card {
  width: 650px;
  background: #ffffff;
  border-radius: 24px;
  padding: 30px;
  box-shadow:
    0 10px 30px rgba(59,75,255,0.15),
    0 2px 10px rgba(59,75,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Quicksand', sans-serif;
}

.sp-header {
  display: flex;
  gap: 20px;
}

.sp-icon-circle {
  width: 110px;
  height: 110px;
  background: #eef0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-icon-circle img {
  width: 70px;
}

.sp-header-right {
  flex: 1;
}

.sp-wotd {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f2f3ff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: #666;
  width: fit-content;
}

/* STAR ICON */
.sp-star-icon {
  width: 16px;
  height: 16px;
}

.sp-wotd-circle {
  width: 14px;
  height: 14px;
  border: 2px solid #aaa;
  border-radius: 50%;
}

.sp-word-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sp-word-row h2 {
  font-size: 42px;
  margin: 0;
  color: #2C20FF
}

.sp-pron {
  color: #888;
}

.sp-translation {
  color: #3b4bff;
  font-weight: 700;
  margin-top: 5px;
}

.sp-divider {
  border-top: 1px dashed #ddd;
}

.sp-sentence-box {
  display: flex;
  align-items: center;
  background: #eef0ff;
  border-radius: 18px;
  overflow: hidden;
}

/* QUOTE AREA */
.sp-quote-area {
  width: 70px;
  min-height: 100%;
  background: #dde0ff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 25px;
  padding-bottom: 15px;
  border-radius: 18px, 18px;
}

.sp-header-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* QUOTE ICON */
.sp-quote-icon {
  width: 50px;
  height: 50px;
}

.sp-sentence-text {
  padding: 15px;
  flex: 1;
}

.sp-sentence-text strong {
  display: block;
  font-size: 16px;
}

.sp-sentence-text em {
  color: #666;
}

.sp-blue {
  color: #3b4bff;
}

.sp-convo-img {
  width: 180px;
}

.sp-tip {
  background: #eef0ff;
  padding: 5px 8px;
  border-radius: 20px;
  font-size: 11px;
  overflow: hidden;
  max-width: fit-content;
  text-align: center;
}

.sp-tip {
  background: #eef0ff;

  /* center the box itself */
  margin: 0 auto;

  /* shrink to fit content */
  width: fit-content;
  max-width: 100%;

  /* center text */
  text-align: center;
}

/* LIGHT BULB ICON */
.sp-tip-icon {
  padding-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* CLICKABLE WORD IN TEXT */
.sp-word {
  color: #3b4bff;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
}

.sp-word:hover {
  text-decoration: underline;
  color: #2f3ee6;
}
/* IMPORT INTER FONT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;700&display=swap');


/* MAIN WORD (hola) */
.sp-word-row h2 {
  font-family: 'Inter', sans-serif;
  font-size: 42px;
  margin: 0;
  color: #2C20FF; /* blue */
  font-weight: 700;
}


/* REMOVE TRANSLATION LINE UNDER WORD */
.sp-translation {
  display: none;
}


/* SENTENCE BOX FIX */
.sp-sentence-box {
  display: inline-flex; /* only wrap content */
  align-items: center;
  background: #eef0ff;
  border-radius: 18px;
}


/* TEXT AREA */
.sp-sentence-text {
  padding: 15px 20px;
}


/* TOP SENTENCE */
.sp-sentence-text strong {
  display: block;
  font-size: 16px;
}


/* BOTTOM SENTENCE */
.sp-sentence-text em {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}


/* BLUE WORD INSIDE SENTENCE */
.sp-blue {
  color: #3b4bff;
  font-weight: 600;
}

.sp-word-row h2 {
  color: #3b4bff !important;
}

.sp-word-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-audio-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sp-speaker-icon {
  width: 40px;
  height: 40px;
}