* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: poppins;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-inner {
  width: 50%;
  height: calc(100vh - 150px);
  box-shadow: 5px 5px 5px rgba(128, 128, 128, 0.363);
  border: 2px solid rgb(223, 223, 223);
  overflow-y: auto;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.main-inner::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-image: url("/static/svg/cover.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: -10;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand h1 {
  color: #065494;
  font-size: 20px;
  font-weight: 600;
}

.brand img {
  width: 90px;
}

/* Styling for register form elemets  */
.select-menu {
  position: relative;
  margin-bottom: 10px;
  width: 270px;
  height: 40px;
}

.select-menu label {
  top: 8px;
  left: 15px;
  position: absolute;
  font-weight: 400;
  color: #aaa;
  transition: 0.2s linear;
  pointer-events: none;
}

.select-menu select:focus ~ label,
.select-menu select:valid ~ label {
  top: -12px;
  background-color: white;
  color: #3f51b5;
  font-size: 14px;
}

.select-menu select {
  width: 100%;
  height: 40px;
  padding: 8px 16px;
  border: 1px solid rgb(223, 223, 223);
  border-radius: 4px;
  background-color: #ffffff;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Cpath d='M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -8px top 10px;
}

.select-menu select:focus {
  border: 1px solid rgb(81, 81, 228);
}

/* Other form elements  */

.elements {
  position: relative;
  width: 270px;
}
.elements__field {
  width: 100%;
  height: 40px;
  padding: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  transition: border-color 0.2s ease-out;
}
.elements__field:focus {
  border-color: #3f51b5;
}
.elements__label {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: #aaa;
  pointer-events: none;
  transition: transform 0.2s ease-out, font-size 0.2s ease-out,
    color 0.2s ease-out;
}
.elements__field:focus + .elements__label,
.elements__field:not(:placeholder-shown) + .elements__label {
  transform: translate3d(0, -20px, 0);
  font-size: 14px;
  color: #3f51b5;
}

.elements__toggle {
  position: absolute;
  top: 9px;
  right: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.signup {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
}

.signup span {
  font-size: 14px;
}

.signup a {
  position: relative;
  color: #065494;
  padding-left: 10px;
  font-weight: 500;
  text-decoration: none;
}

.signup a::before {
  content: "";
  position: absolute;
  bottom: -3px;
  width: 0px;
  height: 2px;
  border-radius: 10px;
  background-color: #065494;
  transition: 0.1s linear;
}
.signup a:hover::before {
  content: "";
  position: absolute;
  bottom: -3px;
  width: 85%;
  height: 2px;
  border-radius: 10px;
  background-color: #065494;
}

.form-elements {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

.form-wrapper {
  flex: 1;
  display: flex;
  width: 100%;
}

.column-1 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.column-2 {
  padding-top: 70px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.login-btn button {
  width: 270px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background-color: #065494;
  color: #fff;
  font-size: 16px;
  transition: 0.2s linear;
}

.login-btn button:hover {
  background-color: #0c69b4;
}

.login-btn {
  padding-top: 10px;
}
.footer {
  height: 120px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 50px;
  font-weight: 300;
  font-size: 13px;
  background-image: url("/static/svg/footer-cover.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-color: #065494;
}

.elements__toggle .material-symbols-outlined {
  color: grey;
}

.footer .material-symbols-outlined {
  font-size: 17px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.icon-label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.copyright {
  font-weight: 500;
  font-size: 14px;
}

/* Media Query for responsiveness  */
@media (max-width: 1200px) {
  .main-inner {
    width: 70%;
  }
}
@media (max-width: 850px) {
  .main-inner {
    width: 90%;
  }
}
@media (max-width: 666px) {
  .brand h1 {
    text-align: center;
    font-display: 17px;
  }
  .form-wrapper {
    flex-direction: column;
    padding-top: 20px;
  }
  .column-2 {
    gap: 30px;
  }
  .column-2 {
    padding-top: 20px;
    justify-content: start;
    gap: 30px;
  }
}

/* Login For Additional Styling  */
.column-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.form-elements-login {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 50px;
}
p.flash-success-message {
  font-size: 12px;
}