/* ==========================================================================
   Login page — "Remember me" checkbox
   Matches the gold (#EBCF81) form theme used in main.css.
   ========================================================================== */

.form__group--remember {
  margin-bottom: 18px;
}

/* Label wraps the checkbox + text, laid out on one row */
.form__check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: #d0d0d0;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* Custom-styled, clearly visible checkbox */
.form__check input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.form__check input[type="checkbox"]:hover {
  border-color: rgba(235, 207, 129, 0.6);
}

.form__check input[type="checkbox"]:focus-visible {
  outline: none;
  border-color: #EBCF81;
  box-shadow: 0 0 0 3px rgba(235, 207, 129, 0.25);
}

/* Checked state — gold fill with a dark checkmark */
.form__check input[type="checkbox"]:checked {
  background-color: #EBCF81;
  border-color: #EBCF81;
}

.form__check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #11141d;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form__check span {
  line-height: 20px;
}
