/*
 * Sporting Volturara - schermate di accesso
 * Regole isolate per evitare che gli stili generali del sito deformino logo e form.
 */
html {
  min-height: 100%;
  background: #020503;
}

body.sporting-auth-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 20px;
  background-color: #020503 !important;
  background-image: url('../img/auth-bg-sporting.png') !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  color: #fff !important;
}

body.sporting-auth-page,
body.sporting-auth-page * {
  box-sizing: border-box;
}

.sporting-auth-shade {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .34) 48%, rgba(0, 0, 0, .48)),
    linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .28));
}

.auth-back-home {
  position: fixed;
  top: 18px;
  left: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(3, 8, 5, .68);
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.auth-back-home:hover {
  background: rgba(7, 91, 50, .82);
  border-color: rgba(216, 177, 90, .72);
}

.sporting-auth-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sporting-auth-card {
  width: min(100%, 440px) !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  padding: 25px 30px 27px !important;
  border: 1px solid rgba(216, 177, 90, .58) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(145deg, rgba(4, 45, 26, .88), rgba(3, 8, 6, .94) 52%, rgba(86, 8, 14, .88)) !important;
  color: #fff !important;
  box-shadow: 0 28px 75px rgba(0, 0, 0, .66) !important;
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  text-align: left !important;
}

.sporting-auth-logo {
  display: block !important;
  width: 132px !important;
  height: 132px !important;
  max-width: 132px !important;
  max-height: 132px !important;
  min-width: 0 !important;
  margin: -2px auto 10px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55));
}

.sporting-auth-kicker {
  display: block;
  margin: 0 0 5px;
  color: #d8b15a !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.sporting-auth-card h1 {
  margin: 0 0 7px !important;
  color: #fff !important;
  font-size: 27px !important;
  line-height: 1.12 !important;
  text-align: center !important;
  text-transform: none !important;
}

.sporting-auth-card > p {
  margin: 0 auto 20px !important;
  max-width: 350px;
  color: rgba(255, 255, 255, .82) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

.sporting-auth-card label {
  display: block !important;
  margin: 0 0 6px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.sporting-auth-card input[type='email'],
.sporting-auth-card input[type='password'],
.sporting-auth-card input[type='text'] {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 0 15px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(255, 255, 255, .27) !important;
  border-radius: 12px !important;
  outline: none !important;
  background: rgba(1, 7, 4, .72) !important;
  color: #fff !important;
  font: inherit !important;
  font-size: 15px !important;
  line-height: 48px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
  appearance: none;
  -webkit-appearance: none;
}

.sporting-auth-card input:focus {
  border-color: #d8b15a !important;
  box-shadow: 0 0 0 3px rgba(216, 177, 90, .18) !important;
}

.sporting-auth-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 49px !important;
  margin: 4px 0 0 !important;
  padding: 12px 18px !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 12px !important;
  background: linear-gradient(90deg, #087a43, #0a5d35 50%, #761018) !important;
  color: #fff !important;
  cursor: pointer;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 1000 !important;
  letter-spacing: .06em !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .34) !important;
}

.sporting-auth-submit:hover {
  filter: brightness(1.10);
}

.sporting-auth-links {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px 18px !important;
  flex-wrap: wrap !important;
  margin-top: 16px !important;
  color: rgba(255, 255, 255, .78) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

.sporting-auth-links a {
  color: #d8b15a !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.sporting-auth-links a:hover {
  text-decoration: underline !important;
}

.sporting-auth-card .alert {
  width: 100% !important;
  margin: 0 0 15px !important;
  padding: 11px 13px !important;
  border: 1px solid rgba(255, 113, 124, .56) !important;
  border-radius: 11px !important;
  background: rgba(123, 17, 23, .88) !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

@media (max-width: 600px) {
  body.sporting-auth-page {
    align-items: flex-start;
    padding: 72px 13px 22px;
    background-position: 58% center !important;
  }

  .auth-back-home {
    top: 12px;
    left: 12px;
    min-height: 36px;
    padding: 8px 12px;
  }

  .sporting-auth-card {
    width: 100% !important;
    max-width: 410px !important;
    padding: 20px 19px 22px !important;
    border-radius: 20px !important;
  }

  .sporting-auth-logo {
    width: 104px !important;
    height: 104px !important;
    max-width: 104px !important;
    max-height: 104px !important;
    margin-bottom: 8px !important;
  }

  .sporting-auth-card h1 {
    font-size: 23px !important;
  }

  .sporting-auth-card > p {
    margin-bottom: 17px !important;
    font-size: 13px !important;
  }

  .sporting-auth-links {
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-height: 720px) and (min-width: 601px) {
  body.sporting-auth-page {
    align-items: flex-start;
    padding-top: 64px;
    padding-bottom: 22px;
  }

  .sporting-auth-card {
    padding-top: 18px !important;
    padding-bottom: 20px !important;
  }

  .sporting-auth-logo {
    width: 96px !important;
    height: 96px !important;
    max-width: 96px !important;
    max-height: 96px !important;
  }
}
