@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400&display=swap");

:root {
  --primary-text: #2a225a;
  --text: #7f73a1;
  --form-bg: #fafbff;
  --bg: #eaeefd;
}

* {
  transition-property: background color;
  transition-duration: 600ms;
  box-sizing: border-box;
}

body {
  background-image: linear-gradient(to right, #ff4f61, #ff715b);
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.container {
  display: flex;
  width: 100%;
  max-width: 900px;
  margin: 20px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 2px 8px 0px;
  border-radius: 20px;
}

#cartoon_illustration {
  flex-grow: 1;
  background-image: url("/assets/Wavy_Tech-28_Single-10.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.form_header {
  padding: 20px 0;
  border-top: solid 1px var(--bg);
}

.form_container a {
  color: var(--primary-text);
  font-weight: bold;
  text-decoration: none;
}

.form_container {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 8px;
  width: 30%;
  background-color: var(--form-bg);
  color: var(--text);
}

form {
  position: relative;
  display: flex;
  flex-direction: column;
  border-top: solid 1px var(--bg);
  border-bottom: solid 1px var(--bg);
  padding: 20px 0;
}

h3 {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-text);
  margin: 0;
}
.form_header p {
  margin: 1rem;
}
p {
  font-size: small;
  margin: 1rem;
}

label {
  position: relative;
  top: 11px;
  text-align: left;
  font-size: 14px;
}

a:hover {
  color: var(--text);
}

input {
  color: var(--dark);
  margin: 10px 0;
  border: 2px solid #f0f0f0;
  padding: 12px;
  background-color: var(--bg);
  border-radius: 8px;
  width: 100%;
  outline: none;
}

input:focus {
  background-color: #f0f0f0;
}
.fa-eye {
  color: var(--text);
  position: relative;
  top: 2.5rem;
  cursor: pointer;
  left: 14rem;
  width: 11px;
}

small {
  visibility: hidden;
  text-align: right;
  font-size: 10px;
  position: relative;
  bottom: 12px;
}

button {
  border-radius: 8px;
  padding: 12px;
  border: none;
  cursor: pointer;
  transition: all 200ms ease-in;
  margin-top: 10px;
  background-image: linear-gradient(to right, #ff4f61, #ff715b);
  color: white;
  outline: none;
}

button:hover {
  transform: scale(0.96);
}

.modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  width: 450px;
  padding: 1.3rem;
  min-height: 250px;
  position: absolute;
  z-index: 2;
  top: 20%;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 15px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal h3 {
  text-align: center;
  margin: 2rem;
}

.modal p {
  text-align: center;
  font-size: 0.9rem;
  margin: 2rem;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.hidden {
  display: none;
}
