/* ==========================================================================
   Login Page — Premium Styles
   ========================================================================== */

/* Logo */
.geofoncier_logo {
  padding-left: 4% !important;
  padding-top: 0.5% !important;
}

/* Help Link — refined with hover transition */
.aide {
  font-size: 0.9rem;
  font-weight: 500;
  padding-right: 4% !important;
  letter-spacing: 0.01em;
}

.aide a {
  color: var(--gf-grey, #3e393d);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  border-bottom: 1px solid transparent;
}

.aide a:hover {
  color: var(--gf-fougere, #78a58d);
  border-bottom-color: var(--gf-fougere, #78a58d);
}

.aide .icon {
  color: var(--gf-red, #e2001a) !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aide a:hover .icon {
  transform: scale(1.15);
}

@media all and (max-width: 767px) {
  .aide {
    padding-bottom: 5% !important;
  }
}

/* ==========================================================================
   Info Panels (used in login_warning.html)
   ========================================================================== */

.grayinfo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45%;
  font-size: 1.2em;
  width: 100%;
}

.grayinfo--light {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  width: 100%;
  opacity: 0.8;
}

.info-panel {
  height: 45%;
  display: flex;
  position: relative;
  background: linear-gradient(135deg, var(--gf-red, #e2001a) 0%, #b5001a 100%);
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  font-size: 1.35em;
  text-align: center;
  align-items: center;
  justify-content: center;
  color: var(--gf-white, #ffffff);
  box-shadow:
    0 4px 12px rgba(226, 0, 26, 0.2),
    0 1px 3px rgba(226, 0, 26, 0.1);
  font-weight: 500;
}

.info-panel:after {
  content: " ";
  position: absolute;
  right: 45%;
  bottom: -15px;
  border-top: 15px solid var(--gf-red, #e2001a);
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
  border-bottom: none;
}

.info-panel--no-arrow:after {
  display: none;
}

#btn_connexion {
  background: linear-gradient(160deg, #31493d 0%, #1e3028 100%);
  color: white;
  border-radius: 10px;
  border: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 2px 8px rgba(30, 48, 40, 0.15);
}

#btn_connexion:hover {
  box-shadow: 0 4px 16px rgba(30, 48, 40, 0.25);
  transform: translateY(-1px);
}

.titrelog {
  text-align: center !important;
  font-size: 1.5em;
  font-family: "Outfit", ui-sans-serif, sans-serif;
}

.info {
  padding: 0px !important;
  line-height: 1.4285em;
}

/* ==========================================================================
   Legacy Auth Form (login_warning.html)
   ========================================================================== */

.authform {
  background: rgba(30, 48, 40, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: white;
  min-height: 250px;
  min-width: 300px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#mdp {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
}

#mdp:hover {
  color: white;
  border-bottom-color: white;
}

/* ==========================================================================
   Login Footer — forest gradient with subtle elevation
   ========================================================================== */

.footer_login {
  background: linear-gradient(160deg, #31493d 0%, #1e3028 100%);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 14px 24px;
  font-family: "Inter", ui-sans-serif, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  border-top: 1px solid rgba(120, 165, 141, 0.1);
}

.footer_login .footerlink {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease;
}

.footer_login .footerlink:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer_login .footerlink .icon {
  color: rgba(255, 255, 255, 0.45);
}
