  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    min-height: 100vh;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f1f5f9;
  }

  .nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px;
    padding-bottom: 24px;
    background-color: #fff;
  }

  .logo {
    padding: 10px 25px;
    margin-left: 40px;
    font-size: 24px;
  }

  .logo a {
    text-decoration: none;
    color: #4f46e5;
    font-weight: 900;
  }
  .home-icon {
    display: flex;
    align-items: center;
    color: #4f46e5;
    font-weight: 800;
    font-size: 24px;
    text-decoration: none;
    margin-top: 15px;
    margin-right: 35px;
  }

  .auth-wrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
  }

  .content {
    width: min(100%, 380px);
    background-color: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 28px 24px;
  }

  #title {
    color: #0f172a;
    text-align: center;
    margin-bottom: 18px;
    font-size: 28px;
    font-weight: 700;
  }

  form {
    width: 100%;
  }

  input {
    width: 100%;
    padding: 12px 14px;
    margin: 10px 0;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 15px;
    color: #0f172a;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
  }

  input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
  }

  .input-invalid {
    border-color: #ef4444;
  }

  .input-invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(207, 46, 46, 0.14);
  }

  .field-error {
    display: block;
    margin: -4px 0 8px;
    color: #ef4444;
    font-size: 12px;
    min-height: 16px;
  }

  .form-message {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    min-height: 18px;
  }

  .form-message.error {
    color: #ef4444;
  }

  .form-message.success {
    color: #15803d;
  }

  button {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    background-color: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
  }

  button:hover {
    background-color: #4338ca;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
  }

  button:active {
    transform: scale(0.98);
  }

  p {
    margin-top: 14px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
  }

  .content span {
    color: #4f46e5;
    font-weight: 600;
    cursor: pointer;
  }

  .content span:hover {
    text-decoration: underline;
  }

  #register {
    display: none;
  }

  #message {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    color: #ef4444;
  }

  @media (max-width: 480px) {
    .logo {
      margin-left: 0;
      padding: 10px;
    }

    .auth-wrapper {
      align-items: flex-start;
      padding: 16px;
    }

    .content {
      padding: 24px 18px;
    }

    #title {
      font-size: 24px;
    }
  }











