
.container {
  border: 0;
  flex: 1;
  width: 1080px;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
  display: block;

  overflow-y: unset;
  margin: 8px auto;
  height: auto;
}

header.title {
  background-color: #fff;
}
#headerUserBack {
  margin-right: 0;
}

.image_title div {
  margin: 16px 0;
}

#imageTipsBox {
  margin-top: 60px;
}

#controls {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid-container {
  width: 70%;
  margin: 0 auto;
}

#videoContainer {
  outline: 1px solid #aaa;
}

#controls button {
  background-color: var(--button-color);
  color: var(--color-white);
  justify-content: center;
  text-align: center;
  width: 145px;
}

#controls button span {
  margin: 0;
}

.upload-label {
  background-color: #0088ff;
  pointer-events: auto;
}

.main_title {
  font-size: 32px;
  font-weight: 700;
  margin-top: 24px;
}

#imageTipsBox h2 {
  font-size: 18px;
  color: #666;
  margin: 16px;
  line-height: 30px;
  font-weight: normal;
}


.guide-section {
  margin: 40px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 20px;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: #333333;
  line-height: 1.8;
}


.guide-section h3 {
  font-family: 32px;
}

.guide-section h2::before {
  margin-right: 12px;
  font-size: 26px;
}


.guide-section h3 {
  font-size: 20px;
  color: #1d1d1f;
  margin-top: 64px;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f5f5f7;
  position: relative;
}

.guide-section h3::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #0071e3, #00b4d8);
}


.guide-section p {
  font-size: 15px;
  color: #515154;
  margin-bottom: 16px;
}


.guide-section strong {
  color: #0071e3;
  font-weight: 600;
  background: rgba(0, 113, 227, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}


.guide-section ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.guide-section ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: #515154;
  text-align: left;
}

.guide-section ul li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 2px;
  color: #34c759;
  
  font-weight: bold;
  font-size: 14px;
}


.guide-section {
  counter-reset: step-counter;
}


.step {
  background: #fbfbfd;
  border: 1px solid #f5f5f7;
  border-radius: 12px;
  padding: 24px 24px 24px 64px;
  margin-bottom: 20px;
  position: relative;
  transition: all 0.3s ease;
}


.step:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #e8e8ed;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}


.step h4 {
  text-align: left;
  font-size: 16px;
  color: #1d1d1f;
  margin: 0 0 8px 0;
  font-weight: 600;
}


.step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 22px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #0071e3, #00b4d8);
  color: #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 113, 227, 0.2);
}


.step p {
  margin: 0;
  font-size: 14px;
  color: #6e6e73;
  text-align: left;
}

@media (max-width: 768px) {
  .guide-section {
    margin-top: 0;
    padding: 20px;
    border-radius: 12px;
  }

  .guide-section h2 {
    font-size: 22px;
  }

  .step {
    padding: 20px 20px 20px 54px;
  }

  .step::before {
    left: 14px;
    top: 18px;
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  #imageTipsBox {
    margin-top: 16px;
  }

  .grid-container .grid-item p {
    font-size: 14px;
  }

  .section {
    padding: 4px;
        height: calc(100vh - 72px);
  }

  .container {

    width: 98%;
    margin: 4px auto;
    padding: 0;
  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0;
    width: 98%;
    padding: 0;
  }
  .section .file-info {
    width: 100%;
    padding: 8px 0;
  }

  #videoContainer {
    width: 100%;
  }
}
