body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: #f6f6f6;
}

.login-container {
  background: url("/static/img/background.svg") no-repeat center center fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.login-card {
  background: #ffffff;
  padding: 2rem;
  width: 320px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: left;
  box-sizing: border-box;
}

.logo-placeholder {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem auto;
  border-radius: 8px;
  background: #3f4b5b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card h1 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
  text-align: center;
  color: #222222;
}

.subtitle {
  font-size: 0.9rem;
  text-align: center;
  color: #666666;
  margin-bottom: 1.5rem;
}

form {
  display: flex;
  flex-direction: column;
}

form label {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #333333;
}

form input[type="text"],
form input[type="password"] {
  padding: 0.8rem;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

form input[type="text"]:focus,
form input[type="password"]:focus {
  outline: none;
  border-color: #667bff;
}

.options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  color: #333333;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-label .checkmark {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 2px;
  margin-right: 0.4rem;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
  background: #667bff;
  border-color: #667bff;
}

.forgot-password {
  font-size: 0.8rem;
  color: #667bff;
  text-decoration: none;
  background: none;
  border: none;
  padding-top: 10px;
}

.forgot-password:hover {
  text-decoration: underline;
}

.cancel-button {
  background: #234e6d;
  border: none;
  color: #ffffff;
  padding: 0.8rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
}

.cancel-button:hover {
  background: #1f3459;
}

.login-button {
  background: #234e6d;
  border: none;
  color: #ffffff;
  padding: 0.8rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.login-button:hover {
  background: #1f3459;
}
.microsoft-login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #234e6d;
  padding: 0.8rem;
  border-radius: 4px;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  margin-top: 1rem;
  border: 1px solid #dcdcdc; /* Light border */
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.microsoft-login-button:hover {
  background: #f6f6f6; /* Light hover effect */
  border-color: #c0c0c0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08); /* Soft shadow */
}
.microsoft-login-button img {
  width: 20px;
  vertical-align: middle;
  margin-right: 8px;
}
.error-box, .success-box, .info-box {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  border-left: 5px solid;
  font-size: 0.9rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.error-box {
  background: #ffdddd;
  border-left-color: #d9534f;
  color: #a94442;
}

.success-box {
  background: #dff0d8;
  border-left-color: #5cb85c;
  color: #3c763d;
}

.info-box {
  background: #d9edf7;
  border-left-color: #5bc0de;
  color: #31708f;
}


.dynamic-error-text {
  color: red;
  margin-bottom: 1.2rem;
  font: sans-serif;
}
