* {
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  margin: 0;
  background: #f2f2f2;
  height: 100vh;
}

/* CONTAINER PRINCIPAL */
.app {
  width: 100%;
  height: 100%;
  padding: 24px;
}

/* TOPO */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.header-center {
  text-align: center;
  flex: 1;
}

.header h1 {
  font-size: 26px;
  margin: 0;
}

.subtitle {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}

/* BOTÃO VOLTAR */
.back-btn {
  background: #e5e5e5;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
}

.back-btn:hover {
  background: #dcdcdc;
}

/* CARD CENTRAL */
.card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}


.drop-zone {
  border: 2px dashed #bbb;
  border-radius: 10px;
  padding: 36px;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 16px;
}

.drop-zone:hover {
  background: #f9f9f9;
}

.drop-text {
  margin: 0;
  font-size: 14px;
}

.drop-text span {
  font-size: 12px;
  color: #666;
}

.file-info {
  margin-top: 10px;
  font-size: 12px;
  color: #333;
}

.options {
  margin-bottom: 16px;
}

.options h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.options label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  cursor: pointer;
}

.action-btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  margin-top: 10px;
  border: none;
  background: #3b82f6;
  color: #fff;
  cursor: pointer;
}

.action-btn:disabled {
  background: #b5c8f3;
  cursor: not-allowed;
}

.progress {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
}

.download-btn {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  color: #16a34a;
  text-decoration: none;
}

.hidden {
  display: none;
}

.progress {
  margin-top: 16px;
}

.progress-text {
  font-size: 13px;
  margin-bottom: 6px;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #3b82f6;
  transition: width 0.2s ease;
}

.size-info {
  margin: 12px 0 18px;
  font-size: 13px;
  color: #333;
  display: grid;
  gap: 4px;
}

.size-info strong {
  font-weight: 600;
}

/* =========================
   MODAL
========================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 26px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  text-align: center;
}

.modal-box h2 {
  margin-top: 0;
  font-size: 20px;
}

.modal-box ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  text-align: left;
}

.modal-box li {
  font-size: 14px;
  margin-bottom: 8px;
}

.modal-close {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
}

.modal-close:hover {
  background: #2563eb;
}

.hidden {
  display: none;
}

.info-btn {
  background: #e5e5e5;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
}

.info-btn:hover {
  background: #dcdcdc;
}
