/* Clean, Minimal Auth Pages Styles */
:root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #6c757d;
  --success: #28a745;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --border-radius: 8px;
  --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --transition: all 0.2s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #f5f7fb;
  color: var(--gray-800);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-container {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-lg);
  overflow: hidden;
}

.auth-header {
  padding: 1.5rem;
  text-align: center;
  background-color: white;
  border-bottom: 1px solid var(--gray-200);
}

.auth-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.auth-logo {
  max-width: 80px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(1); /* Ensure logo is displayed with normal brightness */
}

.auth-header p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

.auth-body {
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
  font-size: 0.875rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray-700);
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-control:focus {
  color: var(--gray-700);
  background-color: #fff;
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.15);
}

.form-control::placeholder {
  color: var(--gray-500);
  opacity: 1;
}

.btn {
  display: inline-block;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-lg {
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  border-radius: var(--border-radius);
}

.btn-block {
  display: block;
  width: 100%;
}

.alert {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

.alert-success {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}

.alert-icon {
  margin-right: 0.5rem;
}

.wallet-section {
  text-align: center;
  margin: 1.5rem 0;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background-color: var(--gray-100);
  border: 1px dashed var(--gray-300);
}

.wallet-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.wallet-connected {
  color: var(--success);
}

.wallet-address {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.8125rem;
  background: rgba(0, 0, 0, 0.03);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  display: inline-block;
  margin-top: 0.5rem;
}

.form-text {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--gray-600);
}

.footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 0.75rem;
}

/* Steps indicator for registration */
.steps-container {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  right: -50%;
  height: 2px;
  background-color: var(--gray-300);
  z-index: 1;
}

.step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.75rem;
  z-index: 2;
  margin-bottom: 0.5rem;
}

.step.active .step-icon {
  background-color: var(--primary);
}

.step.completed .step-icon {
  background-color: var(--success);
}

.step-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-align: center;
}

.step.active .step-label {
  color: var(--primary);
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .auth-container {
    max-width: 100%;
    margin: 0.5rem;
  }
  
  .auth-body {
    padding: 1.25rem;
  }
  
  .auth-header {
    padding: 1.25rem;
  }
}