/* -------------------------
   Full-page background
------------------------- */
body.login-page, html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: url('../images/bg.jpg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;     /* center vertically */
  overflow: hidden;
}

/* -------------------------
   Login box styling
------------------------- */
.login-box {
  width: 90%;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.0); /* fully transparent */
  border-radius: 12px;
  padding: 60px 10px;

  display: block;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* -------------------------
   Form fields
------------------------- */
.form-group {
  width: 100%;
  margin-bottom: 20px;
  box-sizing: border-box;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow:0px 0px 20px 1px darkblue;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  margin-bottom: 15px;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #0078d4;
}

/* -------------------------
   Login button
------------------------- */
button#login-submit {
  width: 50%;
  display: block;
  margin: 20px auto 0 auto;
  padding: 12px;
  background-color: blue;
  color: white;
  border: none;
  border-radius: 2px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button#login-submit:hover {
  background-color: #0a7a0a;
}

/* -------------------------
   Remember me
------------------------- */
.form-options {
  width: 100%;
  text-align: left;
  margin-bottom: 15px;
  font-size: 14px;
  color: #555;
}

/* -------------------------
   Responsive tweaks
------------------------- */
@media (max-width: 768px) {
  body.login-page {
    padding: 0 10%;
  }

  .login-box {
    width: 100%;
    max-width: 400px;
    padding: 40px 30px;
  }

  button#login-submit {
    width: 60%;
  }
}
