﻿:root {
  --bg1: #f4f7fb;
  --bg2: #e6edf7;
  --text: #111827;
  --muted: #4b5563;
  --card: #ffffff;
  --border: #d5dde8;
  --primary: #0f766e;
  --primary-hover: #115e59;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, var(--bg2), var(--bg1));
  min-height: 100vh;
}

.container {
  width: min(760px, 92vw);
  margin: 40px auto;
}

h1 {
  margin: 0 0 12px;
  font-size: 1.9rem;
}

.brand {
  letter-spacing: 0.2px;
}

.brand .accent-n {
  color: #e11d48;
}
.desc {
  color: var(--muted);
  margin: 0 0 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.deleted {
  text-align: center;
}

.file-label {
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-block;
}
.file-picker {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.file-btn {
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--text);
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  flex: 0 0 auto;
}

.file-btn:hover {
  background: #f1f5f9;
}

.file-name {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.option-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 16px;
  color: var(--muted);
}

.option-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

input,
select,
button {
  font: inherit;
}

input[type="file"],
select,
input[readonly] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 16px;
  background: #fff;
}

button,
.back {
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 11px 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

button:hover,
.back:hover {
  background: var(--primary-hover);
}

.preview-wrap {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 10px;
  margin: 10px 0 16px;
  background: #f8fafc;
}

.preview {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.anti-save .preview {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y pinch-zoom;
}

.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 12px;
}

.hint {
  color: var(--muted);
  margin: 0 0 12px;
}

@media (max-width: 560px) {
  .row {
    grid-template-columns: 1fr;
  }

  .container {
    margin: 20px auto;
  }
}







.legal-note {
  margin: 14px 2px 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #6b7280;
}


.upload-progress {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: #f8fafc;
}

.upload-progress-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.upload-progress-track {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.upload-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0f766e, #14b8a6);
  transition: width 0.2s ease;
}

button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}


.lang-switch {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 10px;
}

.lang-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  cursor: pointer;
}

.lang-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
  background: #ecfeff;
}


.video-no-download video.preview::-webkit-media-controls-download-button {
  display: none !important;
}

.video-no-download video.preview::-webkit-media-controls-overflow-button {
  display: none !important;
}

.video-no-download video.preview::-internal-media-controls-download-button {
  display: none !important;
}
