/* =============================================================
   LeagueMinder Login — styles.css
   Scoped entirely to the login page.
   ============================================================= */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'DIN 2014', 'DIN Next', Arial, sans-serif;
}

.block{
  display: block;
}

.inline-block{
  display: inline-block;
}

/* ---------------------------------------------------------------
   Page layout — full-screen background + overlay
   --------------------------------------------------------------- */

.lm-login-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../img/soccer-banding-together-60.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.lm-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(22, 67, 151, 0.5);
}

/* ---------------------------------------------------------------
   Login card
   --------------------------------------------------------------- */

.lm-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.15);
  padding: 37px 27px;
  width: 512px;
  max-width: calc(100vw - 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------------------------------------------------------------
   Logo
   --------------------------------------------------------------- */

.lm-logo {
  text-align: center;
}

.lm-logo img {
  width: 260px;
  height: 57px;
  object-fit: contain;
}

/* ---------------------------------------------------------------
   Form reset — remove Bootstrap form margins inside the card
   --------------------------------------------------------------- */

.lm-card form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

/* ---------------------------------------------------------------
   Labeled input fields
   --------------------------------------------------------------- */

.lm-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lm-field label {
  font-family: 'DIN 2014', 'DIN Next', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  margin: 0;
}

.lm-input {
  height: 40px;
  width: 100%;
  padding: 8px 12px;
  font-family: 'DIN 2014', 'DIN Next', Arial, sans-serif;
  font-size: 16px;
  color: #333;
  background: #fff;
  border: 1px solid #919191;
  border-radius: 8px;
  outline: none;
  box-shadow: none;
  transition: border-color 0.15s ease;
}

.lm-input:focus {
  border-color: #4498ff;
  box-shadow: none;
}

/* ---------------------------------------------------------------
   Remember me
   --------------------------------------------------------------- */

.lm-remember {
  display: flex;
  align-items: center;
  gap: 13px;
}

.lm-remember input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1px solid #bababa;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
  margin: 0;
}

.lm-remember input[type="checkbox"]:checked {
  border-color: #4498ff;
}

.lm-remember input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: 2px solid #4498ff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.lm-remember label {
  font-family: 'DIN 2014', 'DIN Next', Arial, sans-serif;
  font-size: 16px;
  color: #000;
  margin: 0;
  cursor: pointer;
}

/* ---------------------------------------------------------------
   Sign In button
   --------------------------------------------------------------- */

.lm-btn-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 45px;
  background-color: #4498ff;
  color: #fff;
  font-family: 'DIN 2014', 'DIN Next', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  padding: 0;
}

.lm-btn-signin:hover,
.lm-btn-signin:focus {
  background-color: #2d85f0;
  color: #fff;
  outline: none;
}

/* ---------------------------------------------------------------
   Forgot Password link
   --------------------------------------------------------------- */

.lm-forgot {
  text-align: center;
}

.lm-forgot a {
  font-family: 'DIN 2014', 'DIN Next', Arial, sans-serif;
  font-size: 16px;
  color: #4498ff;
  text-decoration: none;
}

.lm-forgot a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------------
   OR divider
   --------------------------------------------------------------- */

.lm-divider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lm-divider::before,
.lm-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #d8d8d8;
}

.lm-divider span {
  font-family: 'DIN 2014', 'DIN Next', Arial, sans-serif;
  font-size: 13px;
  color: #aaa;
  white-space: nowrap;
}

/* ---------------------------------------------------------------
   Sign in with Google button
   --------------------------------------------------------------- */

.lm-btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 45px;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  font-family: 'DIN 2014', 'DIN Next', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.lm-btn-google:hover,
.lm-btn-google:focus {
  background-color: #f5f5f5;
  color: #000;
  text-decoration: none;
}

.lm-btn-google svg {
  flex-shrink: 0;
}

.show-hover-message{
  height: 22px;
  overflow: hidden;
}

.lm-btn-google .show-hover-message  .block{
  transition: margin-top .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lm-btn-google:hover .show-hover-message > .block:first-of-type,
.lm-btn-google:focus .show-hover-message > .block:first-of-type {
    margin-top: -24px;
  }