:root {
  --bg-dark: #043137;
  --primary-lime: #d9ff32;
  --text-dark: #1a1a1a;
  --text-gray: #666;
  --border-color: #d1d1d1;
  --bg-tern: #ccc;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body { background-color: #fff; height: 100vh; overflow: hidden; }

.login-container { display: flex; height: 100vh; }

/* PAINEL ESQUERDO */
.form-section { width: 50%; padding: 40px 80px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }

.logo-icon { width: 40px; }

.form-content { max-width: 400px; margin: 0 auto; width: 100%; text-align: center; }

h1 { color: var(--bg-dark); font-size: 32px; margin-bottom: 10px; font-weight: 700; }

.divider { position: relative; margin: 30px 0; border-bottom: 1px solid #eee; }
.divider span { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: #fff; padding: 0 15px; color: #999; font-size: 14px; }

.input-group { position: relative; margin-bottom: 20px; }
.input-group i { position: absolute; top: 50%; transform: translateY(-50%); color: var(--bg-dark); }
.input-group input { width: 100%; padding: 18px 20px 18px 55px; border: 2px solid var(--bg-dark); border-radius: 15px; font-size: 16px; outline: none; transition: 0.3s; }
.input-group input:focus { border-color: var(--primary-lime); box-shadow: 0 0 10px rgba(217, 255, 50, 0.2); }

/* BOTAO PRINCIPAL */
.btn-signup { width: 100%; padding: 18px; background-color: var(--primary-lime); border: none; border-radius: 15px; font-weight: 700; font-size: 16px; color: var(--bg-dark); cursor: pointer; margin-top: 10px; transition: 0.3s; }
.btn-signup:hover { filter: brightness(0.9); transform: translateY(-2px); }

/* LINKS DE TEXTO */
.forgot-pass-link { display: block; text-align: right; margin-top: -10px; margin-bottom: 20px; font-size: 13px; color: var(--text-gray); text-decoration: none; font-weight: 500; }
.forgot-pass-link:hover { color: var(--bg-dark); text-decoration: underline; }

/* CHAMADA PARA REGISTO MAIS BONITA */
.signup-callout { margin-top: 35px; border-top: 1px solid #eee; padding-top: 25px; }
.footer-text { color: var(--text-gray); font-size: 14px; margin-bottom: 15px;}
.login-go {padding: 10px;}

.btn-secondary-outline {
  display: inline-block;
  padding: 12px 25px;
  border: 2px solid var(--bg-dark);
  border-radius: 12px;
  color: var(--bg-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: 0.3s;
}
.btn-secondary-outline:hover { background: var(--bg-dark); color: #fff; }

/* PAINEL DIREITO */
.visual-section { width: 50%; background-color: var(--bg-dark); display: flex; align-items: center; justify-content: center; color: white; padding: 60px; text-align: center; }

.visual-content h2 { font-size: 36px; margin-bottom: 20px; }
.visual-content p { font-size: 16px; line-height: 1.6; color: #a0c0c0; margin-bottom: 40px; }

.dots { display: flex; justify-content: center; gap: 10px; }
.dot { width: 8px; height: 8px; background: #558888; border-radius: 50%; }
.dot.active { width: 25px; border-radius: 10px; background: #fff; }

.legal-footer { display: flex; justify-content: space-between; color: #999; font-size: 12px; }

.floating-ui-img { max-width: 85%; height: auto; border-radius: 20px; animation: float 6s ease-in-out infinite;}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 768px) {
  .visual-section { display: none; }
  .form-section { width: 100%; padding: 40px 20px; }
}

.terms-group {
    margin: 15px 0;
    text-align: left;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #fff;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #cddc39; /* Verde Lima */
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(205, 220, 57, 0.2);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #cddc39;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #043137; /* Cor escura do sistema */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terms-text a {
    color: #cddc39;
    text-decoration: underline;
}

.password-strength-wrapper { margin-top: -10px; margin-bottom: 15px; text-align: left; }
.strength-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; margin-bottom: 5px; }
#strength-fill { height: 100%; width: 0%; transition: all 0.3s ease; }
#strength-text { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

/* Cores de Força */
.weak { background-color: #ff4d4d !important; }     /* Vermelho */
.medium { background-color: #ffd11a !important; }   /* Amarelo */
.strong { background-color: #cddc39 !important; }   /* Verde Lima Fluzian */


/* Ícone da Esquerda (Cadeado) */
.input-group i:first-child {
    position: absolute;
    left: 15px;
    z-index: 10;
}

/* Ícone da Direita (Olho / Ver Senha) */
.input-group i.toggle-password {
    position: absolute;
    right: 15px;
    z-index: 10;
    cursor: pointer;
    float: right;
}
.input-group-checkbox{
  margin-bottom: 15px; text-align: left; display: flex; align-items: flex-start; gap: 10px;
}
.accept-terms{
  font-size: 0.85rem; color:var(--bg-tern); cursor: pointer; line-height: 1.4;
}
.accept-terms a{
  color:var(--bg-tern); text-decoration: underline;text-decoration: none;
}
.accept-terms a:hover { color: var(--bg-dark); text-decoration: underline; }
#accept-terms{
  margin-top: 2px; cursor: pointer;
}
