@charset "UTF-8";

.loading-img{
display:none;
margin:0;
padding:0;
position:fixed;
right:0;
top:0;
width:100%;
height:100%;
z-index:30001;
opacity:0.5;
background-color:#eaeaea;
}

#fadeandscale{
background-color:#fff;
width:530px;
overflow:hidden;
-webkit-transform:scale(0.8);
-moz-transform:scale(0.8);
-ms-transform:scale(0.8);
transform:scale(0.8);
}

.image-translate-popup{
width:600px;
display:none;
}

.account-today-translation-page .trichdan-tab-icon {
  width: 20px;
}

.account-today-translation-page .translator-placeholder-avatar {
  width: 50px;
}

.account-today-translation-page .mokr-order-preview-hidden {
  display: none;
}

.account-today-translation-page .today-image-progress {
  width: 300px;
}

.account-today-translation-page .channel-meta1 {
  margin-bottom: 10px;
}

.account-today-translation-page.trichdan .channel-strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto 26px;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #f7fbff 58%, #effaf5 100%);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

.account-today-translation-page.trichdan .channel-strip::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #1b75bb, #00a884);
}

.account-today-translation-page.trichdan .channel-strip * {
  box-sizing: border-box;
}

.account-today-translation-page.trichdan .channel-left {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.account-today-translation-page.trichdan .channel-logo {
  box-sizing: border-box;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid #cfe2ff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(27, 117, 187, 0.14);
}

.account-today-translation-page.trichdan .channel-logo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.account-today-translation-page.trichdan .channel-name {
  min-width: 0;
}

.account-today-translation-page.trichdan .channel-kicker {
  margin-bottom: 4px;
  color: #0f766e;
  font-size: 13px;
  font-weight:600;
  line-height: 1.25;
  text-transform: uppercase;
}

.account-today-translation-page.trichdan .channel-name h2 {
  margin: 0 0 9px;
  color: #152033;
  font-size: 24px;
  font-weight:600;
  line-height: 1.18;
  letter-spacing: 0;
}

.account-today-translation-page.trichdan .channel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #667085;
  font-size: 14px;
  line-height: 1.35;
}

.account-today-translation-page.trichdan .channel-pill {
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid #cfe9ff;
  border-radius: 999px;
  background: #eaf6ff;
  color: #0b6faf;
  font-weight:600;
}

.account-today-translation-page.trichdan .language-pair {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: min(100%, 360px);
  padding: 6px 10px;
  border: 1px solid #cfe9ff;
  border-radius: 999px;
  background: #eaf6ff;
  color: #0b6faf;
  font-weight:600;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  white-space: normal;
  word-break: normal;
}

.account-today-translation-page.trichdan .language-pair b {
  flex: 0 0 auto;
  font-weight:600;
}

.account-today-translation-page.trichdan .channel-url {
  max-width: 420px;
  overflow: hidden;
  color: #667085;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-today-translation-page.trichdan .open-channel {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #1b75bb;
  border-radius: 10px;
  background: #1b75bb;
  color: #fff;
  font-size: 14px;
  font-weight:600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(27, 117, 187, 0.2);
}

.account-today-translation-page.trichdan .open-channel:hover {
  border-color: #145f98;
  background: #145f98;
  color: #fff;
}

.account-today-translation-page .loading-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 5px;
  border: 3px solid #ccc;
  border-top-color: #007bff;
  border-radius: 50%;
  vertical-align: middle;
  animation: mok-spin 1s linear infinite;
}

.account-today-translation-page .imginput .custom-file-label {
  position: absolute;
  top: auto;
  right: 0;
  left: 0;
  z-index: 1;
  width: clamp(86px, 18%, 132px);
  height: auto;
  margin: 0;
  border: none;
  border-radius: 50px;
  padding: 0;
  background: none;
  color: #495057;
  font-weight: 400;
}

.account-today-translation-page .imginput .custom-file-label::after {
  content: attr(data-label);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem);
  padding: 0.375rem 0.75rem;
  border-left: inherit;
  border-radius: 50px;
  background-color: #727f72;
  color: #fff;
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
}

@keyframes mok-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .account-today-translation-page.trichdan .channel-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
  }

  .account-today-translation-page.trichdan .channel-left {
    align-items: flex-start;
    width: 100%;
    gap: 12px;
  }

  .account-today-translation-page.trichdan .channel-logo {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
    border-radius: 10px;
  }

  .account-today-translation-page.trichdan .channel-name h2 {
    font-size: 19px;
  }

  .account-today-translation-page.trichdan .channel-kicker {
    font-size: 12px;
  }

  .account-today-translation-page.trichdan .channel-url {
    width: 100%;
    max-width: 100%;
  }

  .account-today-translation-page.trichdan .open-channel {
    width: 100%;
  }
}
