﻿@media (max-width: 450px) {
  .login-form__row {
    flex-direction: column;
  }

  .login-form__buttons {
    width: 100%; /* Make the buttons expand */
  }

  .login-form__button--primary,
  .login-form__button--recover {
    width: 100%; /* Ensure buttons take up the full width */
  }

  .signup-cta__right-box {
    width: 100%;
    margin-bottom: 20px; /* Add margin to the bottom of the "Don't have an account" box */
  }

  .signup-cta__button {
    white-space: normal; /* Allow the text to wrap */
    width: 100%; /* Ensure the button takes up full width on small screens */
    padding: 10px; /* Adjust padding to ensure better spacing when wrapping */
  }
}

@media (min-width: 450px) {
  .signup-cta__button {
    white-space: nowrap;
  }
}

/* General form layout */
.login-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.login-form__field {
  margin-bottom: 1.5em;
}

.login-form__label {
  font-weight: bold;
  color: black; /* Black color for labels */
  display: inline-block;
  margin-bottom: 0em !important;
}

.login-form__input {
  width: 100%;
  padding: 1em;
  font-size: 1em;
  border: 1px solid #ccc;
}

.login-form__checkbox {
  margin-right: 8px;
}

.login-form__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em;
}

.login-form__column-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.login-form__buttons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.login-form__button {
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  display: inline-block;
}

/* Primary login button */
.login-form__button--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #009ae1;
  width: 100%;
  color: white;
  margin-bottom: 1em;
  font-weight: 700;
}

  .login-form__button--primary:hover {
    background-color: #0077BA; /* Slightly darker blue on hover */
  }
.login-form__forgot-password-link {
  color: #009ae1;
  text-decoration: none;
}

  .login-form__forgot-password-link:hover {
    text-decoration: underline;
  }

.signup-cta__right-box {
  background-color: #EBECEC; /* Gray box */
  padding: 0.5em;
  text-align: center; /* Center the text and button inside the box */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1em;
}

.signup-cta__text {
  font-size: 16px;
  color: #333;
  margin-bottom: 0.5em;
}

.signup-cta__button {
  background-color: #FCCf0A; /* Yellow */
  color: #2f3538;
  padding: 10px 20px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  font-weight: 700;
}

  .signup-cta__button:hover {
    background-color: #fa9e00; /* Slightly darker yellow on hover */
  }

/* LinkedIn button */
.login-form__button--linkedin {
  background-color: #0077b5; /* Dark blue for LinkedIn */
  color: white;
  width: 100%;
  font-weight: 700;
}

/* Hover effects */
.login-form__button:hover {
  opacity: 0.9;
}

.fab {
  margin-right: 0.5em;
}

#error-msg-login{
  color: darkred;
  font-size: 14px;
  margin-top: 10px;
  height: 16px;
}

.spinner-loader > .spinner {
  width: inherit;
  height: inherit;
  border: 3px solid #fff;
  margin-right: 1rem;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.spinner-loader {
  width: 16px;
  height: 16px;
  animation: load-in .3s ease-in-out;
  margin-right: 1rem;
}

@keyframes load-in {
  0% {
    width: 0px;
    opacity: 0;
  }

  50% {
    width: 16px;
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
