/* Particle Background */
#particles-js {
    position: fixed;
    top:0; left:0;
    width: 100%;
    height: 100vh;
background: linear-gradient(
  135deg,
  #2f4550,
  #4f5d65,
  #778b95
);
    z-index: 1;
}

/* Login Wrapper */
.login-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;    
    align-items: center;
    padding: 20px;
}

/* White Card */
.login-card {
    background: #ffffff; /* solid white */
    border-radius: 25px;
    padding: 50px 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    color: #0c1c45; /* dark text for contrast */
    animation: fadeIn 0.8s ease-in-out;
    z-index: 2;
}

/* Header */
.login-header {
    text-align: center;
    margin-bottom: 20px;
}

.login-header .logo {
    width: 140px;
}

.login-header h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0c1c45; /* dark header text */
}

.login-header p {
    font-size: 14px;
    color: #5a5a5a; /* subtle gray */
}

/* Input Groups */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 15px 15px;
    background: #f2f4f7; /* light gray background */
    border: 1px solid #d1d5db; /* subtle border */
    border-radius: 12px;
    color: #0c1c45; /* dark text */
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #3b63b9; /* blue focus */
    box-shadow: 0 0 6px rgba(59, 99, 185, 0.3);
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b8b8b; /* gray label */
    font-size: 14px;
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    color: #2f4550; /* blue highlight */
    background: #ffffff; /* white background behind label */
    padding: 0 5px;
    border-radius: 4px;
}

/* Password Eye Icon */
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #2f4550; /* blue eye icon */
    font-size: 16px;
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: none;
    background: #2f4550; /* blue button */
    color: #ffffff; /* white text */
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background: #778b95; /* darker blue on hover */
}


/* Animation */
@keyframes fadeIn {
    0% {opacity:0; transform: translateY(20px);}
    100% {opacity:1; transform: translateY(0);}
}

/* ====== Developed By Section ====== */
.developed-by {
  display: flex;
  align-items: center;       /* Vertically center text and logo */
  justify-content: center;   /* Center content horizontally */
  gap: 8px;                  /* Space between text and logo */
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

.nespak-logo {
  height: 35px;
  opacity: 0.9;
  transition: all 0.3s ease;
  vertical-align: middle;
}

.nespak-logo:hover {
  transform: scale(1.05);
  opacity: 1;
}


/* ====== Error Message ====== */
.text-danger {
  text-align: center;
  font-weight: 500;
}
