/* Reset default styles */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd,
form,
button,
input {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  background: linear-gradient(to right bottom, #05636c, #49c3ce);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main container styles */
.container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 80px auto;
  width: 70%;
  overflow: hidden; /* Clip the overflow*/
  box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.4);
}

.container-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  width: 100%;
  align-items: stretch; /* Add align-items: stretch */
  /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); */
}

.container-text {
  flex: 1;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow: hidden; /* Clip the pseudo-element background */
}

.welcome-text {
  position: absolute;
  top: 50px;
  left: 50px;
  right: 0;
  bottom: 0;
  line-height: 1.2;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.welcome-text h1 {
  letter-spacing: 4px;
  font-size: 100px;
}

.welcome-text h2 {
  letter-spacing: 2px;
  font-size: 50px;
}

.container-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
    url("../assets/fundo5.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  z-index: -1;
}

/* Login Form Styles */
.login-container {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 4rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  color: #333;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  border-radius: 0 4px 4px 0; /* Adding border radius to match the container */
  overflow: hidden;
}

.login-header {
  margin-bottom: 1.5rem;

  color: #555;
}

.login-header h2 {
  font-size: 1.6rem;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.form-group {
  display: flex;
  flex-direction: column;
  justify-self: center;
  width: 90%;
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.form-actions {
  margin-top: 1.8rem;
}

.form-actions button {
  background: linear-gradient(to right, #49c3ce, #05636c);
  color: #fff;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s ease;
  width: 80%;
  font-size: 1.1rem;
  margin-top: 20px;
  box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.4);
}

.form-actions button:hover {
  background: linear-gradient(to right, #3b97a0, #04565e);
}

/* Responsive styles */
@media (max-width: 768px) {
  .container {
    margin: 15px auto;
  }

  .container-content {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .container-text {
    text-align: center;
  }

  .login-container {
    max-width: 90%;
    padding: 1.5rem;
    border-radius: 0 0 4px 4px;
  }

  .form-actions button {
    font-size: 1rem;
  }
}

/* Login */
/* Estilos Gerais (Mantendo fonte e fundo suave da página) */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4; /* Cor de fundo suave da página */
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px; /* Aumentando o arredondamento do wrapper */
  overflow: hidden;
  background-color: #fff;
  padding: 2px;
}

.icon {
  padding: 10px;
  color: #777;
}

.form-control {
  border: none;
  padding: 12px;
  padding-left: 6px;
  font-size: 16px;
  width: 100%;
  outline: none;

  background-color: transparent;
}

.form-control::placeholder {
  color: #bbb;
}

.input-label {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}

.form-control:focus + .input-label,
.form-control:not(:placeholder-shown) + .input-label {
  top: -8px;
  font-size: 12px;
  color: #555;
  padding: 0 5px;
  right: 5px;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px; /* Arredondando o botão também */
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.form-actions {
  text-align: center;
}

.welcome-text {
  position: absolute;
  top: 50px;
  left: 50px;
  right: 0;
  bottom: 0;
  line-height: 1.2;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.welcome-text h1 {
  letter-spacing: 4px;
  font-size: 100px;
}

.welcome-text h2 {
  letter-spacing: 2px;
  font-size: 50px;
}

/* Mantendo os ajustes dos campos que você aprovou */
.form-group {
  margin-bottom: 25px;
  position: relative;
}

.input-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  padding: 4px 12px;
  transition: all 0.3s ease;
  height: 52px;
}

.input-wrapper:focus-within {
  border-color: #49c3ce;
  box-shadow: 0 0 0 4px rgba(73, 195, 206, 0.1);
}

.icon {
  padding: 10px;
  color: #49c3ce;
  font-size: 18px;
}

.form-control {
  border: none;
  padding: 12px;
  font-size: 15px;
  width: 100%;
  outline: none;
  background-color: transparent;
}

.input-label {
  position: absolute;
  left: 45px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 15px;
  pointer-events: none;
  transition: all 0.3s ease;
  background-color: #fff;
  padding: 0 5px;
}

.form-control:focus + .input-label,
.form-control:not(:placeholder-shown) + .input-label {
  top: 0;
  left: 20px;
  font-size: 13px;
  color: #49c3ce;
  transform: translateY(-50%);
}

.form-actions button {
  height: 48px;
  font-size: 16px;
}

.welcome-text {
  position: absolute;
  top: 50px;
  left: 50px;
  right: 0;
  bottom: 0;
  line-height: 1.2;
}

.welcome-text h1 {
  font-size: 70px; /* Reduzido de 100px */
  font-weight: 800;
  letter-spacing: 6px; /* Reduzido de 8px */
  margin-bottom: 20px; /* Reduzido de 30px */
  position: relative;
  color: transparent;
  background: linear-gradient(
    120deg,
    #ffffff 0%,
    #49c3ce 25%,
    #ffffff 50%,
    #49c3ce 75%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientText 3s ease-out forwards;
  text-shadow: 0 0 20px rgba(73, 195, 206, 0.3),
    0 0 40px rgba(73, 195, 206, 0.2);
}

.welcome-text h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 150px; /* Reduzido de 200px */
  height: 3px; /* Reduzido de 4px */
  background: linear-gradient(90deg, #49c3ce, transparent);
  animation: lineGrow 1.5s ease-out forwards;
}

.welcome-text {
  position: absolute;
  top: 50px;
  left: 50px;
  right: 0;
  bottom: 0;
  line-height: 1.2;
}

.welcome-text h1 {
  font-size: 70px; /* Reduzido de 100px */
  font-weight: 800;
  letter-spacing: 6px; /* Reduzido de 8px */
  margin-bottom: 20px; /* Reduzido de 30px */
  position: relative;
  color: transparent;
  background: linear-gradient(
    120deg,
    #ffffff 0%,
    #49c3ce 25%,
    #ffffff 50%,
    #49c3ce 75%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientText 3s ease-out forwards;
  text-shadow: 0 0 20px rgba(73, 195, 206, 0.3),
    0 0 40px rgba(73, 195, 206, 0.2);
}

.welcome-text h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 150px; /* Reduzido de 200px */
  height: 3px; /* Reduzido de 4px */
  background: linear-gradient(90deg, #49c3ce, transparent);
  animation: lineGrow 1.5s ease-out forwards;
}
