@import url('../styles.css');

.apoie-page {
  padding: 40px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.apoie-container {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.apoie-left {
  flex: 1;
  padding: 40px;
  background: var(--bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.apoie-right {
  flex: 1.2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.apoie-header h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.apoie-header p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.qr-container {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 25px;
  width: fit-content;
}

.qr-container img {
  width: 220px;
  height: 220px;
  display: block;
}

.pix-key-wrapper {
  width: 100%;
}

.key-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.key-display {
  display: flex;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 8px 8px 15px;
  border-radius: 8px;
  align-items: center;
}

.key-text {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 600;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Fix for the unreadable button */
#copyPix {
  background-color: var(--primary);
  color: #ffffff !important;
  border-radius: 6px;
  padding: 8px 15px;
  font-size: 0.85rem;
}

#copyPix:hover {
  background-color: var(--primary-hover);
}

.why-support h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.why-support p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.benefits-list {
  list-style: none;
  margin-bottom: 2rem;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.benefits-list li i {
  color: var(--primary);
}

/* Mobile */
@media (max-width: 850px) {
  .apoie-page {
    padding: 20px 0;
  }
  .apoie-container {
    flex-direction: column;
  }
  .apoie-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 30px 20px;
  }
  .apoie-right {
    padding: 30px 20px;
  }
  .apoie-header h1 {
    font-size: 1.75rem;
  }
}
