* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f5f5f5;
}

.login-wrapper {
  display: flex;
  width: 70%;
  max-width: 1000px;
  margin: 50px auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  border-radius: 20px;
  overflow: hidden;
}

/* Left Panel */
.left-panel {
  flex: 1;
  background: linear-gradient(to bottom right, #2e5e4e, #027ac7);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.left-panel .logo {
  width: 120px;
  margin-bottom: 30px;
}

.left-panel h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 15px 0;
}

/* Right Panel */
.right-panel {
  flex: 1;
  padding: 20px 15px; /* Reduced padding */
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.right-panel .welcome {
  color: #0056b3;
  font-size: 26px;
  font-weight: bold;
  
}

.right-panel p {
  margin: 10px 0 20px;
  color: #555;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin: 10px 0 5px;
  font-weight: 500;
}

input[type="text"],
input[type="password"],
select {
  padding: 12px;
  border: none;
  border-radius: 25px;
  background-color: #fde8cc;
  margin-bottom: 10px;
  font-size: 14px;
  outline: none;
}

select {
  appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.login-btn {
  background: #fcae1e;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.login-btn:hover {
  background: #e89d0a;
}

.forgot, .signup {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
}

.signup a {
  color: green;
  font-weight: bold;
  text-decoration: none;
}

.signup a:hover {
  text-decoration: underline;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px; /* Reduce vertical gap between fields */
}

.form-group label {
  margin-bottom: 4px; /* Tighter label spacing */
  font-weight: 500;
}


.form-group input,
.form-group select {
  padding: 12px;
  border: none;
  border-radius: 25px;
  background-color: #fde8cc;
  font-size: 14px;
  outline: none;
}

.btn {
  background: linear-gradient(135deg, #fcae1e, #f98d00);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  text-align: center;
  letter-spacing: 0.5px;
}

.btn:hover {
  background: linear-gradient(135deg, #e29400, #c77400);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Footer Links */
.login-footer {
  text-align: center;
  margin-top: 20px;
  color: #777;
}

.login-footer a {
  color: #0078d4;
  text-decoration: none;
  font-weight: 500;
}

.login-footer a:hover {
  text-decoration: underline;
}

/* Top Bar */
.top-bar {
  background: #004080;
  color: white;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.top-bar a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
}

.top-bar a:hover {
  color: #ffc107;
}

.top-bar i {
  margin-right: 6px;
}

.top-left, .top-right {
  display: flex;
  align-items: center;
}

.top-right a {
  margin-left: 10px;
  font-size: 16px;
}


/* recaptcha & form extras */
.recaptcha-wrap {
  margin-top: 10px;
  margin-bottom: 2px;
  display: flex;
  justify-content: flex-start;
}

/* tweak the grecaptcha iframe box shadow & border radius */
.grecaptcha > div {
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(15,23,42,0.08);
  overflow: hidden;
}

/* small alert / error box */
.alert {
  background: linear-gradient(90deg,#fff6ed,#fff1e6);
  color: #993d00;
  border: 1px solid #ffd8b5;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-weight: 600;
}

/* button focus/disabled states for accessibility */
.btn:focus { outline: 3px solid rgba(0,74,173,0.2); outline-offset: 2px; }

@media (max-width: 768px) {
  .login-wrapper {
    flex-direction: column;
    width: 95%;
    margin: 30px auto;
    border-radius: 15px;
  }
  
  