* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body,
html {
  height: 100%;
  width: 100%;
}

body {
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  background: #003087;
}

.container-login {
  display: flex;
  width: 100%;
  height: 100vh;
}

.left-panel {
  background: #fff;
  width: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 40px;
  box-shadow: 6px 0 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.login-container {
  width: 100%;
  max-width: 380px;
  position: relative;
  animation: fadeInUp 0.7s ease;
}

.logo {
  text-align: center;
  margin-bottom: 30px;
}

.logo img {
  height: 100px;
}

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

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  transition: 0.3s;
}

.form-group input:focus {
  border-color: #003087;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.2);
}

.form-group label {
  font-weight: 600;
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
}

.toggle-password {
  position: absolute;
  top: 40px;
  right: 15px;
  cursor: pointer;
  display: none;
  color: #888;
}

.login-btn {
  width: 100%;
  background-color: #004bb5;
  /* azul ligeiramente mais escuro */
  border: none;
  padding: 14px;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 75, 181, 0.3);
}

.login-btn:hover {
  background-color: #003973;
  transform: scale(1.01);
}

.back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #004bb5;
  border: none;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 75, 181, 0.3);
}

.back-btn:hover {
  background-color: #003973;
  transform: scale(1.05);
}

.back-btn i {
  color: #fff;
  font-size: 20px;
}

.right-panel {
  position: relative;
  width: 65%;
  background: url("../images/background/FundoLogin.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 50px;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* filtro azulado só na imagem */
.right-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 68, 136, 0.6);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

/* texto "Oficina Plus" */
.right-panel h1 {
  position: relative;
  font-weight: 900;
  font-size: 4.5rem;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: #fff;
  /* branco forte */
  z-index: 2;
  overflow: visible;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.right-panel h1::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 200% 100%;
  pointer-events: none;
  z-index: 3;
}

@keyframes slideLines {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* texto de baixo */
.right-panel p {
  position: relative;
  font-size: 1.1rem;
  line-height: 1.4;
  max-width: 600px;
  max-height: 3em;
  /* 2 linhas */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #fff;
  margin: 0 auto;
  z-index: 2;
}

/* responsividade */
@media (max-width: 768px) {
  .container-login {
    flex-direction: column;
  }

  .left-panel,
  .right-panel {
    width: 100%;
    height: 50vh;
  }

  .right-panel {
    background-position: top center;
    padding: 30px 20px;
  }

  .right-panel h1 {
    font-size: 2.5rem;
    letter-spacing: 3px;
  }

  .right-panel p {
    font-size: 1rem;
    max-width: 100%;
  }
}

@keyframes fadeInUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
