#cool-auto-translate-btn:before {
  padding-right: 5px !important;
}

#cool-auto-translate-btn:after {
  content: "LocoAI";
  display: block;
  font-size: 10px;
  font-weight: bold;
  font-family: monospace;
  position: absolute;
  bottom: -6px;
  left: -1px;
  background: #129412;
  width: calc(100% + 2px);
  height: 12px;
  line-height: 12px;
  color: #fff;
  text-align: center;
  border-radius: 0 0 4px 4px;
}

div.ui-dialog[aria-describedby="loco-apis-batch"] .ui-widget-header {
  border: none !important; 
  background: none !important;
  border-bottom: 1px solid #dcdcde !important;
  border-radius: 0 !important;
  font-weight: 500 !important;
  padding: 6px 10px;
  height: auto;
  line-height: normal;
}

div.ui-dialog[aria-describedby="loco-apis-batch"] span.ui-button-icon.ui-icon.ui-icon-closethick {
  display: none;
}

div.ui-dialog[aria-describedby="loco-apis-batch"]{
  font-family: inherit !important;
  border-radius: 0 !important;
}

div.ui-dialog[aria-describedby="loco-apis-batch"] .ui-button.ui-dialog-titlebar-close{
  right: 15px;
  top: 12px !important;
  border-radius: 0 !important;
  height: 30px !important;
  width: 20px !important;
  margin: -10px 0 0 0;
}

body.rtl .ui-dialog[aria-describedby="loco-apis-batch"] .ui-widget-header {  
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}
body.rtl div.ui-dialog[aria-describedby="loco-apis-batch"] .ui-button.ui-dialog-titlebar-close{
  left: 15px; /* Positions the button 15px from the left */
  right: auto; /* Removes the right positioning */
  margin: -10px 0 0 0;
  display: flex;
  flex-direction: row-reverse;
}

/* Modal Styles */
.atlt_custom_model {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.75);
  align-items: center;
  justify-content: center;
}

.atlt_custom_model .modal-content {
  position: relative;
  background-color: #fefefe;
  width: 80%;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation-name: animatetop;
  animation-duration: 0.4s;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

/* Keyframes */
@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

.yandex-widget-container .atlt_actions button:not([disabled]):before {
  font-family: dashicons;
  content: "\f345";
  display: inline-block;
  font-size: 24px;
  line-height: 26px;
  vertical-align: middle;
  left: -20px;
  position: absolute;
  color: #fff;
  animation: moveit 5s infinite;
  -webkit-animation: moveit 1s infinite;
}

/* Keyframes for Action Button */
@keyframes moveit {
  from {
    left: -22px;
  }
  to {
    left: -10px;
  }
}

/* Modal Body Styles */
.atlt_custom_model .modal-body {
  padding: 2px 16px;
  position: relative;
  padding-top: 14px;
}
.atlt_custom_model .notice-dismiss {
  padding: 0;
}

.atlt_custom_model h3 {
  width: 100%;
  display: inline-block;
  font-size: 22px;
  padding: 0;
  margin: 20px 0 10px;
  color: #5cb85c;
}

#translate_element {
  margin-bottom: 25px;
}

/* String Container Styles */
.atlt_custom_model .atlt_string_container {
  overflow-y: scroll;
  overflow-x: hidden;
  height: calc(100vh - 390px);
  width: 100%;
  position: relative;
}

/* Table Styles */
.atlt_custom_model table {
  border-spacing: 0;
  border-collapse: collapse;
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  padding: 0;
  margin: 0;
}

.atlt_custom_model table td:first-child,
.atlt_custom_model table th:first-child {
  width: 60px;
  text-align: center;
}

.atlt_custom_model table td,
.atlt_custom_model table th {
  border: 1px solid #ddd;
  padding: 4px;
  height: 26px;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
  line-height: 14px;
  overflow: hidden;
  vertical-align: middle;
}

.atlt_custom_model .atlt_translate_warning-massage {
  position: absolute;
  display: none;
  top: 0;
  left: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  width: calc(100% - 22px);
  border-radius: 3px;
  height: 100%;
  z-index: 9;
  box-sizing: border-box;
  font-size: 16px;
}

.atlt_custom_model .atlt_translate_warning-massage .warning-massage-wrapper {
  z-index: 10;
  width: 60%;
  max-height: 80vh;
  padding: 15px;
  background-color: #fff;
  position: absolute;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  display: flex;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow-y: auto;
}

.atlt_custom_model .atlt_translate_warning-massage .warning-massage-wrapper .warning-massage-content{
  width: 100%;
}

.atlt_custom_model .atlt_translate_warning-massage .warning-massage-wrapper h2 {
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.4;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.atlt_custom_model .atlt_translate_warning-massage .warning-massage-wrapper .atlt-partial-translation-hint {
  margin: 0 0 8px;
  padding: 0 8px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  text-align: center;
  color: #000;
}

.atlt_custom_model .atlt_translate_warning-massage .warning-massage-wrapper .close-button {
  position: absolute;
  top: -7px;
  right: 0;
  font-weight: 700;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #000;
  z-index: 11;
}

.atlt_custom_model .atlt_translate_warning-massage .warning-massage-wrapper .close-button:hover {
  color: #f00;
}

/* Strings modal */


.atlt_custom_model .atlt-modern-header {
  background: #ffffff !important;
  border-bottom: 1px solid #eef2f7;
  padding: 18px 22px 14px;
  height: auto !important;
  max-height: unset !important;
}

.atlt_custom_model .atlt-modern-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.atlt_custom_model .atlt-modern-step {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--wp-admin-theme-color, #2271b1);
  text-transform: uppercase;
}

.atlt_custom_model .atlt-modern-title {
  margin: 0px;
}
.atlt_custom_model .atlt-modern-close {
  width: 36px;
  height: 36px;
  cursor: pointer;
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 8px;
  color: #64748b;
}

.atlt_custom_model .atlt-modern-close:before {
  font-family: dashicons;
  content: "\f158";
  display: block;
  font-size: 22px;
  line-height: 36px;
  color: currentColor;
  text-align: center;
}

.atlt_custom_model .atlt-modern-close:hover {
  background: #f1f5f9;
  color: #334155;
}

.atlt_custom_model .atlt-modern-close:focus-visible {
  outline: 2px solid var(--wp-admin-theme-color, #2271b1);
  outline-offset: 2px;
}

.atlt_custom_model .atlt-modern-alert {
  margin: 14px 22px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px !important;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.5;
}

.atlt_custom_model .atlt-modern-alert a {
  color: var(--wp-admin-theme-color, #2271b1);
  text-decoration: none;
  font-weight: 700;
}

.atlt_custom_model .atlt-modern-alert a:hover {
  text-decoration: underline;
}

.atlt_custom_model .atlt-modern-alert--warning {
  background: rgb(255 251 235);
  border: 1px solid rgb(254 243 199);
  color: rgb(154 52 18);
}

.atlt_custom_model .atlt-modern-alert-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.atlt_custom_model .atlt-modern-alert--info .atlt-modern-alert-icon {
  background: var(--wp-admin-theme-color, #2271b1);
  color: #fff;
}

.atlt_custom_model .atlt-modern-alert--warning .atlt-modern-alert-icon {
  background: #f97316;
  color: #fff;
}

.atlt_custom_model .atlt-modern-alert-close {
  margin-left: auto;
  width: 24px;
  height: 24px;
  cursor: pointer;
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
  top: -5px;
  right: 0;
}

.atlt_custom_model .atlt-modern-alert-close:before {
  content: "×";
  display: block;
  font-size: 26px;
  color: #9a3412;
  text-align: center;
}

.atlt_custom_model .atlt-modern-alert-close:hover {
  color: #7c2d12;
}



.atlt_custom_model .my_translate_progress,
.atlt_custom_model .my_translate_progress.atlt_translate_progress {
  position: absolute;
  display: none;
  inset: 0;
  z-index: 9;
  box-sizing: border-box;
  padding: 32px 32px 40px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
  text-align: center;
  border-radius: 0;
  width: 100%;
  left: 0;
}

.atlt_custom_model .my_translate_progress .my_translate_progress_content {
  width: 70%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
}

.atlt_custom_model .my_translate_progress .atlt-progress-line {
  display: block;
  text-align: center;
  max-width: 100%;
}

.atlt_custom_model .my_translate_progress .atlt-progress-spacer {
  height: 18px;
}

.atlt_custom_model .my_translate_progress .progress-wrapper {
  width: 100%;
  text-align: initial;
  margin: 0;
  display: block;
}

.atlt_custom_model .my_translate_progress .progress-container {
  width: 100%;
  margin: 16px auto 0;
  background-color: #cbd5e1;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  background-image: linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.28) 25%,
      rgba(0, 0, 0, 0.04) 25%,
      rgba(0, 0, 0, 0.04) 50%,
      rgba(255, 255, 255, 0.28) 50%,
      rgba(255, 255, 255, 0.28) 75%,
      rgba(0, 0, 0, 0.04) 75%,
      rgba(0, 0, 0, 0.04)
  );
  background-size: 40px 40px;
  animation: progress-stripes 1s linear infinite;
}

.atlt_custom_model .my_translate_progress .progress-bar {
  background-color: var(--wp-admin-theme-color, #2271b1);
  transition: width 0.4s ease;
  background-image: none;
  animation: none;
  border-radius: 999px;
}

.atlt_custom_model .my_translate_progress .atlt-animated-dots {
  display: inline-block;
  vertical-align: baseline;
}

.atlt_custom_model .my_translate_progress .atlt-animated-dots span {
  display: inline-block;
  opacity: 0.25;
  animation: atlt-dot-bounce 1.05s infinite ease-in-out;
}

.atlt_custom_model .my_translate_progress .atlt-animated-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.atlt_custom_model .my_translate_progress .atlt-animated-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes atlt-dot-bounce {
  0%,
  80%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.atlt_custom_model .modal-footer {
  background: #f8fafc;
  border-top: 1px solid #eef2f7;
  padding: 0 22px;
  position: static;
  width: auto;
  height: 66px;
  max-height: 66px;
  overflow: hidden;
  display: flex;
}

.atlt_custom_model .atlt-modern-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

.atlt_custom_model .atlt-modern-footer .save_btn_cont {
  flex-shrink: 0;
  margin-left: auto;
}

.atlt_custom_model .modal-footer .atlt_actions {
  position: static;
  margin: 0;
}

.atlt_custom_model .modal-footer .atlt-modern-alert {
  margin: 0;
  flex: 1 1 auto;
  padding: 0 !important;
  align-items: center;
}

.atlt_custom_model .modal-footer .atlt-modern-alert .atlt-modern-alert-body {
  font-size: 12px;
}

.atlt_custom_model .modal-footer .atlt-modern-alert-icon {
  margin-top: 0;
}

.atlt_custom_model .atlt-modern-primary {
  min-height: 40px;
  padding-inline: 16px;
  border-radius: 10px;
  font-weight: 600;
}

/* Hide Google Translate Banner */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

/* Hide the First Option in Google Translate Combo */
.goog-te-combo option:first-child {
  display: none;
}

#yt-widget .yt-listbox__text {
  line-height: 14px !important;
}

#yt-widget .yt-listbox__input:not(:checked) ~ .yt-listbox__text {
  display: none !important;
}

/* Loco Hint Styles */
#loco-hint .loco-api.loco-api-loco_auto {
  display: none;
}

/* Merge Translations Loading Overlay */
html.merge-translations:before {
  content: "Merging Translations.....";
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999990;
  color: #fff;
  font-size: 28px;
  text-align: center;
  padding-top: 50px;
}

.ui-dialog.loco-modal.addtranslations {
  border: 6px solid #5cb85c;
}

@media screen and (max-width: 769px) {
  .atlt_custom_model .atlt_string_container {
    height: calc(100vh - 570px);
  }

  .atlt_custom_model .modal-header h2 {
    margin-bottom: 0px;
  }

  .atlt_custom_model .atlt_save_strings {
    line-height: 20px;
    min-height: 30px !important;
  }

  .yandex-widget-container .atlt_actions button:not([disabled]):before{
    line-height: 21px;
  }
}

@media screen and (max-width: 1024px) {
  .ui-dialog-titlebar {
    font-size: 15px;
    line-height: 2.5;
  }
}

  /* progress-bar */
.progress-container {
  width: 60%;
  margin: 20px auto;
  background-color: #f3f3f3;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  width: 0%; 
  height: 20px;
  background-color: #4caf50;
  text-align: center;
  color: white;
  transition: width 1s;
  position: relative;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 40px 40px;
  animation: progress-stripes 1s linear infinite; /* Add animation */
}

@keyframes progress-stripes {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 0;
  }
}

.progress-bar span {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  color: white; 
  font-weight: 600;
}

.progress-wrapper {
  text-align: center;
  margin: 20px auto;
  display: none;
}

.yandex-widget-container .translator-widget,
.openai-widget-container .translator-widget {
  display: flex;
  justify-content: center;
  align-items: center;
}
.yandex-widget-container .yandex-widget-body .yandex-translation-info,
.openai-widget-container .openai-widget-body .openai-translation-info {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  font-size: 14px;
  color: #555;
  font-weight: 500;
}
/* Translation Provider Table Styles */

.ui-dialog {
  border-radius: 8px !important;
  box-shadow: none !important;
}


.atlt-provider-selector__step {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wp-admin-theme-color, #2271b1);;
}

.atlt-provider-selector__title {
  margin: 0 0 8px;
  padding-right: 36px;
  font-size: 20px;
  font-weight: 700;
  color: #1d2327;
  line-height: 1.25;
}

.atlt-provider-selector__subtitle {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.45;
  color: #646970;
  max-width: 52em;
}

.atlt-provider-selector__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
  padding: 14px 28px 18px;
}

@media screen and (max-width: 700px) {
  .atlt-provider-selector__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 460px) {
  .atlt-provider-selector__grid {
    grid-template-columns: 1fr;
  }
}

.atlt-provider-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, opacity .15s ease;
  outline: none;
}

.atlt-provider-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 0;
  margin-bottom: 10px;
}

.atlt-provider-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.atlt-provider-card.is-selected {
  border: 2px solid var(--wp-admin-theme-color, #2271b1);
  box-shadow: none;
}

.atlt-provider-card.is-disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.atlt-provider-card.is-disabled:hover {
  border-color: #e5e7eb;
  box-shadow: none;
  transform: none;
}

.atlt-provider-card__radio {
  position: relative;
  top: 0;
  right: 0;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #c3c4c7;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}

.atlt-provider-card.is-selected .atlt-provider-card__radio {
  border-color: var(--wp-admin-theme-color, #2271b1);
  box-shadow: inset 0 0 0 3px #fff;
  background: radial-gradient(circle, var(--wp-admin-theme-color, #2271b1) 0%, var(--wp-admin-theme-color, #2271b1) 45%, #fff 46%, #fff 100%);
}

.atlt-provider-card__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-bottom: 0;
  line-height: 0;
}

.atlt-provider-card__icon {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.atlt-provider-card__name {
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 4px;
  padding-right: 0;
  flex: 1 1 auto;
}

.atlt-provider-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 12px;
  gap: 12px;
}

.atlt-provider-card__docs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  color: #475569;
  text-decoration: none;
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 999px;
}

.atlt-provider-card__docs:hover {
  color: #0f172a;
  text-decoration: none;
}

.atlt-provider-card__docs img {
  width: 16px;
  height: 16px;
}

.atlt-provider-card__buypro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  white-space: nowrap;
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.atlt-provider-card__buypro:hover {
  background: #ffedd5 ;
  color: #9a3412;
}

.atlt-provider-card__buypro--info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.atlt-provider-card__buypro--info:hover {
  background: #dbeafe;
  color: #1e40af;
}

.atlt-provider-selector__footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 0;
  padding: 16px 28px 22px;
  background: #f8fafc;
  border-top: 1px solid #eef2f7;
}

.atlt-provider-selector__start.button.button-primary {
  border-radius: 10px;
  padding: 0 16px;
  font-size: 15px;
  cursor: pointer;
  min-width: 170px;
  background: var(--wp-admin-theme-color, #2271b1);
  border-color: var(--wp-admin-theme-color, #2271b1);
  color: #fff;
}

.atlt-provider-selector__start.button.button-primary:hover {
  background: var(--wp-admin-theme-color-darker-10, #135e96);
  border-color: var(--wp-admin-theme-color-darker-10, #135e96);
}

.atlt-provider-selector__start.button.button-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.atlt-provider-hidden-actions {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Keep hidden action buttons usable for programmatic .trigger("click") */
.atlt-provider-hidden-actions .atlt-hidden-action {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Overlay-based provider modal (same interaction model as TranslatePress) */
body.atlt-provider-modal-open {
  overflow: hidden;
}

.atlt-provider-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #000000d4;
  backdrop-filter: blur(2px);
}

.atlt-provider-overlay .atlt-provider-modal.atlt-provider-selector {
  width: auto;
  min-width: 580px;
  max-height: none;
  overflow: hidden;
  background: #f8f9fa;
  border-radius: 14px;
  box-shadow: 0 20px 70px rgba(15, 23, 42, 0.22);
  padding: 0;
  position: relative;
}

.atlt-provider-overlay .atlt-provider-selector__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  color: #64748b;
  font-size: 20px;
  line-height: 32px;
}

.atlt-provider-overlay .atlt-provider-selector {
  max-height: none;
  overflow: visible;
}

.atlt-provider-selector__header {
  padding: 26px 28px 14px;
  margin: 0;
}

@media (max-width: 782px) {
  .atlt_custom_model .my_translate_progress, .atlt_custom_model .my_translate_progress.atlt_translate_progress {
    font-size: 10px;
  }
  .yandex-widget-container .yandex-widget-body .yandex-translation-info, .openai-widget-container .openai-widget-body .openai-translation-info {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .atlt_custom_model .modal-footer .atlt_stats{
    display: none !important;
  }
  .atlt-provider-selector__start.button.button-primary {
    font-size: 13px;
    min-width: 140px;
  }
  .atlt-provider-card__name {
    font-size: 13px;
  }
  .atlt-provider-card {
    padding: 30px 10px 70px 11px;
  }
  .atlt-provider-selector__step {
    font-size: 10px;
    font-weight: 600;
  }
  .atlt-provider-selector__title {
    font-size: 15px;
  }
  .atlt-provider-selector__grid {
    grid-template-columns: 1fr;
    padding-inline: 18px;
    overflow-y: scroll;
    height: 250px;
  }
  .atlt-provider-selector__header {
    padding-inline: 18px;
  }
  .atlt-provider-overlay .atlt-provider-modal.atlt-provider-selector {
    min-width: auto;
    width: 100%;
    max-width: 560px;
  }
}

.atlt-provider-overlay.atlt-rtl .atlt-provider-selector__close {
  right: auto;
  left: 10px;
}

.atlt-provider-overlay.atlt-rtl .atlt-provider-card__radio {
  right: 0;
  left: 0;
}

.atlt-provider-overlay.atlt-rtl .atlt-provider-card__name {
  padding-right: 0;
  padding-left: 0;
}
