:root {
  --color-white: #FFFFFF;
  --color-light-blue: #2D64BC;
  --color-blue: #2D64BC;
  --color-red: #a75151;
  --text-color: #333333;
  --error-background: #f3c3c3;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Open Sans", Helvetica, sans-serif;
  accent-color: var(--color-blue);
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--color-white);
  padding: 20px;
}

.login-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  height: calc(100vh - 40px);
  background-color: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  overflow: hidden;
}

.login-form {
  width: 45%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  background-image: url(BWWLogo.svg);
  background-repeat: no-repeat;
  opacity: inherit;
  width: 85px;
  height: 120px;
  margin: 0 auto;
  -webkit-filter: drop-shadow(5px 5px 5px #222);
  filter: drop-shadow(5px 5px 5px #222);
}

.login-visual {
  width: 55%;
  position: relative;
  overflow: hidden;
  background-image: url(background_section.jpg);
  background-position: center center;
  background-size: 100% 100%; 
  background-color: var(--color-light-blue);
  background-repeat: no-repeat;
}

.login-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.register-link {
  position: absolute;
  top: 20px;
  right: 20px;
  text-decoration: none;
  color: var(--text-color);
}

.header {
  margin-bottom: 30px;
}

.header h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.header p {
  color: #666;
}

.input-group {
  margin-bottom: 15px;
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.input-group input[type="email"] {
  padding-left: 40px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>') no-repeat left 10px center;
}

.input-group input[type="password"] {
  padding-left: 40px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>') no-repeat left 10px center;
}

.forgot-password {
  color: var(--text-color);
  text-decoration: none;
  text-align: right;
  margin-top: 5px;
  float: right;
  font-size: 12px;
}

.remember-me {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.remember-me input {
  margin-right: 10px;
}

.maintenance {
  padding: 5px;
}

.message p {
  margin-top: 5px;
  background-color: var(--error-background);
  border-left: 4px solid  var(--color-red);
  color:  var(--color-red);
  padding: 5px;
  border-radius: 4px;
  text-align: center;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background-color: var(--color-light-blue);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-btn:hover {
  background-color: var(--color-blue);
}

.trademark {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: var(--text-color);
  font-size: 12px;
}

.language-selector {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  color: var(--text-color);
}

.language-selector select {
  margin-left: 10px;
  border: none;
  background: transparent;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .login-container {
      flex-direction: column;
      height: auto;
      max-width: 500px;
  }

  .login-form, .login-visual {
      width: 100%;
      height: auto;
  }

  .login-visual {
      height: 300px;
  }

  .logo {
      position: static;
      margin: 20px auto;
      margin-bottom: 0;
  }

  .trademark, .language-selector {
      position: static;
      text-align: center;
      margin: 20px 0;
  }
}

@media screen and (max-width: 480px) {
  .login-form {
      padding: 20px;
  }

  .header h1 {
      font-size: 20px;
  }
}