* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #1d2671, #2AA9FF);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MAIN CARD */
.login-wrapper {
  width: 900px;
  max-width: 95%;
  background: #fff;
  display: flex;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

/* BRAND SIDE */
.brand-section {
  width: 45%;
  background: linear-gradient(160deg, #1d2671, #2AA9FF);
  color: #fff;
  padding: 50px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-box {
  width: 75px;
  border: 3px solid #2AA9FF;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-bottom: 25px;
}

.logo-box h2{
    margin-left: 0.6rem;
    font-size: 30px;
}

.Repo{
    color: #2AA9FF;
}

.logo-box img {
    border-radius: 4px;
    height: 100%;
  width: 100%;
}

.brand-section h1 {
  color: #f5c542;
  font-size: 32px;
  font-weight: 600;
}

.highlight{
  color: #00D1FF;
}

.brand-section p {
  margin-top: 10px;
  
}

/* FORM SIDE */
.form-section {
  width: 55%;
  padding: 50px 40px;
}

.form-section h2 {
  font-size: 26px;
  margin-bottom: 30px;
  color: #222;
}

/* INPUT */
.input-group {
  position: relative;
  margin-bottom: 22px;
}

.input-group .i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #777;
}

.password-group {
  position: relative;
}

.input-group .toggle-password {
  position: absolute;
  top: 43%;
  right: 15px;
  cursor: pointer;
  color: #777;
  font-size: 14px;
}

.toggle-password:hover {
  color: #000;
}


.input-group input {
  width: 100%;
  padding: 14px 14px 14px 42px;
  border-radius: 8px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 14px;
}

.input-group input:focus {
  border-color: #c33764;
}

.forgot-link{
  display:block;
  text-align:right;
  font-size:13px;
  color:#4f46e5;
  margin-top:5px;
  text-decoration:none;
}


/* BUTTON */
.login-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #1d2671, #2AA9FF);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.login-btn:hover {
  opacity: 0.9;
}

/* LINKS */
.extra-links {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
}

.extra-links a {
  font-size: 13px;
  text-decoration: none;
  color: maroon;
  font-weight: 500;
}


.auth-wrapper {
  width: 100%;
}

/* OR Divider */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #dadce0;
}

.divider span {
  padding: 0 10px;
  font-size: 13px;
  color: #5f6368;
  font-weight: 500;
}

/* Google Button */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 20px;
  width: 100%;

  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 8px;

  font-size: 15px;
  font-weight: 500;
  color: #3c4043;

  cursor: pointer;
  transition: all 0.2s ease;
}

.google-btn img {
  width: 18px;
  height: 18px;
}

.google-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* 🔥 Mobile Optimization */
@media (max-width: 451px) {

  .auth-wrapper {
    max-width: 100%;
    padding: 0 0 20px 0;
  }

  .google-btn {
    font-size: 14px;
    padding: 14px;
  }

  .divider span {
    font-size: 12px;
  }
}






/* 📱 MOBILE VIEW (≤451px) */
@media (max-width: 451px) {
  .login-wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .brand-section {
    width: 100%;
    text-align: center;
    padding: 35px 20px;
  }

  .logo-box {
    margin: 0 0 1.25rem 2rem;
  }

  .form-section {
    width: 100%;
    padding: 35px 20px;
  }



}



.dept-popup{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.6);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.dept-box{
  background:#fff;
  padding:40px;
  border-radius:16px;
  text-align:center;
  width:320px;
  animation: pop 0.3s ease;
}

.dept-box h2{
  margin-bottom:25px;
}

.dept-btn{
  width:100%;
  padding:12px;
  margin:10px 0;
  border:none;
  border-radius:8px;
  font-size:16px;
  cursor:pointer;
  background:#2563eb;
  color:white;
  transition:0.3s;
}

.dept-btn:hover{
  background:#1e40af;
}

@keyframes pop{
  from{transform:scale(0.8); opacity:0;}
  to{transform:scale(1); opacity:1;}
}
