body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  form {
    background-color: white;
    padding: 40px;
    margin: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 40%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  
  h2 {
    margin-bottom: 20px;
    color: #222;
    font-size: 24px;
  }
  
  label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
  }
  
  a {
    display: inline-block;
    margin-top: 20px;
    color: #5c6bc0;
    text-decoration: none;
    font-weight: 500;
  }
  
  a:hover {
    text-decoration: underline;
  }
  input[type="submit"]{
    background-color: #8b008b;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition:  0.3s ease;
  }
  
  input[type="submit"]:hover{
    background-color:  rgb(79, 0, 79);
    letter-spacing: 3px;
  }

  textarea{
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    resize: vertical;
    min-height: 10vh;
    
  }