:root {
  --primary: #5708A6;
  --secondary: #A8193C;
  --gradient: linear-gradient(45deg, #5708A6 0%, #A8193C 100%);
  --light-gradient: linear-gradient(45deg, rgba(87, 8, 166, 0.25) 0%, rgb(168,25,60, 0.25) 100%);
  --grey: #dedede;
  --dark: #343741;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
  }
  
  /* Centering the form */
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* background-color: #f4f4f4; */
    background-image: var(--light-gradient);
  }
  
  .container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
  }
  
  /* Form Styling */
  .register-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .register-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .register-form button {
    padding: 10px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .register-form button:hover {
    background-image: var(--gradient);
  }
  
  /* Error Messages */
  .error-list {
    list-style: none;
    color: #d9534f;
    padding: 0.5rem;
    margin-top: 1rem;
    border: 1px solid #d9534f;
    border-radius: 5px;
    background: #f8d7da;
  }
  
  /* Login Link */
  .login-link {
    margin-top: 1rem;
    font-size: 0.9rem;
  }
  
  .login-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease-in-out;
  }
  
  .login-link a:hover {
    text-decoration: underline;
  }
  
  /* Info Text */
.info-text {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  /* Error Messages */
  .error-message {
    color: #d9534f;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #d9534f;
    border-radius: 5px;
    background: #f8d7da;
    text-align: center;
    font-size: 0.9rem;
  }
  
  
  /* Register Link */
  .register-link {
    margin-top: 1rem;
    font-size: 0.9rem;
  }
  
  .register-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
  }
  
  .register-link a:hover {
    text-decoration: underline;
  }
  

  /* Login Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.login-form input {
    width: 100%;  /* Make inputs full-width */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.login-form button {
    width: 100%;
    padding: 10px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.login-form button:hover {
  background-image: var(--gradient);
}

  /* Error List */
  .error-list {
    list-style: none;
    color: #d9534f;
    padding: 0.5rem;
    margin-top: 1rem;
    border: 1px solid #d9534f;
    border-radius: 5px;
    background: #f8d7da;
  }
  
