/* Global Styles */
body {
  background: linear-gradient(135deg, #a0c4ff 0%, #b8f2e6 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

/* Login Container */
.login-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 30px;
  width: 100%;
  max-width: 900px;
  display: flex;
  overflow: hidden;
}

/* Left Side (Info Panel) */
.left-side {
  background: linear-gradient(135deg, #3e8ed0, #63cdda);
  padding: 40px;
  border-radius: 20px 0 0 20px;
  color: white;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Right Side (Form Panel) */
.right-side {
  flex: 1;
  padding: 40px;
  text-align: center;
}

/* Logo */
.logo {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: white;
  padding: 10px;
}

/* Form Fields - Updated for proper alignment */
.input-group {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 15px;
}

.input-group .input-group-text {
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  border-right: none;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
}

.input-group .form-control {
  border: 1px solid #ccc;
  border-left: none;
  padding: 12px 15px;
  font-size: 16px;
  height: auto;
  line-height: 1.5;
}

.input-group .btn {
  border: 1px solid #ccc;
  border-left: none;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure all input group elements have the same height */
.input-group .input-group-text,
.input-group .form-control,
.input-group .btn {
  height: 48px;
}

/* Login Button */
.btn-login {
  background: #3e8ed0 !important;
  border: none;
  border-radius: 25px;
  padding: 12px;
  width: 100%;
  color: white !important;
  font-weight: bold;
  transition: 0.3s ease;
  height: 48px;
}

.btn-login:hover {
  background: #2c6da4 !important;
}

/* Register Link */
.register-link a {
  color: #3e8ed0;
  font-weight: bold;
  text-decoration: none;
}

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

footer {
  background-color: #f1f1f1;
  padding: 15px;
  text-align: center;
  font-size: 0.9rem;
  position: relative;
  bottom: 0;
  width: 100%;
}

@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
    padding: 15px;
  }

  .left-side,
  .right-side {
    border-radius: 20px !important;
    padding: 20px;
  }

  .left-side {
    border-radius: 20px 20px 0 0 !important;
  }

  .right-side {
    border-radius: 0 0 20px 20px !important;
  }
}