/* [project]/renovacao/src/app/pagamento/pagamento.css [app-client] (css) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f8f9fa;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  line-height: 1.4;
}

.payment-loading {
  text-align: center;
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: auto;
  padding: 60px 20px;
  display: flex;
}

.loading-header {
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  display: flex;
}

.loading-logo {
  margin-bottom: 20px;
}

.loading-title {
  color: #495057;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.secure-env {
  color: #28a745;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: 12px;
  font-weight: 500;
}

.loading-spinner {
  margin-top: 30px;
}

.spinner {
  border: 3px solid #e9ecef;
  border-top-color: #28a745;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: 1s linear infinite spin;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.payment-container {
  text-align: center;
  background: #fff;
  flex-direction: column;
  align-items: center;
  max-width: 380px;
  min-height: auto;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
}

.payment-header {
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  display: flex;
}

.payment-logo {
  margin-bottom: 12px;
}

.payment-title {
  color: #495057;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.payment-amount-section {
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
}

.payment-amount {
  color: #6c757d;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 400;
}

.payment-value {
  color: #495057;
  font-size: 18px;
  font-weight: 600;
}

.copy-pix-btn {
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: #28a745;
  border: none;
  border-radius: 3px;
  width: 100%;
  max-width: 250px;
  margin-bottom: 20px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  transition: all .15s;
  box-shadow: 0 1px 2px rgba(40, 167, 69, .2);
}

.copy-pix-btn:hover {
  background: #218838;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(40, 167, 69, .3);
}

.copy-pix-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(40, 167, 69, .2);
}

.timer-section {
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
}

.timer-label {
  color: #6c757d;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 400;
}

.timer {
  color: #dc3545;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 3px;
  min-width: 50px;
  padding: 6px 12px;
  font-family: Monaco, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
}

.payment-instructions {
  text-align: left;
  width: 100%;
  max-width: 280px;
  margin-top: 12px;
}

.payment-instructions h2 {
  color: #495057;
  text-align: left;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.payment-instructions ol {
  counter-reset: step-counter;
  list-style: none;
}

.payment-instructions li {
  counter-increment: step-counter;
  color: #6c757d;
  margin-bottom: 6px;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.3;
  position: relative;
}

.payment-instructions li:before {
  content: counter(step-counter);
  color: #fff;
  background: #28a745;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 14px;
  height: 14px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.payment-footer {
  text-align: center;
  width: 100%;
  margin-top: 24px;
}

.security-badge {
  color: #6c757d;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 15px;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
}

.security-badge span:first-child {
  font-size: 12px;
}

@media (max-width: 480px) {
  .payment-container {
    max-width: 100%;
    padding: 20px 16px;
  }

  .payment-title {
    font-size: 18px;
  }

  .payment-amount {
    font-size: 13px;
  }

  .payment-value {
    font-size: 16px;
  }

  .copy-pix-btn {
    max-width: 100%;
    padding: 8px 16px;
    font-size: 11px;
  }

  .timer {
    padding: 5px 10px;
    font-size: 13px;
  }

  .payment-instructions {
    max-width: 100%;
  }

  .payment-instructions h2 {
    font-size: 13px;
  }

  .payment-instructions li {
    margin-bottom: 5px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .payment-container {
    padding: 16px 12px;
  }

  .payment-title {
    font-size: 16px;
  }

  .copy-pix-btn {
    padding: 6px 12px;
    font-size: 10px;
  }

  .timer {
    font-size: 12px;
  }
}

.qr-code-section {
  text-align: center;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin: 20px 0;
  padding: 15px;
}

.qr-code-section h3 {
  color: #495057;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.qr-code-container {
  justify-content: center;
  align-items: center;
  display: flex;
}

.qr-code-image {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-width: 200px;
  height: auto;
  padding: 10px;
}

.qr-code-placeholder {
  color: #6c757d;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  display: flex;
}

.qr-code-placeholder .spinner {
  border: 2px solid #e9ecef;
  border-top-color: #28a745;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: 1s linear infinite spin;
}

.qr-code-fallback {
  color: #495057;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  display: flex;
}

.qr-code-fallback p {
  margin: 0;
  font-size: 14px;
}

.qr-code-text {
  word-break: break-all;
  text-align: center;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  max-width: 200px;
  padding: 8px;
  font-family: monospace;
  font-size: 10px;
}

.pix-code-section {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin: 20px 0;
  padding: 15px;
}

.pix-code-section h3 {
  color: #495057;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.pix-code-container {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.pix-code-textarea {
  resize: vertical;
  cursor: text;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  min-height: 60px;
  padding: 10px;
  font-family: monospace;
  font-size: 12px;
}

.pix-code-textarea:focus {
  border-color: #28a745;
  outline: none;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, .2);
}

.copy-pix-btn.copied {
  color: #fff;
  background: #28a745;
}

.copy-pix-btn:disabled {
  cursor: not-allowed;
  opacity: .6;
  background: #6c757d;
}

@media (max-width: 480px) {
  .qr-code-image {
    max-width: 150px;
  }

  .pix-code-textarea {
    min-height: 50px;
    font-size: 10px;
  }

  .qr-code-section, .pix-code-section {
    margin: 15px 0;
    padding: 12px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.payment-container > * {
  animation: .4s ease-out fadeInUp;
}

.payment-container > :first-child {
  animation-delay: .1s;
}

.payment-container > :nth-child(2) {
  animation-delay: .2s;
}

.payment-container > :nth-child(3) {
  animation-delay: .3s;
}

.payment-container > :nth-child(4) {
  animation-delay: .4s;
}

.payment-container > :nth-child(5) {
  animation-delay: .5s;
}

.payment-container > :nth-child(6) {
  animation-delay: .6s;
}

.error-message {
  text-align: center;
  padding: 40px 20px;
}

.error-message h2 {
  color: #dc3545;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
}

.error-message p {
  color: #6c757d;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
}

.error-message strong {
  color: #dc3545;
  font-weight: 600;
}

.action-buttons {
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  display: flex;
}

.btn-principal {
  color: #fff;
  cursor: pointer;
  background: #007bff;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s;
  display: inline-block;
}

.btn-principal:hover {
  background: #0056b3;
}

.btn-secundario {
  color: #fff;
  cursor: pointer;
  background: #6c757d;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s;
  display: inline-block;
}

.btn-secundario:hover {
  background: #545b62;
}

@media (max-width: 768px) {
  .error-message {
    padding: 30px 15px;
  }

  .error-message h2 {
    font-size: 20px;
  }

  .error-message p {
    font-size: 14px;
  }

  .action-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn-principal, .btn-secundario {
    width: 100%;
    padding: 12px;
    font-size: 14px;
  }
}

/*# sourceMappingURL=renovacao_src_app_pagamento_pagamento_378d1f7e.css.map*/