* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: url('../images/background.png') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}

/* Container */
.login-container {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  width: 900px;
  max-width: 95%;
  display: flex;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
#l_errorbu{
	display: none; 
}
#errorMessage{
	display: none; background: rgba(255, 0, 0, 0.2); color: #ffcccc; padding: 10px; border-radius: 8px; margin-bottom: 15px; font-size: 0.9rem; border: 1px solid rgba(255, 0, 0, 0.3);
}
/* Left Side - Image & Centered Text */
.left-side {
  width: 45%;
  background: url('../images/left-back.jpg') no-repeat center center / cover;
  position: relative;
  padding: 40px;
  color: white;
  display: flex;
  align-items: center;    
  justify-content: center; 
}

.left-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(4,39,87,0.8));
}

.left-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.left-content h1 {
  font-size: 2.5rem;
  transition: 0.4s ease;
  cursor: default;
}

.left-content h1:hover {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

/* Right Side Form */
.right-side {
  width: 55%;
  padding: 40px;
  color: white;
}

.right-side h2 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: white;
}

.password-wrapper {
  position: relative;
}

.password-wrapper i {
  position: absolute;
  right: 12px;
  top: 13px;
  cursor: pointer;
  color: #555;
}

/* Buttons with Glow Effects */
.buttons {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.btn {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.4s ease;
}

.btn-signin {
  background: #042757;
  color: white;
  box-shadow: 0 0 10px rgba(4, 39, 87, 0.4);
}

.btn-signin:hover {
  background: #063a82;
  box-shadow: 0 0 20px rgba(6, 58, 130, 0.8);
  transform: translateY(-2px);
}

.btn-register {
  background: #8d7d51;
  color: white;
  box-shadow: 0 0 10px rgba(141, 125, 81, 0.4);
}

.btn-register:hover {
  background: #a3915e;
  box-shadow: 0 0 20px rgba(163, 145, 94, 0.8);
  transform: translateY(-2px);
}

/* Footer & Glowing Right-Aligned Logo */
.footer {
  margin-top: 20px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
  padding: 10px 30px; 
  width: 900px;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: flex-end; 
  align-items: center;
  border-radius: 14px;
}

.footer img {
  max-height: 45px; 
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
  transition: 0.4s ease-in-out;
}

.footer img:hover {
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1));
  transform: scale(1.05);
}

@media(max-width: 768px) {
  .login-container { flex-direction: column; width: 95%; }
  .left-side { height: 150px; width: 100%; }
  .right-side { width: 100%; padding: 30px; }
  .footer { width: 95%; justify-content: center; padding: 10px; }
}