:root {
  --primary-color: #3949ab;
  --primary-light: #6f74dd;
  --primary-dark: #00227b;
  --text-dark: #333333;
  --text-light: #6c757d;
  --background: #f5f7fb;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  background-image: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.registration-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  width: 100%;
  padding: 20px;
}

.logo-section {
  margin-bottom: 30px;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.logo-section img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.logo-section img:hover {
  transform: scale(1.05);
}

.logo-section h2 {
  margin-top: 15px;
  font-size: 24px;
  color: var(--text-color);
  font-weight: 400;
}

.registration-box {
  background-color: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 500px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.registration-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.registration-head {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.registration-head i {
  font-size: 24px;
  margin-right: 10px;
}

.form-label {
  font-size: 14px;
  color: var(--light-text);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form-control {
  height: 42px;
  border-radius: 8px;
  border: 1px solid #e1e5eb;
  padding: 8px 15px;
  font-size: 15px;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  height: 42px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
  margin-top: 10px;
}

.btn-primary:hover {
  background-color: #3953cc;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(78, 110, 242, 0.3);
}

.alert {
  width: 100%;
  max-width: 500px;
  margin-top: 20px;
  border-radius: 10px;
  padding: 15px;
}

.login-link {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.login-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.login-link a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

@media (max-width: 576px) {
  .registration-box {
    padding: 30px 20px;
  }

  .logo-section img {
    width: 50px;
    height: 50px;
  }
}