/* app/static/css/auth_facebook2014.css
   Page-only login skin: "2014-era Facebook" parody.
   Loaded only by auth/login.html via block head_extra.
*/

/* --- hard override the app's baseline just for this page --- */
html, body { height: 100%; }
body{
  background: #e9eaed !important;
  color: #1d2129 !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* Make base layout stop constraining us */
main{
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Style/trim your existing nav widget for the login page */
.nav{
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 0;
  border-bottom: 1px solid #223a6a;
  background:
    linear-gradient(#4e69a2, #3b5998 60%, #3b5998);
  box-shadow: 0 1px 0 rgba(0,0,0,.2);
}
.nav .brand{
  color: #fff !important;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none !important;
  font-size: 22px;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
}
.nav .nav-links{ display: none !important; }
.nav .nav-right{ display: none !important; }
.nav .nav-left{ padding: 0 12px; }

/* flashes: make them look like old-school FB notice boxes */
.flash{
  margin: 12px auto !important;
  max-width: 980px;
  border-radius: 3px !important;
  border: 1px solid rgba(0,0,0,.15) !important;
  background: #fffbe2 !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.flash-error{
  background: #ffebe8 !important;
  border-color: #dd3c10 !important;
}

/* --- stage --- */
.fb2014{
  min-height: calc(100vh - 54px);
  position: relative;
}

/* subtle “noise” + paper grain without images */
.fb2014::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.55) 0px,
      rgba(255,255,255,.55) 1px,
      rgba(255,255,255,0) 2px,
      rgba(255,255,255,0) 6px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0,0,0,.035) 0px,
      rgba(0,0,0,.035) 1px,
      rgba(0,0,0,0) 2px,
      rgba(0,0,0,0) 7px
    );
  mix-blend-mode: multiply;
}

/* a faint top glow like old gradients */
.fb2014::after{
  content:"";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  pointer-events: none;
  background: radial-gradient(900px 220px at 50% 0%, rgba(59,89,152,.20), transparent 70%);
}

.fb2014-stage{
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 16px 38px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 46px;
  align-items: start;
}

.fb2014-left{
  padding-top: 24px;
}

.fb2014-logoRow{ margin-bottom: 14px; }

.fb2014-logoWrap{
  display: inline-flex;
  align-items: baseline;
  position: relative;
}

.fb2014-logoFallback{
  font-size: 44px;
  font-weight: 700;
  color: #3b5998;
  letter-spacing: -1px;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}

/* tiny “shine” streak across the logo row */
.fb2014-logoWrap::after{
  content:"";
  position: absolute;
  left: -20%;
  top: 50%;
  width: 140%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: rotate(-2deg);
  opacity: .35;
}

.fb2014-tagline{
  margin: 0;
  font-size: 26px;
  font-weight: 400;
  color: #1d2129;
  line-height: 1.25;
  max-width: 520px;
}

/* map placeholder */
.fb2014-map{
  margin-top: 18px;
  position: relative;
  height: 190px;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,.16);
  background:
    linear-gradient(#ffffff, #f6f7f9),
    radial-gradient(12px 12px at 12% 38%, rgba(59,89,152,.28), transparent 60%),
    radial-gradient(10px 10px at 34% 54%, rgba(66,183,42,.20), transparent 60%),
    radial-gradient(14px 14px at 62% 42%, rgba(221,60,16,.16), transparent 60%),
    radial-gradient(11px 11px at 80% 58%, rgba(0,0,0,.10), transparent 60%);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,.75) inset,
    0 1px 2px rgba(0,0,0,.06);
}

.fb2014-mapFallback{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: .9;
}

.fb2014-dots{
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 18% 44%, rgba(59,89,152,.25) 0 2px, transparent 3px),
    radial-gradient(circle at 26% 52%, rgba(59,89,152,.18) 0 1.5px, transparent 3px),
    radial-gradient(circle at 38% 42%, rgba(59,89,152,.22) 0 2px, transparent 3px),
    radial-gradient(circle at 55% 55%, rgba(59,89,152,.20) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 46%, rgba(59,89,152,.18) 0 1.6px, transparent 3px),
    radial-gradient(circle at 80% 58%, rgba(59,89,152,.22) 0 2px, transparent 3px);
  opacity: .65;
}

/* pills */
.fb2014-whisper{
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fb2014-pill{
  font-size: 12px;
  color: #4b4f56;
  background: #fff;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 999px;
  padding: 5px 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,.75) inset;
}

/* --- right side card --- */
.fb2014-right{ padding-top: 8px; }

.fb2014-card{
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,.20);
  border-radius: 3px;
  box-shadow:
    0 2px 8px rgba(0,0,0,.12),
    0 1px 0 rgba(255,255,255,.75) inset;
  overflow: hidden;
}

/* faux bevel + “glass” */
.fb2014-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.65), rgba(255,255,255,0) 32%),
    linear-gradient(90deg, rgba(59,89,152,.06), transparent 40%, rgba(59,89,152,.04));
  opacity: .75;
}
.fb2014-card::after{
  content:"";
  position:absolute;
  left:-30%;
  top:-40%;
  width: 160%;
  height: 140%;
  background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.40), transparent 55%);
  transform: rotate(8deg);
  opacity: .45;
  pointer-events:none;
}

.fb2014-cardTop{
  position: relative;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(0,0,0,.10);
  background: linear-gradient(#f6f7f9, #ffffff);
}
.fb2014-cardTitle{
  font-size: 18px;
  font-weight: 700;
  color: #1d2129;
}
.fb2014-cardSub{
  margin-top: 2px;
  font-size: 12px;
  color: #6b6f75;
}
.fb2014-site{
  color: #3b5998;
  font-weight: 700;
}

/* form */
.fb2014-form{
  position: relative;
  padding: 14px 16px 16px;
  display: grid;
  gap: 12px;
}
.fb2014-field{ display: grid; gap: 6px; }

.fb2014-label{
  font-size: 12px;
  font-weight: 700;
  color: #4b4f56;
}

.fb2014-input{
  width: 100%;
  border-radius: 2px !important;
  border: 1px solid #bdc7d8 !important;
  background: #fff !important;
  color: #1d2129 !important;
  padding: 9px 10px !important;
  outline: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}
.fb2014-input:focus{
  border-color: #3b5998 !important;
  box-shadow:
    0 0 0 3px rgba(59,89,152,.15),
    0 1px 0 rgba(255,255,255,.85) inset;
  transform: translateY(-1px);
}

.fb2014-err{
  font-size: 12px;
  color: #dd3c10;
  background: #ffebe8;
  border: 1px solid rgba(221,60,16,.35);
  border-radius: 2px;
  padding: 6px 8px;
}

/* button with “2014 gloss” and an animated shine */
.fb2014-btn{
  position: relative;
  border: 1px solid #2f477a;
  border-radius: 2px;
  padding: 9px 12px;
  background: linear-gradient(#4e69a2, #3b5998 55%, #344e86);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  text-shadow: 0 1px 0 rgba(0,0,0,.22);
  box-shadow:
    0 1px 0 rgba(255,255,255,.18) inset,
    0 1px 1px rgba(0,0,0,.10);
  overflow: hidden;
  transform: translateZ(0);
}
.fb2014-btn:hover{
  filter: saturate(1.05);
}
.fb2014-btn:active{
  transform: translateY(1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.10) inset,
    0 0 0 rgba(0,0,0,0);
}
.fb2014-btnText{ position: relative; z-index: 2; }
.fb2014-btnShine{
  content:"";
  position:absolute;
  top:-40%;
  left:-60%;
  width: 60%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: rotate(18deg);
  animation: fb2014Shine 2.8s ease-in-out infinite;
  opacity: .65;
}
@keyframes fb2014Shine{
  0%{ left:-60%; opacity:.0; }
  18%{ opacity:.75; }
  45%{ left:120%; opacity:.0; }
  100%{ left:120%; opacity:.0; }
}

/* green secondary */
.fb2014-btnGreen{
  display: inline-block;
  text-align: center;
  text-decoration: none;
  border-color: #2c6b2f;
  background: linear-gradient(#67ae55, #578843 55%, #4e7e3c);
}

/* divider */
.fb2014-divider{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 0 16px 10px;
  color: #90949c;
  font-size: 12px;
}
.fb2014-divider::before,
.fb2014-divider::after{
  content:"";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.18), transparent);
}
.fb2014-divider span{
  background: #fff;
  padding: 0 6px;
  position: relative;
  z-index: 1;
}

/* actions */
.fb2014-actions{
  padding: 0 16px 16px;
  display: grid;
  gap: 10px;
}
.fb2014-tiny{
  font-size: 11px;
  color: #777;
}

/* footer */
.fb2014-footer{
  max-width: 360px;
  margin-top: 10px;
  color: #90949c;
  font-size: 12px;
}
.fb2014-footerRow{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 2px;
}
.fb2014-muted{ opacity: .95; }
.fb2014-dot{ opacity: .6; }

/* responsive */
@media (max-width: 980px){
  .fb2014-stage{
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 18px;
  }
  .fb2014-right{ padding-top: 0; }
  .fb2014-footer{ max-width: none; }
}

