* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background-color: #f5f7f9;
  min-height: 100vh;
  padding-bottom: 120px;
}

.header {
  background-color: white;
  padding: 24px 16px;
}

.header h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ecf5f2;
  padding: 8px 16px;
  border-radius: 6px;
  max-width: 100%;
  margin: 0 auto;
}

.security-badge svg {
  width: 16px;
  height: 16px;
  color: #038758;
}

.security-badge span {
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
}

.container {
  padding: 24px 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.card {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.card-header img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.card-header p {
  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
  width: 80px;
  text-align: right;
}

.card-body {
  padding: 16px;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.info-row:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.info-value {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.discount-label {
  color: #1f8a66;
}

.discount-value {
  color: #1f8a66;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 16px;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.pix-icon {
  width: 36px;
  height: 36px;
  background-color: #ecf5f2;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pix-icon svg {
  width: 20px;
  height: 20px;
  color: #038758;
}

.payment-label {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.divider {
  border-top: 1px solid #e5e7eb;
}

.payment-details {
  padding: 16px;
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.detail-row:last-child {
  margin-bottom: 0;
}

.detail-label {
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
}

.detail-value {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  padding: 16px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 50;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.total-label {
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

.total-value {
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

.btn-payment {
  width: 100%;
  background-color: #1976d2;
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-payment:hover {
  opacity: 0.9;
}

.btn-payment:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .header h2 {
    font-size: 18px;
  }

  .security-badge span {
    font-size: 11px;
  }
}

.pb-32 {
  padding-bottom: 8rem;
}

.bg-white {
  background-color: white;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-7xl {
  max-width: 1280px;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.p-4 {
  padding: 1rem;
}

.text-center {
  text-align: center;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.size-9 {
  width: 2.25rem;
  height: 2.25rem;
}

.h-10 {
  height: 2.5rem;
}

.w-10 {
  width: 2.5rem;
}

.w-full {
  width: 100%;
}

.shrink-0 {
  flex-shrink: 0;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-sm {
  border-radius: 0.125rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.border {
  border-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.border-gray-300 {
  border-color: #d1d5db;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.text-gray-500 {
  color: #6b7280;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-700 {
  color: #374151;
}

.text-red-600 {
  color: #dc2626;
}

.text-white {
  color: white;
}

.shadow {
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.svg-inline--fa {
  display: inline-block;
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
}

.fa-copy,
.fa-qrcode,
.fa-check {
  width: 1em;
  height: 1em;
}
