* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  height: 100vh;
  display: flex;
  background-color: #fff;
}

.container {
  display: flex;
  width: 100%;
  height: 100%;
}

.left-panel {
  width: 60%;
  height: 100%;
}

.left-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.right-panel {
  width: 40%;
  display: flex;
  background: #fff;
  margin-top: 80px;
}

.login-box {
  width: 100%;
  text-align: center;
  margin-top: 0;
  margin-left: 20px;
  margin-right: 20px;
}

.logo {
  width: 90px;
  margin-bottom: 10px;
}

h2 {
  font-weight: 500;
  margin-bottom: 20px;
}

.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group input {
  width: 100%;
  padding: 20px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

.input-group label {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  transition: 0.3s;
  pointer-events: none;
}

.input-group input:focus + label,
.input-group input:valid + label {
  top: -8px;
  font-size: 12px;
  color: #007bff;
  background: #fff;
  padding: 0 5px;
}

.captcha-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  margin-right: 150px;
}

.captcha-code {
  background: #eee;
      padding: 8px 12px;
      font-weight: bold;
      letter-spacing: 2px;
      border-radius: 4px;
      user-select: none;
}

.captcha-row input {
  flex: 1;
  margin: 0 10px;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #999;
  outline: none;
}

.refresh {
  border: none;
  background: none;
  font-size: 40px;
  cursor: pointer;
  color: #0052cc;
}

.signin-btn {
  width: 100%;
  background: #2c4dbc;
  color: #fff;
  font-size: 15px;
  padding: 10px;
  border: none;
  border-radius: 4px;
  margin-top: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.signin-btn:hover {
  background: #1d3fa6;
}

.extras {
  text-align: right;
  margin-top: 20px;
  text-decoration: underline; 
}

.extras a {
  text-decoration: none;
  color: #0052cc;
  font-size: 15px;
}

.announcements {
  margin-top: 15px;
  width: 50%;
  border: 1px solid #ff4d4d;
  background: #fff;
  color: #ff4d4d;
  font-weight: bold;
  padding: 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.3s;
  align-items: flex-end;
  float: right; 
}

.announcements:hover {
  background: #ff4d4d;
  color: #fff;
}

.footer {
  font-size: 14px;
  color: #888;
  margin-top: 20px;
}
  #sidebar li.disabled {
    color: gray;
    pointer-events: none; /* disables clicking */
    cursor: not-allowed;
    opacity: 0.6;
  }