/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  background: linear-gradient(to bottom right, #ebf5ff, #e6f0ff);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #333;
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Card styles */
.auth-card, .card, .welcome-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.welcome-card {
  max-width: 500px;
  margin: auto;
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.auth-card {
  max-width: 450px;
  margin: 2rem auto;
}

.card {
  margin-bottom: 1.5rem;
}

.card-header {
  padding: 1.5rem 1.5rem 0;
}

.card-content {
  padding: 1.5rem;
}

.card-footer {
  padding: 1rem 1.5rem;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

.card-title {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.card-description {
  color: #666;
  margin-bottom: 1rem;
}

/* Form styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label {
  font-weight: 500;
  font-size: 0.875rem;
}

input, select {
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: border-color 0.15s ease;
}

input:focus, select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5);
}

/* Button styles */
.btn {
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-block {
  width: 100%;
  display: block;
}

.btn-primary {
  background-color: #1a56db;
  color: white;
}

.btn-primary:hover {
  background-color: #1e429f;
}

.btn-primary:disabled {
  background-color: #93c5fd;
  cursor: not-allowed;
}

.btn-outline {
  background-color: transparent;
  border-color: #1a56db;
  color: #1a56db;
}

.btn-outline:hover {
  background-color: rgba(59, 130, 246, 0.05);
}

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Link styles */
.link {
  color: #1a56db;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

/* Text utilities */
.blue-text {
  color: #1a56db;
}

.blue-gradient-text {
  background: linear-gradient(to right, #1a56db, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 2.5rem;
  font-weight: 700;
}

/* Dashboard styles */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  padding: 0.5rem 0;
}

.info-label {
  font-weight: 600;
}

/* Error message */
.error-message {
  color: #dc2626;
  font-size: 0.75rem;
  height: 1rem;
}