* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  min-height: 100vh;
  background: linear-gradient(to bottom right, #020617, #0f172a, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.content {
  width: 100%;
  max-width: 28rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.logo-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, #3b82f6, #22d3ee);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon .icon {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}

.logo-text {
  font-size: 2.25rem;
  font-weight: 700;
  background: linear-gradient(to right, #60a5fa, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Card */
.card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid #1e293b;
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.header-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #60a5fa;
}

.title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.subtitle {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Form Elements */
.label {
  display: block;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.input-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: #64748b;
}

.input {
  width: 100%;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem 0.875rem 3rem;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s;
}

.input::placeholder {
  color: #64748b;
}

.input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
}

/* Buttons */
.btn {
  width: 100%;
  font-weight: 600;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
}

.btn .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-primary {
  background: linear-gradient(to right, #2563eb, #06b6d4);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(to right, #1d4ed8, #0891b2);
}

.btn-primary:disabled {
  background: linear-gradient(to right, #334155, #334155);
  cursor: not-allowed;
}

.btn-secondary {
  background: #1e293b;
  color: #cbd5e1;
  font-weight: 500;
  padding: 0.75rem 1rem;
}

.btn-secondary:hover {
  background: #334155;
}

/* Account Info */
.account-info {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.account-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(to bottom right, rgba(30, 58, 138, 0.5), rgba(88, 28, 135, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}

.emoji {
  font-size: 1.25rem;
}

.account-name {
  color: white;
  font-weight: 500;
}

.account-label {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Verification Section */
.verification-section {
  margin-bottom: 1.5rem;
}

.instruction {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.code-wrapper {
  position: relative;
}

.code-input {
  width: 100%;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 0.875rem 3.5rem 0.875rem 1rem;
  color: #22d3ee;
  font-family: 'Courier New', monospace;
  text-align: center;
  font-size: 1rem;
  outline: none;
}

.copy-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.5rem;
  background: #334155;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  background: #475569;
}

.copy-btn .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #cbd5e1;
}

#checkIcon {
  color: #4ade80;
}

.copied-message {
  color: #4ade80;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  text-align: center;
}

/* Button Group */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Footer */
.footer-text {
  color: #64748b;
  text-align: center;
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

/* Icon base styles */
.icon {
  flex-shrink: 0;
}