body{
	margin: 0; 
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	font-family: 'Jost', sans-serif;
	background: #348cb2 url("/images/p.jpg") bottom left no-repeat;
}

.main{
	width: 350px;
	height: 500px;
	background: linear-gradient(to bottom, #0f0c29, #302b63, #24243e);
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 5px 20px 50px #000;
}

label{
	color: #fff;
	font-size: 2.3em;
	justify-content: center;
	display: flex;
	margin: 60px;
	font-weight: bold;
	cursor: pointer;
	transition: .5s ease-in-out;
}
input{
	width: 60%;
	height: 20px;
	background: #e0dede;
	justify-content: center;
	display: flex;
	margin: 20px auto;
	padding: 10px;
	border: none;
	outline: none;
	border-radius: 5px;
}
button{
	width: 60%;
	height: 40px;
	margin: 10px auto;
	justify-content: center;
	display: block;
	color: #fff;
	border: 2px solid red;
	background: #573b8a;
	font-size: 1em;
	font-weight: bold;
	margin-top: 20px;
	outline: none;
	border: none;
	border-radius: 5px;
	transition: .2s ease-in;
	cursor: pointer;
}
button:hover{
	background: #6d44b8;
}
.login{
	height: 460px;
	background: #eee;
	border-radius: 60% / 10%;
	/* transform: translateY(-180px);
	transition: .8s ease-in-out; */
}

.login label{
	color: #573b8a;
	transform: scale(.6);
}

.error-message {
  color: #dc3545; /* Bootstrap danger red */
  font-size: 0.875rem;
  margin-top: 0.5rem;
  text-align: center;
}
.input-error {
  border-color: #dc3545 !important;
}


/* =========================
   TABLETS & SMALL LAPTOPS
   ========================= */
@media (max-width: 768px) {
  body {
    background-position: center bottom;
    padding: 20px;
  }

  .main {
    width: 90%;
    max-width: 360px;
    height: auto;
  }

  label {
    font-size: 2rem;
    margin: 40px 0;
  }
}

/* =========================
   MOBILE DEVICES
   ========================= */
@media (max-width: 480px) {
  body {
    align-items: flex-start;
    padding-top: 40px;
  }

  .main {
    width: 100%;
    max-width: 320px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  }

  label {
    font-size: 1.7rem;
    margin: 30px 0;
  }

  input,
  button {
    width: 85%;
    font-size: 0.95rem;
  }

  button {
    height: 44px;
  }

  .login {
    height: auto;
    border-radius: 20px;
    padding-bottom: 30px;
  }

  .error-message {
    font-size: 0.8rem;
  }

  #forgotPassword {
    text-align: center;
    margin-top: 10px;
  }

  #forgotPassword a {
    font-size: 0.85rem;
  }
}

/* =========================
   VERY SMALL DEVICES
   ========================= */
@media (max-width: 360px) {
  label {
    font-size: 1.5rem;
  }

  input,
  button {
    width: 90%;
  }

  button {
    font-size: 0.9rem;
  }
}


#forgotPassword {
    margin-top: 12px;
    text-align: center;
    font-size: 1rem;
}

#forgotPassword a {
    color: #4a67d6;    
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

#forgotPassword a:hover {
    color: #2f49b5;
    text-decoration: underline;
    cursor: pointer;
}
