/* ======================================
   TAMILAI TRANSLATOR POPUP V2
====================================== */
#translatorPopup {
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
#translatorPopup .summary-popup {
  width: 650px;
  max-width: 90%;
  padding: 25px;
  border-radius: 24px;
  background: rgba(3, 12, 35, 0.95);
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow:
    0 0 25px rgba(0, 229, 255, 0.15),
    inset 0 0 20px rgba(0, 229, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#translatorPopup h2 {
  text-align: center;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
  margin-bottom: 10px;
}
#translatorInput {
  width: 100%;
  min-height: 160px;
  padding: 15px;
  border-radius: 16px;
  background: #132340;
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
}
#translatorInput:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
}
#translatorLanguage {
  width: 100%;
  height: 50px;
  padding: 10px 15px;
  border-radius: 14px;
  background: #132340;
  color: var(--text-primary);
  border: 1px solid rgba(0, 229, 255, 0.3);
  outline: none;
}
#translatorLanguage:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}
#translatorPopup .popup-buttons {
  display: flex;
  gap: 12px;
}
#translatorPopup .popup-buttons button {
  flex: 1;
  height: 52px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
#translatorCancelBtn {
  background: #1a2744;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
#translatorCancelBtn:hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}
#translatorGenerateBtn {
  background: linear-gradient(135deg, #00d4ff, #0099ff);
  color: var(--text-primary);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.35);
}
#translatorGenerateBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
}
