/* Importing Google Fonts - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/* Define Root Variables for Consistent Theming */
:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --background-color: #f4f6f9;
  --text-color: #333;
  --card-background: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  flex-direction: column; /* Stack children vertically */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 15px;
  background-color: var(--background-color);
  color: var(--text-color);
  overflow: hidden;
}
.main-titles {
  margin-bottom: 20px; /* Add space between the main-titles and wrapper */
  text-align: center;  /* Center align text */
}

.wrapper {
  max-width: 500px;
  width: 100%;
  background-color: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.wrapper .title {
  height: 120px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px 10px 0 0;
}

.wrapper form {
  padding: 25px 35px;
}

.wrapper form .row {
  height: 60px;
  margin-top: 15px;
  position: relative;
}

.wrapper form .row input {
  height: 100%;
  width: 100%;
  outline: none;
  padding-left: 70px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-size: 18px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form .row input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

form .row input::placeholder {
  color: #999;
}

.wrapper form .row i {
  position: absolute;
  width: 55px;
  height: 100%;
  color: #fff;
  font-size: 22px;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 5px 0 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper form .pass {
  margin-top: 12px;
}

.wrapper form .pass a {
  color: var(--primary-color);
  font-size: 17px;
  text-decoration: none;
}

.wrapper form .pass a:hover {
  text-decoration: underline;
}

.wrapper form .button input {
  margin-top: 20px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  padding-left: 0px;
  background-color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form .button input:hover {
  background-color: #27ae60;
}

.wrapper form .signup-link {
  text-align: center;
  margin-top: 45px;
  font-size: 17px;
}

.wrapper form .signup-link a {
  color: var(--primary-color);
  text-decoration: none;
}

form .signup-link a:hover {
  text-decoration: underline;
}
