body {
  font-family: Arial, sans-serif;
  background: #f5f7fb;
  margin: 0;
  padding: 0;
}

.auth-container {
  max-width: 420px;
  margin: 60px auto;
  background: #ffffff;
  padding: 24px 28px 28px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.dashboard-container {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  background: #ffffff;
  padding: 24px 32px 32px;
  box-sizing: border-box;
}

.auth-container h1,
.dashboard-container h1 {
  margin: 0 0 4px;
  font-size: 26px;
  color: #111827;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}

.dashboard-header-left h1 {
  margin: 0;
  font-size: 22px;
}

.welcome-text {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #4b5563;
}

.dashboard-main {
  max-width: 720px;
  margin: 32px auto;
  padding: 0 16px 40px;
  box-sizing: border-box;
}

.dashboard-card {
  background: #ffffff;
  padding: 20px 22px 24px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.dashboard-footer {
  text-align: center;
  padding: 12px 16px 18px;
  font-size: 12px;
  color: #6b7280;
}

.subtitle {
  margin: 0 0 20px;
  font-size: 13px;
  color: #6b7280;
}

form {
  margin-top: 8px;
}

label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 9px 10px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

.btn {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: #e5e7eb;
  color: #111827;
}

.btn-secondary:hover {
  background: #d1d5db;
}

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.message {
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.message.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.message.success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.small-link {
  margin-top: 10px;
  font-size: 13px;
  color: #6b7280;
}

.small-link a {
  color: #2563eb;
  text-decoration: none;
}

.small-link a:hover {
  text-decoration: underline;
}

.dashboard-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.dashboard-buttons .btn {
  width: 100%;
  text-align: center;
}

.bio-panel {
  margin-top: 16px;
  padding: 12px 14px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  min-height: 80px;
  font-size: 14px;
  color: #374151;
}

.bio-panel h2 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #111827;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
  color: #4b5563;
}

.top-bar strong {
  color: #111827;
}

.logout-link {
  font-size: 13px;
  color: #ef4444;
  text-decoration: none;
}

.logout-link:hover {
  text-decoration: underline;
}

