* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
  height: 100vh;
  display: flex;
}

/* Left Section */
.left-section {
  flex: 65%;
  background: url("../images/News_paper.png") no-repeat center center/cover;
  position: relative;
}
.left-section::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
}

/* Right Section */
.right-section {
  flex: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0f2027;
  padding: 20px;
}

/* Login Form */
.login-form {
  width: 85%;
  max-width: 400px;
  padding: 35px 80px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  text-align: center;
  color: #fff;
  z-index: 1;
  animation: fadeIn 1s ease-in-out;
  transition: 0.4s ease; /* smooth hover transition */
  cursor: default;
}

/* Card Hover */
.login-form:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,195,255,0.5);
  border: 1px solid #00c6ff;
  background: rgba(255, 255, 255, 0.08);
}

/* Logo */
.login-form .logo {
  width: 200px;
  margin-bottom: 18px;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0,195,255,0.6);
  transition: 0.4s ease;
  cursor: pointer;
}

/* Logo Hover */
.login-form .logo:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0,195,255,0.8);
}

/* Make card move when hovering logo */
.login-form .logo:hover ~ .login-form,
.login-form:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,195,255,0.5);
  border: 1px solid #00c6ff;
  background: rgba(255, 255, 255, 0.08);
}

/* Heading */
.login-form h2 {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #00c6ff;
}
.login-form p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #ccc;
}

/* Input Boxes */
.input-box {
  width: 100%;
  margin: 12px 0;
}
.input-box input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 14px;
  background: rgba(255,255,255,0.25);
  color: #fff;
  transition: 0.3s;
  font-family: sans-serif;
}
.input-box input::placeholder {
  color: #eee;
}
.input-box input:focus {
  background: rgba(255,255,255,0.4);
  box-shadow: 0 0 10px rgba(0,195,255,0.7);
  transform: scale(1.01);
}

/* Button */
.login-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.login-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(0,195,255,0.7);
}

/* Extra Links */
.extra-links {
  margin-top: 16px;
  font-size: 13px;
}
.extra-links a {
  color: #00c6ff;
  text-decoration: none;
  margin: 0 6px;
  font-weight: bold;
}
.extra-links a:hover {
  text-decoration: underline;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}




/* ============================
   MOBILE RESPONSIVE FIX (NO DESIGN CHANGE)
   ============================ */

@media (max-width: 768px) {

  /* show R.K Newspaper background on mobile */
  body {
    height: 100vh !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../images/News_paper.png") no-repeat center center !important;
    background-size: cover !important;
  }

  /* hide left section */
  .left-section {
    display: none !important;
  }

  /* right section full screen + dark overlay */
  .right-section {
    flex: 100% !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.55) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  /* smaller login card for mobile */
  .login-form {
    width: 90% !important;
    max-width: 350px !important;
    padding: 25px 20px !important;
    background: rgba(19,35,46,0.85) !important;
    border-radius: 15px !important;
  }

  /* mobile logo size */
  .login-form .logo {
    width: 120px !important;
    height: 120px !important;
  }
}




