* {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  background: linear-gradient(135deg, #242E4E 0%, #39425E 100%);
  font-family: 'Montserrat', 'Roboto', helvetica, arial, sans-serif;
  font-size: 1.1em;
  color: #fff;
  overflow: hidden;
}

body::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.3;
  pointer-events: none;
}

.style-form {
  width: 90%;
  max-width: 26em;
  padding: 2.2em 2em;
  background: rgba(36, 46, 77, 0.95);
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.style-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, #89bcfe, #6da2f7);
}

.flex-row {
  display: flex;
  margin-bottom: 1.2em;
  background: #303A5E;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 0 4px rgba(0,0,0,0.2);
}
  
.lf--label {
  width: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.07);
  color: #B1B7C4;
}

.lf--input {
  flex: 1;
  padding: 0.9em;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1em;
  transition: all 0.2s ease;
}

.lf--input::placeholder {
  color: rgba(255,255,255,0.6);
}

.lf--input:focus {
  outline: none;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 2px #89bcfe80;
  transform: scale(1.01);
}

.lf--submit {
  display: block;
  width: 100%;
  padding: 0.9em;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #89bcfe, #6da2f7);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 1em;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(137,188,254,0.3);
  transition: 0.2s ease;
}

.lf--submit:hover {
  background: linear-gradient(135deg, #9cc8ff, #7eb4f9);
  box-shadow: 0 6px 16px rgba(137,188,254,0.4);
  transform: translateY(-1px);
}

.lf--forgot {
  margin-top: 1em;
  color: #00d6b7;
  font-size: .65em;
  text-align: center;
  position: relative;
}

.lf--text {
  margin-top: 1.5em;
  color: #d3d7e0;
  font-size: 0.9em;
  text-align: center;
}

.lf--text p {
  color: #fff;
  font-size: 0.95em;
  line-height: 1.5em;
}

.link-to-login {
  color: #89bcfe;
  text-decoration: none;
  font-weight: 600;
}

.link-to-login:hover {
  color: #b3d2ff;
  text-shadow: 0 0 4px rgba(137,188,254,0.5);
}

::placeholder { color: #8f8f8f; }

@media screen and (max-width: 500px) {
  body {
    font-size: 1em;
  }

  .style-form {
    padding: 1.5em;
  }

  .lf--label {
    width: 2.5em;
  }
}