/* Importação das fontes */
@font-face {
  /* Na hora de configurar os escritos - font-family: 'Crimson Pro', sans-serif; */
  font-family: 'Crimson Pro';
  src: url('../fonts/crimson_pro/CrimsonPro-VariableFont_wght.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}


/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Crimson Pro", serif;
  background-color: #f9f6f1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout components */
.main-container {
  display: flex;
  flex-direction: column;
  gap: 154px;
  justify-content: flex-start;
  align-items: center;
  flex: 1;
  min-height: 100vh;
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #395346;
  padding: 12px;
  box-shadow: 0px 4px 6px #00000019;
}

.logo-image {
  width: 110px;
  height: 56px;
}

.login-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  box-shadow: 0px 4px 6px #395346ad;
  margin: 0 16px;
}

.login-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
  margin-bottom: 52px;
}

.login-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.header-text-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin-right: 12px;
}

.main-title {
  font-size: 32px;
  font-family: "Crimson Pro", serif;
  font-weight: 600;
  line-height: 36px;
  text-align: center;
  color: #395346;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 16px;
  font-family: "Crimson Pro", serif;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  color: #737373;
  margin-top: -8px;
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin: 0 34px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.input-label {
  font-size: 14px;
  font-family: "Crimson Pro", serif;
  font-weight: 600;
  line-height: 17px;
  text-align: left;
  color: #395346;
}

.input-field {
  font-size: 14px;
  font-family: "Crimson Pro", serif;
  font-weight: 400;
  line-height: 17px;
  color: #737373;
  width: 100%;
  border: 0 solid #8d8d8d;
  border-radius: 6px;
  padding: 8px;
  background-color: #f9f6f1;
  transition: all 0.3s ease;
}

.input-field:focus {
  outline: 2px solid #395346;
  outline-offset: 2px;
  background-color: #ffffff;
}

.button-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
}

.login-button {
  font-size: 14px;
  font-family: "Crimson Pro", serif;
  font-weight: 600;
  line-height: 17px;
  text-align: center;
  color: #fff4e2;
  width: 100%;
  border: none;
  border-radius: 6px;
  padding: 8px 34px;
  background-color: #395346;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-button:hover {
  background-color: #2d4238;
  transform: translateY(-2px);
}

.login-button:active {
  transform: translateY(0);
}

.back-link {
  font-size: 14px;
  font-family: "Crimson Pro", serif;
  font-weight: 600;
  line-height: 17px;
  text-align: left;
  color: #395346;
  text-decoration: none;
  margin-right: 46px;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #2d4238;
  text-decoration: underline;
}

.support-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  background-color: #f9f6f1;
  border-radius: 8px;
  padding: 10px;
  margin: 0 6px 0 8px;
}

.forgot-password-text {
  font-size: 12px;
  font-family: "Crimson Pro", serif;
  font-weight: 500;
  line-height: 15px;
  text-align: center;
  color: #494949;
}

.support-button {
  font-size: 12px;
  font-family: "Crimson Pro", serif;
  font-weight: 600;
  line-height: 15px;
  text-align: center;
  color: #ffffff;
  background-color: #3e3e3e;
  border: none;
  border-radius: 5px;
  padding: 2px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.support-button:hover {
  background-color: #2a2a2a;
  transform: scale(1.05);
}

/* Interactive states */
button:focus {
  outline: 2px solid #395346;
  outline-offset: 2px;
}

/* Responsive media queries */
@media (min-width: 640px) {
  .main-container {
    gap: 154px;
  }

  .login-section {
    margin: 0 32px;
  }

  .login-card {
    max-width: 500px;
    padding: 40px;
  }

  .main-title {
    font-size: 38px;
    line-height: 42px;
  }

  .subtitle {
    font-size: 18px;
    line-height: 22px;
  }

  .logo-image {
    width: 110px;
    height: 56px;
  }
}

@media (min-width: 768px) {
  .login-section {
    margin: 0 356px 0 332px;
  }

  .login-card {
    max-width: 600px;
  }

  .main-title {
    font-size: 45px;
    line-height: 51px;
  }

  .subtitle {
    font-size: 20px;
    line-height: 25px;
  }
}

@media (min-width: 1024px) {
  .main-container {
    gap: 154px;
  }

  .login-card {
    padding: 32px;
  }
}

@media (max-width: 639px) {
  .main-container {
    gap: 80px;
  }

  .login-section {
    margin: 0 16px;
  }

  .login-card {
    padding: 24px;
  }

  .main-title {
    font-size: 28px;
    line-height: 32px;
  }

  .subtitle {
    font-size: 16px;
    line-height: 20px;
  }

  .form-container {
    margin: 0 16px;
  }
}
