/**
 * Estilos para a opção de pagamento Pix
 */
.rastreamento-pix-container {
  background-color: #f3f8ff;
  border: 1px solid #c0d5f0;
  border-radius: 8px;
  padding: 20px;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}

.rastreamento-pix-container:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(192, 213, 240, 0.3) 0%, rgba(243, 248, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.rastreamento-pix-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.rastreamento-pix-icon {
  font-size: 24px;
  color: #003399;
  margin-right: 10px;
  background: #e1edff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rastreamento-pix-title {
  font-size: 20px;
  font-weight: 700;
  color: #003399;
  margin: 0;
}

.rastreamento-pix-message {
  font-size: 15px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
  padding-left: 50px;
}

.rastreamento-pix-details {
  background: white;
  border: 1px dashed #c0d5f0;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
}

.rastreamento-pix-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

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

.rastreamento-pix-label {
  font-weight: 600;
  width: 100px;
  color: #555;
}

.rastreamento-pix-value-container {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.rastreamento-pix-value {
  font-family: monospace;
  font-size: 15px;
  padding: 6px 10px;
  background: #f3f8ff;
  border-radius: 4px;
  margin-right: 10px;
  word-break: break-all;
  flex: 1;
  min-width: 150px;
}

.rastreamento-pix-copy {
  display: inline-flex;
  align-items: center;
  background: #003399;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rastreamento-pix-copy:hover {
  background: #002266;
  transform: translateY(-1px);
}

.rastreamento-pix-copy:active {
  transform: translateY(1px);
}

.rastreamento-pix-copy-icon {
  margin-right: 5px;
}

.rastreamento-pix-instructions {
  background: #f9f9f9;
  border-radius: 6px;
  padding: 15px;
}

.rastreamento-pix-instructions p {
  font-weight: 600;
  margin-top: 0;
  color: #333;
}

.rastreamento-pix-instructions ol {
  margin: 10px 0;
  padding-left: 20px;
}

.rastreamento-pix-instructions li {
  margin-bottom: 5px;
  line-height: 1.5;
}

.rastreamento-pix-instructions small {
  font-size: 12px;
  color: #666;
  display: block;
  margin-top: 10px;
}

.rastreamento-pix-feedback {
  background: #d4edda;
  color: #155724;
  padding: 10px 15px;
  border-radius: 4px;
  margin-top: 15px;
  text-align: center;
  font-weight: 500;
  animation: fadeInOut 2s forwards;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Responsividade */
@media screen and (max-width: 480px) {
  .rastreamento-pix-container {
    padding: 15px;
  }

  .rastreamento-pix-message {
    padding-left: 0;
  }

  .rastreamento-pix-row {
    flex-direction: column;
  }

  .rastreamento-pix-label {
    width: 100%;
    margin-bottom: 5px;
  }

  .rastreamento-pix-value-container {
    width: 100%;
  }

  .rastreamento-pix-value {
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
  }

  .rastreamento-pix-copy {
    width: 100%;
    justify-content: center;
  }
}
