/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  height: 100vh;
  font-family: Arial, sans-serif;
  background: linear-gradient(180deg, #f5f2f7, #eae4f0);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2c1f3f;
}

/* CONTAINER */
.container {
  text-align: center;
  width: 100%;
  max-width: 600px;
  padding: 20px;
}

/* HERO */
.hero {
  margin-bottom: 30px;
}

/* LOGO */
.logo {
  width: 90px;
  height: 90px;
  margin: auto;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(90deg, #7b2cff, #ff6ec7);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TITULO */
.hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

/* SUBTITULO */
.subtitle {
  font-size: 15px;
  opacity: 0.7;
  margin-bottom: 25px;
}

/* GRID DOS CARDS */
.info-cards {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

/* CARD */
.info-card {
  width: 140px;
  height: 90px;

  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;

  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.4);

  box-shadow:
    0 5px 15px rgba(0,0,0,0.05),
    0 0 10px rgba(123, 44, 255, 0.08);

  transition: all 0.3s ease;
  cursor: pointer;
}

.info-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 12px 25px rgba(123, 44, 255, 0.2),
    0 5px 15px rgba(0,0,0,0.08);

  background: rgba(255, 255, 255, 0.95);
}

/* LOGIN CARD */
.login-card {
  background: rgba(255,255,255,0.9);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  max-width: 350px;
  margin: auto;
  backdrop-filter: blur(8px);
}

/* INPUT */
input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: 0.2s;
}

input:focus {
  border-color: #7b2cff;
  box-shadow: 0 0 6px rgba(123, 44, 255, 0.2);
}

/* BOTÃO */
button {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #7b2cff, #ff6ec7);
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-top: 8px;
  transition: 0.2s;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(123, 44, 255, 0.3);
}

/* ERRO */
.error-message {
  color: #ff4d6d;
  font-size: 13px;
  margin-bottom: 10px;
}

/* ESCONDIDO */
.hidden {
  display: none;
}

/* INPUT GROUP */
.input-group {
  margin-bottom: 6px;
}

.main-box {
  background: rgba(255, 255, 255, 0.55);
  padding: 30px;
  border-radius: 24px;

  backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.6);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.08);

  text-align: center;
}

@media (max-width: 768px) {

  body {
    height: auto;
    min-height: 100vh;
    padding: 14px;
    align-items: flex-start;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 10px 0;
  }

  .main-box {
    padding: 22px 16px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .subtitle {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .info-cards {
    gap: 10px;
  }

  .info-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 16px;
  }

  .login-card {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
    border-radius: 20px;
  }

  input {
    font-size: 16px;
    padding: 14px;
  }

  button {
    font-size: 15px;
    padding: 14px;
  }

}