:root{
  --menu-left:#45d4d2;
  --menu-right:#073440;
  --page:#eef2f3;
  --text:#12252d;
  --muted:#5a6d76;
  --white:#ffffff;
  --line:rgba(9,56,68,.08);
  --shadow:0 18px 40px rgba(10,45,56,.12);
  --topline-h:10px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:'Inter',sans-serif;
  color:var(--text);
  /*background:
    radial-gradient(circle at top left, rgba(69,212,210,.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(124,58,237,.12), transparent 30%),
    linear-gradient(180deg,#f6f8f9 0%, #eef2f3 100%);*/
  background: linear-gradient(135deg,#1f94bd73,#eef2f3,#2c5364);
	
}

.top-rainbow{
  position:fixed;
  top:0;left:0;right:0;
  height:var(--topline-h);
  z-index:1060;
  background:linear-gradient(90deg,#2563eb 0%, #7c3aed 25%, #eab308 50%, #111111 75%, #16a34a 100%);
  background-size:240% 100%;
  animation:slideColors 7s linear infinite alternate;
}

@keyframes slideColors{
  0%{background-position:0% 50%}
  100%{background-position:100% 50%}
}

.login-page{
  min-height:100vh;
  padding:38px 18px 18px;
}

.login-shell{
  min-height:calc(100vh - 56px);
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:22px;
  align-items:stretch;
}

.login-left,
.login-right{
  display:flex;
  flex-direction:column;
}

.brand-box{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:20px;
}

.brand-logo-xl{
  width:74px;
  height:74px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 10px 24px rgba(10,45,56,.10);
  overflow:hidden;
  flex-shrink:0;
}

.brand-logo-xl img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.brand-box h1{
  margin:0 0 6px;
  font-size:clamp(1.6rem,2.4vw,2.5rem);
  font-weight:800;
}

.brand-box p{
  margin:0;
  color:var(--muted);
  font-size:1rem;
}

/* SOMENTE O CARD GRANDE (ESQUERDA) */
.login-highlight-card{
  background:
    linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.12)),
    url('logo/logo-rancho.png') center center no-repeat;

  background-size: cover, contain; /* 👈 AQUI resolve */
  background-repeat: no-repeat;

  border:1px solid rgba(255,255,255,.72);
  border-radius:30px;

  box-shadow:var(--shadow), inset 0 1px 0 rgba(255,255,255,.75);
  backdrop-filter:blur(8px);
}

/* CARD DE LOGIN (DIREITA) SEM IMAGEM */
.login-card{
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.85));

  border:1px solid rgba(255,255,255,.72);
  border-radius:30px;

  box-shadow:var(--shadow), inset 0 1px 0 rgba(255,255,255,.75);
  backdrop-filter:blur(8px);
}


.login-highlight-card{
  flex:1;
  padding:28px;
  position:relative;
  overflow:hidden;
}

.login-highlight-card::before{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  top:-90px;
  right:-70px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(69,212,210,.22), transparent 70%);
}

.mini-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(9,56,68,.07);
  font-size:.86rem;
  font-weight:700;
  color:#18414d;
  margin-bottom:18px;
}

.login-highlight-card h2{
  font-size:clamp(1.6rem,2.2vw,2.4rem);
  margin:0 0 12px;
  font-weight:800;
  line-height:1.1;
  max-width:540px;
}

.login-highlight-card p{
  color:var(--muted);
  font-size:1rem;
  line-height:1.6;
  margin:0 0 22px;
  max-width:560px;
}

.feature-list{
  display:grid;
  gap:14px;
  max-width:520px;
}

.feature-item{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border-radius:20px;
  background:rgba(255,255,255,.62);
  border:1px solid var(--line);
  box-shadow:0 10px 24px rgba(10,45,56,.05);
}

.feature-item i{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#0a3742,#4ad8d4);
  color:#fff;
  flex-shrink:0;
}

.feature-item strong{
  display:block;
  font-size:.98rem;
}

.feature-item span{
  display:block;
  color:var(--muted);
  font-size:.88rem;
  margin-top:2px;
}

.login-right{
  align-items:center;
  justify-content:center;
}

.login-card{
  width:min(100%, 480px);
  padding:26px;
}

.login-card-top{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:22px;
}

.login-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#0a3742,#4ad8d4);
  color:#fff;
  font-size:1.3rem;
  box-shadow:0 12px 22px rgba(10,45,56,.14);
}

.login-card-top h3{
  margin:0 0 5px;
  font-size:1.4rem;
  font-weight:800;
}

.login-card-top p{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
}

.form-label{
  font-size:.9rem;
  font-weight:700;
  color:#173641;
  margin-bottom:8px;
}

.input-premium{
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  min-height:56px;
  border-radius:18px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(14,74,88,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 8px 18px rgba(10,45,56,.04);
}

.input-premium i{
  color:#2a7f8d;
  font-size:1rem;
}

.input-premium .form-control{
  border:none;
  box-shadow:none!important;
  background:transparent;
  padding-left:0;
  font-size:.95rem;
}

.login-row-between{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  margin:10px 0 18px;
  flex-wrap:wrap;
}

.form-check-label,
.link-soft{
  font-size:.88rem;
}

.link-soft{
  color:#1d7280;
  text-decoration:none;
  font-weight:600;
}

.link-soft:hover{
  text-decoration:underline;
}

.btn-login-premium{
  min-height:56px;
  border:none;
  border-radius:18px;
  background:linear-gradient(90deg,#0a3742 0%, #3ad0cd 100%);
  color:#fff;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:0 14px 26px rgba(10,45,56,.18);
}

.btn-login-premium:hover{
  color:#fff;
  transform:translateY(-1px);
}

.login-footer-note{
  margin-top:18px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.62);
  border:1px solid var(--line);
  color:var(--muted);
  font-size:.86rem;
}

@media (max-width: 991.98px){
  .login-shell{
    grid-template-columns:1fr;
  }

  .login-highlight-card{
    padding:22px;
  }

  .login-card{
    width:min(100%, 560px);
  }
}

@media (max-width: 575.98px){
  .login-page{
    padding:28px 12px 12px;
  }

  .brand-box{
    gap:12px;
    margin-bottom:16px;
  }

  .brand-logo-xl{
    width:60px;
    height:60px;
  }

  .login-highlight-card,
  .login-card{
    border-radius:24px;
  }

  .login-highlight-card,
  .login-card{
    padding:18px;
  }

  .feature-item{
    padding:12px 13px;
  }

  .login-row-between{
    align-items:flex-start;
  }
}
