* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f7fb;
  min-height: 100vh;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #005baa;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#welcomeUser {
  font-size: 18px;
  font-weight: 600;
}

#logoutBtn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

#logoutBtn:hover {
  background: #b02a37;
}

.container {
  width: 95%;
  max-width: 1400px;
  margin: 100px auto 40px;
}

.header {
  text-align: center;
  margin-bottom: 30px;
}

.logo {
  width: 110px;
  margin-bottom: 15px;
}

.header h1 {
  color: #003366;
  margin-bottom: 10px;
}

.header h2 {
  color: #666;
  font-weight: 500;
  font-size: 16px;
}

.search-container {
  text-align: center;
  margin-bottom: 40px;
}

.search-container input {
  width: 100%;
  max-width: 500px;
  padding: 14px 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-container input:focus {
  border-color: #005baa;
  box-shadow: 0 0 5px rgba(0, 91, 170, 0.3);
  outline: none;
}

.section-header {
  margin-bottom: 25px;
  text-align: left;
}

.section-header h3 {
  color: #003366;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-header h3 i {
  color: #005baa;
  font-size: 18px;
}

.section-header .header-line {
  height: 3px;
  background: #005baa;
  width: 60px;
  margin-top: 8px;
  border-radius: 2px;
}

.forms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.form-card {
  background: white;
  min-height: 140px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: center;
}

.form-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-top: 4px solid #005baa;
}

.form-card h3 {
  color: #005baa;
  margin-bottom: 8px;
  font-size: 18px;
}

.form-card p {
  color: #555;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
}

.footer {
  text-align: center;
  margin-top: 50px;
  color: #666;
  font-weight: bold;
}

.split-login-body {
  background: #eaeff5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.split-login-container {
  display: flex;
  width: 900px;
  height: 540px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 30, 80, 0.1);
  overflow: hidden;
}

.login-left {
  flex: 1;
  background: #f0f6fc;
  color: #003366;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-right: 1px solid #e1e8f0;
}

.login-left::after {
  display: none;
}

.left-content {
  position: relative;
  z-index: 2;
}

.login-logo {
  width: 120px;
  margin-bottom: 25px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
  display: block;
}

.login-left h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 5px;
  line-height: 1.2;
  color: #003366;
}

.login-left h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #005baa;
  letter-spacing: 0.5px;
}

.form-info-text {
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  max-width: 95%;
}

.form-info-text strong {
  color: #003366;
  background: rgba(0, 91, 170, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

.left-footer {
  font-size: 12px;
  color: #888888;
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: bold;
}

.login-right {
  flex: 1;
  padding: 50px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.right-content {
  width: 100%;
  max-width: 320px;
}

.right-content h3 {
  color: #003366;
  font-size: 26px;
  margin-bottom: 5px;
  font-weight: 700;
}

.login-subtitle {
  color: #888;
  font-size: 14px;
  margin-bottom: 35px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 13px;
  color: #444;
  font-weight: 600;
  margin-bottom: 8px;
}

.input-with-icon {
  position: relative;
  display: block;
  width: 100%;
}

.input-with-icon i.input-main-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
  transition: 0.3s;
  pointer-events: none;
  z-index: 2;
}

.input-with-icon input {
  width: 100%;
  padding: 14px 45px 14px 42px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  background: #fafafa;
  transition: all 0.3s ease;
}

.input-with-icon input:focus {
  border-color: #005baa;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 91, 170, 0.1);
}

.input-with-icon input:focus + i.input-main-icon {
  color: #005baa;
}

.toggle-password-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  cursor: pointer;
  font-size: 15px;
  padding: 5px;
  z-index: 10;
  transition: color 0.2s ease;
}

.toggle-password-icon:hover {
  color: #005baa;
}

.primary-btn {
  width: 100%;
  padding: 15px;
  background: #005baa;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
  margin-top: 15px;
  box-shadow: 0 4px 10px rgba(0, 91, 170, 0.2);
}

.primary-btn:hover {
  background: #004280;
  box-shadow: 0 6px 15px rgba(0, 91, 170, 0.3);
  transform: translateY(-2px);
}

.secure-badge {
  text-align: center;
  margin-top: 35px;
  font-size: 12px;
  color: #888;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.secure-badge i {
  color: #28a745;
}

@media (max-width: 1100px) {
  .forms-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .forms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-login-container {
    flex-direction: column;
    width: 90%;
    height: auto;
  }
  .login-left {
    padding: 40px 30px;
    text-align: center;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid #e1e8f0;
  }
  .login-left p,
  .left-footer {
    display: none;
  }
  .login-left h1 {
    font-size: 24px;
  }
  .login-left h2 {
    font-size: 15px;
    margin-bottom: 0;
  }
  .login-logo {
    width: 90px;
    margin: 0 auto 15px;
  }
  .login-right {
    padding: 40px 30px;
  }
  .right-content {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .forms-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    padding: 0 15px;
  }
  .search-container input {
    width: 95%;
  }
}
