* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
:root {
  --primary-blue: #27516B;
  --secondary-teal: #009688;
  --dark-blue: #1a3a4e;
  --gray-light: #f4f4f4;
  --gray: #ddd;
  --text-dark: #333;
  --highlight: #0073e6;
}
html, body {
  height: 100%;
  overflow: hidden;
}
body {
  display: flex;
  flex-direction: column;
  background-color: var(--primary-blue);
  color: var(--text-dark);
}
.header {
  background-color: var(--primary-blue);
  padding: 15px 20px;
  flex: 0 0 auto;
}
.logo {
  height: 40px;
}
.container {
  display: flex;
  flex: 1 1 auto;
  height: calc(100vh - 70px - 100px);
}
.left-panel {
  flex: 0.65;
  background: linear-gradient(135deg, var(--secondary-teal) 0%, #26a69a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  height: 100%;
}
.left-panel .left-image {
  max-width: 90%;
  border-radius: 10px;
}
.right-panel {
  flex: 0.35;
  background-color: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  flex-direction: column;
  height: 100%;
}
.login-title {
  text-align: center;
  margin-bottom: 20px;
}
.login-title h2 {
  font-size: 34px;
  color: black;
  font-weight: bold;
}
.login-box {
  background: white;
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 380px;
}
.login-subtitle {
  text-align: center;
  margin-bottom: 20px;
}
.login-subtitle h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.login-subtitle p {
  font-size: 13px;
  color: #666;
}
.input-group {
  margin-bottom: 18px;
  position: relative;
}
.input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray);
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s;
}
.input-group input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(39, 81, 107, 0.2);
  outline: none;
}
.password-group {
  position: relative;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #777;
}
.login-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}
.login-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.login-btn:hover:enabled {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
}
.forgot-link {
  display: block;
  margin-top: 15px;
  text-align: center;
  color: var(--highlight);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.forgot-link:hover {
  text-decoration: underline;
}
.footer {
  background-color: var(--primary-blue);
  padding: 15px 20px;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

/* Modal style */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 80%;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.modal-content p {
  font-size: 16px;
  margin-bottom: 20px;
}
.modal-content button {
  padding: 10px 25px;
  border: none;
  background-color: var(--primary-blue);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
}
.modal-content button:hover {
  background-color: var(--dark-blue);
}
