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

body {
   background: linear-gradient(45deg, #22003c, #007bff);
   height: 100vh;
   display: flex;
   justify-content: center;

   align-items: center;
}

.login-container {
   width: 100%;
   max-width: 400px;
   background-color: #fff;
   padding: 40px;
   border-radius: 10px;
   box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.signup-container {
   width: 100%;
   max-width: 400px;
   background-color: #fff;
   padding: 40px;
   border-radius: 10px;
   box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.login-box h2 {
   margin-bottom: 30px;
   text-align: center;
   color: #22003c;
}
/* This is for login page attribute , if password is wrong*/
div.login-box ul li.error {
   text-decoration: none;
   padding: 20px;
   color: red;
   
}
/* this is for signup page*/
.signup-box h2 {
   padding-bottom: 20px;
}
.input-group {
   position: relative;
   margin-bottom: 30px;
}

.input-group input {
   width: 100%;
   padding: 10px 10px;
   font-size: 16px;
   background: #f0f0f0;
   border: none;
   border-radius: 5px;
   outline: none;
   transition: 0.3s;
}

.input-group label {
   position: absolute;
   top: 10px;
   left: 10px;
   font-size: 16px;
   color: #aaa;
   pointer-events: none;
   transition: 0.3s;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label {
   top: -18px;
   left: 10px;
   color: #6A82FB;
   font-size: 12px;
}

.input-group button {
   width: 100%;
   padding: 10px;
   background: #22003c;
   border: none;
   border-radius: 5px;
   color: #fff;
   font-size: 16px;
   cursor: pointer;
   transition: 0.3s;
}

.input-group button:hover {
   background: #007bff;
}

.options {
   display: flex;
   justify-content: space-between;
   margin-top: 20px;
}

.options a {
   color: #22003c;
   text-decoration: none;
   transition: 0.3s;
}

.options a:hover {
   color: #007bff; /* #FC5C7D; */
}


/* This is for errors design */

.message-container {
   list-style: none;
   padding: 0;
   margin: 15px 0;
   border-radius: 5px;
   overflow: hidden;
}

.message {
   padding: 12px 15px;
   font-size: 14px;
   border-left: 5px solid;
   margin-bottom: 8px;
   animation: fadeIn 0.5s ease-in-out;
}

/* Success */
.success {
   background-color: #e6ffe6;
   color: #2e7d32;
   border-color: #2e7d32;
}

/* Error */
.error {
   background-color: #ffe6e6;
   color: #c62828;
   border-color: #c62828;
}

/* Animation */
@keyframes fadeIn {
   from { opacity: 0; transform: translateY(-10px); }
   to { opacity: 1; transform: translateY(0); }
}
