/* .tta_notice{display:none}.tta_button{display:flex;justify-content:center;align-items:center}

.tts__listent_content div::after{
    content: "\f304";
}




.wp-core-ui .tta-notice.notice.is-dismissible {
    padding-right: 10px;
}
.wp-core-ui .tta-notice.notice.is-dismissible .notice-dismiss {
    top: -9px;
    right: -9px;
}
.wp-core-ui .tta-notice.notice.is-dismissible .notice-dismiss:before {
    font: normal 20px/20px dashicons;
}
.wp-core-ui #fonts_downloading p {
    font-weight: 400;
    font-size: 15px;
}
.wp-core-ui .tta-notice.tta-fd-notice.notice.is-dismissible .tta-review-notice-logo {
    width: 36px;
    height: 38px;
    margin-right: 10px;
}
.wp-core-ui .tta-notice.tta-fd-notice.notice.is-dismissible p {
    padding: 4px;
    margin: 0;
}
.wp-core-ui .tta-notice.tta-fd-notice.notice.is-dismissible p #download_button {
    margin-left: 10px;
}

.wp-core-ui .tta_promotion_notice img{width: 100%;} */

/** 
My Custom css
*/
.topnav_bg,
.footer_bg {
  background-color: #1a4548;
}
.topnav_bg a,
#sidenavAccordion div div a,
#sidenavAccordion div div a div,
#ttaLayoutSidenav_content footer div {
  color: #fff;
}
#ttaLayoutSidenav_content {
  background-color: #fbfaff;
}

/* Default nav link */
#ttaTtaLayoutSidenav_nav .nav-link {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffffc9;
  background: transparent;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
  font-size: 15px;
}

/* Active (selected) menu */
#ttaTtaLayoutSidenav_nav .nav-link.active {
  background: #2b4d4d; /* Middle teal like in screenshot */
  color: #ffffff; /* White text */
  border-left: 4px solid #7fffd4; /* Left highlight (optional) */
  font-weight: 600;
  position: relative;
}

/* Dark bottom bar like your screenshot */
#ttaTtaLayoutSidenav_nav .nav-link.active::after {
  content: "";
  width: 100%;
  height: 8px;
}

/* Icon color inside active item */
#ttaTtaLayoutSidenav_nav .nav-link.active .dashicons {
  color: white;
}

/* Hover effect */
#ttaTtaLayoutSidenav_nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.topnav {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.top-group-buttons {
  border: 1px solid #cfd4da;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(49, 201, 187, 0.16);
  font-size: 14px;
  font-weight: 600;
}

.top-nav-item {
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-nav-item + .top-nav-item {
  border-left: 1px solid #cfd4da;
}

/* Hover effect (optional but looks good) */
/* .top-nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
} */

.tta-custom-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath fill-rule='evenodd' d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
}

.tta-custom-orange-accordion .accordion-button {
  background-color: rgba(255, 120, 83, 1) !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

.tta-custom-orange-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(255, 120, 83, 1) !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

.custom-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  cursor: pointer;
}

.custom-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-track {
  position: absolute;
  inset: 0;
  background-color: #e0e0e0;
  border-radius: 24px;
  transition: 0.3s;
}

.switch-thumb {
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* When Checked */
.custom-switch input:checked + .switch-track {
  background-color: rgba(87, 209, 0, 1); /* your requested color */
}

.custom-switch input:checked + .switch-track .switch-thumb {
  left: 27px;
}

/* Disabled */
.switch-disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.setting-label-area {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.setting-label {
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

.help-icon {
  color: #999;
  font-size: 14px;
  cursor: help;
}

.tta-qa-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.tta-qa-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.tta-qa-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

/* YouTube Play Button Style */
.tta-yt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* width: 50px;
    height: 50px; */
  /* background: #ff0000; */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(253, 71, 96, 1);
}

.tta-yt:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.tta-yt svg {
  width: 30px;
  height: 30px;
  fill: white;
  margin-left: 2px;
}

.tta_btn {
  display: inline-block;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  background-color: rgba(255, 120, 83, 1);
  border: 1px solid transparent;
  padding: 12px 32px;
  font-size: 16px;
  border-radius: 0.25rem;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  /* Keep your existing styles */
  width: 100%;

  position: sticky;
  bottom: 1rem;
  /* Add transition for smooth movement */
  transition: transform 0.2s ease;
}

.tta_btn.sticky-active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.tta_btn:hover {
  background-color: rgb(232, 62, 14);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.tta_btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tta-textarea {
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
}

.tta-card {
  background: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tta-container {
  padding: 2rem;
  max-height: 80vh;
  overflow-y: auto;
  padding-right: 1rem;
}

.audio-time-start,
.audio-time-end {
  white-space: nowrap;
}

@media (max-width: 599px) {
  #ttaLayoutSidenav #ttaLayoutSidenav_content {
    margin-left: -140px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #ttaLayoutSidenav #ttaLayoutSidenav_content {
    margin-left: -160px;
  }
}

.wp-core-ui .tta-notice.notice.is-dismissible {
  padding-right: 10px;
}
.wp-core-ui .tta-notice.notice.is-dismissible .notice-dismiss {
  top: 10px;
  right: 10px;
}
.wp-core-ui .tta-notice.notice.is-dismissible .notice-dismiss:before {
  font: normal 20px/20px dashicons;
}
.wp-core-ui #fonts_downloading p {
  font-weight: 400;
  font-size: 15px;
}
.wp-core-ui
  .tta-notice.tta-fd-notice.notice.is-dismissible
  .tta-review-notice-logo {
  width: 36px;
  height: 38px;
  margin-right: 10px;
}
.wp-core-ui .tta-notice.tta-fd-notice.notice.is-dismissible p {
  padding: 4px;
  margin: 0;
}
.wp-core-ui .tta-notice.tta-fd-notice.notice.is-dismissible p #download_button {
  margin-left: 10px;
}

.atlasvoice-bg {
  background-color: #1a4548;
}

/* New custom css added on 11.12.2025 */

/* Style any existing cross/close icon in item-pill */
.item-pill::after,
.item-pill::before {
  cursor: pointer;
  color: rgba(255, 120, 83, 1) !important;
}

.item-pill:hover::after,
.item-pill:hover::before {
  color: rgb(232, 62, 14) !important;
}

.navbar-style {
  background: rgba(25, 69, 72, 1);
  padding: 1rem 1.5rem;
  margin-top: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

.audio-style {
  background: #9ef01a;
  border-radius: 8px;
  padding: 8px 10px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tta-text-style {
  color: white;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tta-pro-badge-style {
  background: #9ef01a;
  color: #1a4d4d;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

.tta-tab-style {
  background: rgba(49, 201, 187, 0.16);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 0px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.tta-tab-style:hover {
  background-color:  rgba(111, 214, 202, 0.42);
  color: white;
}

.tta-loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 24px;
  color: #666;
}

.tta_question_btn {
  background-color: rgba(255, 120, 83, 1);
  border: none;
}

.tta_question_btn:hover {
  background-color: rgb(232, 62, 14);
}

.tta_search_btn {
  background-color: rgba(255, 120, 83, 1);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 0.25rem;
  padding: 12px 30px;
}

.tta_search_btn:hover {
  background-color: rgb(232, 62, 14);
}

/* New custom css added on 12.12.2025 */

/* Integrations custom css */

/* Container */
/* as same as settings */

/* TTS Service Card Styles */
.tts-service-card {
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  height: 100%;
}

.tts-service-card:hover {
  /* border-color: #4285f4; */
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.1);
}

/* Google Cloud TTS Active State */

.tts-service-card.google-tts {
  background-color: rgba(75, 203, 255, 0.1);
}
.tts-service-card.google-tts.active {
  border: 2px solid rgba(75, 203, 255, 1);
  /* background-color: rgba(75, 203, 255, 0.1); */
}

/* ChatGPT TTS Active State */
.tts-service-card.chatgpt-tts {
  background-color: rgba(255, 237, 250, 1);
}
.tts-service-card.chatgpt-tts.active {
  border: 2px solid rgba(216, 45, 168, 1);
}

/* Service Icon Styles */
.tts-service-card .service-icon {
  flex-shrink: 0;
  border-radius: 8px;
  padding: 4px;
  display: inline-block;
  transition: all 0.2s ease-in-out;
  background-color: white !important;
}

/* Google Cloud Icon Border */
.tts-service-card.google-tts .service-icon {
  border: 2px solid rgba(75, 203, 255, 1);
}

/* ChatGPT Icon Border */
.tts-service-card.chatgpt-tts .service-icon {
  border: 2px solid rgba(255, 87, 157, 1); /* OpenAI pink color */
}

/* Active state for icons */
.tts-service-card.google-tts.active .service-icon {
  border-color: rgba(75, 203, 255, 1);
  background-color: rgba(75, 203, 255, 0.1);
}

.tts-service-card.chatgpt-tts.active .service-icon {
  border-color: rgba(255, 87, 157, 1);
  background-color: rgba(255, 237, 250, 1);
}

/* Other styles remain the same */
.tts-service-card h6 {
  font-weight: 600;
  color: #212529;
  font-size: 1rem;
}

.tts-service-card p {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Service Checkbox Base Styles */
.tts-service-card .service-checkbox {
  pointer-events: none;
}

.tts-service-card .service-checkbox .form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.25rem;
  border: 2px solid #dee2e6;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Remove ALL default Bootstrap checkbox styling - FORCE OVERRIDE */
.tts-service-card .service-checkbox .form-check-input:checked[type="checkbox"] {
  background-color: transparent !important;
  background-image: none !important;
  background-size: 0 !important;
  background-position: 0 0 !important;
  background-repeat: no-repeat !important;
  border-color: transparent !important;
  box-shadow: none !important;
  position: relative;
}

.tts-service-card .service-checkbox .form-check-input:checked[type="checkbox"]::before {
  content: none !important;
  display: none !important;
}

/* Google TTS authenticated state - ALWAYS show when authenticated */
.tts-service-card.google-tts.authenticated .service-checkbox .form-check-input {
  background-color: rgba(25, 69, 72, 1) !important;
  border-color: rgba(25, 69, 72, 1) !important;
  background-image: none !important;
}

/* ChatGPT TTS authenticated state - ALWAYS show when authenticated */
.tts-service-card.chatgpt-tts.authenticated .service-checkbox .form-check-input {
  background-color: rgba(216, 45, 168, 1) !important;
  border-color: rgba(216, 45, 168, 1) !important;
  background-image: none !important;
}

/* Add custom white checkmark - visible when authenticated */
.tts-service-card .service-checkbox .form-check-input:checked[type="checkbox"]::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  display: block;
  z-index: 10;
}

/* Google Upload Button */
.google-upload-btn {
  border: 2px dashed black !important;
  border-radius: 10px;
  background-color: #fff !important;
  color: #6c757d !important;
  font-weight: 500;
  padding: 0.75rem 0.15rem;
  transition: all 0.2s ease-in-out;
}

.google-upload-btn:hover {
  border-color: #4285f4 !important;
  background-color: #f8fbff !important;
  color: #4285f4 !important;
}

.google-upload-btn i {
  font-size: 1rem;
}

.google-upload-btn {
  box-shadow: none !important;
  outline: none !important;
}

.tta-yt-outline {
  outline: none !important;
  box-shadow: none !important;
}

/* Textarea Styling (matching Settings.js) */
.tta-textarea {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.9rem;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.tta-textarea:focus {
  border-color: #4285f4;
  box-shadow: 0 0 0 0.2rem rgba(66, 133, 244, 0.25);
  outline: 0;
}

.tta-textarea:disabled {
  background-color: #f8f9fa;
  opacity: 0.6;
  cursor: not-allowed;
}

/* Button Styles (matching .tta_btn from Settings) */
/* .tta_btn {
  background-color: #ff6b4a;
  border-color: #ff6b4a;
  color: #fff;
  font-weight: 500;
  padding: 0.625rem 2rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
  border: none;
} */

.tta_btn:hover,
.tta_btn:focus,
.tta_btn:active {
  background-color: #ff5533 !important;
  border-color: #ff5533 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(255, 107, 74, 0.3) !important;
}

/* Alert Customization */
.alert {
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

/* Form Control */
.form-control:focus {
  border-color: #4285f4;
  box-shadow: 0 0 0 0.2rem rgba(66, 133, 244, 0.25);
}

/* Link Styles */
a {
  color: #4285f4;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover {
  color: #2a6bd4;
}

.btn-link {
  color: #4285f4;
  text-decoration: none;
}

.btn-link:hover {
  color: #2a6bd4;
}

.btn-link.text-danger {
  color: #dc3545 !important;
}

.btn-link.text-danger:hover {
  color: #c82333 !important;
}

/* Button Variants */
.btn-outline-secondary {
  border-color: #dee2e6;
  color: #6c757d;
}

.btn-outline-secondary:hover {
  background-color: #f8f9fa;
  border-color: #adb5bd;
  color: #495057;
}

.btn-outline-danger {
  border-color: #dc3545;
  color: #dc3545;
}

.btn-outline-danger:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: #fff;
}

/* Loading Spinner (matching Settings.js) */
.tta-loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  font-size: 1.1rem;
  color: #6c757d;
}

/* Header Styles */
.fs-3 {
  font-size: 1.75rem !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.text-dark {
  color: #212529 !important;
}

.text-secondary {
  color: #6c757d !important;
}

.text-muted {
  color: #6c757d !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .tta-container {
    padding: 1rem 0.5rem;
  }

  .tta-card {
    padding: 1rem;
  }

  .setting-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .setting-label-area {
    width: 100%;
  }

  .tts-service-card {
    margin-bottom: 1rem;
  }

  .tta_btn {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .fs-3 {
    font-size: 1.5rem !important;
  }
}

/* New custom css added on 15.12.25 */

.tta_gpt_btn {
  background-color: rgba(255, 120, 83, 1) !important;
  border: none !important;
  font-weight: 500 !important;
  font-size: 1.1rem !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  color: #fff !important;
  cursor: pointer !important;
  border-radius: 0.375rem !important;
  transition: background-color 0.2s ease !important;
  box-shadow: none !important;
  outline: none !important;
}

.tta_gpt_btn:hover {
  background-color: rgb(232, 62, 14) !important;
}

.tta_gpt_input {
  background-color: #f8f9fa !important;
  border: 1px solid #dee2e6 !important;
  /* padding: 0.75rem 1rem !important; */
  border-radius: 0.375rem !important;
  color: #212529 !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out !important;
  box-shadow: none !important;
  outline: none !important;
}

.tta_gpt_input::placeholder {
  color: #6c757d !important;
  opacity: 1 !important;
}

.tta_gpt_input:disabled {
  background-color: #e9ecef !important;
  opacity: 0.65 !important;
  cursor: not-allowed !important;
}

/* New custom css added on 16.12.25 */

/* Tab Selector Wrapper */
.tta_tab-selector-wrapper {
  display: flex;
  gap: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.tta_tab-option {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border: 2px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  font-size: 16px;
}

.tta_tab-option:first-child {
  border-radius: 8px 0 0 8px;
  border-right-width: 1px;
}

.tta_tab-option:last-child {
  border-radius: 0 8px 8px 0;
  border-left-width: 1px;
}

.tta_tab-option:hover {
  background: #f9fafb;
}

.tta_tab-option-active {
  border-color: #ff6b6b;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.tta_tab-option:first-child.tta_tab-option-active {
  border-right-width: 2px;
  border-right-color: #ff6b6b;
}

.tta_tab-option:last-child.tta_tab-option-active {
  border-left-width: 2px;
  border-left-color: #ff6b6b;
}

.tta_tab-radio {
  width: 24px;
  height: 24px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.tta_tab-option-active .tta_tab-radio {
  border-color: #ff6b6b;
}

.tta_tab-option-active .tta_tab-radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #ff6b6b;
  border-radius: 50%;
}

.tta_tab-option span:last-child {
  font-size: 16px;
  font-weight: 500;
  color: #374151;
}

.tta_tab-option-active span:last-child {
  color: #ff6b6b;
}

/* Custom Textarea */
.tta_custom-textarea {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.tta_custom-textarea:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
  outline: none;
}

/* Listen Button */
.tta_listen-button {
  background: #ff6b6b;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.tta_listen-button:hover {
  background: #ff5252;
}

.tta_listen-button:active {
  transform: scale(0.98);
}

/* Shortcode Textarea */
.tta_shortcode-textarea {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  padding: 12px;
  resize: none;
}

.tta_shortcode-textarea:focus {
  background: #ffffff;
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
  outline: none;
}

/* Card Customization */
.tta-container .card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tta-container .card-body {
  padding: 24px;
}

/* Button Customization */
.tta-container .btn-primary {
  background: #ff6b6b;
  border-color: #ff6b6b;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tta-container .btn-primary:hover {
  background: #ff5252;
  border-color: #ff5252;
}

.tta-container .btn-primary:focus,
.tta-container .btn-primary:active {
  background: #ff5252;
  border-color: #ff5252;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.tta-container .btn-link {
  text-decoration: none;
}

.tta-container .btn-link:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* Typography */
.tta-container h4 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

.tta-container h5 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.tta-container h6 {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
}

.tta-container .text-muted {
  color: #6b7280 !important;
}

/* Icons */
.tta-container .fa-question-circle,
.tta-container .fa-youtube {
  font-size: 16px;
}

.tta-container .fa-cog {
  font-size: 18px;
  color: #ff6b6b;
}

.tta_shortcode_btn {
  display: inline-block;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: rgba(255, 120, 83, 1);
  border: 1px solid transparent;
  padding: 12px 32px;
  font-size: 16px;
  border-radius: 0.25rem;
}

/* Responsive */
@media (max-width: 991px) {
  .tta_tab-selector-wrapper {
    flex-direction: column;
  }

  .tta-container .card-body {
    padding: 16px;
  }
}

/* New css added on 17.12.25 */

.tta_player-customization-card {
  border: none !important;
  background: #ffffff !important;
  border-radius: 0.375rem !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.tta_player-customization-card .card-body {
  padding: 0 !important;
}

.tta_player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 0.375rem 0.375rem 0 0;
}

.tta_player-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.tta_player-toggle-btn {
  background: #ff6b6b;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #ffffff;
  font-size: 14px;
}

.tta_player-toggle-btn:hover {
  background: #ff5252;
  transform: scale(1.05);
}

.tta_player-toggle-btn:active {
  transform: scale(0.95);
}

.tta_player-content {
  padding: 1.5rem;
  background: #ffffff;
}

.tta_player-controls-row {
  margin-bottom: 0;
}

.tta_player-form-group {
  margin-bottom: 0;
}

.tta_player-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.tta_youtube-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff0000;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.2s ease;
}

.tta_youtube-link:hover {
  opacity: 0.8;
  color: #ff0000;
}

.tta_player-select {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s ease;
  height: 44px;
}

.tta_player-select:focus {
  background-color: #ffffff;
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
  outline: none;
}

.tta_player-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 24px 0;
}

.tta_question-icon {
  background-color: rgba(255, 120, 83, 1) !important;
  border: none;
  color: white;
  padding: 20px;
  margin-left: 4px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  cursor: help;
}

.tta_question-icon:hover {
  color: white;
  background: none;
  border: none;
}

.tta_question-icon:focus {
  box-shadow: none;
  background: none;
  border: none;
}

.tta_player-date-input {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s ease;
  height: 44px;
}

.tta_player-date-input:focus {
  background-color: #ffffff;
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
  outline: none;
}

/* Save Button Wrapper */
.tta_save-button-wrapper {
  margin-top: 24px;
  display: flex;
  justify-content: flex-start;
}

.tta_save-btn {
  background-color: rgba(255, 120, 83, 1);
  color: #ffffff;
  border: none;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tta_save-btn:hover {
  background-color: rgb(232, 62, 14);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 120, 83, 0.3);
}

.tta_save-btn:active {
  transform: translateY(0);
}

.tta_custom_css_textarea {
  height: 200px;
  min-height: 100px;
  font-family: monospace; /* Optional: makes it better for code */
  font-size: 14px;
  resize: vertical; /* Allows users to resize vertically */
}

/* Responsive */
@media (max-width: 991px) {
  .tta_tab-selector-wrapper {
    flex-direction: column;
  }

  .tta-container .card-body {
    padding: 1rem;
  }

  .tta_player-header {
    padding: 1rem 1.25rem;
  }

  .tta_player-content {
    padding: 1.25rem;
  }
}

@media (max-width: 767px) {
  .tta_player-controls-row {
    row-gap: 16px;
  }

  .tta_tab-option {
    padding: 14px 20px;
    font-size: 15px;
  }
}

.tta_color_group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tta_color_label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: #333;
}

.tta_color_input_wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tta_color_picker_icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tta_color_picker_icon input[type="color"] {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  border: none;
  cursor: pointer;
}

.tta_color_display {
  width: 80px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
}

.tta_section_title {
  font-weight: 600;
  font-size: 15px;
  margin-top: 5px;
  margin-bottom: 5px;
  color: #333;
}

.tta_input_row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.tta_input_group {
  flex: 1;
}

.tta_input_label {
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 8px;
  color: #666;
}

.tta_number_input {
  height: 40px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  padding: 0 12px;
  font-size: 14px;
}

.tta_number_input:focus {
  border-color: #ff8a80;
  box-shadow: none;
}

.tta_color_palette {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.tta_color_palette_item {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tta_color_palette_item input[type="color"] {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  border: none;
  cursor: pointer;
}

.tta_custom_css_textarea {
  width: 100%;
  min-height: 200px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  padding: 12px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  resize: vertical;
}

.tta_custom_css_textarea:focus {
  border-color: #ff8a80;
  box-shadow: none;
}

.tta_color_swatch_clickable {
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.tta_color_swatch_clickable:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tta_save_button {
  width: 100%;
  height: 50px;
  background-color: #ff8a80;
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.tta_save_button:hover {
  background-color: #ff6e63;
}

.tta_colors_row {
  display: flex;
  /* gap: 20px; */
  /* margin-bottom: 24px; */
}

.tta_color_item {
  flex: 1;
}


/* new css added on 18.12.25 */

/* Paintbrush Icon Styling - Using Figma SVG */

/* Color picker wrapper */
.tta_color_input_wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tube icon container */
.tta_color_picker_icon {
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
}

/* Hide the default color input but keep it functional */
.tta_color_picker_icon input[type="color"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
  border: none;
}

/* Paintbrush icon using exact Figma SVG */
.tta_color_picker_icon::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2123_23109)'%3E%3Cpath d='M14.2492 1.75C13.2492 0.75 11.6492 0.75 10.6992 1.75L8.84922 3.6C8.29922 3.35 7.59922 3.4 7.14922 3.9C6.54922 4.5 6.54922 5.45 7.14922 6.05L2.84922 10.35C2.54922 10.65 2.39922 11.05 2.39922 11.5L1.39922 12.5C0.799219 13.1 0.799219 14.05 1.39922 14.65C1.74922 14.85 2.09922 15 2.49922 15C2.89922 15 3.24922 14.85 3.54922 14.55L4.54922 13.55C4.94922 13.6 5.39922 13.4 5.69922 13.1L9.99922 8.8C10.2992 9.1 10.6992 9.25 11.0492 9.25C11.4492 9.25 11.7992 9.1 12.0992 8.8C12.5492 8.35 12.6492 7.65 12.3992 7.1L14.2492 5.25C15.2492 4.3 15.2492 2.7 14.2492 1.75ZM9.29922 8.15L7.44922 10H4.54922L7.84922 6.7L9.29922 8.15Z' fill='%23FF6366'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2123_23109'%3E%3Crect width='16' height='16' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}

/* Hover effect */
.tta_color_picker_icon:hover {
  border-color: #ff8a80;
  background-color: #fff5f5;
}

/* Color display box */
.tta_color_input_wrapper .tta_color_display {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tta_color_input_wrapper .tta_color_display:hover {
  border-color: #ff8a80;
  transform: scale(1.05);
}

/* Border color palette */
.tta_color_palette {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tta_color_palette_item {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
}

.tta_color_palette_item input[type="color"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
  border: none;
}

/* Paintbrush icon for border color picker using Figma SVG */
.tta_color_palette_item::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2123_23109)'%3E%3Cpath d='M14.2492 1.75C13.2492 0.75 11.6492 0.75 10.6992 1.75L8.84922 3.6C8.29922 3.35 7.59922 3.4 7.14922 3.9C6.54922 4.5 6.54922 5.45 7.14922 6.05L2.84922 10.35C2.54922 10.65 2.39922 11.05 2.39922 11.5L1.39922 12.5C0.799219 13.1 0.799219 14.05 1.39922 14.65C1.74922 14.85 2.09922 15 2.49922 15C2.89922 15 3.24922 14.85 3.54922 14.55L4.54922 13.55C4.94922 13.6 5.39922 13.4 5.69922 13.1L9.99922 8.8C10.2992 9.1 10.6992 9.25 11.0492 9.25C11.4492 9.25 11.7992 9.1 12.0992 8.8C12.5492 8.35 12.6492 7.65 12.3992 7.1L14.2492 5.25C15.2492 4.3 15.2492 2.7 14.2492 1.75ZM9.29922 8.15L7.44922 10H4.54922L7.84922 6.7L9.29922 8.15Z' fill='%23FF6366'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2123_23109'%3E%3Crect width='16' height='16' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}

.tta_color_palette_item:hover {
  border-color: #ff8a80;
  background-color: #fff5f5;
}

/* Clickable color swatches */
.tta_color_swatch_clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
}

.tta_color_swatch_clickable:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border-color: #ff8a80;
}



/* new css added on 19.12.25  */


/* Listening Page Styles */

/* Language Selector */
.tta-language-selector {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  transition: all 0.2s ease-in-out;
}

.tta-language-selector:hover {
  border-color: #4285f4;
  background-color: #f8fbff;
}

.tta-flag-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tta-flag-icon img {
  border-radius: 0.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Search Button */
.tta-search-btn {
  color: #ff6b4a;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
}

.tta-search-btn:hover {
  background-color: #fff5f3;
  color: #ff5533;
}

.tta-search-btn i {
  font-size: 1rem;
}

/* Language Mapping Row */
.tta-language-mapping-row {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
}

.tta-language-mapping-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Language Code Box */
.tta-language-code-box {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  padding: 0.625rem 1rem;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.tta-language-code {
  font-weight: 600;
  color: #495057;
  font-size: 0.95rem;
  text-transform: uppercase;
}

/* Language Select Dropdown */
.tta-language-select {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.9rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  background-color: #fff;
}

.tta-language-select:focus {
  border-color: #4285f4;
  box-shadow: 0 0 0 0.2rem rgba(66, 133, 244, 0.25);
  outline: 0;
}

.tta-language-select option {
  padding: 0.5rem;
}

/* Responsive Adjustments for Language Mapping */
@media (max-width: 767.98px) {
  .tta-language-mapping-row .col-md-4 {
    margin-bottom: 0.75rem;
  }

  .tta-language-mapping-row .col-md-4:last-child {
    margin-bottom: 0;
  }

  .tta-search-btn {
    width: 100%;
    text-align: center;
    margin-top: 0.75rem;
  }

  .tta-language-selector {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 991.98px) {
  .tta-language-code-box {
    margin-bottom: 0.75rem;
  }
}

/* Check Circle Icon Color */
.text-primary.bi-check-circle-fill {
  color: #4285f4 !important;
}

/* Enhanced Select Styling */
.tta-language-select:hover {
  border-color: #adb5bd;
}

.tta-language-select:disabled {
  background-color: #f8f9fa;
  opacity: 0.6;
  cursor: not-allowed;
}

/* Flag Icon Responsive */
@media (max-width: 575.98px) {
  .tta-flag-icon img {
    width: 28px;
    height: 21px;
  }
}


/* css added on 23.12.25 */
/* and */
/* css added on 29.12.25 */

/* ======================================
   Listening Component Styles
   ====================================== */

.tta_listening_header {
  margin-bottom: 2rem;
}

.tta_listening_title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.tta_listening_subtitle {
  font-size: 0.9375rem;
  color: #6b7280;
  margin-bottom: 0;
}

/* ======================================
   NEW LAYOUT - Default & Default Pro Players
   ====================================== */

/* Voice Cards - Side by Side */
.tta_voice_card {
  background: #ffffff;
  /* border: 2px solid #FF7853; */
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
}

.tta_voice_card_title {
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 1rem;
}

.tta_voice_select_wrapper {
  position: relative;
}

.tta_voice_flag {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 2;
}

.tta_orange_voice_select,
.tta_orange_speak_select {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 3rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.375 0H4.125C1.465 0 0 1.465 0 4.125V15.375C0 18.035 1.465 19.5 4.125 19.5H15.375C18.035 19.5 19.5 18.035 19.5 15.375V4.125C19.5 1.465 18.035 0 15.375 0ZM18 15.375C18 17.215 17.215 18 15.375 18H4.125C2.285 18 1.5 17.215 1.5 15.375V4.125C1.5 2.285 2.285 1.5 4.125 1.5H15.375C17.215 1.5 18 2.285 18 4.125V15.375ZM13.28 8.21997C13.573 8.51297 13.573 8.98801 13.28 9.28101L10.28 12.281C10.134 12.427 9.942 12.501 9.75 12.501C9.558 12.501 9.36597 12.428 9.21997 12.281L6.21997 9.28101C5.92697 8.98801 5.92697 8.51297 6.21997 8.21997C6.51297 7.92697 6.98801 7.92697 7.28101 8.21997L9.75098 10.6899L12.2209 8.21997C12.5129 7.92697 12.987 7.92697 13.28 8.21997Z' fill='%23FF7853'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.tta_orange_speak_select {
  padding: 0.75rem 2.5rem 0.75rem 1rem;
}

.tta_orange_voice_select:focus,
.tta_orange_speak_select:focus {
  border-color: #FF7853;
  box-shadow: 0 0 0 3px rgba(255, 120, 83, 0.1);
  outline: none;
}

.tta_orange_voice_select:hover,
.tta_orange_speak_select:hover {
  border-color: #FF8555;
}

/* Sliders Card - Combined Speed and Volume with NEW DESIGN */
.tta_sliders_card {
  background: #ffffff;
  /* border: 2px solid #FF7853; */
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.tta_slider_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.tta_slider_label {
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 0;
}

.tta_slider_value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  padding: 0.375rem 0.875rem;
  background: #FF7853;
  border-radius: 6px;
  min-width: 50px;
  text-align: center;
}

/* NEW SLIDER DESIGN - with tick marks */
.tta_slider_container {
  position: relative;
  margin-bottom: 0.75rem;
}

.tta_new_slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  position: relative;
  z-index: 2;
}

.tta_new_slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  background: #1C87FF;
  border-radius: 3px;
}

.tta_new_slider::-moz-range-track {
  width: 100%;
  height: 6px;
  background: #1C87FF;
  border-radius: 3px;
}

.tta_new_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FF7853;
  cursor: pointer;
  margin-top: -9px;
  box-shadow: 0 2px 6px rgba(255, 120, 83, 0.4);
  transition: all 0.2s ease;
  position: relative;
  z-index: 3;
}

.tta_new_slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 10px rgba(255, 120, 83, 0.6);
}

.tta_new_slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FF7853;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(255, 120, 83, 0.4);
  transition: all 0.2s ease;
  position: relative;
  z-index: 3;
}

.tta_new_slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 10px rgba(255, 120, 83, 0.6);
}

/* Tick marks container */
.tta_slider_ticks {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 1;
}

.tta_slider_tick {
  width: 2px;
  height: 16px;
  background: #015FC9;
  border-radius: 1px;
}

/* Slider labels */
.tta_slider_labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  padding: 0 2px;
}

/* Pitch Card */
.tta_pitch_card {
  background: #ffffff;
  /* border: 2px solid #FF7853; */
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.tta_pitch_label {
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 1rem;
  display: block;
}

.tta_pitch_buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.tta_pitch_btn {
  position: relative;
  padding: 0.875rem 1rem;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tta_pitch_btn:hover {
  border-color: #FF7853;
  background: #FFF5F2;
  color: #000000;
}

.tta_pitch_btn_active {
  background: #ffffff;
  border-color: #FF7853;
  color: #000000;
}

.tta_pitch_check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tta_pitch_check i {
  color: #ffffff;
  font-size: 6px;
}

/* Hidden select */
.tta_hidden_select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tta_pitch_buttons {
    grid-template-columns: 1fr;
  }
  
  .tta_slider_labels {
    font-size: 0.75rem;
  }
  
  .tta_slider_labels span:nth-child(even) {
    display: none;
  }
}

/* ======================================
   ORIGINAL LAYOUT - For Other Players
   ====================================== */

/* Preference Section */
.tta_preference_section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: box-shadow 0.2s ease;
}

.tta_preference_section:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Section Header */
.tta_section_header {
  margin-bottom: 1rem;
}

.tta_section_label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tta_pro_badge {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Language Selector */
.tta_language_selector_wrapper {
  position: relative;
}

.tta_language_display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tta_language_display:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.tta_language_flag {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tta_language_name {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1f2937;
}

.tta_language_check_btn {
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tta_language_check_btn:hover {
  background: #059669;
  color: #ffffff;
  transform: scale(1.1);
}

/* Search Input */
.tta_search_wrapper {
  margin-bottom: 0.75rem;
}

.tta_search_icon {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: #9ca3af;
}

.tta_search_input {
  border: 1px solid #e5e7eb;
  border-left: none;
  border-radius: 0 8px 8px 0;
  font-size: 0.875rem;
  padding: 0.625rem 0.875rem;
}

.tta_search_input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Language Dropdown */
.tta_language_dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
}

.tta_language_option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.15s ease;
  font-size: 0.875rem;
  color: #374151;
}

.tta_language_option:hover {
  background: #f3f4f6;
}

.tta_no_results {
  padding: 1rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

.tta_hidden_select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
}

/* Info Message */
.tta_info_message {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #1e40af;
  margin-top: 0.75rem;
}

.tta_info_message i {
  margin-top: 0.125rem;
  font-size: 1rem;
}

/* Form Elements */
.tta_form_label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.625rem;
  display: block;
}

.tta_form_select {
  font-size: 0.875rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.tta_form_select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Audio Player */
.tta_audio_player_wrapper {
  margin-top: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
}

.tta_audio_player {
  width: 100%;
  height: 40px;
}

/* Google TTS Audio Player - Blue Styling (like Figma design) */
.tta_google_audio_player_card {
  /* background: linear-gradient(135deg, #1C87FF 0%, #0066DD 100%); */
  border-radius: 12px;
  padding: 0.5rem;
  margin-bottom: 1.25rem;
  /* box-shadow: 0 4px 12px rgba(28, 135, 255, 0.2); */
}

.tta_google_audio_player {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  /* background: rgba(255, 255, 255, 0.1); */
  /* backdrop-filter: blur(10px); */
}

/* Custom audio player controls styling for Google TTS */
.tta_google_audio_player::-webkit-media-controls-panel {
  background: rgba(28, 135, 255, 1);
  border-radius: 8px;
}

.tta_google_audio_player::-webkit-media-controls-play-button,
.tta_google_audio_player::-webkit-media-controls-pause-button {
  /* background-color: #1C87FF; */
  border-radius: 50%;
}

.tta_google_audio_player::-webkit-media-controls-current-time-display,
.tta_google_audio_player::-webkit-media-controls-time-remaining-display {
  /* color: #1C87FF; */
  font-weight: 500;
}

.tta_google_audio_player::-webkit-media-controls-timeline {
  /* background: #E5F0FF; */
  border-radius: 4px;
}

.tta_google_audio_player::-webkit-media-controls-volume-slider {
  /* background: #000000; */
  border-radius: 4px;
}


/* ======================================
   ChatGPT TTS Specific Styles
   ====================================== */

/* ChatGPT Voice Speed Card - Blue Design */
.tta_chatgpt_speed_card {
  /* background: #ffffff; */
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.tta_chatgpt_speed_card .tta_slider_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.tta_chatgpt_speed_card .tta_slider_label {
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 0;
}

.tta_chatgpt_slider_value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  padding: 0.375rem 0.875rem;
  background: #FF7853;
  border-radius: 6px;
  min-width: 50px;
  text-align: center;
}

/* ChatGPT Slider Container */
.tta_chatgpt_speed_card .tta_slider_container {
  position: relative;
  margin-bottom: 0.75rem;
}

/* ChatGPT Blue Slider */
.tta_chatgpt_slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  position: relative;
  z-index: 2;
}

.tta_chatgpt_slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  background: #1C87FF;
  border-radius: 3px;
}

.tta_chatgpt_slider::-moz-range-track {
  width: 100%;
  height: 6px;
  background: #1C87FF;
  border-radius: 3px;
}

.tta_chatgpt_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FF7853;
  cursor: pointer;
  margin-top: -9px;
  box-shadow: 0 2px 6px rgba(255, 120, 83, 0.4);
  transition: all 0.2s ease;
  position: relative;
  z-index: 3;
}

.tta_chatgpt_slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 10px rgba(255, 120, 83, 0.6);
}

.tta_chatgpt_slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FF7853;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(255, 120, 83, 0.4);
  transition: all 0.2s ease;
  position: relative;
  z-index: 3;
}

.tta_chatgpt_slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 10px rgba(255, 120, 83, 0.6);
}

/* ChatGPT Slider Tick Marks */
.tta_chatgpt_slider_ticks {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 1;
}

.tta_chatgpt_slider_ticks .tta_slider_tick {
  width: 2px;
  height: 16px;
  background: #015FC9;
  border-radius: 1px;
}

/* ChatGPT Slider Labels */
.tta_chatgpt_slider_labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  padding: 0 2px;
}

/* ChatGPT Audio Player - Blue Styling */
.tta_chatgpt_audio_player_card {
  /* background: linear-gradient(135deg, #1C87FF 0%, #0066DD 100%);
  border-radius: 12px;
  padding: 0.5rem; */
  
  margin-bottom: 1.25rem;
  /* box-shadow: 0 4px 12px rgba(28, 135, 255, 0.2); */
}

.tta_chatgpt_audio_player {
  width: 100%;
  height: 54px;
  border-radius: 8px;
  /* background: rgba(0, 38, 255, 0.1); */
  
  /* backdrop-filter: blur(10px); */
}

/* Custom audio player controls styling for ChatGPT TTS */
.tta_chatgpt_audio_player::-webkit-media-controls-panel {
  /* background: rgba(255, 255, 255, 0.95); */
   background: rgba(28, 135, 255, 1);
  border-radius: 8px;
}

.tta_chatgpt_audio_player::-webkit-media-controls-play-button,
.tta_chatgpt_audio_player::-webkit-media-controls-pause-button {
  /* background-color: #1C87FF; */
  border-radius: 50%;
}

.tta_chatgpt_audio_player::-webkit-media-controls-current-time-display,
.tta_chatgpt_audio_player::-webkit-media-controls-time-remaining-display {
  /* color: #1C87FF; */
  font-weight: 600;
  font-size: 0.9375rem;
}

.tta_chatgpt_audio_player::-webkit-media-controls-timeline {
  /* background: #E5F0FF; */
  border-radius: 4px;
}

.tta_chatgpt_audio_player::-webkit-media-controls-volume-slider {
  /* background: #E5F0FF; */
  border-radius: 4px;
}

/* Responsive adjustments for ChatGPT TTS */
@media (max-width: 768px) {
  .tta_chatgpt_slider_labels span:nth-child(even) {
    display: none;
  }
  
  .tta_chatgpt_slider_labels {
    font-size: 0.75rem;
  }
}


/* Language Mapping Card */
.tta_language_mapping_card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

.tta_language_mapping_card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: #d1d5db;
}

.tta_mapping_row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.tta_mapping_col {
  display: flex;
  flex-direction: column;
}

.tta_mapping_label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.tta_mapping_input_wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.tta_mapping_flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* .tta_mapping_select {
  flex: 1;
  font-size: 0.875rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.tta_mapping_select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
} */

/* .tta_delete_mapping_btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #fee2e2;
  border: none;
  border-radius: 6px;
  color: #ef4444;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tta_delete_mapping_btn:hover {
  background: #fecaca;
  color: #dc2626;
  transform: scale(1.05);
} */

/* Orange styling for select dropdowns in language mapping */
/* 
.tta_orange_select_wrapper {
  position: relative;
} */

.tta_orange_voice_select {
  padding: 10px 35px 10px 40px !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.375 0H4.125C1.465 0 0 1.465 0 4.125V15.375C0 18.035 1.465 19.5 4.125 19.5H15.375C18.035 19.5 19.5 18.035 19.5 15.375V4.125C19.5 1.465 18.035 0 15.375 0ZM18 15.375C18 17.215 17.215 18 15.375 18H4.125C2.285 18 1.5 17.215 1.5 15.375V4.125C1.5 2.285 2.285 1.5 4.125 1.5H15.375C17.215 1.5 18 2.285 18 4.125V15.375ZM13.28 8.21997C13.573 8.51297 13.573 8.98801 13.28 9.28101L10.28 12.281C10.134 12.427 9.942 12.501 9.75 12.501C9.558 12.501 9.36597 12.428 9.21997 12.281L6.21997 9.28101C5.92697 8.98801 5.92697 8.51297 6.21997 8.21997C6.51297 7.92697 6.98801 7.92697 7.28101 8.21997L9.75098 10.6899L12.2209 8.21997C12.5129 7.92697 12.987 7.92697 13.28 8.21997Z' fill='%23FF7853'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
}


.tta_orange_select {
  padding: 10px 35px 10px 12px !important;
  font-size: 12px !important;
  transition: all 0.3s ease !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.375 0H4.125C1.465 0 0 1.465 0 4.125V15.375C0 18.035 1.465 19.5 4.125 19.5H15.375C18.035 19.5 19.5 18.035 19.5 15.375V4.125C19.5 1.465 18.035 0 15.375 0ZM18 15.375C18 17.215 17.215 18 15.375 18H4.125C2.285 18 1.5 17.215 1.5 15.375V4.125C1.5 2.285 2.285 1.5 4.125 1.5H15.375C17.215 1.5 18 2.285 18 4.125V15.375ZM13.28 8.21997C13.573 8.51297 13.573 8.98801 13.28 9.28101L10.28 12.281C10.134 12.427 9.942 12.501 9.75 12.501C9.558 12.501 9.36597 12.428 9.21997 12.281L6.21997 9.28101C5.92697 8.98801 5.92697 8.51297 6.21997 8.21997C6.51297 7.92697 6.98801 7.92697 7.28101 8.21997L9.75098 10.6899L12.2209 8.21997C12.5129 7.92697 12.987 7.92697 13.28 8.21997Z' fill='%23FF7853'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
}

.tta_orange_speak_select{
  padding: 10px 35px 10px 12px !important;
  font-size: 12px !important;
  transition: all 0.3s ease !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.375 0H4.125C1.465 0 0 1.465 0 4.125V15.375C0 18.035 1.465 19.5 4.125 19.5H15.375C18.035 19.5 19.5 18.035 19.5 15.375V4.125C19.5 1.465 18.035 0 15.375 0ZM18 15.375C18 17.215 17.215 18 15.375 18H4.125C2.285 18 1.5 17.215 1.5 15.375V4.125C1.5 2.285 2.285 1.5 4.125 1.5H15.375C17.215 1.5 18 2.285 18 4.125V15.375ZM13.28 8.21997C13.573 8.51297 13.573 8.98801 13.28 9.28101L10.28 12.281C10.134 12.427 9.942 12.501 9.75 12.501C9.558 12.501 9.36597 12.428 9.21997 12.281L6.21997 9.28101C5.92697 8.98801 5.92697 8.51297 6.21997 8.21997C6.51297 7.92697 6.98801 7.92697 7.28101 8.21997L9.75098 10.6899L12.2209 8.21997C12.5129 7.92697 12.987 7.92697 13.28 8.21997Z' fill='%23FF7853'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;


}
/* .tta_orange_select:hover {
  border-color: #ff8555 !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1) !important;
}

.tta_orange_select:focus {
  border-color: #ff6b35 !important;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2) !important;
  outline: none !important;
} */

/* Optional: Style the dropdown arrow container */
/* .tta_orange_select_wrapper::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ff6b35;
} */

/* Responsive Design */
@media (max-width: 768px) {
  .tta_listening_title {
    font-size: 1.5rem;
  }

  .tta_preference_section {
    padding: 1.25rem;
  }

  .tta_mapping_row {
    grid-template-columns: 1fr;
  }

  .tta_pitch_buttons {
    flex-direction: column;
  }

  .tta_delete_mapping_btn {
    position: static;
    margin-top: 1rem;
    width: 100%;
  }
}

/* Animations */
@keyframes tta_fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tta_language_dropdown {
  animation: tta_fadeIn 0.2s ease;
}

.tta_language_mapping_card {
  animation: tta_fadeIn 0.3s ease;
}

/* Focus States */
.tta_form_select:focus,
.tta_search_input:focus,
.tta_mapping_select:focus {
  outline: none;
}

/* Custom Scrollbar for Dropdown */
.tta_language_dropdown::-webkit-scrollbar {
  width: 8px;
}

.tta_language_dropdown::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 4px;
}

.tta_language_dropdown::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.tta_language_dropdown::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}


/* ======================================
   ANALYTICS PAGE - FIGMA EXACT MATCH
   ====================================== */

/* ===== ANALYTICS HEADER CARD ===== */
.tta_analytics_header_card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tta_analytics_header_content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.tta_analytics_header_left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tta_analytics_title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.tta_analytics_subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.tta_analytics_header_right {
  display: flex;
  align-items: center;
}

.tta_date_badge {
  background: #f3f4f6;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

/* ===== SUMMARY CARD ===== */
.tta_summary_card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tta_summary_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tta_summary_header_left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tta_summary_title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.tta_total_interactions_badge {
  background: #fef3c7;
  color: #92400e;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.tta_timeframe_badge {
  background: #f3f4f6;
  color: #374151;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== STAT CARDS - REDUCED HEIGHT ===== */
.tta_stat_cards_container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.625rem;
}

.tta_stat_card {
  padding: 0.625rem 0.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 65px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tta_stat_card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tta_stat_label {
  font-size: 0.7rem;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 0.375rem;
  text-transform: capitalize;
  line-height: 1.2;
}

.tta_stat_value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1;
}

/* Stat Card Colors - Match Figma */
.tta_stat_posts {
  background: #dbeafe;
}

.tta_stat_init {
  background: #fef3c7;
}

.tta_stat_play {
  background: #fce7f3;
}

.tta_stat_time {
  background: #e0e7ff;
}

.tta_stat_pause {
  background: #f3e8ff;
}

.tta_stat_download {
  background: #fee2e2;
}

.tta_stat_end {
  background: #fce7f3;
}

/* ===== CHART CARD STYLING ===== */
.tta_chart_card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tta_chart_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.tta_chart_title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.tta_chart_container {
  position: relative;
  height: 350px;
  width: 100%;
}

#playingTrendChart {
  width: 100% !important;
  height: 100% !important;
}

/* ===== CHARTS SECTION ===== */
.tta_charts_section {
  margin-bottom: 1.25rem;
}

/* #atlasVoice_analytics {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
} */

/* ===== BOTTOM SECTION (Track Posts + Popular Posts) ===== */
.tta_bottom_section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.tta_track_posts_card,
.tta_popular_posts_card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tta_card_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.tta_section_title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.tta_date_range_small {
  background: #f3f4f6;
  color: #374151;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== MULTISELECT & SEARCH SECTION ===== */
.tta_multiselect_wrapper {
  margin-bottom: 1.25rem;
}

.tta_form_label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.tta_remove_tag {
  color: #ef4444;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

.tta_search_section {
  margin-bottom: 1.25rem;
}

.tta_search_input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 0.625rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tta_search_input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tta_date_inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.tta_search_btn {
  width: 100%;
  background: #FF7853;
  color: white;
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.tta_search_btn:hover {
  background: #e66943;
  transform: translateY(-1px);
}

/* ===== METRICS TABLE ===== */
.tta_metrics_table {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.tta_table_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #e5e7eb;
}

.tta_table_row:last-child {
  border-bottom: none;
}

.tta_table_header_row {
  background: #3b82f6;
}

.tta_table_header_row .tta_table_cell {
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.tta_table_row:nth-child(even):not(.tta_table_header_row) {
  background: #f9fafb;
}

.tta_table_cell {
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: #374151;
  border-right: 1px solid #e5e7eb;
}

.tta_table_cell:last-child {
  border-right: none;
}

/* ===== POPULAR POSTS TABLE ===== */
.tta_popular_table {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.tta_popular_header_row {
  background: #3b82f6;
  display: grid;
  grid-template-columns: 0.5fr 2fr 1fr;
}

.tta_popular_header_row .tta_table_cell {
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.tta_popular_table .tta_table_row:not(.tta_popular_header_row) {
  display: grid;
  grid-template-columns: 0.5fr 2fr 1fr;
}

/* ===== PRO NOTICE ===== */
.tta_pro_notice {
  text-align: center;
  padding: 2rem 1rem;
}

.tta_pro_notice p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.tta_pro_link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.tta_pro_link:hover {
  text-decoration: underline;
}

/* ===== SAVE BUTTON ===== */
.tta_save_button_wrapper {
  text-align: center;
  margin-bottom: 2rem;
}

.tta_btn {
  background: #FF7853;
  color: white;
  padding: 0.75rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tta_btn:hover {
  background: #e66943;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 120, 83, 0.3);
}

.tta_btn:active {
  transform: translateY(0);
}

/* ===== LOADING STATE ===== */
.tta-loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: #ffffff;
  border-radius: 12px;
  margin: 1.25rem 0;
}

.tta-loading-spinner div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  color: #6b7280;
  font-weight: 500;
}

.tta-loading-spinner i {
  font-size: 1.5rem;
  color: #FF7853;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .tta_stat_cards_container {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .tta_bottom_section {
    grid-template-columns: 1fr;
  }
  
  .tta_chart_container {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .tta_analytics_header_content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .tta_summary_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .tta_stat_cards_container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tta_stat_card {
    min-height: 60px;
    padding: 0.5rem;
  }
  
  .tta_stat_label {
    font-size: 0.65rem;
    margin-bottom: 0.25rem;
  }
  
  .tta_stat_value {
    font-size: 1rem;
  }
  
  .tta_date_inputs {
    grid-template-columns: 1fr;
  }
  
  .tta_popular_table .tta_table_row,
  .tta_popular_header_row {
    grid-template-columns: 0.5fr 1.5fr 1fr;
  }
  
  .tta_chart_container {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .tta_stat_cards_container {
    grid-template-columns: 1fr;
  }
  
  .tta_analytics_title {
    font-size: 1.5rem;
  }
  
  .tta_track_posts_card,
  .tta_popular_posts_card {
    padding: 1rem;
  }
  
  .tta_stat_card {
    min-height: 55px;
  }
  
  .tta_chart_container {
    height: 220px;
  }
}



/* Aliases Component Styles - Following Settings Layout Structure */
 
/* Header Card */
.tta_aliases_header_card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
 
.tta_aliases_title {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
}
 
.tta_aliases_description {
    font-size: 14px;
    line-height: 1.5;
    color: #6c757d;
    margin: 0;
}
 
/* Main Aliases Card */
.tta_aliases_card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
 
/* Table Header */
.tta_aliases_table_header {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}
 
.tta_aliases_column_header {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    padding-left: 4px;
}
 
.tta_aliases_column_header_action {
    width: 50px;
}
 
/* Table Rows */
.tta_aliases_row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    margin-bottom: 12px;
    align-items: center;
}
 
.tta_aliases_input_wrapper {
    flex: 1;
}
 
.tta_aliases_input {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}
 
.tta_aliases_input:focus {
    outline: none;
    border-color: #0d6efd;
    background-color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}
 
.tta_aliases_input::placeholder {
    color: #adb5bd;
    font-size: 14px;
}
 
.tta_aliases_action_wrapper {
    width: 50px;
    display: flex;
    justify-content: center;
}
 
.tta_aliases_delete_btn {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background-color: #ff8c61;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
 
.tta_aliases_delete_btn:hover {
    background-color: #ff7a4d;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}
 
.tta_aliases_delete_btn:active {
    transform: translateY(0);
}
 
.tta_aliases_delete_btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}
 
/* Actions Section (Add New and Save Buttons) */
.tta_aliases_actions_section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}
 
.tta_aliases_add_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #0d6efd;
    background-color: #ffffff;
    border: 2px solid #0d6efd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}
 
.tta_aliases_add_btn:hover {
    background-color: #0d6efd;
    color: #ffffff;
}
 
.tta_aliases_add_btn:active {
    transform: scale(0.98);
}
 
.tta_aliases_add_icon {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}
 
.tta_aliases_save_btn {
    min-width: 120px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: #ff8c61;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 140, 97, 0.3);
}
 
.tta_aliases_save_btn:hover {
    background-color: #ff7a4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 97, 0.4);
}
 
.tta_aliases_save_btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 140, 97, 0.3);
}
 
/* Loading State */
.tta_aliases_loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    font-size: 18px;
    color: #6c757d;
}
 
.tta_aliases_loading i {
    margin-right: 8px;
    font-size: 24px;
}
 
.tta_aliases_loading_text {
    margin-left: 8px;
}
 
/* Responsive Design */
@media (max-width: 768px) {
    .tta_aliases_header_card {
        padding: 16px;
        margin-bottom: 12px;
    }
 
    .tta_aliases_title {
        font-size: 20px;
    }
 
    .tta_aliases_card {
        padding: 16px;
    }
 
    .tta_aliases_row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-bottom: 12px;
        margin-bottom: 16px;
        border-bottom: 1px solid #e9ecef;
    }
 
    .tta_aliases_table_header {
        display: none;
    }
 
    .tta_aliases_action_wrapper {
        width: 100%;
        justify-content: flex-end;
    }
 
    .tta_aliases_actions_section {
        flex-direction: column;
        gap: 12px;
    }
 
    .tta_aliases_add_btn,
    .tta_aliases_save_btn {
        width: 100%;
        justify-content: center;
    }
}
 
/* Override Bootstrap form-control styles */
.tta_aliases_input.form-control {
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background-color: #f8f9fa;
}
 
.tta_aliases_input.form-control:focus {
    border-color: #0d6efd;
    background-color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* ======================================
   Enhanced Analytics Dashboard Styles
   Added on 28.01.2026
   ====================================== */

/* Analytics Header Card */
.tta_analytics_header_card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tta_analytics_header_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.tta_analytics_header_left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tta_analytics_header_right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tta_analytics_title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.tta_analytics_subtitle {
    color: #6b7280;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 0;
}

.tta_date_badge {
    background: #f3f4f6;
    color: #374151;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

/* Global Date Range Picker */
.tta_global_date_picker {
    position: relative;
}

.tta_date_badge_clickable {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.tta_date_badge_clickable:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.tta_date_icon {
    flex-shrink: 0;
}

.tta_date_text {
    white-space: nowrap;
}

.tta_dropdown_arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.tta_global_date_picker.show .tta_dropdown_arrow {
    transform: rotate(180deg);
}

.tta_date_dropdown_menu {
    min-width: 280px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: 8px !important;
}

.tta_date_presets_label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px 4px;
    margin-bottom: 4px;
}

.tta_date_preset_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    color: #374151;
    font-size: 14px;
    transition: all 0.15s ease;
}

.tta_date_preset_item:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.tta_date_preset_item.active {
    background: #fef3f0;
    color: #FF7853;
    font-weight: 500;
}

.tta_check_icon {
    color: #FF7853;
}

/* Custom Date Range Styles */
.tta_custom_date_divider {
    height: 1px;
    background: #e5e7eb;
    margin: 12px 0;
}

.tta_custom_date_label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 12px 8px;
}

.tta_custom_date_inputs {
    display: flex;
    gap: 12px;
    padding: 0 12px;
    margin-bottom: 12px;
}

.tta_date_input_group {
    flex: 1;
}

.tta_date_input_group label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 4px;
}

.tta_date_input_group input[type="date"] {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #374151;
}

.tta_date_input_group input[type="date"]:focus {
    border-color: #FF7853;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 120, 83, 0.1);
}

.tta_apply_custom_btn {
    width: calc(100% - 24px);
    margin: 0 12px 8px;
    padding: 10px 16px;
    background: #FF7853;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tta_apply_custom_btn:hover {
    background: #e6684a;
}

.tta_apply_custom_btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

/* Analytics Card Base */
.tta_analytics_card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tta_card_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.tta_section_title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.tta_date_select {
    width: auto;
    min-width: 140px;
    padding: 6px 12px;
    font-size: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background-color: #f9fafb;
}

.tta_date_select:focus {
    border-color: #FF7853;
    box-shadow: 0 0 0 2px rgba(255, 120, 83, 0.1);
}

/* Summary Cards */
.tta_summary_card {
    background: #1a4548;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    color: #ffffff;
}

.tta_summary_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.tta_summary_header_left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tta_summary_title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.tta_total_interactions_badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tta_timeframe_badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #ffffff;
}

.tta_stat_cards_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.tta_stat_card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    position: relative;
    transition: transform 0.2s, background 0.2s;
}

.tta_stat_card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.tta_stat_label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tta_stat_value {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.tta_stat_change {
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.tta_stat_change_up {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.tta_stat_change_down {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.tta_stat_pro_badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #FF7853;
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Color classes for stat cards */
.tta_stat_posts { border-left: 3px solid #3b82f6; }
.tta_stat_init { border-left: 3px solid #8b5cf6; }
.tta_stat_play { border-left: 3px solid #10b981; }
.tta_stat_time { border-left: 3px solid #f59e0b; }
.tta_stat_pause { border-left: 3px solid #ef4444; }
.tta_stat_download { border-left: 3px solid #06b6d4; }
.tta_stat_end { border-left: 3px solid #ec4899; }
.tta_stat_bounce { border-left: 3px solid #f97316; }

/* Pro Feature Overlay */
.tta_pro_feature_wrapper {
    position: relative;
}

.tta_pro_feature_content {
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
}

.tta_pro_feature_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 10;
}

.tta_pro_feature_notice {
    text-align: center;
    padding: 32px;
    max-width: 320px;
}

.tta_pro_feature_icon {
    width: 56px;
    height: 56px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #6b7280;
}

.tta_pro_feature_title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.tta_pro_feature_description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.5;
}

.tta_pro_feature_btn {
    display: inline-block;
    background: #FF7853;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.tta_pro_feature_btn:hover {
    background: #e5683f;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Engagement Funnel */
.tta_funnel_container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tta_funnel_stage {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tta_funnel_stage_label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.tta_funnel_stage_name {
    font-weight: 500;
    color: #374151;
}

.tta_funnel_stage_count {
    color: #6b7280;
    font-size: 12px;
}

.tta_funnel_bar_container {
    background: #f3f4f6;
    border-radius: 4px;
    height: 24px;
    overflow: hidden;
}

.tta_funnel_bar {
    height: 100%;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    min-width: 40px;
    transition: width 0.5s ease;
}

.tta_funnel_percentage {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
}

.tta_funnel_insights {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.tta_funnel_insight_item {
    display: flex;
    gap: 6px;
    font-size: 13px;
}

.tta_insight_label {
    color: #6b7280;
}

.tta_insight_value {
    font-weight: 600;
    color: #1f2937;
}

.tta_insight_warning {
    color: #f59e0b;
}

/* Listener Segments */
.tta_segments_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.tta_segments_chart_wrapper {
    width: 180px;
    height: 180px;
}

.tta_segments_demo_chart {
    width: 100%;
    height: 100%;
}

.tta_donut_chart {
    width: 100%;
    height: 100%;
}

.tta_segments_legend {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.tta_legend_item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.tta_legend_color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.tta_legend_label {
    color: #6b7280;
}

.tta_legend_value {
    font-weight: 600;
    color: #1f2937;
}

.tta_segments_stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.tta_segment_stat {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.tta_segment_stat_label {
    color: #6b7280;
}

.tta_segment_stat_value {
    font-weight: 600;
    color: #1f2937;
}

/* Analytics List (OS, Device, Browser) */
.tta_analytics_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tta_analytics_list_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 8px;
    transition: background 0.2s;
}

.tta_analytics_list_item:hover {
    background: #f3f4f6;
}

.tta_analytics_list_icon {
    font-size: 18px;
    width: 28px;
    text-align: center;
}

.tta_analytics_list_name {
    flex: 1;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.tta_analytics_list_count {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.tta_analytics_list_more {
    text-align: center;
    padding-top: 12px;
}

.tta_view_more_link {
    color: #FF7853;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.tta_view_more_link:hover {
    color: #e5683f;
    text-decoration: underline;
}

/* Browser Analytics */
.tta_browser_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tta_browser_list_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 8px;
}

.tta_browser_info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tta_browser_icon {
    font-size: 16px;
}

.tta_browser_name {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.tta_browser_stats {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tta_browser_count {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.tta_browser_percentage {
    font-size: 12px;
    color: #6b7280;
}

/* Location Analytics */
.tta_location_section {
    margin-bottom: 20px;
}

.tta_location_section:last-child {
    margin-bottom: 0;
}

.tta_location_section_title {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tta_location_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tta_location_list_item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 8px;
}

.tta_location_flag {
    font-size: 18px;
}

.tta_location_name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.tta_location_count {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.tta_location_cities_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.tta_location_cities_promo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 13px;
    color: #92400e;
}

.tta_pro_badge_small {
    background: #FF7853;
    color: #ffffff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Playing Trend Chart */
.tta_trend_chart_card .tta_card_header {
    flex-wrap: wrap;
}

.tta_chart_header_left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tta_comparison_toggle {
    display: flex;
    align-items: center;
}

.tta_comparison_checkbox {
    font-size: 13px;
    color: #6b7280;
}

.tta_comparison_promo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fef3c7;
    border-radius: 6px;
    font-size: 12px;
    color: #92400e;
    margin-bottom: 16px;
}

.tta_chart_container {
    margin-bottom: 16px;
}

.tta_chart_legend_info {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.tta_legend_info_item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

.tta_legend_dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Peak Hours Heatmap */
.tta_heatmap_container {
    overflow-x: auto;
}

.tta_heatmap_row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.tta_heatmap_header {
    margin-bottom: 8px;
}

.tta_heatmap_label {
    width: 50px;
    font-size: 12px;
    color: #6b7280;
    flex-shrink: 0;
}

.tta_heatmap_day_label {
    width: 40px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
}

.tta_heatmap_hour_label {
    text-align: right;
    padding-right: 8px;
}

.tta_heatmap_cell {
    width: 40px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.tta_heatmap_cell:hover {
    transform: scale(1.1);
}

.tta_heatmap_legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.tta_heatmap_legend_label {
    font-size: 12px;
    color: #6b7280;
}

.tta_heatmap_legend_scale {
    display: flex;
    gap: 2px;
}

.tta_heatmap_legend_color {
    width: 20px;
    height: 12px;
    border-radius: 2px;
}

.tta_heatmap_insight {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: #f0fdf4;
    border-radius: 8px;
    font-size: 13px;
    color: #166534;
}

.tta_insight_icon {
    font-size: 16px;
}

.tta_insight_text strong {
    color: #15803d;
}

/* Track Post IDs */
.tta_track_posts_card .tta_multiselect_wrapper {
    margin-bottom: 16px;
}

.tta_form_label {
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tta_remove_tag {
    color: #ef4444;
    cursor: pointer;
    font-weight: 600;
}

.tta_search_section {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tta_search_input {
    flex: 1;
    min-width: 120px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
}

.tta_search_input:focus {
    border-color: #FF7853;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 120, 83, 0.1);
}

.tta_date_inputs {
    display: flex;
    gap: 8px;
    flex: 2;
}

.tta_search_info {
    padding: 12px 16px;
    background: #e0f2fe;
    border-radius: 8px;
    font-size: 14px;
    color: #0369a1;
    margin-bottom: 16px;
}

.tta_insights_container {
    min-height: 20px;
}

/* Metrics Table */
.tta_metrics_table {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.tta_table_row {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
}

.tta_table_row:last-child {
    border-bottom: none;
}

.tta_table_header_row {
    background: #1a4548;
    color: #ffffff;
}

.tta_table_header_row .tta_table_cell {
    font-weight: 600;
}

.tta_table_cell {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tta_table_cell:first-child {
    flex: 2;
}

.tta_pro_badge_inline {
    background: #FF7853;
    color: #ffffff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.tta_metrics_pro_upsell {
    text-align: center;
    padding: 16px;
    background: #fef3c7;
    border-top: 1px solid #fcd34d;
}

.tta_metrics_pro_upsell a {
    color: #92400e;
    font-weight: 500;
    text-decoration: none;
}

.tta_metrics_pro_upsell a:hover {
    text-decoration: underline;
}

/* Popular Posts */
.tta_popular_table {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.tta_popular_header_row {
    background: #1a4548;
    color: #ffffff;
}

.tta_popular_header_row .tta_table_cell {
    font-weight: 600;
    font-size: 13px;
}

.tta_rank_cell {
    flex: 0 0 60px !important;
}

.tta_title_cell {
    flex: 3 !important;
}

.tta_score_cell {
    flex: 1 !important;
    justify-content: flex-end;
}

.tta_rank_badge {
    font-weight: 600;
    color: #6b7280;
}

.tta_rank_1 {
    color: #f59e0b;
}

.tta_rank_2 {
    color: #9ca3af;
}

.tta_rank_3 {
    color: #cd7f32;
}

.tta_top_post {
    background: #fefce8;
}

.tta_popular_more {
    text-align: center;
    padding: 12px;
}

.tta_view_all_btn {
    background: none;
    border: none;
    color: #FF7853;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.tta_view_all_btn:hover {
    text-decoration: underline;
}

.tta_empty_state {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

/* Export Section */
.tta_export_section {
    position: relative;
}

.tta_export_buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tta_export_btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    transition: all 0.2s;
}

.tta_export_btn:hover {
    border-color: #FF7853;
    color: #FF7853;
    background: #fff5f2;
}

.tta_export_btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tta_export_pro_badge {
    background: #FF7853;
    color: #ffffff;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Analytics Row Spacing */
.tta_analytics_row {
    margin-bottom: 20px;
}

.tta_analytics_row > [class*="col-"] {
    margin-bottom: 20px;
}

/* Analytics Disabled Message */
.tta_analytics_disabled_message {
    padding: 60px 20px;
    text-align: center;
}

.tta_disabled_content {
    max-width: 400px;
    margin: 0 auto;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
}

.tta_disabled_icon {
    color: #9ca3af;
    margin-bottom: 20px;
}

.tta_disabled_content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.tta_disabled_content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Loading Spinner */
.tta_loading_container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.tta_loading_spinner {
    text-align: center;
}

.tta_spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #FF7853;
    border-radius: 50%;
    animation: tta_spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes tta_spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Save Button Wrapper */
.tta_save_button_wrapper {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

/* Pro Notice */
.tta_pro_notice {
    background: #fef3c7;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.tta_pro_notice p {
    margin: 0;
    font-size: 14px;
    color: #92400e;
}

.tta_pro_link {
    color: #FF7853;
    font-weight: 600;
    text-decoration: none;
}

.tta_pro_link:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .tta_analytics_header_content {
        flex-direction: column;
        align-items: flex-start;
    }

    .tta_stat_cards_container {
        grid-template-columns: repeat(3, 1fr);
    }

    .tta_location_cities_list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .tta_analytics_header_card {
        padding: 16px;
    }

    .tta_analytics_title {
        font-size: 20px;
    }

    .tta_stat_cards_container {
        grid-template-columns: repeat(2, 1fr);
    }

    .tta_search_section {
        flex-direction: column;
    }

    .tta_date_inputs {
        flex: 1;
    }

    .tta_segments_legend {
        flex-direction: column;
        gap: 8px;
    }

    .tta_heatmap_cell {
        width: 30px;
        height: 22px;
    }

    .tta_heatmap_day_label,
    .tta_heatmap_label {
        font-size: 10px;
    }

    .tta_table_cell {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .tta_stat_cards_container {
        grid-template-columns: 1fr;
    }

    .tta_export_buttons {
        flex-wrap: wrap;
    }
}

