* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f5f5f5;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  display: flex;
  width: 900px;
  height: 600px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.login-container {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.login-header {
  margin-bottom: 30px;
  text-align: center;
}

.login-header h1 {
  color: #333;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 5px;
}

.login-header p {
  color: #777;
  font-size: 14px;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.input-group .toggle-password {
  left: auto;
  right: 15px;
  cursor: pointer;
}

.input-group input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.input-group input:focus {
  border-color: #4285f4;
  outline: none;
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
}

.remember {
  display: flex;
  align-items: center;
}

.remember input {
  margin-right: 5px;
}

.remember-forgot a {
  color: #4285f4;
  text-decoration: none;
}

.login-btn {
  width: 100%;
  padding: 15px;
  background-color: #4285f4;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-btn:hover {
  background-color: #3367d6;
}

.divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.divider span {
  padding: 0 10px;
  color: #777;
  font-size: 14px;
}

.social-login {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: white;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.social-btn.google:hover {
  background-color: #f1f1f1;
}

.social-btn.facebook {
  background-color: #3b5998;
  color: white;
  border: none;
}

.social-btn.facebook:hover {
  background-color: #344e86;
}

.signup-link {
  text-align: center;
  font-size: 14px;
  color: #777;
}

.signup-link a {
  color: #4285f4;
  text-decoration: none;
  font-weight: 500;
}

.error-message {
  color: #d93025;
  font-size: 14px;
  margin-top: 15px;
  text-align: center;
  min-height: 20px;
}

.image-container {
  flex: 1;
  background-image: url("../assets/icon/airfinity.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000000;
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.overlay .content {
  color: #ffffff;
  text-align: center;
}

.overlay h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #4285f4;
}

.overlay p {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    width: 100%;
    height: auto;
    border-radius: 0;
  }

  .image-container {
    display: none;
  }

  .login-container {
    padding: 30px 20px;
  }
}
