* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  background: linear-gradient(135deg, #f0f4ff, #c2dfff);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: 'Roboto', sans-serif;
  overflow: hidden;
}


.container {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  position: relative;
  padding: 20px;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-image: url('../assets/carpool.jpeg');
  background-size: cover;
  background-position: center;
  filter: blur(5px);
  z-index: -1;
  animation: bgMove 20s infinite ease-in-out;
}

@keyframes bgMove {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.05) rotate(5deg);
  }
}


.card {
  width: 50%;
  padding: 40px;
  background: linear-gradient(135deg, #000000, #2c3e50);
  border-radius: 16px;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  max-height: 80vh;
  transition: all 0.3s ease;


}

.card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.logo-container {
  margin-bottom: 20px;
}

.logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.2));
}

h1 {
  font-size: 32px;
  margin-top: 0;
}

.registration-form {
  display: grid;
  gap: 16px;
}

label {
  font-weight: bold;
  color: #fff;
  font-size: 18px;
}


input[type="text"],
input[type="email"],
input[type="password"],
select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e0;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 18px;
  transition: all 0.3s ease;
}
select option {
  color: black; 
}

input:focus,
select:focus {
  border-color: #2563eb;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}


.password-container {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  font-size: 20px;
  transition: color 0.3s;
}

.toggle-password:hover {
  color: #2563eb;
}


.submit-btn {
  padding: 15px;
  width: 100%;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
  box-shadow: 0 15px 25px rgba(79, 70, 229, 0.4);
  transform: translateY(-3px);
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4CAF50, #4e8cfa);
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.popup-content h2 {
  font-size: 24px;
  font-weight: bold;
}

.popup-content p {
  font-size: 16px;
}
