body {
  font-family: Arial, sans-serif;
  background: #f3f4f6;
  margin: 0;
}

.wrap {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: white;
  padding: 24px;
  border-radius: 20px;
}

h1 {
  font-size: 40px;
  margin: 0 0 16px;
}

.sub {
  color: #6b7280;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.4;
}

label {
  font-weight: bold;
  margin-top: 10px;
  display: block;
  margin-bottom: 8px;
}

input {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 16px;
}

.button-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.secondary,
.secondary-btn {
  flex: 1;
  background: #4b5563;
  color: white;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

button {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  background: #08152f;
  color: white;
  border: none;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.light-btn {
  background: #e5e7eb;
  color: #111827;
}

.preview {
  width: 100%;
  max-width: 220px;
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  display: block;
}

.result-img {
  width: 100%;
  margin-top: 10px;
  border-radius: 10px;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

#counter {
  margin-top: 10px;
  color: #4b5563;
  font-weight: 700;
}

.file-input-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.hidden {
  display: none !important;
}

.footer {
  width: 100%;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  font-size: 12px;
  color: #9ca3af;
  opacity: 0.8;
}
