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

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #f8f6ff 0%, #f3effe 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: #1a1a1a;
}

/* ===== HEADER ===== */
.header {
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  z-index: 10;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo {
  width: 60px;
  height: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
  color: #7F22FE;
}

/* ===== CONTAINER ===== */
.cadastro-container {
  background-color: #fff;
  border-radius: 14px;
  padding: 40px 35px;
  width: 340px;
  text-align: center;
  margin-top: 140px;
  box-shadow: 0 8px 25px rgba(127, 34, 254, 0.1);
  border: 1px solid rgba(127, 34, 254, 0.1);
}

.cadastro-container h2 {
  font-size: 26px;
  color: #111827;
  margin-bottom: 10px;
}

.subtitle {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 25px;
}

/* ===== FORM ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-size: 14px;
  color: #111827;
  text-align: left;
}

input[type="text"],
input[type="password"] {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  width: 100%;
  font-size: 14px;
  transition: border 0.2s ease;
}

input:focus {
  border-color: #7F22FE;
  outline: none;
}

/* ===== BOTÃO ===== */
.btn-submit {
  margin-top: 10px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background-color: #7F22FE;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background-color: #6920cc;
  transform: translateY(-1px);
}

/* ===== LINK ===== */
.link-voltar {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: #7F22FE;
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-voltar:hover {
  color: #6920cc;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 480px) {
  .cadastro-container {
    width: 90%;
    padding: 30px 20px;
  }

  .header {
    padding: 10px 0;
  }

  .logo {
    width: 50px;
  }
}
