/* Login Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --font-new-default: 'Inter', sans-serif;
  --color-green-light: #28a745;
  --color-green: #059652;
  --color-white: #ffffff;
  --color-primary: #306240;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.login-page {
  font-family: var(--font-new-default);
  background-color: #f5f5f5;
  min-height: 100vh;
}

.login-wrapper {
  display: flex;
  min-height: 100vh;
}

.login-image-section {
  width: 50%;
  background: linear-gradient(180deg, #096B8A 0%, #11956D 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 20px 0 20px;
}

.login-image-section img {
  max-width: 80%;
  height: auto;
}

.login-form-section {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: var(--color-white);
}

.login-form-container {
  width: 100%;
  max-width: 450px;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-header h2 {
  font-family: var(--font-new-default);
  font-weight: 500;
  font-size: 40px;
  color: #333;
  margin-bottom: 10px;
}

.login-header p {
  font-family: var(--font-new-default);
  font-weight: 400;
  font-size: 16px;
  color: #666;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.login-form .form-group label sup {
  color: #dc3545;
}

.login-form .form-control {
  width: 100%;
  height: 50px;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ced4da;
  border-radius: 10px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.login-form .form-control:focus {
  border-color: var(--color-green-light);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.login-form .input-group {
  position: relative;
  display: flex;
  align-items: stretch;
}

.login-form .input-group .form-control {
  border-radius: 10px 0 0 10px;
}

.login-form .input-group-addon {
  display: flex;
  align-items: center;
  padding: 0 15px;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-left: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
}

.login-form .input-group-addon:hover {
  background-color: #dee2e6;
}

.login-form .input-group-addon i {
  color: #495057;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 25px;
}

.form-footer a {
  color: #007AFF;
  text-decoration: none;
  font-size: 14px;
}

.form-footer a:hover {
  text-decoration: underline;
}

.btn-login {
  width: 100%;
  height: 50px;
  border-radius: 50px;
  padding: 12px 20px;
  background: var(--color-green-light);
  border: none;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-login:hover {
  background: var(--color-green);
}

.btn-login i {
  font-size: 16px;
}

.help-block-error {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
}

.has-error .form-control {
  border-color: #dc3545;
}

.powered-text {
  text-align: center;
  margin-top: 30px;
  color: #6c757d;
  font-size: 14px;
}

.powered-text i {
  margin-right: 5px;
}

/* Responsive Design */
@media (max-width: 991px) {
  .login-wrapper {
    flex-direction: column;
  }

  .login-image-section {
    width: 100%;
    height: 40vh;
    order: 1;
  }

  .login-form-section {
    width: 100%;
    padding: 30px 20px;
    order: 2;
  }

  .login-header h2 {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .login-image-section {
    height: 30vh;
  }

  .login-header h2 {
    font-size: 28px;
  }

  .login-form-container {
    padding: 0 10px;
  }
}