/* PIX Integration Styles */

.pix-modal {
    max-width: 500px;
    width: 90vw;
}

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

.qr-code-section {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.qr-code-image {
    max-width: 200px;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pix-copy-section {
    margin-bottom: 20px;
}

.pix-code-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.pix-code-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    background: #f8f9fa;
}

.btn-copy-pix {
    background: #00d4aa;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-copy-pix:hover {
    background: #00b894;
    transform: translateY(-1px);
}

.pix-info {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    border-left: 4px solid #00d4aa;
}

.pix-instructions {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.btn-pix {
    background: #00d4aa;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-pix:hover {
    background: #00b894;
    transform: translateY(-1px);
}

.btn-pix:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.pix-status {
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    font-weight: bold;
}

.pix-status.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.pix-status.approved {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.pix-status.rejected {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.pix-timer {
    background: #fff3cd;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    text-align: center;
    font-weight: bold;
    color: #856404;
}

@media (max-width: 768px) {
    .pix-modal {
        width: 95vw;
        margin: 10px;
    }
    
    .qr-code-image {
        max-width: 150px;
    }
    
    .pix-code-container {
        flex-direction: column;
    }
    
    .btn-copy-pix {
        width: 100%;
    }
}

.btn-whatsapp-pix {
  margin-left: 8px;
  padding: 8px 12px;
  background-color: #22c55e;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s ease;
}

.btn-whatsapp-pix:hover {
  background-color: #16a34a;
}

.pix-code-actions {
  display: flex;
  gap: 8px;
}

.pix-actions {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pix-actions .btn {
  min-width: 200px;
}
