@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

/*--------------------------------------------------
    [LOGIN SPLIT LAYOUT]
----------------------------------------------------*/

/* Reset body for full-height layout */
html, body.login {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #eef2f7;
}

body.login {
  color: #0f172a;
}

/* Color layer — same dashboard / portal ambient blobs */
body.login:before,
body.login:after,
.login-form-panel .copyright:before {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: loginBlobFloat 18s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}

body.login:before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.45) 0%, transparent 70%);
  top: -8%;
  right: 12%;
}

body.login:after {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, transparent 70%);
  bottom: 10%;
  right: 38%;
  animation-delay: -6s;
}

.login-form-panel .copyright:before {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.35) 0%, transparent 70%);
  top: 42%;
  right: 2%;
  animation-delay: -12s;
}

@keyframes loginBlobFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-24px, 20px) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  body.login:before,
  body.login:after,
  .login-form-panel .copyright:before,
  .login-image-panel:before,
  .login-image-branding {
    animation: none;
  }

  .login-form-panel .content .form-actions .btn:hover,
  .login-form-panel .content .form-actions .btn:focus,
  .login-form-panel .content .form-actions .btn-success:hover,
  .login-form-panel .content .form-actions .btn-auth-primary:hover {
    transform: none;
  }
}

/* 2-column wrapper */
.login-split-wrapper {
  display: flex;
  height: 100vh;
  width: 100%;
  position: relative;
  z-index: 1;
}

/*--------------------------------------------------
    LEFT PANEL: Full-size image
----------------------------------------------------*/
.login-image-panel {
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  min-width: 0;
  box-sizing: border-box;
  background-color: #0c1222;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.login-image-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/login-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  animation: loginHeroKen 24s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}

@keyframes loginHeroKen {
  from { transform: scale(1.03); }
  to { transform: scale(1.08); }
}

.login-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 32px 40px 40px;
  background:
    linear-gradient(125deg, rgba(0, 0, 0, 0.78) 0%, rgba(15, 23, 42, 0.52) 55%, rgba(0, 0, 0, 0.7) 100%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(148, 163, 184, 0.16), transparent 50%);
}

.login-image-overlay:before,
.login-image-overlay:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.login-image-overlay:before {
  width: 320px;
  height: 320px;
  top: 12%;
  left: -8%;
  background: rgba(148, 163, 184, 0.22);
}

.login-image-overlay:after {
  width: 240px;
  height: 240px;
  bottom: 18%;
  right: 10%;
  background: rgba(15, 23, 42, 0.4);
}

.login-image-branding {
  position: relative;
  z-index: 2;
  max-width: 440px;
  padding: 24px 28px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  animation: loginFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.login-hero-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ccfbf1;
}

.login-image-branding h2 {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: none;
}

.login-image-branding p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: none;
  text-shadow: none;
  opacity: 1;
}

@keyframes loginFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------
    RIGHT PANEL: Login form
----------------------------------------------------*/
.login-form-panel {
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 30px 20px;
  overflow-y: auto;
}

/* Logo inside right panel */
.login-form-panel .logo {
  margin: 0 auto 20px auto;
  padding: 0;
  text-align: center;
}

/* Content box */
.login-form-panel .content {
  background-color: #fff;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  width: 100%;
  max-width: 380px;
  margin: 0 auto 10px auto;
  padding: 30px;
  padding-top: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.login-form-panel .content .auth-block-head {
  margin-bottom: 16px;
  text-align: left;
}

.login-form-panel .content .auth-block-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0d9488;
}

.login-form-panel .content h3 {
  color: #0f172a;
  text-align: left;
  font-size: 26px;
  font-weight: 700 !important;
}

.login-form-panel .content h4 {
  color: #555;
}

.login-form-panel .content .hint {
  color: #999;
  padding: 0;
  margin: 15px 0 7px 0;
}

.login-form-panel .content .login-form {
  padding: 0px;
  margin: 0px;
}

.login-form-panel .content .form-title {
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.login-form-panel .content .form-actions {
  clear: both;
  border: 0;
  padding: 8px 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.login-form-panel .content .form-actions .btn,
.login-form-panel .content .form-actions .btn-success,
.login-form-panel .content .form-actions .btn-auth-primary {
  display: block !important;
  float: none !important;
  width: 100% !important;
  height: 46px;
  margin: 0 !important;
  padding: 0 20px !important;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 46px;
  text-transform: none !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #115e59 0%, #0d9488 100%) !important;
  background-image: linear-gradient(135deg, #115e59 0%, #0d9488 100%) !important;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.login-form-panel .content .form-actions .btn:hover,
.login-form-panel .content .form-actions .btn:focus,
.login-form-panel .content .form-actions .btn-success:hover,
.login-form-panel .content .form-actions .btn-success:focus,
.login-form-panel .content .form-actions .btn-auth-primary:hover,
.login-form-panel .content .form-actions .btn-auth-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.42);
  filter: brightness(1.04);
  color: #fff !important;
}

.login-form-panel .content .form-actions .btn:active,
.login-form-panel .content .form-actions .btn-success:active,
.login-form-panel .content .form-actions .btn-auth-primary:active {
  transform: translateY(0);
}

.login-form-panel .content .form-actions .btn-default {
  font-weight: 600;
  padding: 10px 25px !important;
  color: #6c7a8d;
  background-color: #ffffff;
  border: none;
}

.login-form-panel .content .form-actions .btn-default:hover {
  background-color: #fafaff;
  color: #45b6af;
}

.login-form-panel .content .forget-password,
.login-form-panel .content .auth-link-row .forget-password {
  font-size: 14px;
  font-weight: 600;
  float: none !important;
  display: block;
  margin-top: 0;
  text-align: center;
  color: #64748b;
  text-decoration: none;
}

.login-form-panel .content .forget-password:hover,
.login-form-panel .content .auth-link-row .forget-password:hover {
  color: #0d9488;
  text-decoration: none;
}

.login-form-panel .content .auth-link-row {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.login-form-panel .content .check {
  color: #8290a3;
}

.login-form-panel .content .rememberme {
  margin-left: 8px;
  margin-top: 10px;
}

.login-form-panel .content .create-account {
  margin: 0 -40px -40px -40px;
  padding: 15px 0 17px 0;
  text-align: center;
  background-color: #f0fdfa;
  -webkit-border-radius: 0 0 7px 7px;
  -moz-border-radius: 0 0 7px 7px;
  border-radius: 0 0 7px 7px;
}

.login-form-panel .content .create-account p a {
  font-weight: 600;
  font-size: 14px;
  /*color: #c3cedd;*/
}

.login-form-panel .content .create-account a {
  display: inline-block;
  margin-top: 5px;
}

/* Copyright inside right panel */
.login-form-panel .copyright {
  text-align: center;
  margin: 15px auto 0 auto;
  padding: 10px;
  color: #7a8ca5;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

/*--------------------------------------------------
    Legacy selectors (kept for compatibility)
----------------------------------------------------*/
.login-options {
  margin-bottom: 30px;
  overflow: hidden;
}

.login-options h4 {
  float: left;
  font-weight: 600;
  font-size: 15px;
  color: #7d91aa !important;
}

.login-options .social-icons {
  float: right;
  padding-top: 3px;
}

.login-options .social-icons li a {
  border-radius: 15px 15px 15px 15px !important;
  -moz-border-radius: 15px 15px 15px 15px !important;
  -webkit-border-radius: 15px 15px 15px 15px !important;
}

/*--------------------------------------------------
    RESPONSIVE: Tablet (≤ 900px) – stack vertically
----------------------------------------------------*/
@media (max-width: 900px) {
  html, body.login {
    overflow: auto;
  }

  .login-split-wrapper {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  /* Image panel becomes a banner on top */
  .login-image-panel {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-height: 220px;
    max-height: none;
  }

  .login-image-overlay {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 20px;
  }

  .login-image-branding {
    max-width: 100%;
  }

  .login-image-branding h2 {
    font-size: 24px;
  }

  .login-image-branding p {
    font-size: 14px;
  }

  /* Form panel expands below the banner */
  .login-form-panel {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    padding: 30px 16px 20px 16px;
  }
}

/*--------------------------------------------------
    RESPONSIVE: Mobile (≤ 440px)
----------------------------------------------------*/
@media (max-width: 440px) {
  .login-image-panel {
    min-height: 180px;
    max-height: none;
  }

  .login-image-branding {
    padding: 18px 20px 20px;
  }

  .login-image-branding h2 {
    font-size: 20px;
  }

  .login-form-panel .logo {
    margin-bottom: 12px;
  }

  .login-form-panel .content {
    padding: 20px;
    padding-top: 8px;
  }

  .login-form-panel .content h3 {
    font-size: 22px;
  }

  .forget-password {
    display: block;
    float: none !important;
    margin-top: 0;
    text-align: center;
  }

  .login-options .social-icons {
    float: left;
    padding-top: 3px;
  }

  .login-form-panel .content .checkbox {
    font-size: 13px;
  }
}

.register-heading {
	text-align: center;
	font-size: 14px;
	color: #64748b;
	margin: 28px 0 20px;
}

.register-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top:10px;
}

.register-card {
	border-radius: 14px;
	padding: 16px 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.register-card.individual {
	background: #eff6ff;
	border: 1px solid #dbeafe;
}

.register-card.association {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
}

.register-card-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	font-size: 14px;
}

.register-card.individual .register-card-icon {
	color: #2563eb;
}

.register-card.association .register-card-icon {
	color: #16a34a;
}

.register-card h4 {
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 8px;
}

.register-card.individual h4 {
	color: #1d4ed8;
}

.register-card.association h4 {
	color: #15803d;
}

.login-divider{
	display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}
.login-divider::before, .login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}