/*
--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
#1c1c24ff;
*/
html {
  font-size: 62.5%;
}

.loginPage {
  font-family: sans-serif;
  background-color: #3a3a4cff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  width: 80rem;
  height: 45rem;
  border-radius: 1.2rem;
  box-shadow: 0 0 2.5rem rgba(56, 80, 114, 0.91);
  overflow: hidden;
  position: relative;
}

.login-box {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

/* **********************************
       Left section
********************************** */
.login-form-section {
  flex: 1;
  background-color: #000;
  padding: 6rem 5rem;
  color: #fff;
  position: relative;
  z-index: 1;
}
.login-form-section h2 {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

/* Input box div tag */
.login-input-box {
  position: relative;
  margin-bottom: 2.5rem;
}

.login-input-box input {
  width: 100%;
  padding: 1rem 4rem 1rem 1rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid #888;
  color: #fff;
  outline: none;
  font-size: 1.6rem;
}

/* Login page icons */
.login-icon {
  position: absolute;
  right: 1rem;
  top: 30%;
  transition: translateY(-50%);
  color: #313a5dff;
  width: 1.8rem;
  height: 1.8rem;
}
/* Login button */
.login-btn {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 2.5rem;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  background:  rgba(40, 87, 152, 0.91);
}

.login-btn:hover {
  background: rgba(31, 63, 108, 0.91);
}

.signup-text {
    font-size:1.6rem;
  text-align: center;
  margin-top: 2rem;
  color: #bbb;
}

.signup-text a {
  color: rgba(31, 63, 108, 0.91);
  text-decoration: none;
  font-weight: 600;
}

.signup-text a:hover {
  text-decoration: underline;
}

/* **********************************
       Right section
********************************** */

.welcome-section {
  flex: 1;
  background: rgba(31, 63, 108, 0.91);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  z-index:2;

}

.welcome-content {
  text-align: center;
  padding: 4rem;
}

.welcome-content h1 {
    text-transform:uppercase;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.welcome-content p {
  font-size: 1.6rem;
  color: #e4e4e4;
  width: 80%;
  margin: auto;
  line-height:1.5;
}

/* --- Glow Effect --- */
.login-container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  box-shadow: 0 0 25px 3px #8a2be2;
  z-index: -1;
}


/* --- Login Error Alert --- */
#loginError {
  background: rgba(255, 0, 0, 0.1); /* subtle red overlay */
  border: 1px solid #ff4d4d;
  color: #e7dadaff;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  animation: fadeIn 0.3s ease-in-out;
  margin-top:3.6rem;
  transition: opacity 0.5s ease;
  opacity: 1;
}

.fade-out {
  opacity: 0;
}









/* Optional glowing animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


