@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


:root {
  --accent-color: #16a34a;
  --base-color: #161616;
  --text-color: #2e2b41;
  --input-color: #121213;
  --main-background-color: #f0fff4;
  --white: #1f1f1f;
  --background-color: #ffffff;
  --grey: #b6b6b6;
  --black: #ffff;
  --box-shadow: none;
  --box-color: #cf53f9;
  --danger: #dc3545;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --green: #16a34a;
  --orange: #fd7e14;
  --green: #8672ff;

  --background-opacity-green: rgba(22, 162, 73, 0.3);
  --background-opacity-main: rgba(52, 58, 64, 0.3);
  --box-shadow: -8px 14px 20px 0px var(--grey);
}

.dark-theme-variables {
  --accent-color: #16a34a;
  --base-color: #dddada;
  --text-color: #2e2b41;
  --input-color: #f3f0ff;
  --main-background-color: #252525;
  --white: #ffffff;
  --background-color: #343a40;
  --grey: #6c6c6c;
  --box-shadow: -8px 14px 20px 0px var(--grey);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}


body {
  position: relative;
  background: linear-gradient(180deg, #1e2b1d 0%, #243422 100%);
  color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
}

/*  Floating background container */
.floating-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

/*  Floating glowing icons */
.floating-background span {
  position: absolute;
  display: block;
  font-size: 2.5rem;
  color: rgba(0, 177, 64, 0.35); /* EIT green glow */
  text-shadow: 0 0 20px rgba(0, 177, 64, 0.5);
  animation: floatIcon 12s linear infinite;
  filter: drop-shadow(0 0 10px rgba(0, 177, 64, 0.4));
  opacity: 0.8;
}

/*  Floating motion */
@keyframes floatIcon {
  0% {
    transform: translateY(100vh) scale(1);
    opacity: 0;
  }
  25% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(50vh) scale(1.2);
  }
  100% {
    transform: translateY(-10vh) scale(0.9);
    opacity: 0;
  }
}

/*  Random icon positions and speeds */
.floating-background span:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 13s;
}

.floating-background span:nth-child(2) {
  left: 25%;
  animation-delay: 2s;
  animation-duration: 10s;
  font-size: 3rem;
}

.floating-background span:nth-child(3) {
  left: 40%;
  animation-delay: 4s;
  animation-duration: 11s;
}

.floating-background span:nth-child(4) {
  left: 60%;
  animation-delay: 1s;
  animation-duration: 12s;
  font-size: 2rem;
}

.floating-background span:nth-child(5) {
  left: 75%;
  animation-delay: 3s;
  animation-duration: 14s;
  font-size: 3.5rem;
}

.floating-background span:nth-child(6) {
  left: 90%;
  animation-delay: 5s;
  animation-duration: 9s;
  font-size: 2.2rem;
}

ul {
  list-style: none;
}

h2 {
  font-size: 1.5rem;
  color: var(--base-color);
}

a {
  text-decoration: none;
  color: var(--base-color);
}

nav {
  width: max(100%, 90%);
  box-sizing: border-box;
  background-color: var(--background-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  font-weight: 500;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 23;
}



.login-logo-wrapper{
  width: 100%;
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.login-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 4px;
}

.login-logo p{
  font-size: 1.3rem;
  color: var(--accent-color);
   font-family: "Bebas Neue", sans-serif;
}

.login-logo h3{
  font-size: 30px;
  font-weight: bold;
  font-family: "Bebas Neue", sans-serif;
}


.menu-toggle {
  display: none;
}

.menu-toggle span {
  display: flex;

  svg {
    fill: var(--base-color);
    width: 30px;
    height: 30px;
    transition: all 500ms ease;
    cursor: pointer;
  }
}

.logo-row .logo span svg:hover {
  fill: var(--white);
}

.menu-row ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.menu-row ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: all 300ms ease;
}

.menu-row ul li a:hover {
  color: var(--white);
}

.menu-row ul li a span {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  svg {
    fill: var(--base-color);
    width: 20px;
    height: 20px;
  }
}

.company-link {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  background-color: var(--accent-color);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 300ms ease;
}

.company-link i{
  font-size: 12px;
}

.company-link a {
  font-size: 14px;
  color: var(--black);
}

.company-link:hover {
  cursor: pointer;
  background-color:var(--base-color);;
  box-shadow: var(--box-shadow);
  transform: translateY(-2px);
}

.company-link a:hover {
  color: var(--black) !important;
}

.lang-toggle {
  display: inline-flex;
  background: var(--background-color);
  /* border: 1px solid var(--input-color);
  border-radius: 20px; */
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 3px 3px;
}

.lang-toggle .lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--base-color);
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.lang-toggle .lang-btn:hover {
  border-radius: 800px;
  background: var(--main-background-color);
}

.lang-toggle .lang-btn.active {
  background: var(--accent-color);
  /* margin: 10px; */
  padding: 6px 10px;
  color: var(--base-color);
  border-radius: 800px;
}

.prof-toggle {
  display: none;
  font-size: 30px;
}

/* Wrapper */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5% 0 0;
}

/* Card */
.login-card {
  width: 400px;
  background: var(--black);
  padding: 40px 40px 20px;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  width: 350px;
  text-align: center;
}

.logo {
  width: 80px;
  margin-bottom: 15px;
}

.title {
  margin: 0;
  color: var(--accent-color);
  font-weight: bold;
  font-family: "Bebas Neue", sans-serif;
  font-size: 40px;
}

.subtitle {
  color: var(--base-color);
  font-size: 14px;
  margin-bottom: 20px;
}

/* Input group */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 12px 40px 12px 12px;
  border: 1px solid var(--grey);
  border-radius: 8px;
  font-size: 14px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
}

/* Button */
.btn-login {
  background: var(--accent-color);
  color: var(--black);
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-login span {
  display: flex;
  justify-content: center;
  align-items: center;

  svg {
    fill: var(--black);
    width: 20px;
    height: 20px;
  }
}

.btn-login:hover {
  background: var(--base-color);
}

.settings{
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: 30px;
}

.settings span{
    cursor: pointer;
    transition: all 0.3s ease;

    svg{
        fill: var(--base-color);
        width: 20px;
        height: 20px;
    }
}

.settings span:hover{
    svg{
        fill: var(--accent-color);
    }
}

/* Loading overlay */
#loadingOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

/* Circular spinner */
/* === EIT Green Theme Loader === */
#loadingOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(20, 83, 45, 0.9), rgba(0, 0, 0, 0.9));
  backdrop-filter: blur(4px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #e0fce0;
  font-family: "Poppins", sans-serif;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#loadingOverlay.active {
  display: flex;
  opacity: 1;
}

/* Success check animation */
.success-check {
  display: none;
  width: 80px;
  height: 80px;
  position: relative;
}

.success-check svg {
  width: 80px;
  height: 80px;
}

.check-circle {
  stroke: #22c55e;
  stroke-width: 3;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-linecap: round;
}

.check-mark {
  stroke: #22c55e;
  stroke-width: 3;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-linecap: round;
}

/* Spinner loader animation */
.loader {
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top: 5px solid #22c55e; /* EIT green */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes circleStroke {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes checkStroke {
  to {
    stroke-dashoffset: 0;
  }
}




@media (max-width: 768px) {
  .login-wrapper {
    margin-top: 20%;
  }
}

@media (max-width: 414px) {
  .login-wrapper {
    margin-top: 20%;
  }

  nav{
  position: relative;
}

  .menu-row ul {
    display: block;
    background-color: var(--background-color);
    flex-direction: column;
    padding: 20px 10px;
    position: fixed;
    top: 80px;
    right: -550px; 
    width: 80%;
    border-radius: 10px;
    transition: all 1s ease;
}

.menu-row ul li a {
  display: flex;
  align-items: left;
  justify-content: flex-start;
  gap: 3px;
  cursor: pointer;
  transition: all 300ms ease;
  font-size: 18px;
}

.menu-row ul li i{
  font-size: 18px;
}

  .menu-row ul.menu-row-active {
    width: 80%;
    right: 0;
  }


.menu-row ul li{
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

    .prof-toggle {
    display: block;
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 10px 20px 0;
  }

  .login-wrapper {
    margin-top: 40%;
  }
}
