/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Global styles */
  body {
    font-family: 'Montserat', sans-serif;
    background-color: #fff;
    color: #222;
    line-height: 1.6;
  }
  nav {
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-brand  {
    font-family: 'syncopate', sans-serif;
    font-size: 2rem;
    color: #FE35C1;
    text-decoration: none;
  }
  
  .nav-links a {
    font-family: 'Montserrat', sans-serif;
    color: #555;
    font-size: 1rem;
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #FE35C1;
  }
  
  
 .container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }
  
  .form-container {
    background: #f5f5f5;
    border-radius: 1rem;
    padding: 1rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .heading {
    font-family: 'Montserrat', sans-serif;
    color: #222;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .subheading {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #555;
  }
  
  .form {
    display: flex;
    flex-direction: column;
  }
  
  label {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #555;
  }
  
  .input-container {
    position: relative;
    margin-bottom: 1.5rem;
  }
  
  input {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.3s ease;
  }
  
  input:focus {
    border-color: #FE35C1;
    outline: none;
  }
  
  /* Clear button styles */
  .clear-btn {
    position:absolute;
    top: 38%;
    right: 10px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .clear-btn:hover {
    color: #FE35C1;
  }
  
  /* Password visibility toggle button */
  .toggle-password {
    position: absolute;
    top: 38%;
    right: 10px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
  }
  
  /* Submit button */
  .btn {
    background-color: #C245FB;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
  }
  
  .btn:hover {
    background-color: #a232dc;
  }
  .btn-secondary {
    background-color: #e0e0e0;
    color: #333;
    border: none;
    padding: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
  }
  
  .btn-secondary:hover {
    background-color: #ccc;
  }
  .button-row {
    display: flex;
    gap: 1rem; /* space between buttons */
    margin-top: 1rem;
  }
  
  .button-row .btn,
  .button-row .btn-secondary {
    flex: 1; /* equal width */
  }
  
  
  
  .switch-form {
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    margin-top: 15px;
  }
  
  .switch-form a {
    color: #FE35C1;
    text-decoration: none;
  }
  
  .switch-form a:hover {
    color: #C245FB;
  }
  