@charset "UTF-8";

/* Paleta Dark Green Premium */
:root {
  --bg: #0f1f19;
  --card: rgba(27, 59, 48, 0.88);
  --accent: #4f7a67;
  --accent-hover: #3a5f4f;
  --text: #e4f2ec;
  --text-light: #9bc4b0;
  --input-bg: rgba(255, 255, 255, 0.12);
  --input-focus: rgba(79, 122, 103, 0.25);
}

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

body, html {
  height: 100vh;
  width: 100vw;
  background: linear-gradient(135deg, var(--bg), #1b2f28);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Container com animação original */
#login {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  width: 920px;
  max-width: 95vw;
  background: var(--card);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);
  overflow: hidden;

  /* Animação que você tinha no primeiro código */
  transition: width 0.7s ease, height 0.7s ease;
}

#imagem {
  flex: 1;
  min-width: 380px;
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45)), 
              url(../imagens/nature.jpg) center/cover no-repeat;
  position: relative;
}

#imagem::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--card));
}

#formulario {
  flex: 1;
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 340px;
}

#formulario h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--text);
  text-align: center;
}

#formulario p {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* Campos */
.campo {
  position: relative;
  margin-bottom: 20px;
}

.campo i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.4rem;
}

.campo input {
  width: 100%;
  height: 58px;
  background: var(--input-bg);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 0 20px 0 54px;
  color: var(--text);
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.campo input:focus {
  outline: none;
  background: rgba(255,255,255,0.18);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 122, 103, 0.2);
}

/* Botão */
.btn-login {
  width: 100%;
  height: 58px;
  background: linear-gradient(135deg, var(--accent), #3a5f4f);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 10px 25px rgba(79, 122, 103, 0.35);
  transition: all 0.4s ease;
}

.btn-login:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(79, 122, 103, 0.45);
}

/* Link esqueci */
.forgot {
  display: block;
  text-align: center;
  margin-top: 28px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 1rem;
}

.forgot:hover {
  color: #c8fae7;
}