/* style.css */
body {
  background: #f5f7fa;
  font-family: 'Noto Sans KR', sans-serif;
  margin: 0; padding: 0;
  text-align: center; color: #333;
}

.home-button {
  position: fixed; top: 12px; left: 0; right: 0;
  margin: auto; width: fit-content;
  padding: 14px 24px; background: #0066cc; color: #fff;
  text-decoration: none;  /* 밑줄 제거 */
  border-radius: 10px; font-weight: 600; font-size: 1.3em;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  overflow: hidden;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
  z-index: 999;
}
.home-button:hover {
  background: #004999;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}
.home-button::before {
  content: ""; position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%; background: rgba(255,255,255,0.4);
  transform: skewX(-30deg); animation: shine 3s infinite;
}
@keyframes shine {
  0% { left: -75%; } 50% { left: 125%; } 100% { left: -75%; }
}

.container {
  max-width: 680px;
  margin: 100px auto 40px;
  background: #fff; padding: 30px 20px;
  border-radius: 12px; box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.description { color: #555; margin-bottom: 20px; }
.usage { text-align: left; margin-bottom: 20px; }
.usage h2 { font-size: 1.2em; margin: 12px 0 6px; }
.usage ul { padding-left: 1.2em; list-style: disc; color: #444; }
.usage ol { padding-left: 1.2em; color: #444; }
.usage li { margin-bottom: 6px; }
.usage .note { font-size: 0.9em; color: #777; margin-top: 8px; }

.upload-box { margin-bottom: 20px; position: relative; }
.drop-zone {
  padding: 40px; background: #f0f3f7;
  border: 2px dashed #bbb; border-radius: 10px;
  cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.drop-zone.hover { background: #e2e6eb; border-color: #888; }

.file-info {
  display: none; /* 기본 숨김 */
  justify-content: center; align-items: center;
  gap: 10px; margin-top: 15px;
  font-size: 1.2em; font-weight: 600;
  background: #eef6ff; padding: 10px 16px;
  border-radius: 8px; color: #0056a3;
}
.arrow { font-size: 1.4em; }

.format-select {
  padding: 6px 12px; font-size: 1em;
  border-radius: 6px; border: 1px solid #ccc;
  background: #fff; cursor: pointer;
}

.quality-area {
  display: flex; justify-content: center; align-items: center;
  gap: 20px; margin-bottom: 20px;
}
#qualityBox { display: none; /* 기본 숨김 */ }
.quality-box { display: inline-flex; align-items: center; gap: 8px; }
.quality-box label { font-weight: 500; }
#quality { vertical-align: middle; }

.preview img {
  max-width: 100%; margin-bottom: 20px;
  border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* style.css 에 추가 또는 수정 */

#convertBtn {
  padding: 16px 36px;           /* 버튼 크기 확대 */
  font-size: 1.2rem;            /* 글자 크기 증가 */
  background-color: #ff5722;    /* 눈에 띄는 주황색 */
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 진한 그림자 */
  transition: background-color 0.3s, box-shadow 0.2s, transform 0.2s;
}

#convertBtn:hover {
  background-color: #e64a19;    /* 진한 주황색으로 호버 */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}


.result-size {
  margin-top: 12px; font-size: 0.95em; color: #555;
}
