/* RESET IMPORTANTE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== BODY ===== */

body {
  font-family: "Segoe UI", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  color: white;
}

/* ===== VIDEO BACKGROUND ===== */

#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

/* Overlay escuro */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.45)
  );
  z-index: -1;
}

/* ===== WRAPPER ===== */

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

/* ===== LOGO ===== */

.logo {
  width: 170px;
  margin-bottom: 30px;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.6));
  animation: float 4s ease-in-out infinite;
  transition: 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* ===== CARD ===== */

.container {
  width: 100%;
  max-width: 480px;
  padding:80px 60px;
  border-radius: 20px;

  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);

  text-align: center;
}

/* ===== TEXTOS ===== */

.title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 14px;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.7);
}

/* ===== INPUTS ===== */

.inputBox {
  position: relative;   /* 🔥 ESSENCIAL para o label funcionar */
  margin-bottom: 22px;
}

.inputBox input {
  width: 100%;
  padding: 20px 70px 10px 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 14px;
  outline: none;
  transition: 0.25s ease;
}

/* Foco dourado */
.inputBox input:focus {
  border: 1px solid #ffd300;
  background: rgba(255, 211, 0, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 211, 0, 0.15);
}

/* Label estilo flutuante */
.inputBox label {
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  pointer-events: none;
  transition: 0.25s ease;
}

/* Quando input estiver focado ou preenchido */
.inputBox input:focus + label,
.inputBox input:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 11px;
  color: #ffd300;
}

/* ===== BOTÃO ===== */

.btn {
  width: 100%;
  padding: 14px;
  margin-top: 18px;
  background: linear-gradient(135deg, #ffd300, #f5c400);
  color: #000;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 211, 0, 0.4);
}

.btn:active {
  transform: scale(0.97);
}

/* ===== ERRO ===== */

.erro {
  margin-top: 12px;
  color: #ff5e5e;
  font-size: 14px;
}

/* ===== ANIMAÇÕES ===== */

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}