/* Shared styles for legal pages (privacidade.html, termos.html) */

.legal-main {
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: 70vh;
  background: var(--bg);
}

.legal-container {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(129, 25, 236, 0.1);
}

.legal-header h1 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--dark);
  margin-top: 12px;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 14px;
  color: var(--slate-light);
}

.legal-body section {
  margin-bottom: 40px;
}

.legal-body h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.legal-body p {
  font-size: 15px;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 12px;
}

.legal-body ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-body ul li {
  font-size: 15px;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 6px;
}

.legal-body a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a:hover {
  opacity: 0.8;
}

/* Nav button link variant for legal pages */
nav .btn-download {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--purple);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

nav .btn-download:hover {
  opacity: 0.88;
}

@media (max-width: 768px) {
  .legal-main {
    padding-top: 84px;
    padding-bottom: 56px;
  }

  .legal-header h1 {
    font-size: 28px;
  }

  .legal-body h2 {
    font-size: 17px;
  }
}

/* ── Deletion page styles ── */

.deletion-info-box {
  background: var(--purple-light);
  border: 1px solid rgba(129, 25, 236, 0.15);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 16px 0;
}

.deletion-info-box ul {
  padding-left: 20px;
  margin: 0;
}

.deletion-info-box ul li {
  color: var(--dark);
  font-weight: 500;
  margin-bottom: 6px;
}

.deletion-timeline-box {
  display: flex;
  margin: 20px 0 0;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  overflow: hidden;
}

.timeline-step {
  flex: 1;
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  background: var(--bg2);
}

.timeline-step:last-child {
  border-right: none;
}

.timeline-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-step-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.timeline-step-sub {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.5;
  margin: 0;
}

.deletion-notice {
  background: rgba(255, 122, 110, 0.08);
  border-left: 3px solid #FF7A6E;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  font-size: 14px;
  color: #b91c1c;
  margin-top: 16px;
  margin-bottom: 0;
}

.deletion-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--dark);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(129, 25, 236, 0.1);
}

.form-hint {
  font-size: 13px;
  color: var(--slate-light);
  margin: 0;
}

.form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.form-group--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--purple);
  cursor: pointer;
  margin-top: 2px;
}

.form-group--checkbox label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
}

.form-error {
  background: rgba(255, 122, 110, 0.1);
  border: 1px solid rgba(255, 122, 110, 0.3);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: #b91c1c;
  display: none;
  margin: 0;
}

.form-error.visible {
  display: block;
}

.deletion-submit-btn {
  width: 100%;
  padding: 15px 24px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 4px;
}

.deletion-submit-btn:hover {
  background: #6F0FD4;
}

.deletion-submit-btn:active {
  transform: scale(0.99);
}

.deletion-success {
  text-align: center;
  padding: 48px 24px;
  border: 1px solid rgba(78, 209, 161, 0.3);
  border-radius: 20px;
  background: rgba(78, 209, 161, 0.05);
  margin-top: 24px;
}

.deletion-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #4ED1A1;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.deletion-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.deletion-success p {
  font-size: 15px;
  color: #374151;
  line-height: 1.75;
}

@media (max-width: 600px) {
  .deletion-timeline-box {
    flex-direction: column;
  }

  .timeline-step {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }

  .timeline-step:last-child {
    border-bottom: none;
  }
}
