@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Raleway:wght@600;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: 0;
}

body {
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  background-color: #23272a;
  background: url("../img/general/hero-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  color: #fff;
  line-height: 1.6;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.65);
  z-index: 0;
}

#container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
  display: flex;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.logoContainer {
  background: #fff;
  min-width: 300px;
  padding: 45px 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logoContainer .img-logo {
  width: 150px;
  height: auto;
}

.formContainer {
  width: 100%;
  padding: 50px 40px;
  background: rgba(40, 43, 48, 0.85);
  text-align: center;
}

.formContainer h1 {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 24px;
  color: #fff;
}

.formContainer p {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 30px;
  line-height: 1.6;
}

.formGroup {
  margin-bottom: 24px;
  text-align: left;
}

.formGroup label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.formGroup input {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}

.formGroup input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.formGroup input:focus {
  box-shadow: inset 0 -2px 0 #fff;
  outline: none;
}

.btn-submit {
  width: 100%;
  padding: 12px 28px;
  background: #2596be;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(37, 150, 190, 0.35);
}

.btn-submit:hover {
  background: #1d7a96;
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(37, 150, 190, 0.45);
}

.back-to-login {
  display: block;
  margin-top: 20px;
  color: #aaa;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.back-to-login:hover {
  color: #fff;
}

@media (max-width: 768px) {
  #container {
    flex-direction: column;
    max-width: 400px;
  }

  .logoContainer {
    min-width: auto;
    padding: 30px 20px;
  }

  .formContainer {
    padding: 30px 25px;
  }

  .formContainer h1 {
    font-size: 20px;
  }
}