@font-face {
  font-family: "poppins";
  src: url(../fonts/Poppins/Poppins-Regular.ttf);
}
:root {
  --primary: #08243a;
  --background-color: #f7f7f5;
  --text-color: #222;
  --secondary: #c69c6c;
  --accent: #051624;
  --text: #444444;
  --light-text: #6b7280;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: var(--background-color);
  line-height: 1.5;
  font-size: 16px;
  font-family: "poppins";
  color: var(--text);
}
/* reuseable component */
h1 {
  font-size: 250%;
}
h2 {
  font-size: 170%;
}
h3 {
  font-size: 150%;
}
h4 {
  font-size: 125%;
}
h5 {
  font-size: 110%;
}
p {
  font-size: 100%;
}
a {
  text-decoration: none;
  color: var(--primary);
}

/* signin */
.signin-page {
  display: flex;
  height: 100vh;
}
.signin-form {
  margin: 0 auto;
}
.signin-image {
  width: 50%;
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.signin-image-text {
  position: absolute;
  color: white;
  text-align: center;
}
.signin-img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(40%);
}
.auth-form {
  padding: 1rem;
  width: 450px;
  margin-top: 1rem;
}
.auth-form h2 {
  text-align: center;
  margin-bottom: 0.3rem;
}
.form-subtitle {
  text-align: center;
  margin-bottom: 1rem;
}
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form button[type="submit"] {
  width: 100%;
  padding: 0.8rem 0.6rem;
  margin-bottom: 0.7rem;
  background-color: transparent;
  border-radius: 0.2rem;
  border: 1px solid #ccc;
  margin-top: 0.2rem;
  font-size:100%;
}
.auth-form input[type="email"]:hover,
.auth-form input[type="password"]:hover {
  border: 1px solid #c69c6c;
}
.auth-form label {
  font-size: 100%;
}

.auth-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  align-items: center;
}
.forgot-link {
  color: #6b7280;
  font-size: 90%;
}
.auth-form button[type="submit"] {
  background-color: #c69c6c;
  padding: 0.7rem 0;
  border: none;
  border-radius: 5px;
  margin-bottom: 1.3rem;
  margin-top: 0.7rem;
}
.auth-form button:hover {
  background-color: #a37e54;
}
.form-bottom-text a {
  color: #c69c6c;
}
/* forgot password */
.forgot-password-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.forgot-pass-content {
  width: 500px;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  padding: 1rem;
  text-align: center;
}
.forgot-pass-content h2 {
  font-size: 140%;
  color: var(--secondary);
  margin-top: 0.7rem;
}
.forgot-pass-content p {
  font-size: 85%;
  color: var(--light-text);
  margin-bottom: 1rem;
}
.forgot-pass-content input {
  padding: 0.7rem 1rem;
  width: 100%;
  margin-top: 1rem;
  background-color: transparent;
  border-radius: 10px;
  border: 1px solid #ccc;
}
.forgot-pass-content input:hover {
  outline: 1px solid var(--secondary);
}
.forgot-pass-content input:focus {
  outline: 1px solid var(--secondary);
}
.send-code-btn {
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 7px;
  background-color: var(--primary);
  color: var(--secondary);
  margin-top: 1.5rem;
  cursor: pointer;
  transition: ease-in 0.15s;
}
.send-code-btn:active {
  transform: scale(0.9);
}
.form-group {
  margin-bottom: 0.8rem;
}
/* responsive */

@media (max-width: 600px) {
  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  body {
    font-size: 16px;
    overflow-x: hidden;
  }
  .signin-image {
    display: none;
  }
  .signin-form {
    background-color: white;
    width: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
  }
  .signin-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }
  .auth-form {
    width: 100%;
  }
  .forgot-password-container {
    padding: 1.4rem;
  }
}
