/* Global Styles Start */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background-color: #ffffff;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
/* Global Styles End */

/* Header Start */
.header {
  background-color: #1f1f1f;
  padding: 17px 0;
  border-radius: 50px;
  margin: 20px 20px 0 20px;
  position: relative;
  z-index: 100;
  max-width: 700px;
  margin-top: 30px !important;
  margin: auto;
}

.navbar {
  width: 100%;
}

.nav-container {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo img {
  height: 35px;
  width: auto;
}
.logo {
  margin-left: 10px;
  cursor:pointer;
}
.mobile-logo {
  cursor:pointer;
}
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 32px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ff8c00;
}

.btn-get-started {
  background-color: #ff8c00;
  color: #ffffff !important;
  padding: 10px 25px;
  border-radius: 25px;
  max-height: 56px;
  max-width: 200px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-get-started:hover {
  background-color: #ff7700;
  transform: translateY(-2px);
}
/* Header End */
/* Mobile Navigation Styles */
.mobile-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hamburger-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s ease;
}

.mobile-get-started-btn {
  padding: 8px;
  background-color: #ff8c00;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
/* Mobile Navigation Styles */
.mobile-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hamburger-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s ease;
}

.mobile-get-started-btn {
  padding: 8px;
  height: 28px;
  width: 36px;
  background-color: #ff8c00;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-get-started-btn img {
  width: 25px;
  height: 25px;
}
/* Hide desktop nav on mobile */
@media (max-width: 767px) {
  .logo,
  .nav-menu {
    display: none;
  }

  .header {
    margin-left: 16px;
    margin-right: 16px;
  }
}

/* Hide mobile nav on desktop */
@media (min-width: 768px) {
  .mobile-nav,
  .mobile-menu-overlay {
    display: none;
  }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background-color: #1f1f1f;
  border-radius: 25px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  z-index: 99;
  margin: 0 20px;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu {
  padding: 10px 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-self: center;
}

.mobile-menu-item:last-child {
  margin-bottom: 0;
}

.mobile-menu-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  display: block;
  /* padding: 12px 20px; */
  transition: color 0.3s ease;
}

.mobile-menu-link:hover {
  color: #ff8c00;
}

/* Hero Section Start */
.hero-section {
  position: relative;
  min-height: 600px;
  margin: -60px 20px 0 20px;
  border-radius: 50px 50px 0 0;
  padding-top: 100px;
  /* padding-bottom: 80px; */
}

.hero-container {
  background: #f3f3f3;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 10px;
  border-radius: 30px;
}

.upload-area {
  --dash-length: 15; /* Control dash length (unitless for SVG) */
  --dash-gap: 12; /* Control gap between dashes (unitless for SVG) */
  background-color: #fff;
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  background-image: linear-gradient(white, white),
    url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='20' ry='20' stroke='rgba(0,0,0,0.5)' stroke-width='2' stroke-dasharray='15 12' stroke-linecap='square'/%3e%3c/svg%3e");
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  cursor: pointer;
}

.upload-box {
  margin-bottom: 40px;
}

.upload-icon {
  display: inline-block;
  margin-bottom: 20px;
  padding: 30px;
  background-color: #fbfbfb;
  border-radius: 11px;
  border: 1px solid transparent;
  background-image: linear-gradient(#fbfbfb, #fbfbfb),
    url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='11' ry='11' stroke='rgba(0,0,0,0.3)' stroke-width='1' stroke-dasharray='4 4' stroke-linecap='square'/%3e%3c/svg%3e");
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
}

.upload-icon img {
  width: 120px;
  height: auto;
  display: block;
}

.upload-text {
  color: #00000099;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 30px;
}

.link-input-area {
  margin-bottom: 30px;
}

.link-input-wrapper {
  display: flex;
  align-items: center;
  background-color: #fbfbfb;
  border-radius: 10px;
  padding: 5px;
  max-width: 600px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.link-icon {
  width: 24px;
  height: 24px;
  margin: 0 15px;
}

.link-input {
  flex: 1;
  border: none;
  background: #fbfbfb;
  padding: 12px 0;
  font-size: 16px;
  color: #000;
  opacity: 20%;
  outline: none;
}

.link-input::placeholder {
  color: black;
}

.paste-btn {
  background-color: #ff8c00;
  color: #ffffff;
  border: none;
  padding: 12px 35px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.paste-btn:hover {
  background-color: #ff7700;
  transform: translateY(-1px);
}

/* Small version of link input for upload-content-wrapper */
.link-input-area-small {
  margin-top: 15px;
}

.link-input-wrapper-small {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  gap: 8px;
  max-width: 300px;
}
button {
  border: none;
  background: transparent;
}
.link-icon-small {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.link-input-small {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 12px;
  color: #333;
  outline: none;
  min-width: 0;
}

.link-input-small::placeholder {
  color: #999;
  font-size: 12px;
}

.paste-btn-small {
  background-color: #ff8c00;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.paste-btn-small:hover {
  background-color: #ff7700;
  transform: translateY(-1px);
}

.supported-files {
  margin-top: 30px;
}

.supported-files p {
  color: #000;
  font-size: 15px;
  font-weight: 400;
  opacity: 60%;
}

/* Mobile Upload Buttons */
.mobile-upload-buttons {
  display: none;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.mobile-upload-btn {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: opacity 0.3s ease;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  min-height: 44px;
  min-width: 44px;
  position: relative;
  z-index: 1;
  /* Improve touch responsiveness */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.mobile-upload-btn:hover {
  opacity: 0.8;
}

.mobile-upload-btn img {
  width: 25px;
  height: 18px;
}

.mobile-upload-btn span {
  font-size: 12px;
  font-weight: 400;
  color: #0003;
  letter-spacing: 0.02em;
}

/* Secondary mobile buttons (for uploaded files view) */
.mobile-upload-buttons-secondary {
  display: none;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.desktop-only-text,
.desktop-only-btn {
  display: block;
}

/* Mobile styles at 768px and below */
@media (max-width: 768px) {
  /* Hide upload text and link input area on mobile */
  .upload-text {
    display: none !important;
  }
  .hero-section {
    min-height: fit-content;
  }
  .link-input-area {
    display: none !important;
  }

  /* Show mobile buttons */
  .mobile-upload-buttons {
    display: flex !important;
  }
  .text-extraction-feature {
    margin-top: 40px !important;
  }
  .feature-btn img {
    width: 20px;
    height: auto;
  }

  /* Show secondary mobile buttons in uploaded files view */
  .mobile-upload-buttons-secondary {
    display: flex !important;
  }

  /* Hide desktop-only elements */
  .desktop-only-text,
  .desktop-only-btn {
    display: none !important;
  }

  /* Adjust upload box spacing on mobile */
  .upload-box {
    margin-bottom: 20px;
  }

  /* Adjust upload-left background on mobile */
  .upload-left {
    background-color: #fafafa !important;
  }

  .supported-files p {
    font-size: 10px;
  }

  .upload-icon img {
    width: 102px;
  }
  .upload-icon {
    padding: 20px;
    margin-bottom: 8px;
  }
  .files-count {
    font-size: 12px !important;
    font-weight: bold !important;
  }
  .clear-all-btn {
    font-size: 12px !important;
  }
}
/* Hero Section End */

/* Text Extraction Feature Section Start */
.text-extraction-feature {
  padding-top: 58px;
  padding-bottom: 25px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #ffffff;
}

.feature-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.feature-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-title-extraction {
  font-size: 64px;
  font-weight: 400;
  color: #1f1f1f;
  line-height: 1.2;
  margin-bottom: 29px;
  letter-spacing: -0.02em;
}

.feature-title-extraction .highlight {
  color: #ff8502;
}

.feature-description-extraction {
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  opacity: 60%;
  line-height: 25px;
  margin-bottom: 70px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.desktop-break {
  display: inline;
}

.feature-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ff8502;
  color: #ffffff;
  text-decoration: none;
  padding: 20px 32px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 400;
  transition: all 0.3s ease;
  /* box-shadow: 0 4px 15px rgba(255, 140, 0, 0.2); */
}

.feature-btn:hover {
  background-color: #ff7700;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

.feature-btn svg {
  transition: transform 0.3s ease;
}

.feature-btn:hover svg {
  transform: translateX(3px);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.feature-btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Mobile Responsive for Text Extraction Feature */
@media (max-width: 768px) {
  .text-extraction-feature {
    padding: 60px 20px;
    padding-bottom: 0;
  }

  .feature-title-extraction {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .feature-title-extraction br {
    display: none;
  }

  .feature-description-extraction {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .desktop-break {
    display: none;
  }

  .feature-btn {
    padding: 12px 28px;
    font-size: 15px;
  }
  .cross-icon img {
    width: 16px !important;
    height: 16px !important;
  }
  .cross-icon {
    padding: 3px !important;
  }
}

@media (max-width: 480px) {
  .feature-title-extraction {
    font-size: 28px;
  }

  .feature-description-extraction {
    font-size: 15px;
  }

  .link-input-wrapper {
    gap: 10px;
    padding: 10px;
  }
  /* 
  .link-icon {
    order: 1;
    margin: 0 10px;
  }

  .link-input {
    order: 2;
    flex: 1 1 100%;
    min-width: 0;
    padding: 10px;
  } */

  .paste-btn {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
  }
}
/* Text Extraction Feature Section End */

/* Features Checklist Section Start */
.features-checklist {
  padding: 23px 20px 23px 20px;
  background-color: #000000;
  margin-top: 76px;
}

.checklist-container {
  max-width: 1200px;
  margin: 0 auto;
}

.checklist-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  flex-wrap: wrap;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 5.5px;
  /* background-color: #1f1f1f; */
  /* padding: 12px 24px; */
  /* border-radius: 25px; */
  /* border: 1px solid #333333; */
}

.tick-icon {
  width: 25.37px;
  height: 22px;
  flex-shrink: 0;
}

.checklist-text {
  font-size: 15px;
  font-weight: 400;
  color: #ffffff;
  white-space: nowrap;
}

/* Mobile Responsive for Features Checklist */
@media (max-width: 768px) {
  .features-checklist {
    padding: 5px 20px 10px 20px;
  }

  .checklist-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 15px; */
    justify-items: start;
    justify-content: center;
    /* height: 100px; */
    column-gap: 40px;
    row-gap: 10px;
    padding: 5px 10%;
    margin: 0 auto;
    max-width: fit-content;
  }

  .checklist-item {
    gap: 8px;
    width: 100%;
    justify-content: flex-start;
  }

  .checklist-text {
    font-size: 14px;
    font-weight: 500;
  }

  .tick-icon {
    width: auto;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .checklist-items {
    row-gap: 0;
    column-gap: 40px;
  }

  .checklist-item {
    padding: 8px 12px;
    min-width: 120px;
  }

  .checklist-text {
    font-size: 13px;
  }
}
/* Features Checklist Section End */

/* Features Section Start */
.features-section {
  padding: 80px 20px;
  padding-top: 110px;
  background-color: #ffffff;
}

.features-container {
  /* 1230px */
  max-width: 1200px;
  margin: 0 auto;
}

.features-heading {
  text-align: center;
  font-size: 44px;
  font-weight: 400;
  color: #1f1f1f;
  margin-bottom: 48px;
}

.features-heading .highlight {
  color: #ff8502;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.feature-card {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  padding: 25px 25px;
  position: relative;
  transition: all 0.3s ease;
  min-height: 200px;
}

.feature-card.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.center-logo {
  width: 150px;
  height: auto;
}

.grid-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 10;
}

.grid-corner.top-left {
  top: -6px;
  left: -6px;
}

.grid-corner.top-right {
  top: -6px;
  right: -6px;
  transform: rotate(90deg);
}

.grid-corner.bottom-left {
  bottom: -6px;
  left: -6px;
  transform: rotate(-90deg);
}

.grid-corner.bottom-right {
  bottom: -6px;
  right: -6px;
  transform: rotate(180deg);
}
/* 
.feature-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
} */

.feature-icon {
  margin-bottom: 20px;
}

.feature-icon img {
  width: 44px;
  height: 44px;
}

.feature-title {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-text {
  font-size: 16px;
  font-weight: 400;
  color: #4c4c4c;
  line-height: 1.6;
  align-self: start;
  margin: 0;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .feature-card.logo-card {
    grid-column: span 2;
  }

  .center-logo {
    width: 130px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .features-section {
    padding: 60px 20px;
  }

  .features-heading {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 300px;
    /* justify-content: center; */
    margin: 0 auto;
  }

  .feature-card.logo-card {
    grid-column: span 1;
  }

  .feature-card {
    padding: 25px 25px;
    min-height: auto;
  }

  .feature-title {
    font-size: 16px;
  }

  .feature-text {
    font-size: 13px;
  }

  .center-logo {
    width: 100px;
  }

  .feature-item {
    align-self: flex-start;
    text-align: left;
  }
  .feature-sparkle {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .features-heading {
    font-size: 24px;
  }

  .feature-card {
    padding: 20px 16px;
  }
}
/* Features Section End */

/* Why Use Section Start */
.why-use-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.why-use-container {
  max-width: 1000px;
  margin: 0 auto;
}

.why-use-heading {
  text-align: center;
  font-size: 44px;
  font-weight: 400;
  color: #222222;
  margin-bottom: 50px;
}

.why-use-heading .highlight {
  color: #ff8502;
}

.why-use-table-wrapper {
  overflow-x: auto;
}

.why-use-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
}

.why-use-table tbody tr {
  border: 1px solid #e5e5e5;
}

.why-use-table tbody tr:first-child {
  border-top: 1px solid #e5e5e5;
}

.table-label {
  padding: 18px 18px;
  width: 40%;
  border-right: 1px solid #e5e5e5;
}

.label-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.table-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.table-label span {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
}

.table-value {
  padding: 16px 29px;
  font-size: 16px;
  font-weight: 400;
  color: #4c4c4c;
  background-color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .why-use-section {
    padding: 60px 20px;
  }

  .why-use-heading {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .why-use-table {
    font-size: 14px;
  }

  .table-label {
    padding: 14px 16px;
    width: 45%;
  }

  .table-value {
    padding: 14px 16px;
    font-size: 12px;
  }

  .table-label span {
    font-size: 16px;
  }

  .table-icon {
    width: 20px;
    height: 20px;
  }

  .label-content {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .why-use-heading {
    font-size: 24px;
  }

  .table-label {
    padding: 12px;
  }

  .table-value {
    padding: 12px;
    font-size: 13px;
  }

  .table-label span {
    font-size: 13px;
  }
}
/* Why Use Section End */

/* Where JPG to Text Section Start */
.where-jpg-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.where-jpg-container {
  max-width: 1200px;
  margin: 0 auto;
}

.where-jpg-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.where-jpg-image {
  flex: 0 0 45%;
  max-width: 500px;
  position: relative;
}

.gradient-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to bottom, transparent, white);
  z-index: 10;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.where-jpg-image img {
  width: 100%;
  height: auto;
  display: block;
}

.where-jpg-features {
  flex: 1;
}

.where-jpg-heading {
  font-size: 44px;
  font-weight: 400;
  color: #222222;
  margin-bottom: 50px;
  line-height: 1.2;
  text-align: center;
}

.where-jpg-heading .highlight {
  color: #ff8502;
}

.jpg-feature-list {
  margin-bottom: 40px;
}

.jpg-feature-item {
  /* padding: 20px 0; */
  border-bottom: none;
  /* margin-bottom: 20px; */
}

.jpg-feature-content {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  /* border-radius: 12px; */
  padding: 20px;
  transition: all 0.3s ease;
}

.jpg-feature-item:not(.expanded-item) .jpg-feature-content:hover {
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
}

.jpg-feature-sparkle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: #ff8502;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jpg-feature-text {
  flex: 1;
}

.jpg-feature-name {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.jpg-feature-description {
  font-size: 16px;
  font-weight: 400;
  color: #4c4c4c;
  line-height: 1.6;
  margin: 0;
}

.jpg-feature-description.collapsed {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #666666;
  font-size: 14px;
}

.jpg-feature-description.expanded {
  display: block;
}

.jpg-feature-item.expanded-item .jpg-feature-content {
  flex-direction: column;
  align-items: flex-start;
  background-color: transparent;
  /* border: none; */
  /* padding: 20px 0; */
}

.jpg-feature-item.expanded-item .jpg-feature-sparkle {
  /* margin-bottom: 16px; */
}

.jpg-feature-item.expanded-item .jpg-feature-text {
  padding-left: 0;
  width: 100%;
}

.jpg-feature-item.expanded-item .jpg-feature-name {
  margin-bottom: 12px;
}

.see-more,
.see-less {
  color: #ff8502;
  cursor: pointer;
  font-weight: 500;
  margin-left: 5px;
  font-size: 14px;
}

.get-started-btn {
  display: inline-flex;
  align-items: center;
  gap: 5.5px;
  background-color: #ff8502;
  color: #ffffff;
  text-decoration: none;
  padding: 19px 25px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 400;
  transition: all 0.3s ease;
  margin-top: 20px;
  justify-content: center;
}

.get-started-btn:hover {
  background-color: #ff7700;
  transform: translateY(-2px);
}

.get-started-btn .btn-arrow {
  transition: transform 0.3s ease;
}

.get-started-btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .where-jpg-section {
    padding: 60px 20px;
  }

  .where-jpg-content {
    flex-direction: column;
    gap: 40px;
  }

  .where-jpg-image {
    display: block;
    order: 0;
    flex: 1;
    max-width: 100%;
  }

  .where-jpg-features {
    width: 100%;
    order: 1;
  }

  .where-jpg-heading {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
  }

  .jpg-feature-sparkle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .jpg-feature-name {
    font-size: 16px;
  }

  .jpg-feature-description {
    padding-left: 0;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .where-jpg-heading {
    font-size: 24px;
  }

  .jpg-feature-name {
    font-size: 15px;
  }
}
/* Where JPG to Text Section End */

/* How to Use Section Start */
.how-to-use-section {
  padding: 80px 20px;
  background: #ffffff;
}

.how-to-use-container {
  max-width: 950px;
  margin: 0 auto;
}

.how-to-use-heading {
  font-size: 44px;
  font-weight: 400;
  color: #222222;
  text-align: center;
  margin-bottom: 26px;
  line-height: 1.3;
}

.how-to-use-heading .highlight {
  color: #ff8502;
}

.how-to-use-subheading {
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  opacity: 60%;
  text-align: center;
  margin-bottom: 60px;
  line-height: 25px;
}

.steps-container {
  background: #ffffff;
  border-radius: 12px;
}

.step-row {
  display: grid;
  grid-template-columns: 65px 1fr 1fr;
  align-items: center;
  padding: 30px 0;
  padding-bottom: 50px;
  border-bottom: 1px solid #e5e5e5;
  gap: 80px;
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-number img {
  width: 65px;
  height: 65px;
}

.step-heading {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 100%;
}

.step-detail {
  font-size: 16px;
  font-weight: 400;
  color: #4c4c4c;
  line-height: 24px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .how-to-use-section {
    padding: 60px 20px;
  }

  .how-to-use-heading {
    font-size: 28px;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .how-to-use-subheading {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .step-row {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 25px 20px;
    padding-bottom: 0px;
    text-align: center;
  }

  .step-number {
    /* margin-bottom: 10px; */
  }

  .step-heading {
    font-size: 20px;
    /* margin-bottom: 10px; */
  }

  .step-detail {
    font-size: 14px;
    text-align: left;
    max-width: 375px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .how-to-use-heading {
    font-size: 24px;
  }

  .step-row {
    padding: 20px 15px;
  }

  .step-heading {
    font-size: 18px;
  }
}
/* How to Use Section End */

/* How Text Extraction Works Section Start */
.text-extraction-section {
  padding: 80px 20px;
}

.text-extraction-container {
  max-width: 1200px;
  margin: 0 auto;
}

.text-extraction-heading {
  font-size: 44px;
  font-weight: 400;
  color: #222222;
  text-align: center;
  margin-bottom: 70px;
  line-height: 1.3;
}

.text-extraction-heading .highlight {
  color: #ff8502;
}

.text-extraction-content {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.extraction-steps {
  flex: 1;
  position: relative;
  padding-left: 40px;
}

.extraction-step {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  position: relative;
  margin-bottom: 40px;
}

.extraction-step:first-child:after {
  content: "";
  position: absolute;
  left: 15px;
  top: 30px;
  width: 2px;
  height: calc(100% + 10px);
  background-color: #ff8502;
  z-index: -1;
}

.extraction-step:nth-child(2):after {
  content: "";
  position: absolute;
  left: 10px;
  top: 20px;
  width: 2px;
  height: calc(100% + 20px);
  background-color: #ff8502;
  z-index: -1;
}

.step-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid #ff8502;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.extraction-step:nth-child(2),
.extraction-step:nth-child(3) {
  margin-left: 5px;
}

.outer-circle {
  width: 30px;
  height: 30px;
  border: 1px solid #ff8502;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  position: relative;
  flex-shrink: 0;
  z-index: 2;
}

.step-indicator.active {
  background-color: #ff8502;
  border-color: #ff8502;
  /* box-shadow: 0 0 0 4px rgba(255, 133, 2, 0.15); */
}

.step-indicator.active img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 28px;
  line-height: 1.3;
}

.step-description {
  font-size: 16px;
  font-weight: 400;
  color: #4c4c4c;
  line-height: 1.6;
  margin: 0;
}

.extraction-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ff8502;
  color: #ffffff;
  text-decoration: none;
  padding: 19px 25px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 400;
  margin-top: 20px;
  margin-left: 54px;
  transition: all 0.3s ease;
}

.extraction-btn:hover {
  background-color: #ff7700;
  transform: translateY(-2px);
}

.extraction-btn img,
.get-started-btn img {
  width: 18px;
  height: 18px;
}

.extraction-image {
  flex: 0 0 45%;
  max-width: 600px;
}

.extraction-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive */
@media (max-width: 1000px) {
  .text-extraction-section {
    padding: 60px 20px;
  }

  .text-extraction-heading {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .text-extraction-content {
    flex-direction: column;
    /* align-items: center; */
    /* justify-content: center; */
    gap: 40px;
  }

  .extraction-steps {
    padding-left: 20px;
    width: 100%;
  }

  .extraction-step {
    margin-bottom: 50px;
  }

  .extraction-step:not(:last-of-type)::after {
    height: calc(100% + 30px);
  }

  .extraction-steps {
    padding-left: 20px;
    width: 100%;
    order: 0;
  }

  .extraction-image {
    width: 100%;
    max-width: 100%;
    order: 1;
  }

  .extraction-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px !important;
    max-width: 180px !important;
    height: 65px;
    margin: 20px auto 0;
    margin-left: calc(50% - 90px);
  }

  .step-title {
    font-size: 18px;
  }

  .step-description {
    font-size: 14px;
  }

  .extraction-btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .text-extraction-heading {
    font-size: 24px;
  }

  .step-connector {
    height: 50px;
  }

  .extraction-btn,
  .get-started-btn {
    font-size: 16px;
    padding: 6px 6px;
    width: 150px !important;
    max-width: 180px !important;
    height: 50px;
  }
}
/* How Text Extraction Works Section End */

/* Background Wrapper for white space */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background-color: #ffffff;
  z-index: -1;
}

/* Files Upload UI Start */
.upload-content-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.upload-left {
  width: 42%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding: 60px 30px;
  background-color: #fbfbfb;
  border-radius: 11px;
  border: 1px solid transparent;
  background-image: linear-gradient(#fbfbfb, #fbfbfb),
    url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='11' ry='11' stroke='rgba(0,0,0,0.3)' stroke-width='1' stroke-dasharray='4 4' stroke-linecap='square'/%3e%3c/svg%3e");
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
}

.upload-right {
  width: 60%;
}

.files-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
}

.files-count {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.clear-all-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 14px;
  cursor: pointer;
  padding: 5px 10px;
}

.clear-all-btn:hover {
  color: #666;
}

.files-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 30px;
}

.file-item {
  display: flex;
  align-items: stretch;
  gap: 15px;
  position: relative;
  background-color: #fbfbfb;
  border-radius: 10px;
  padding: 15px;
  min-height: 116px;
}

.file-icon {
  width: 103px;
  height: 90px;
  background: linear-gradient(135deg, #ffe5e5 0%, #ffd4d4 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.file-type {
  color: #ff6b6b;
  font-size: 14px;
  font-weight: 600;
}

.file-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  /* justify-content: space-between; */
}

.file-name-row {
  display: flex;
  /* align-items: center; */
  /* gap: 10px; */
  min-width: 0;
  /* flex: 1; */
}

.file-icon .crop-icon {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  background: white;
  border-radius: 50%;
  padding: 5px;
}

.file-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: -1px;
  text-align: left;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
  display: block;
}

.file-item .delete-icon {
  position: absolute;
  right: 10px;
  top: 6px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.file-item .delete-icon:hover {
  opacity: 1;
}

.file-size {
  font-size: 12px;
  color: rgb(76, 76, 76);
}

.upload-status {
  font-size: 12px;
  color: rgb(76, 76, 76);
  margin-top: 14px;
}

.upload-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  cursor: pointer;
}

.upload-icon-small {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.upload-icon-small img {
  width: 168px;
  height: auto;
}

.upload-text-small {
  color: #00000099;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 30px;
}

.completed-item-name,
.converting-filename {
  font-size: 12px !important;
  margin-bottom: 8px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 400px !important;
  display: block !important;
}

.upload-files-btn {
  background-color: #ff8c00;
  color: #ffffff;
  border: none;
  padding: 12px 40px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-files-btn:hover {
  background-color: #ff7700;
  transform: translateY(-1px);
}
/* Convert Now Button Styles */
.convert-now-btn {
  background-color: #ff8c00;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.convert-now-btn:hover {
  background-color: #ff7700;
}

/* Files Upload UI End */

/* UPLOAD AREA PADDING WHEN FILES ARE UPLOADED - Modify these values */
.upload-area.has-files {
  padding: 40px 30px; /* Reduced padding when files are shown (desktop) */
}

/* Specific padding for conversion/completed state */
.upload-area.has-files.converting {
  padding: 22px 40px 50px 40px; /* Custom padding during conversion (desktop) */
}

/* Mobile Styles for upload-area */
@media (max-width: 768px) {
  .upload-area {
    background-image: linear-gradient(white, white),
      url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='20' ry='20' stroke='rgba(0,0,0,0.5)' stroke-width='2' stroke-dasharray='10 8' stroke-linecap='square'/%3e%3c/svg%3e");
  }

  /* Upload area padding when files are uploaded (mobile) */
  .upload-area.has-files {
    padding: 20px 15px; /* Even less padding on mobile when files are shown */
  }

  /* Specific padding for conversion state on mobile */
  .upload-area.has-files.converting {
    padding: 25px 20px 35px 20px; /* Custom padding during conversion (mobile) */
  }

  /* MOBILE STYLES FOR UPLOAD CONTENT WRAPPER - You can modify these values */
  .upload-content-wrapper {
    flex-direction: column !important; /* Stack vertically on mobile */
    gap: 15px; /* Reduce gap between sections */
    padding: 10px; /* Add padding to wrapper on mobile */
  }

  .upload-left {
    width: 100% !important; /* Full width on mobile */
    padding: 30px 20px; /* Reduce padding on mobile */
    margin-bottom: 10px; /* Add space between sections */
  }

  .upload-right {
    width: 100% !important; /* Full width on mobile */
  }

  /* Adjust text sizes for mobile */
  .upload-text-small {
    font-size: 14px; /* Smaller text on mobile */
    margin-bottom: 20px; /* Reduce margin */
    padding: 0 10px; /* Add horizontal padding */
  }

  .upload-icon-small img {
    width: 120px; /* Smaller icon on mobile */
  }

  .upload-files-btn {
    padding: 10px 30px; /* Smaller button padding */
    font-size: 14px; /* Smaller font size */
  }

  /* Files list adjustments */
  .files-header {
    margin-bottom: 20px; /* Reduce margin */
  }
  .header {
    padding: 8px 0 !important;
  }

  .files-count {
    font-size: 16px; /* Smaller font */
  }

  .file-item {
    flex-direction: row; /* Keep horizontal on mobile but adjust sizes */
    padding: 8px; /* Reduce padding */
    gap: 10px; /* Reduce gap */
  }

  .file-icon {
    width: 90px; /* Even smaller preview */
    height: 100px;
  }

  .file-name {
    font-size: 12px; /* Smaller file name */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 400px !important;
    display: block !important;
  }

  /* CONVERT NOW BUTTON - Mobile (768px) */
  .convert-now-btn {
    font-size: 14px; /* Smaller font on mobile */
    padding: 8px 16px; /* Adjust padding */
  }

  /* Converted Files UI Specific Styles - Mobile (768px and lower) */
  .flex-1.text-content-1 {
    margin-bottom: -10px; /* Further decreased margin-bottom for converted files on mobile */
  }

  .completed-item-img,
  .converted-file-icon {
    width: 90px !important;
    height: 100px !important;
  }
  .completed-item-name,
  .converting-filename {
    max-width: 400px !important;
  }
  .converted-file-item {
    padding: 10px !important;
  }
  .start-over-btn {
    width: 84px !important;
    height: 30px !important;
  }
  .download-zip-btn {
    width: 104px !important;
    height: 30px !important;
  }

  .upload-status {
    margin-top: 10px !important;
  }
  .conversion-wrapper h2 {
    font-size: 12px !important;
  }
  .start-over-btn,
  .download-zip-btn {
    font-size: 12px !important;
    padding: 4px 10px !important;
  }
  .max-btn,
  .download-btn,
  .copy-btn {
    padding: 3px !important;
  }
  /* .max-btn img, */
  .download-btn img,
  .copy-btn img {
    width: 12px !important;
    height: 12px !important;
  }

  .max-btn img {
    width: 12px !important;
    height: 12px !important;
  }
  .converting-filename {
    font-size: 12px !important;
  }
  .converting-filesize {
    font-size: 10px !important;
  }

  /* Specific style for converted-file-item when loading bar is present - Mobile (768px and lower) */
  .converted-file-item.has-loading-bar {
    padding-bottom: 5px !important; /* Decreased padding when loading bar is present */
  }

  .delete-icon {
    width: 14px !important;
    height: 14px !important;
  }
  .strip-item p {
    white-space: nowrap !important;
  }
  .completed-item-decs {
    margin-right: 0 !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
}
@media (max-width: 425px) {
  .supported-files-txt p {
    font-size: 12px !important;
  }
  .supported-files-txt {
    margin-right: 10px !important;
    margin-left: 10px !important;
  }
}

.converted-file-item {
  position: relative !important;
}
.action-icons {
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  gap: 5px !important;
}

/* Force scrollbar to always show on Mac for converted text area */
.completed-item-decs {
  /* Always show scrollbar - fixed height ensures scrollbar space */
  overflow-y: scroll !important;
  height: 60px !important;
  /* Reserve permanent gutter space for consistent width */
  scrollbar-gutter: stable both-edges;
  /* Standard scrollbar for Firefox */
  scrollbar-width: thin !important;
  scrollbar-color: #808080 #f0f0f0 !important;
  /* Force webkit scrollbar display */
  -webkit-overflow-scrolling: auto !important;
}

/* Custom scrollbar styles for Webkit browsers (Chrome, Safari on Mac) - always visible */
.completed-item-decs::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
  /* Force scrollbar to always appear on Mac */
  -webkit-appearance: none !important;
  /* Make track visible with solid color */
  background-color: #f0f0f0 !important;
  display: block !important;
  opacity: 1 !important;
}

.completed-item-decs::-webkit-scrollbar-track {
  background: #f0f0f0 !important;
  border-radius: 4px !important;
  display: block !important;
  opacity: 1 !important;
}

.completed-item-decs::-webkit-scrollbar-thumb {
  background: #808080 !important;
  border-radius: 4px !important;
  /* Ensure thumb has minimum height */
  min-height: 20px !important;
  display: block !important;
  opacity: 1 !important;
}

.completed-item-decs::-webkit-scrollbar-thumb:hover {
  background: #666666 !important;
}

/* Scrollbar corner */
.completed-item-decs::-webkit-scrollbar-corner {
  background: #f0f0f0 !important;
}

/* Override any conflicting styles with higher specificity */
.converted-file-item .completed-item-decs::-webkit-scrollbar {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Maximized state for the converted card - vertical expansion only */
.converted-file-item.is-maximized .custom-scrollbar-container,
.converted-file-item.is-maximized .completed-item-decs {
  /* Let it grow vertically */
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;

  /* Keep horizontal size fixed - prevent horizontal expansion */
  overflow-x: hidden !important;
  /* Allow vertical content to show (no scrolling needed when maximized) */
  overflow-y: visible !important;

  /* Keep the same padding as collapsed state - don't reduce to 8px */
  padding-right: 20px !important;
}

/* Hide custom scrollbar track when maximized */
.converted-file-item.is-maximized [class^="custom-scrollbar-track-"] {
  display: none !important;
}

/* Editable text styling */
.completed-item-decs[contenteditable="true"] {
  /* Remove default contenteditable outline */
  outline: none !important;
  /* Add subtle focus indicator */
  transition: border 0.2s ease;
}

.completed-item-decs[contenteditable="true"]:focus {
  /* Slight background change to indicate edit mode - no border */
  background-color: rgba(255, 255, 255, 0.5);
}

.completed-item-decs[contenteditable="true"]:hover {
  /* Subtle background change on hover to indicate editability */
  background-color: rgba(248, 248, 248, 0.3);
}

@media (max-width: 400px) {
  .completed-item-name,
  .converting-filename {
    max-width: 120px !important;
  }
  .start-over-btn,
  .download-zip-btn {
    font-size: 10px !important;
    padding: 4px 10px !important;
    height: 30px !important;
    width: fit-content !important;
  }

  .completed-item-img,
  .converted-file-icon {
    height: 70px !important;
    width: 80px !important;
  }
  .converted-file-item {
    gap: 10px !important;
  }
}
@media (max-width: 405px) {
  .completed-item-decs {
    margin-right: -82px !important;
  }
}
@media (max-width: 382px) {
  /* Removed scrollbar-width: none to ensure scrollbar is always visible on Mac */
  .completed-item-decs {
    /* Keep scrollbar visible even on small screens */
    scrollbar-width: thin !important;
  }
}

/* Fix white space issue below 373px */
@media (max-width: 373px) {
  /* Hide mobile menu overlay gray line */
  .mobile-menu-overlay {
    display: none !important;
  }

  .hero-section {
    margin: 0 0 !important;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 50px;
  }
  .hero-container {
  }
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Ensure all sections stay within viewport */
  .header,
  .hero-section,
  .text-extraction-feature,
  .features-checklist,
  .features-section,
  .why-use-section,
  .where-jpg-section,
  .how-to-use-section,
  .text-extraction-section,
  .faq-section,
  .footer-section {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Fix hero section specifically */
  .hero-section {
    width: auto !important;
    max-width: 100% !important;
  }

  .hero-container {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    margin: 0 auto !important;
    padding: 10px !important;
  }

  /* Fix navbar alignment */
  .header {
    margin: 30px auto 0 auto !important;
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
  }
}

/* Very small screens (370px and below) */
@media (max-width: 370px) {
  /* Fix navbar spacing issues */
  .header {
    margin-left: 10px !important;
    margin-right: -1px !important;
  }

  .mobile-upload-btn img {
    width: 22px;
    height: 16px !important;
  }
  .mobile-upload-buttons-secondary {
    gap: 14px;
  }

  .nav-container {
    padding: 0 10px !important;
    justify-content: space-between !important;
  }

  .mobile-nav {
    padding: 0 !important;
  }

  /* Fix hero container alignment */

  .hero-container {
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 10px !important;
  }

  /* Prevent horizontal overflow */

  /* Fix features checklist specifically */
  .features-checklist {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .checklist-container {
    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;
  }

  .checklist-items {
    width: 100% !important;
    max-width: 100% !important;
  }

  .checklist-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Fix upload area container */
  .hero-section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-right: 10px !important;
  }

  .hero-container {
    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;
  }

  .upload-area {
    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;
  }

  .upload-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 10px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .upload-area.has-files {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Fix mobile upload buttons */
  .mobile-upload-buttons {
    width: 100% !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  .mobile-upload-btn {
    flex: 1 !important;
    max-width: fit-content !important;
  }
  .file-icon,
  .converted-file-icon {
    width: 80px !important;
    height: 85px !important;
  }
  /* Fix upload icon */
  .upload-icon img {
    max-width: 100px !important;
    height: auto !important;
  }

  /* Fix supported files text */
  .supported-files {
    width: 100% !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }

  .supported-files p {
    font-size: 11px !important;
    word-break: break-word !important;
  }

  /* Fix converted files container */
  .converted-files-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .converted-files-list {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box !important;
  }

  .converted-file-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .completed-item-decs {
    max-width: calc(100vw - 150px) !important;
    margin-right: 0 !important;
  }

  /* Fix buttons container */
  .converted-buttons-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }

  /* Ensure all sections fit viewport */
  section {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .hero-container,
  .feature-container,
  .checklist-container,
  .features-container,
  .why-use-container,
  .where-jpg-container,
  .how-to-use-container,
  .text-extraction-container,
  .faq-container,
  .footer-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
  }

  /* Additional overflow prevention */
  .features-checklist::before,
  .features-checklist::after {
    display: none !important;
  }

  /* Ensure no element can overflow */
  body * {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }

  /* Fix any fixed width elements */
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Very small screens (335px and below) */
@media (max-width: 335px) {
  /* Fix jpg feature items */
  .file-name {
    font-size: 10px !important;
  }
  .converting-name {
    font-size: 10px !important;
  }
  .completed-item-name,
  .converting-filename {
    max-width: 100px !important;
  }
  .file-icon,
  .converted-file-icon {
    width: 60px !important;
    height: 65px !important;
  }
  .upload-status {
    font-size: 10px !important;
  }
  .jpg-feature-item {
    padding: 8px;
  }
  .supported-files-txt p {
    font-size: 12px !important;
  }

  .jpg-feature-content {
    gap: 10px;
    padding: 15px 2px;
  }

  .jpg-feature-sparkle {
    min-width: 40px;
    width: 40px;
    height: 40px;
  }

  .jpg-feature-name {
    font-size: 16px;
    line-height: 1.3;
  }

  .jpg-feature-description {
    font-size: 13px;
    line-height: 1.4;
  }

  /* Fix upload area */
  .upload-area {
    padding: 20px 10px;
  }

  .upload-box {
    padding: 20px 10px;
  }

  /* Fix converted files list */
  .converted-files-list {
    padding: 15px 10px;
  }

  .converted-file-item {
    padding: 10px;
    gap: 8px;
  }

  .file-thumbnail,
  .completed-item-img {
    width: 60px !important;
    height: 65px !important;
    min-width: 50px !important;
  }

  .file-details {
    gap: 3px;
    flex: 1;
    min-width: 0;
  }

  .file-name {
    font-size: 13px;
    word-break: break-word;
  }

  .file-size {
    font-size: 11px;
  }

  .file-status {
    font-size: 11px;
  }

  /* Fix buttons in converted view */
  .converted-buttons-container {
    gap: 8px;
  }

  .start-over-btn,
  .download-zip-btn {
    font-size: 9px !important;
    padding: 3px 8px !important;
    min-width: 70px;
  }

  /* Fix feature checklist */
  .checklist-items {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .checklist-item {
    justify-content: center;
    padding: 4px;
  }

  .checklist-text {
    font-size: 13px;
  }

  .tick-icon {
    width: 18px;
    height: 18px;
  }

  /* Fix text extraction feature section */
  .feature-title-extraction {
    font-size: 24px;
    line-height: 1.2;
  }

  .feature-description-extraction {
    font-size: 14px;
    line-height: 1.4;
  }

  .feature-btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  /* Fix converting state */
  .converting-message {
    font-size: 12px;
  }

  .progress-bar {
    height: 2px;
  }

  /* Fix file upload status */
  .upload-finished {
    font-size: 11px;
  }

  /* Clear all button */
  .clear-all-btn {
    font-size: 12px;
    padding: 4px 8px;
  }

  /* Files uploaded counter */
  .files-uploaded-text {
    font-size: 14px;
  }
}
/* Extra small mobile devices (480px and below) */
@media (max-width: 480px) {
  /* Upload area base padding for very small screens */
  .upload-area {
    padding: 30px 15px; /* Much less padding on very small screens */
  }

  /* Upload area when files are present */
  .upload-area.has-files {
    padding: 15px 10px; /* Minimal padding when files shown on very small screens */
  }

  /* Upload area during conversion */
  .upload-area.has-files.converting {
    padding: 10px 15px 20px 15px; /* Reduced padding during conversion on very small screens */
  }

  /* EXTRA SMALL MOBILE STYLES - You can modify these values */
  .upload-content-wrapper {
    flex-direction: column !important; /* Force vertical stacking on very small screens */
    padding: 5px; /* Minimal padding on very small screens */
  }

  .upload-left {
    padding: 25px 10px; /* Much less padding */
  }

  .upload-text-small {
    font-size: 11px; /* Even smaller text */
    padding: 0 5px; /* Less horizontal padding */
  }

  .upload-icon-small img {
    width: 100px; /* Even smaller icon */
  }

  .upload-files-btn {
    padding: 8px 25px; /* Smaller button */
    font-size: 13px; /* Smaller font */
    width: 100%; /* Full width button on very small screens */
  }

  .file-item {
    padding: 6px; /* Less padding */
  }

  .file-icon {
    width: 90px; /* Even smaller preview */
    height: 100px;
  }

  .file-name {
    font-size: 12px;
    text-align: left;
  }

  .file-size {
    font-size: 10px; /* Smaller text */
  }

  .files-count {
    font-size: 14px; /* Smaller header text */
  }

  .clear-all-btn {
    font-size: 12px; /* Smaller clear button text */
  }

  /* CONVERT NOW BUTTON - Extra small mobile (480px) */
  .convert-now-btn {
    font-size: 12px; /* Even smaller font on very small screens */
    padding: 6px 12px; /* Smaller padding */
  }

  /* Upload status margin control for small screens */
  .upload-status {
    margin-top: 10px; /* Reduced margin-top on very small screens */
  }

  /* Remove space-between from file-info on small screens */
  .file-info {
    justify-content: flex-start; /* Remove space-between alignment */
  }
  .file-item {
    min-height: 86px; /* Reduce minimum height */
  }
}
@media (max-width: 340px) {
  .upload-area.has-files.converting {
    padding: 10px 5px 10px 5px; /* Further reduced padding during conversion on very small screens */
  }
  .header-strip-converted {
    padding: 0 5px !important;
  }
  .converted-files-list {
    padding: 10px 2px;
  }
  .supported-files-txt p {
    font-size: 10px !important;
  }
}

/* Keep icon sizes consistent below 310px */
@media (max-width: 310px) {
  .max-btn img,
  .download-btn img,
  .copy-btn img {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
  }
}

@media (max-width: 258px) {
  .mobile-upload-buttons-secondary {
    flex-direction: column;
    gap: 10px !important;
  }

  .mobile-upload-btn span {
    font-size: 10px !important;
  }
  .mobile-upload-btn img {
    width: 20px !important;
    height: 14px !important;
  }

  .upload-icon-small img {
    margin-bottom: -30px !important;
  }
}
@media (max-width: 270px) {
  .upload-area.has-files {
    padding: 5px 4px;
  }
}

/* FAQ Section Start */
.faq-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.faq-container {
  max-width: 1210px;
  margin: 0 auto;
}

.faq-heading {
  font-size: 44px;
  font-weight: 400;
  color: #222222;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.faq-grid {
  column-count: 2;
  column-gap: 10px;
}

.faq-grid .faq-item {
  break-inside: avoid;
  margin-bottom: 10px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  max-width: 605px;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 33px 25px;
  cursor: pointer;
  user-select: none;
  /* border-bottom: 1px solid transparent; */
  transition: border-color 0.3s ease;
  max-height: 94px;
}

.faq-item.active .faq-question {
  border-bottom-color: #e5e5e5;
  border-color: #ff8502;
}

.faq-item:hover,
.faq-item:active {
  border-color: #ff8502;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.faq-question span {
  font-size: 20px;
  font-weight: 400;
  color: #222222;
  line-height: 1.4;
  flex: 1;
  padding-right: 25px;
}

.faq-toggle {
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-toggle img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle img {
  transform: rotate(45deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
  padding-right: 20px;
}

.faq-item.active .faq-answer {
  height: auto;
  margin-top: -20px;
  transition: height 0.35s ease;
}

.faq-answer p {
  padding: 0 24px 24px 24px;
  font-size: 16px;
  font-weight: 400;
  color: #666666;
  line-height: 1.6;
  margin: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.faq-item.active .faq-answer p {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Styles for FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: 50px 16px;
  }

  .faq-heading {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .faq-grid {
    column-count: 1;
    column-gap: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .faq-grid .faq-item {
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-question span {
    font-size: 15px;
    padding-right: 15px;
  }

  .faq-toggle {
    width: 26px;
    height: 26px;
  }

  .faq-answer p {
    padding: 0 20px 20px 20px;
    font-size: 14px;
  }

  .faq-item.active .faq-answer {
    margin-top: -10px;
  }
}
/* FAQ Section End */

/* Footer Section Start */
.footer-section {
  background-color: #ff8502;
  color: #ffffff;
  padding: 60px 20px 0;
  /* margin-top: 80px; */
  border-radius: 30px;
  margin-bottom: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  padding-bottom: 40px;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  cursor: pointer;
}

.footer-logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-title {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-email {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 300;
  transition: opacity 0.3s ease;
}

.footer-email:hover {
  opacity: 0.8;
}

.footer-address {
  font-size: 18px;
  font-weight: 300;
  margin: 0;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 300;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

.language-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: #333333;
  padding: 10px 20px;
  height: 60px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.language-selector a {
    text-decoration: none !important;
}
.language-dropdown:hover {
  background-color: #f5f5f5;
}

.flag-icon {
  width: 20px;
  height: 16px;
}

.language-dropdown span {
  font-size: 16px;
  font-weight: 500;
}

.language-dropdown svg {
  margin-left: 20px;
  width: 20px;
  height: 20px;
}

.language-selector {
  position: relative;
}

.language-options {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 5px;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  width: 220px;
  max-height: 200px;
  display: flex;
  flex-direction: column;
}

.language-options-list {
  max-height: 150px;
  overflow-y: auto;
  flex: 1;
}

/* Custom scrollbar for language dropdown */
.language-options-list::-webkit-scrollbar {
  width: 8px;
}

.language-options-list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

.language-options-list::-webkit-scrollbar-thumb {
  background: #999999;
  border-radius: 10px;
  min-height: 10px;
  max-height: 12px;
}

.language-options-list::-webkit-scrollbar-thumb:hover {
  background: #777777;
}

.language-selector.active .language-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-search {
  padding: 8px;
  /* border-bottom: 1px solid #e0e0e0; */
  position: sticky;
  top: 0;
  background-color: #ffffff;
  z-index: 1;
  border-radius: 5px 5px 0 0;
}

.language-search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px dashed #999999;
  border-radius: 25px;
  font-size: 14px;
  color: #333333;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.3s ease;
}

.language-search-input::placeholder {
  color: #999999;
  opacity: 1;
}

.language-search-input:focus {
  border-color: #999999;
  border-style: dashed;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  color: #333333;
}

.language-option:hover {
  background-color: #f5f5f5;
}

.language-option .flag-icon {
  width: 20px;
  height: 14px;
}

.language-option span {
  font-size: 14px;
  font-weight: 500;
}

.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
  align-self: flex-end;
  margin-left: auto;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
}

.social-link img,
.social-link svg {
  width: 20px;
  height: 20px;
  color: #ff8502;
  fill: #ff8502;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.64);
  padding: 30px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 18px;
  margin: 0;
  color: #ffffff;
}

.footer-bottom-links {
  display: flex;
  gap: 60px;
  align-items: center;
}

.footer-bottom-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 300;
  transition: opacity 0.3s ease;
}

.footer-bottom-links a:hover {
  opacity: 0.8;
}

@media (max-width: 950px) {
  .file-name {
    max-width: 200px !important;
  }
}

/* Mobile Styles for Footer */
@media (max-width: 768px) {
  .footer-section {
    padding: 40px 16px 0;
    margin-top: 50px;
    border-radius: 20px 20px 0 0;
  }

  .footer-logo {
    margin-bottom: 30px;
  }

  .footer-logo img {
    height: 40px;
  }

  .footer-main {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .footer-column {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-title {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-links {
    align-items: center;
  }

  .language-selector {
    display: flex;
    justify-content: center;
  }

  .footer-social {
    margin-left: 0;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
    display: flex;
    align-self: center;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  /* popup */
  .custom-popup {
    max-width: 300px !important;
    height: 348px !important;
  }
  .popup-img {
    height: 168px !important;
  }
  .popup-content-section {
    justify-content: flex-start !important;
    padding: 18px !important;
  }
  .popup-content-section h3 {
    margin-bottom: 12px !important;
    font-size: 20px !important;
  }
  .popup-content-section p {
    font-size: 16px !important;
  }

  .popup-content-section #fileLimitOkBtn {
    margin-top: 16px !important;
  }
  .file-name {
    max-width: 450px !important;
  }
}
/* Footer Section End */

/* functionality */

@media (max-width: 700px) {
  .completed-item-name,
  .converting-filename {
    max-width: 300px !important;
  }
  .file-name {
    max-width: 350px !important;
  }
}
@media (max-width: 600px) {
  .completed-item-name,
  .converting-filename,
  .file-name {
    max-width: 250px !important;
  }
}
@media (max-width: 540px) {
  .completed-item-name,
  .converting-filename,
  .file-name {
    max-width: 200px !important;
  }
  .extraction-step {
    gap: 15px !important;
  }
  .step-number img {
    width: 55px;
    height: 55px;
  }
}
@media (max-width: 485px) {
  .completed-item-name,
  .converting-filename {
    max-width: 150px !important;
  }
}
@media (max-width: 430px) {
  .file-name {
    max-width: 150px !important;
  }
}

@media (max-width: 430px) {
  .completed-item-name,
  .converting-filename {
    max-width: 100px !important;
  }
}
@media (max-width: 360px) {
  .completed-item-name,
  .converting-filename {
    max-width: 68px !important;
  }

  .custom-popup {
    width: 85% !important;
  }
  .popup-content-section h3,
  .popup-content-section p {
    font-size: 16px !important;
  }
}
@media (max-width: 325px) {
  .file-name {
    max-width: 100px !important;
  }
}
@media (max-width: 300px) {
  .converting-file-item .delete-icon,
  .converting-file-item .close-icon {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
  }
}

@media (max-width: 290px) {
  .completed-item-name,
  .converting-filename {
    max-width: 40px !important;
  }
}
@media (max-width: 260px) {
  .completed-item-name,
  .converting-filename {
    max-width: 20px !important;
  }
  .file-name {
    max-width: 50px !important;
  }
}
@media (max-width: 220px) {
  .file-name {
    max-width: 30px !important;
  }
}

/* Custom positioning for feature card corners - fixes Tailwind arbitrary values */
.grid-corner.\-top-\[6px\] {
  top: -6px !important;
}

.grid-corner.\-bottom-\[6px\] {
  bottom: -6px !important;
}

.grid-corner.\-left-\[6\.5px\] {
  left: -6.5px !important;
}

.grid-corner.\-right-\[6\.5px\] {
  right: -6.5px !important;
}

/* Turnstile Widget Styles */
.turnstile-widget {
  margin: 20px 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
}

#turnstile-widget {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Responsive: Center on mobile/tablet */
@media (max-width: 768px) {
  .turnstile-widget,
  #turnstile-container {
    justify-content: center !important;
    display: flex !important;
  }

  #turnstile-widget {
    justify-content: center !important;
    display: flex !important;
  }

  /* Center Convert Now button on mobile */
  .convert-now-btn {
    margin: 0 auto;
    display: block;
  }

  /* Center the button container */
  .upload-status div[style*="justify-content: right"] {
    justify-content: center !important;
  }
}

/* Template-based UI Styles */
.converted-file-item.converting {
  background: #FBFBFB;
  border-radius: 12px;
  padding-top: 15px;
  padding-bottom: 45px;
  padding-right: 15px;
  padding-left: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.converted-file-item.completed {
  background: #FBFBFB;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.converted-file-item.error {
  background: #fff2f2;
  border: 1px solid #ffcdd2;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.converted-file-item.error .completed-item-name.error {
  color: #d32f2f;
}

.converted-file-item.error .error-indicator {
  width: 100%;
  height: 100%;
  background: #ffcdd2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d32f2f;
  font-size: 12px;
  font-weight: bold;
}

.converted-file-item.error .error-message {
  background: #ffebee;
  border: 1px solid #ffcdd2;
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
  color: #d32f2f;
}

.retry-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: #ff6b6b;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
}

.progress-section {
  margin-top: 7px;
  margin-left: 30px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(
    45deg,
    #ff8c00 25%,
    #ffaa33 25%,
    #ffaa33 50%,
    #ff8c00 50%,
    #ff8c00 75%,
    #ffaa33 75%,
    #ffaa33
  );
  background-size: 12px 12px;
  border-radius: 2px;
  animation: stripeMove 1s linear infinite;
}

@keyframes stripeMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 12px 0;
  }
}

@keyframes fillProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Upload area cursor */
.upload-box {
  cursor: pointer;
}

.converting-status {
  margin-top: 7px;
}

.converting-status span {
  font-size: 12px;
  color: #4C4C4C;
}
