/* Login page styles. */

:root {
  --color-bosco-green: #006400;
  --color-bosco-green-hover: #228B22;
  --color-danger: #c00;
}

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

body {
  font-family: 'Roboto', sans-serif;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.login-box {
  background: #fff;
  border: 2px solid var(--color-bosco-green);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  width: 340px;
  text-align: center;
}

.login-box img {
  width: 150px;
  height: 150px;
  margin-bottom: calc(0.5rem + 5px);
}

.field {
  margin-bottom: 1rem;
  text-align: left;
}

.field label {
  display: block;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.25rem;
}

.field input {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 0.95rem;
  font-family: inherit;
}

.field input:focus {
  outline: none;
  border-color: var(--color-bosco-green);
}

.btn {
  display: block;
  width: 100%;
  padding: 0.6rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  margin-top: 0.5rem;
}

.btn-save {
  background: var(--color-bosco-green);
  color: #fff;
}

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

.btn-ms {
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
  margin-top: 1rem;
}

.btn-ms:hover { background: #f0f0f0; }

.error {
  color: var(--color-danger);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.separator {
  display: flex;
  align-items: center;
  margin: 1.2rem 0 0.4rem;
  color: #999;
  font-size: 0.8rem;
}

.separator::before, .separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.separator::before { margin-right: 0.6rem; }
.separator::after { margin-left: 0.6rem; }
