/* Ledger Connect Page Styles */
.ledger-connect-page {
  background: #131415;
  color: #ffffff;
  min-height: 100vh;
  font-family: 'Inter', 'SF Pro Display', system-ui, -apple-system, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.connect-container {
  text-align: center;
  max-width: 500px;
  width: 100%;
}

/* Ledger Device Illustration */
.ledger-device-illustration {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ledger-device-image {
  max-width: 300px;
  height: auto;

}

/* Connection Text */
.connection-text {
  margin-bottom: 40px;
}

.connection-text h1 {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

/* Connection Actions */
.connection-actions {
  margin-bottom: 30px;
}

.connect-btn {
  background: #9945ff;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
}

.connect-btn:hover:not(:disabled) {
  background: #8a3ce8;
}

.connect-btn:disabled {
  background: #333;
  color: #666;
  cursor: not-allowed;
}

/* Error Message */
.error-message {
  background: #2d1b00;
  border: 1px solid #ff8c00;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  animation: slideIn 0.3s ease-out;
}

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

.error-icon {
  font-size: 24px;
  margin-bottom: 12px;
  text-align: center;
}

.error-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: #ff8c00;
  margin: 0 0 8px 0;
}

.error-text p {
  font-size: 14px;
  color: #cccccc;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.retry-btn {
  width: 100%;
  background: #ff8c00;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.retry-btn:hover:not(:disabled) {
  background: #ffa500;
}

.retry-btn:disabled {
  background: #333;
  color: #666;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  .ledger-connect-page {
    padding: 16px;
  }
  
  .connection-text h1 {
    font-size: 20px;
  }
  
  .device-outline {
    width: 160px;
    height: 100px;
  }
  
  .device-screen {
    width: 120px;
    height: 40px;
  }
  
  .screen-content {
    font-size: 8px;
  }
  
  .connect-btn {
    min-width: 180px;
    padding: 14px 28px;
    font-size: 14px;
  }
}
