    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      /*background: radial-gradient(circle at top, #1e293b, #020617 55%);*/
      background: white;
      color: #e5e7eb;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* HEADER */
    .site-header {
      display: flex;
      align-items: center;
       justify-content: center;
    gap: 30px;
      padding: 10px 24px;
      border-bottom: 1px solid rgba(148,163,184,0.25);
         background: rgb(71 0 203);
      backdrop-filter: blur(10px);
       z-index: 9999999;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 18px;
      color: #f9fafb;
    }
    .logo-mark {
      width: 24px;
      height: 24px;
      border-radius: 8px;
      background: radial-gradient(circle at 0 0, #22c55e, #a855f7);
      box-shadow: 0 0 18px rgba(168,85,247,0.7);
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 18px;
      font-size: 14px;
    }
    .nav-links a {
      padding: 0px 15px;
      font-size: 17px;
      color: #e5e7eb;
      text-decoration: none;
      opacity: 0.85;
    }
    .nav-links a:hover {
      opacity: 1;
    }
    .auth-links {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
    }
    .auth-links a {
      color: #e5e7eb;
      text-decoration: none;
      padding: 6px 12px;
      border-radius: 999px;
      /*border: 1px solid rgba(148,163,184,0.5);*/
      font-weight: 500;
    }
    .auth-links a.primary {
      border: none;
      background: linear-gradient(90deg,#22c55e,#a855f7);
      color: #020617;
      box-shadow: 0 8px 20px rgba(34,197,94,0.35);
    }
    .auth-links a:hover {
      filter: brightness(1.05);
    }

    /* MAIN */
    .main-content {
      flex: 1;
      /*display: flex;*/
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .card {
 backdrop-filter: blur(10px);
    background: rgb(255 255 255);
    border: 1px solid rgb(255 255 255 / 20%);
    box-shadow: 0 8px 32px rgb(0 0 0 / 10%);
    border-radius: 18px;
    padding: 24px 28px;
    width: 100%;
    }
    h1 {
      margin: 0 0 6px;
      font-size: 22px;
      font-weight: 700;
      color: black;
    }
    p {
    color: black;
}
h2, h3, h4, h5, h6, li, span{
  color: black;
}
.logo span{
  color: white;
}
    .subtitle {
      font-size: 13px;
      color: black;
      margin-bottom: 18px;
    }
    label {
      display:block;
      font-size: 13px;
      margin-top: 10px;
      margin-bottom: 4px;
      color:black;
    }
    input[type="file"],
    input[type="number"],
    select {
display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    /* background: linear-gradient(135deg, #151333, #151333); */
    border: 1px solid #ebebeb;
    color: #000000;
    /* box-shadow: 0 8px 32px rgb(0 0 0 / 10%); */
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s 
ease;
    user-select: none;
    width: 100%;
    }
    input[type="file"] {
      padding: 5px 9px;
    }
    input:focus, select:focus {
      outline: 2px solid #22c55e;
      outline-offset: 1px;
      border-color: transparent;
    }
    button#generateBtn {
      margin-top: 26px;
      width: 100%;
      padding: 9px 0;
      border-radius: 999px;
      border: none;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      background: linear-gradient(90deg,#22c55e,#a855f7);
      color: #f9f9f9;
      box-shadow: 0 10px 25px rgba(34,197,94,0.35);
      transition: transform 0.08s ease, box-shadow 0.08s ease, opacity 0.15s;
    }
    button#generateBtn:disabled {
      opacity: 0.4;
      cursor: default;
      box-shadow: none;
      transform: none;
    }
    button#generateBtn:hover:not(:disabled) {
      transform: translateY(-1px);
      box-shadow: 0 16px 40px rgba(168,85,247,0.4);
    }
    .row {
      display:flex;
      gap:8px;
    }
    .row > div { flex:1; }

    .progress-wrapper {
      margin-top:14px;
      display:none;
    }
    .progress-bar-bg {
      width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #133be1;
    border: 1px solid #315cd3;
    overflow: hidden;
    }
    .progress-bar-fill {
      height:100%;
      width:0%;
      background:linear-gradient(90deg,#22c55e,#a855f7);
      transition:width 0.15s linear;
    }
    .progress-text {
      font-size:12px;
      color:#9ca3af;
      margin-top:4px;
      display:flex;
      justify-content:space-between;
    }
    .status-text {
      margin-top:6px;
      font-size:12px;
      color:#10a41f !important;
    }
    .error-text {
      color:#f97373;
    }
    .video-wrapper {
      margin-top:18px;
      display:none;
    }
    .video-wrapper video {
      width:100%;
      border-radius:12px;
      border:1px solid #4b5563;
    }
    .download-link {
      margin-top:8px;
      font-size:13px;
      color:#22c55e;
      text-decoration:none;
      font-weight:500;
    }
    .download-link:hover {
      text-decoration:underline;
    }
    .hint {
      font-size:11px;
      color:black;
      margin-top:2px;
    }

    /* FOOTER */
    .site-footer {
      padding: 10px 24px 14px;
      font-size: 11px;
      color: #9ca3af;
      text-align: center;
      border-top: 1px solid rgba(148,163,184,0.25);
      background: rgba(15,23,42,0.92);
    }
    .card-left {
  flex: 0 0 420px;
}
.card-right {
  flex: 1;
}
.center_main{
    max-width: 700px;
    margin: 0 auto;
    border-radius: 10px;
    padding: 10px;
}
.center_main_sub_page{
  max-width: 800px;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 40px;
}
.seo-section p{
  line-height: 25px;
}
.prompt-box{
      background: #ced0ce;
    padding: 10px;
    color: #0073bf;
}
body .pro_style{
 width: fit-content;
    padding: 1px 4px;
    border-radius: 5px;
}
.disabled-input {
  opacity: 0.5;
  pointer-events: none;
}
.clear-file-btn {
  margin-left: 8px;
  padding: 0 7px;
  height: 15px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  background: #ff4d4f;
  color: #fff;
  display: none;          /* ẩn khi chưa có file */
}

.clear-file-btn:hover {
  background: #ff7875;
}
.boc_colse{
position: relative;
}
.boc_colse .clear-file-btn{
      position: absolute;
    right: 20px;
    top: 10px;
}
@media(max-width: 414px){
  .boc_colse .clear-file-btn{
    width: 25px !important;
  }
 body h1.img_ico {
    display: inline-grid;
    gap: 5px;
    align-items: stretch;
}
  .center_main{
    max-width: 100% !important;
  }
}
.logo-mark_file{
  width: 100%;
}
.status-text {
    color: #ffcc00;
    animation: blinkFade 1.2s infinite;
}

@keyframes blinkFade {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}
.privacy-note{
  padding-top: 15px;
}
select option {
    color: black;
}

/* ============================================
   MOBILE RESPONSIVE — ONLY <= 768px
   ============================================ */
@media (max-width: 768px) {
  .center_main_sub_page ul{
        margin-left: 0px;
    padding-left: 16px;
  }
   .center_main_sub_page ol{
        margin-left: 0px;
    padding-left: 16px;
  }
  .center_main_sub_page{
        max-width: 95%;
    width: 100%;
    margin: 0 auto;
    padding-top: 15px;
  }
  body .card{
        padding: 14px 8px;
  }
.main-content{
  padding: 5px;
}
  /* HEADER */
  .site-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 14px;
    padding: 16px 20px !important;
  }

  /* Logo */
  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .logo img.logo-mark_file {
    width: 30px !important;
    height: 30px !important;
  }

  .logo span {
    font-size: 18px !important;
  }

  /* NAVIGATION */
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px !important;
    width: 100%;
  }

  .nav-links a {
    font-size: 15px !important;
    padding: 4px 0 !important;
  }

  /* AUTH BUTTONS */
  .auth-links {
    display: flex;
    gap: 12px !important;
    width: 100%;
    justify-content: flex-start;
  }

  /* MAIN CONTAINER — nếu bạn có */
  .container,
  .content-wrapper {
    width: 100% !important;
    padding: 0 15px !important;
  }

  /* FORMS (upload area) */
  .upload-box,
  .input-group {
    flex-direction: column !important;
    width: 100% !important;
  }

  /* BUTTONS FULL WIDTH ON MOBILE */
  .btn,
  button,
  .primary,
  .ghost {
    width: 100% !important;
    text-align: center !important;
  }

  /* FILE INPUT ROW (nếu bạn dùng) */
  .boc_close {
    width: 100% !important;
    display: flex;
    justify-content: space-between;
    padding: 10px 12px !important;
  }

  #fileText {
    font-size: 14px !important;
  }

  /* FOOTER chỉnh gọn nhẹ */
  footer {
    text-align: center !important;
    flex-direction: column !important;
    padding: 20px !important;
  }
}
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.auth-box {
  width: 380px;
  background: #fff;
  padding: 32px;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  animation: fadeIn 0.3s ease;
}

.close-auth {
  color: black;
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 24px;
  cursor: pointer;
}

.auth-form input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.auth-btn {
  width: 100%;
  padding: 12px;
  background: #4B7BFF;
  color: #fff;
  border: none;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.or-line {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0;
}

.or-line span {
  background: #fff;
  padding: 0 8px;
  color: #888;
  font-size: 14px;
}

.or-line::before,
.or-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddd;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  cursor: pointer;
  gap: 10px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.google-btn img {
  width: 20px;
}

.toggle-auth {
  color: black;
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
}

.toggle-auth a {
  color: #4B7BFF;
  cursor: pointer;
  text-decoration: underline;
}

@keyframes fadeIn {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 6px;
}

.auth-links a{
  cursor: pointer !important;
}
h2#auth-title {
    color: black;
}
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  cursor: pointer;
  gap: 10px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  background: #fff;
}
.google-btn img {
  width: 22px;
}

/* ===== USER MENU WRAPPER ===== */
.user-menu {
    position: relative;
    display: inline-block;
    font-family: 'Inter', sans-serif;
}

/* ===== TRIGGER (AVATAR + NAME) ===== */
.user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.user-trigger:hover {
    background: rgba(0,0,0,0.06);
}

.user-trigger .avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
}

/* ===== DROPDOWN BOX ===== */
.dropdown {
    position: absolute;
    right: 0;
    top: 110%;
    width: 200px;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 0;
    box-shadow:
        0 8px 20px rgba(0,0,0,0.15),
        0 2px 4px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: 
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
    z-index: 999;
}

/* ===== SHOW MENU WHEN HOVER ===== */
.user-menu:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

/* ===== MENU ITEMS ===== */
.dropdown a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #222;
    font-weight: 500;
    border-radius: 8px;
    margin: 2px 6px;
    transition: background 0.15s, color 0.15s;
}

/* Hover effect đẹp */
.dropdown a:hover {
    background: linear-gradient(90deg, #eef2ff, #edf1ff);
    color: #1a2dd8;
}

/* Optional: Divider line */
.dropdown .divider {
    height: 1px;
    margin: 6px 10px;
    background: rgba(0,0,0,0.08);
}

.user-menu .dropdown{
  background: #4700cb;
}
.user-menu .dropdown a {
    color: white;
    background:linear-gradient(135deg, rgb(71 0 202), rgb(142 25 244));
}
.pro-tip {
    font-size: 12px;
    color: #ff9800;
    margin-left: 6px;
}
.seo-section img{
  width: 100%;
}
#timeBox{
      color: black;
}
.row.duration_time{
      display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    align-content: center;
    align-items: flex-end;
}
.img_ico img{
      width: 20px;
      height: 20px;
}
h1.img_ico{
display: flex;
    gap: 5px;
    align-items: end;
}
.perTimingRow.active {
  border: 2px solid #22e6c6 !important;
  box-shadow: 0 0 0 2px rgba(34,230,198,0.15) !important;
}
.perTimingRow{
  border: 1px solid #d5dbff !important;
}
.perTimingRow input.active {
  outline: 2px solid #22e6c6 !important;
  box-shadow: 0 0 0 3px rgba(34,230,198,0.18) !important;
}

#audioSeek{
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22e6c6 0%, #22e6c6 0%, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.15) 100%);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
#audioSeek::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22e6c6;
  border: 2px solid rgba(0,0,0,0.25);
  cursor: pointer;
}
#audioSeek::-moz-range-thumb{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22e6c6;
  border: 0;
  cursor: pointer;
}

#timingSeekBar{
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22e6c6 0%, #22e6c6 0%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.18) 100%);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
#timingSeekBar::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22e6c6;
  border: 2px solid rgba(0,0,0,0.25);
  cursor: pointer;
}
#timingSeekBar::-moz-range-thumb{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22e6c6;
  border: 0;
  cursor: pointer;
}

/* highlight row/input */
.activeTimingRow{
  border: 2px solid #22e6c6 !important;
  box-shadow: 0 0 0 2px rgba(34,230,198,0.15) !important;
}
.activeTimingInput{
  outline: 2px solid #22e6c6 !important;
  box-shadow: 0 0 0 3px rgba(34,230,198,0.18) !important;
}
.features {
  max-width: 900px;
  margin: 40px auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.features-table {
  width: 100%;
  border-collapse: collapse;
  background: linear-gradient(180deg, #0f1225, #15183a);
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.features-table th,
.features-table td {
  padding: 16px 18px;
  text-align: center;
}

.features-table thead th {
  background: rgba(255,255,255,0.08);
  font-size: 16px;
  font-weight: 600;
}

.features-table tbody tr {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.features-table tbody tr:hover {
  background: rgba(255,255,255,0.05);
}

.features-table td:first-child,
.features-table th:first-child {
  text-align: left;
}

.features-table td:nth-child(3),
.features-table th:nth-child(3) {
  color: #ffd76d;
  font-weight: 600;
}
a.buycoffe{
  color: black;
  border-radius: 5px;
    padding: 5px;
    text-decoration: none;
    background: linear-gradient(90deg, #ab19f5, #0416ed);
    color: #f9f9f9;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);

}
.coffee-card{
  color: black;
}
.coffee-title{
      color: #a80e0e;
}
/* Custom timing layout: header cố định, list tự scroll */
#customTimingWrap{
  display: flex;
  flex-direction: column;
}

/* Chỉ list này được cuộn */
#perImageTimingList{
  max-height: min(55vh, 520px);   /* chỉnh số này tuỳ bạn */
  overflow-y: auto;
  padding: 10px;
  margin-top: 8px;
  border-radius: 10px;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #f4f5ff;
}
.privacy-note {
    color: black;
}
.site-header span{
  color: white;
}
.custom-file-input {
    position: relative;
    width: 100%;
    padding: 14px 16px;
    border: 2px dashed #cfd8dc;
    border-radius: 12px;
    background: #f9fafb;
    font-size: 15px;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover */
.custom-file-input:hover {
    border-color: #3b82f6;
    background: #f0f6ff;
}

/* Focus */
.custom-file-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* Khi đã chọn file */
.custom-file-input::file-selector-button {
    margin-right: 14px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover button */
.custom-file-input::file-selector-button:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
}

/* Active */
.custom-file-input::file-selector-button:active {
    transform: scale(0.97);
}
#wavConvertText{
  color: black;
}
#wavConvertPct{
  color: black;
}
/* Disabled */
.custom-file-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.segPlayBtn{
  opacity: 1 !important;
      border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: rgb(10 9 9 / 8%) !important;
    color: rgb(0 0 0) !important;
}

.review-section{
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.review-title{ font-weight: 800; font-size: 16px;color:black; }
.review-sub{ opacity:.75; font-size: 13px; margin-top: 2px; color: black;}

.review-form{ margin-top: 10px; display: grid; gap: 10px; }

.review-stars{ display:flex; align-items:center; gap:6px; }
.review-stars .star{
  border: 0;
    background: rgb(255 187 0 / 98%);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.review-stars .star.active{ background: rgba(0,255,200,.18); }
.star-hint{ margin-left: 8px; font-size: 12px; opacity:.7; }

.review-text{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: #fff;
  padding: 10px;
  resize: vertical;
}

.review-submit{
    border: 0;
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 800;
    background: #26137e;
    color: white;
}

.review-list-wrap{
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgb(241 241 241 / 97%);
  height: 180px;
  overflow: hidden; /* không tràn ra ngoài */
}

.review-list{
  height: 180px;
  overflow: hidden; /* vẫn scroll bằng JS nhưng không hiện scrollbar */
  padding: 10px;
}

.review-item{
  color: black;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  margin-bottom: 8px;
}

.review-meta{
  display:flex;
  justify-content: space-between;
  font-size: 12px;
  opacity:.8;
  margin-bottom: 4px;
}

.review-stars-mini{ letter-spacing: 1px; }
.review-stars-mini {
    color: #ff9700;
}
.review-body {
    color: #94951b;
}
.login_pro {
    color: #637ae4;
        display: flex;
    gap: 5px;
}
.login_pro img{width: 30px;height: 30px;}

.login_pro img {
  animation: zoomPulse 1.2s infinite;
}

@keyframes zoomPulse {
  0% {
    transform: scale(1);
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.login_pro img {
  will-change: transform;
  transform-origin: center;
}
textarea#reviewText {
    color: black;
}
.pro-block {
    pointer-events: none;
    opacity: 0.5;
    user-select: none;
}
.red_close{
  color: red;
}
/*.plan-card{
   pointer-events: none;
    opacity: 0.5;
    user-select: none;
}*/
/*new layout home*/
  .main-content.new_style {
    --ink: #151632;
    --muted: #66708a;
    --line: #e5e8f3;
    --line-strong: #d6dcef;
    --violet: #7547ff;
    --violet-dark: #5b35ea;
    --violet-soft: #f3edff;
    --green: #19c96b;
    --green-soft: #eafff3;
    --card: rgba(255,255,255,.92);
    --shadow: 0 22px 70px rgba(37, 42, 76, .10);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 34px 28px 52px;
    display: grid;
    grid-template-columns: 38px minmax(0, 760px) 368px;
    gap: 26px;
    align-items: start;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
      radial-gradient(circle at 16% 4%, rgba(117,71,255,.10), transparent 28%),
      radial-gradient(circle at 86% 10%, rgba(25,201,107,.10), transparent 25%),
      linear-gradient(180deg, #fbfcff 0%, #fff 50%, #fbfcff 100%);
    box-sizing: border-box;
  }

  .main-content.new_style *,
  .main-content.new_style *::before,
  .main-content.new_style *::after {
    box-sizing: border-box;
  }

  .main-content.new_style .center_main {
    min-width: 0;
  }

  .main-content.new_style .card,
  .main-content.new_style .seo-section,
  .main-content.new_style .faq-section {
    background: var(--card);
    border: 1px solid rgba(219, 224, 240, .82);
    border-radius: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }

  .main-content.new_style .card {
    position: relative;
    overflow: visible;
    padding: 0 0 28px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .main-content.new_style .card::before {
    content: "●  100% Free";
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 12px 20px;
    border: 1px solid #bdeed4;
    border-radius: 13px;
    background: var(--green-soft);
    color: #07914b;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(25,201,107,.10);
  }

  .main-content.new_style h1.img_ico {
    max-width: 690px;
    margin: 0 150px 14px 0;
    font-size: clamp(32px, 4vw, 36px);
    line-height: 1.12;
    letter-spacing: -.01em;
    font-weight: 900;
    color: var(--ink);
  }

  .main-content.new_style h1.img_ico::before {
    content: "▷";
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-right: 18px;
    border-radius: 13px;
    color: #fff;
    font-size: 25px;
    vertical-align: 7px;
    background: linear-gradient(135deg, #6a48ff 0%, #9b39ff 100%);
    box-shadow: 0 18px 32px rgba(117,71,255,.22);
  }

  .main-content.new_style h1.img_ico img {
    width: 28px;
    height: auto;
    margin-left: 8px;
    vertical-align: middle;
  }

  .main-content.new_style .subtitle {
    max-width: 710px;
    margin: 0 0 28px;
    color: #586176;
    font-size: 18px;
    line-height: 1.65;
  }

  .main-content.new_style .login_pro {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    margin: 0 0 26px;
    padding: 15px 20px;
    border-radius: 13px;
    border: 1px solid #ece7ff;
    background: linear-gradient(90deg, #f5eeff 0%, #fbfaff 100%);
    color: var(--violet-dark);
    font-weight: 800;
  }

  .main-content.new_style .login_pro img {
    width: 23px;
    height: 23px;
    object-fit: contain;
    filter: saturate(1.05);
  }

  .main-content.new_style .card > label,
  .main-content.new_style .pro_style span,
  .main-content.new_style .duration_time label {
    display: block;
    margin: 24px 0 11px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 850;
  }

  .main-content.new_style .boc_colse,
  .main-content.new_style select.custom-file-input,
  .main-content.new_style input.custom-file-input,
  .main-content.new_style textarea.review-text {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.82);
    color: var(--ink);
    font-size: 15px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  }

  .main-content.new_style .boc_colse {
    position: relative;
    min-height: 64px;
    display: flex;
    align-items: center;
    padding: 0 54px 0 12px;
    border-style: dashed;
    border-color: #cdd5ea;
  }

  .main-content.new_style .boc_colse:focus-within,
  .main-content.new_style select.custom-file-input:focus,
  .main-content.new_style input.custom-file-input:focus,
  .main-content.new_style textarea.review-text:focus {
    outline: 0;
    border-color: var(--violet);
    box-shadow: 0 0 0 4px rgba(117,71,255,.12);
    background: #fff;
  }

  .main-content.new_style input[type="file"].custom-file-input {
    border: 0;
    background: transparent;
    padding: 0;
    font-weight: 700;
  }

  .main-content.new_style input[type="file"].custom-file-input::file-selector-button {
    margin-right: 18px;
    padding: 14px 24px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #6845ff 0%, #9639f4 100%);
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(117,71,255,.20);
  }

  .main-content.new_style .clear-file-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }

  .main-content.new_style .hint {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
  }

  .main-content.new_style select.custom-file-input {
    min-height: 68px;
    padding: 0 22px;
    border-style: dashed;
    border-width: 2px;
    border-color: #ccd6e8;
    font-size: 18px;
    font-weight: 850;
    appearance: auto;
  }

  .main-content.new_style #styleDemoBox img,
  .main-content.new_style .seo-section img,
  .main-content.new_style video {
    max-width: 100%;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: 0 16px 36px rgba(37,42,76,.08);
  }

  .main-content.new_style .pro_style {
    margin-top: 22px !important;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #fbfaff 100%);
  }

  .main-content.new_style .pro_style > div:first-child {
    justify-content: space-between;
  }

  .main-content.new_style .pro_style span {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
  }

  .main-content.new_style .pro_style label {
    min-height: 52px;
    padding: 12px 18px;
    border: 1px solid var(--violet);
    border-radius: 12px;
    background: var(--violet-soft);
    color: var(--violet-dark);
    font-weight: 800;
  }

  .main-content.new_style input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--violet);
  }

  .main-content.new_style .row.duration_time {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(220px, .9fr);
    gap: 18px;
    margin-top: 16px;
    align-items: end;
  }

  .main-content.new_style .duration_time label {
    margin-top: 0;
  }

  .main-content.new_style input[type="number"].custom-file-input {
    min-height: 54px;
    padding: 0 18px;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
  }

  .main-content.new_style #generateBtn,
  .main-content.new_style .review-submit,
  .main-content.new_style #cancelBtn,
  .main-content.new_style #btnAudioPlay,
  .main-content.new_style #btnAudioPause,
  .main-content.new_style #btnMarkDrawEnd,
  .main-content.new_style #btnMarkHoldEnd,
  .main-content.new_style #btnMarkUndo,
  .main-content.new_style #btnMarkReset,
  .main-content.new_style #btnAddNextTiming,
  .main-content.new_style #btnShowAllTimings {
    border: 0;
    border-radius: 12px;
    font-weight: 850;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
  }

  .main-content.new_style #generateBtn {
    width: 100%;
    min-height: 62px;
    margin: 30px 0 16px;
    color: #fff;
    font-size: 18px;
    background: linear-gradient(90deg, #20c768 0%, #7e54ef 58%, #a737f3 100%);
    box-shadow: 0 18px 38px rgba(117,71,255,.23), 0 16px 30px rgba(25,201,107,.16);
  }

  .main-content.new_style #generateBtn::before {
    content: "✦";
    margin-right: 10px;
  }

  .main-content.new_style #generateBtn:hover,
  .main-content.new_style .review-submit:hover,
  .main-content.new_style #cancelBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 38px rgba(117,71,255,.22);
  }

  .main-content.new_style .progress-wrapper,
  .main-content.new_style .video-wrapper,
  .main-content.new_style .review-section {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
  }

  .main-content.new_style .progress-bar-bg {
    height: 11px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf0f8;
  }

  .main-content.new_style .progress-bar-fill {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green), var(--violet));
  }

  .main-content.new_style .progress-text,
  .main-content.new_style #timeBox,
  .main-content.new_style .status-text {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
  }

  .main-content.new_style #cancelBtn,
  .main-content.new_style .review-submit {
    min-height: 44px;
    padding: 0 18px;
    color: #fff;
    background: var(--violet);
  }

  .main-content.new_style .download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 12px;
    padding: 0 18px;
    border-radius: 12px;
    color: #fff;
    background: var(--ink);
    text-decoration: none;
    font-weight: 850;
  }

  .main-content.new_style .privacy-note {
    margin-top: 18px;
    color: #333b55;
    font-size: 15px;
    line-height: 1.55;
  }

  .main-content.new_style .privacy-note::before {
    content: "🔒";
    margin-right: 8px;
  }

  .main-content.new_style .review-title {
    font-size: 20px;
    font-weight: 900;
  }

  .main-content.new_style .review-sub {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
  }

  .main-content.new_style .review-stars {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 12px;
  }

  .main-content.new_style .star {
    width: 42px;
    height: 38px;
    border: 0;
    border-radius: 11px;
    color: #1a1b2f;
    background: #ffba08;
    font-size: 19px;
    font-weight: 900;
    cursor: pointer;
  }

  .main-content.new_style .star-hint {
    margin-left: 8px;
    color: var(--muted);
    font-size: 13px;
  }

  .main-content.new_style textarea.review-text {
    min-height: 98px;
    padding: 15px 16px;
    resize: vertical;
  }

  .main-content.new_style .review-submit {
    margin-top: 12px;
  }

  .main-content.new_style .seo-section,
  .main-content.new_style .faq-section {
    margin-top: 28px;
    padding: 34px;
  }

  .main-content.new_style .seo-section h2,
  .main-content.new_style .faq-section h2 {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.2;
  }

  .main-content.new_style .seo-section h3,
  .main-content.new_style .faq-section h3 {
    margin: 28px 0 10px;
    font-size: 21px;
  }

  .main-content.new_style .seo-section p,
  .main-content.new_style .faq-section p {
    color: #48516a;
    line-height: 1.75;
  }

  .main-content.new_style .prompt-box {
    margin: 22px 0;
    padding: 22px;
    border: 1px solid #ded6ff;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbf9ff 0%, #fff 100%);
    color: #333b55;
  }

  .main-content.new_style .left_ads {
    position: relative;
    top: 28px;
    min-height: 960px;
  }

  .main-content.new_style .left_ads::before {
    content: "";
    position: absolute;
    top: 248px;
    left: 18px;
    width: 2px;
    height: calc(100% - 260px);
    background: linear-gradient(180deg, rgba(117,71,255,.22), rgba(117,71,255,.08));
  }

  .main-content.new_style .left_ads::after {
    content: "1";
    position: absolute;
    top: 242px;
    left: 4px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #563bff, #8754ff);
    font-size: 13px;
    font-weight: 900;
    box-shadow:
      0 164px 0 #7451ff,
      0 328px 0 #7451ff,
      0 492px 0 #7451ff,
      0 656px 0 #7451ff,
      0 820px 0 #7451ff;
  }

  .main-content.new_style .ads_right {
        padding: 20px;
     position: relative;
    top: 28px;
  
    gap: 20px;
    background: white;
    min-height: 500px;
    border-radius: 10px;
  }

  .main-content.new_style .ads_right::before,
  .main-content.new_style .ads_right::after {
    display: block;
    white-space: pre-line;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.90);
    box-shadow: var(--shadow);
    color: var(--ink);
  }

h3.text_re{
      color: #8042ff;
    font-weight: 500;
}


  @media (max-width: 1120px) {
    .main-content.new_style {
      grid-template-columns: 30px minmax(0, 1fr);
      max-width: 920px;
    }

    .main-content.new_style .ads_right {
      display: none;
    }
  }

  @media (max-width: 760px) {
    .main-content.new_style {
      display: block;
      padding: 24px 16px 38px;
    }

    .main-content.new_style .left_ads {
      display: none;
    }

    .main-content.new_style .card::before {
      position: static;
      display: inline-flex;
      margin-bottom: 18px;
    }

    .main-content.new_style h1.img_ico {
      margin-right: 0;
      font-size: 32px;
    }

    .main-content.new_style h1.img_ico::before {
      width: 44px;
      height: 44px;
      margin-right: 12px;
      vertical-align: 5px;
    }

    .main-content.new_style .row.duration_time {
      grid-template-columns: 1fr;
    }

    .main-content.new_style .seo-section,
    .main-content.new_style .faq-section {
      padding: 24px 18px;
      border-radius: 14px;
    }
  }
.render-access-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 11px 22px;
  border: none;
  border-radius: 8px;
  background: #098654;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
}

.render-access-btn:hover {
  opacity: 0.88;
  color: #ffffff !important;
  text-decoration: none !important;
}
.back-btn.nganhangbnt{
    background: #0f890d !important;
    color: white;
}
.message {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 7px;
    font-weight: bold;
}

.message.success {
    color: #146c43;
    background: #d1e7dd;
    border: 1px solid #badbcc;
}

.message.error {
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
}
.view-hand-link {
  color: #098654;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.view-hand-link:hover {
  opacity: 0.8;
}
.queue-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #d9e7e2;
    border-radius: 10px;
    background: #f2faf7;
    color: #185d45;
}

.queue-spinner {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 4px solid rgba(9, 134, 84, 0.18);
    border-top-color: #098654;
    border-radius: 50%;
    animation: queue-spin 0.8s linear infinite;
}

.queue-content {
    line-height: 1.6;
}

.queue-content strong {
    display: block;
    margin-bottom: 3px;
    color: #098654;
}

#queuePosition,
#queueSeconds {
    font-weight: 800;
}

@keyframes queue-spin {
    to {
        transform: rotate(360deg);
    }
}
.back-btn.nganhangbnt {
    background: #0f890d !important;
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
}