@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

/* ------------------------- Global Styles ------------------------- */

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

body {
  height: 100vh;
  width: 100%;
  background-color: #1e1e1e;
}

/* ------------------------- Container Styles ------------------------- */

/* Main form container styles */
.container {
  display: block;
  background: #fff;
  width: 410px;
  padding: 30px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Close button for the form */
.container .close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
}

.container .close-btn:hover {
  color: #3498db;
}

/* Heading text of the form */
.container .text {
  font-size: 35px;
  font-weight: 600;
  text-align: center;
}

/* ------------------------- Form Styles ------------------------- */

.container form {
  margin-top: -20px;
}

/* Input container and label styles */
.container form .data {
  height: 45px;
  width: 100%;
  margin: 40px 0;
}

form .data label {
  font-size: 18px;
}

/* Input field styling */
form .data input {
  height: 100%;
  width: 100%;
  padding-left: 10px;
  font-size: 17px;
  border: 1px solid silver;
}

/* Styling when input is focused */
form .data input:focus {
  border-color: #3498db;
  border-bottom-width: 2px;
}

/* ------------------------- Forgot Password Link ------------------------- */

form .forgot-pass {
  margin-top: -8px;
}

form .forgot-pass a {
  color: #3498db;
  text-decoration: none;
}

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

/* ------------------------- Button Styles ------------------------- */

/* Button container */
form .btn {
  margin: 30px 0;
  height: 45px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Gradient effect for the button background */
form .btn .inner {
  height: 100%;
  width: 300%;
  position: absolute;
  left: -100%;
  z-index: -1;
  background: linear-gradient(to right, #bd5602, #c29f02, #bd5602, #c29f02);
  transition: all 0.4s;
}

/* Hover effect for button gradient */
form .btn:hover .inner {
  left: 0;
}

/* Button text styling */
form .btn button {
  height: 100%;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

/* ------------------------- Signup Link ------------------------- */

form .signup-link {
  text-align: center;
}

form .signup-link a {
  color: #3498db;
  text-decoration: none;
}

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

/* ------------------------- Hidden Elements ------------------------- */

/* Hide the "View Form" button, not used */
.show-btn {
  display: none;
}
