:root {
  --bs-link-color: #0d6efd;
  --bs-link-hover-color: #0a58ca;
  --primary-gradient: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  --button-gradient: linear-gradient(135deg, #0d6efd 0%, #0288d1 100%);
  --input-border: #90caf9;
  --background-color: #f5f7fa;
  --text-color: #1e293b;
  --error-color: #ef5350;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.15);
  --logo-gradient: linear-gradient(90deg, #0d6efd 0%, #0288d1 100%);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--primary-gradient);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  color: var(--text-color);
}

.form-container {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: var(--logo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.05em;
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  padding: 0.75rem;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: var(--bs-link-color);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

button {
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  background: var(--button-gradient);
  color: white;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

button:active {
  transform: translateY(0);
}

p[style*="color:red"] {
  color: var(--error-color);
  font-size: 0.9rem;
  text-align: center;
  margin: 0.5rem 0;
}

a {
  color: var(--bs-link-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--bs-nav-link-hover-color);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .form-container {
    padding: 1.5rem;
    margin: 1rem;
  }
  .logo {
    font-size: 1.8rem;
  }
}
