/* --------------------------------------------------------------------------------
-------------- PROJETO FINAL PWEB (Java-Liday) 2025-2 FATEC SOROCABA --------------
-------------------------------------------------------------------------------- */

.container {
  display: flex;
  height: 100vh;
  width: 100%;
  /* overflow: hidden; */
  background: #f5f5f5;
}

.form-section {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
  margin: 20px;
  border-radius: 10px;
}

.form-section h2 {
  font-size: 32px;
  color: #333;
}

.subtitle {
  margin-bottom: 30px;
  color: #777;
  font-size: 16px;
}

.input-box {
  position: relative;
  margin: 15px 55px 0px 0px;
}

.input-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 18px;
}

.input-box input {
  width: 100%;
  padding: 14px 14px 14px 40px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  background: #fafafa;
  transition: 0.3s;
}

.input-box input:focus {
  border-color: #ff5a2e;
  background: #fff;
}

.buttons {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.btn {
  padding: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
  flex: 1;
}

.btn.entrar {
  background: #ff5a2e;
  color: #fff;
}

.btn.entrar:hover {
  background: #e64c21;
}

.btn.cadastrar {
  background: transparent;
  color: #ff5a2e;
  border: 2px solid #ff5a2e;
}

.btn.cadastrar:hover {
  background: #ff5a2e;
  color: white;
}

.forgot {
  color: #ff5a2e;
  text-decoration: none;
  margin-top: 10px;
  font-size: 15px;
}

.forgot:hover {
  text-decoration: underline;
}

.image-section {
  flex: 1;
  background: url('../img/login.png') center/cover no-repeat;
  position: relative;
  margin: 20px;
  border-radius: 10px;
}

.image-mask {
  background: rgba(0, 0, 0, 0);
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .image-section {
    height: 250px;
  }
}