/* Robust Transfer Modal Styles */
.robust-transfer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

.robust-transfer-container {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  color: #fff;
  animation: slideIn 0.3s ease-out;
}

.robust-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #333;
}

.robust-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

.robust-modal-close {
  background: none;
  border: none;
  color: #999;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.robust-modal-close:hover {
  color: #fff;
}

.robust-modal-content {
  margin-bottom: 24px;
}

.robust-asset-info {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 8px;
}

.robust-asset-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  margin-right: 16px;
  object-fit: cover;
  background: #333;
}

.robust-asset-details {
  flex: 1;
}

.robust-asset-name {
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.1rem;
}

.robust-asset-id {
  color: #999;
  font-size: 0.8rem;
  word-break: break-all;
}

.robust-explanation {
  background: rgba(255, 127, 80, 0.1);
  border-left: 4px solid coral;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.robust-input-group {
  margin-bottom: 16px;
}

.robust-input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #ccc;
}

.robust-input-group input {
  width: 100%;
  padding: 12px;
  background: #333;
  border: 1px solid #444;
  color: #fff;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.9rem;
}

.robust-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.robust-buttons button {
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.robust-cancel-button {
  background: transparent;
  border: 1px solid #555;
  color: #ccc;
}

.robust-cancel-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #777;
  color: #fff;
}

.robust-transfer-button {
  background: linear-gradient(45deg, #ff8126, #ff4f59);
  border: none;
  color: white;
}

.robust-transfer-button:hover {
  background: linear-gradient(45deg, #ff9040, #ff6070);
  transform: translateY(-1px);
}

.robust-transfer-button:disabled,
.robust-cancel-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.robust-loader {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
}

.robust-status {
  margin-top: 16px;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.robust-status.error {
  background: rgba(255, 70, 70, 0.1);
  border: 1px solid rgba(255, 70, 70, 0.5);
  color: #ff4646;
}

.robust-status.success {
  background: rgba(70, 255, 120, 0.1);
  border: 1px solid rgba(70, 255, 120, 0.5);
  color: #4dff78;
}

.robust-status.processing {
  background: rgba(70, 170, 255, 0.1);
  border: 1px solid rgba(70, 170, 255, 0.5);
  color: #46aaff;
}

.robust-explorer-link {
  display: inline-block;
  margin-top: 8px;
  color: #46aaff;
  text-decoration: underline;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}