
    html, body {
      height: 100%;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: Arial, sans-serif;
      background: #f4f4f4;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 32px 16px;
      text-align: center;
    }

    .container {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,.1);
      max-width: 420px;
      width: 100%;
      margin: 0 auto;
      box-sizing: border-box;
    }

    .logo-wrap {
      width: 100%;
      text-align: center;
      margin-bottom: 30px;
    }

    .logo-wrap img {
      max-width: 100%;
      height: auto;
    }

    .button {
      width: 100%;
      max-width: 240px;
      padding: 10px 15px;
      margin: 0 auto;
      border: 1px solid #ccc;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
      color: #000;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 10px;
      transition: background-color .2s ease;
      text-align: left;
      box-sizing: border-box;
    }

    .button:hover {
      background: #f0f0f0;
    }

    .divider {
      display: flex;
      align-items: center;
      gap: 12px;
      color: #666;
      margin: 20px 0;
    }

    .divider::before,
    .divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #e0e0e0;
    }

    .email-form {
      margin-bottom: 18px;
    }

    .email-input {
    width: 100%;
    max-width: 240px;
    padding: 10px 15px;
    margin: 0; /* <-- ändra från 0 auto */
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    }


    .continue {
      width: 100%;
      max-width: 240px;
      margin: 10px auto 0;
      display: block;
      border: 0;
      border-radius: 6px;
      padding: 10px 14px;
      font-size: 16px;
      cursor: pointer;
      background: #1a73e8;
      color: #fff;
      box-sizing: border-box;
    }

    .continue:hover {
      background: #155ab6;
    }

    .hint {
    font-size: 13px;
    color: #666;
    margin: 6px auto;
    max-width: 240px;
    text-align: center;
    }


    .toast {
      display: none;
      margin: 12px auto 0;
      padding: 10px 12px;
      width: 100%;
      max-width: 240px;
      border-radius: 6px;
      background: #e7f3ff;
      color: #084298;
      border: 1px solid #b6d4fe;
      font-size: 14px;
      box-sizing: border-box;
      text-align: left;
    }

    .toast.error {
      background: #fde8e8;
      color: #7a1111;
      border-color: #f5c2c2;
    }

    .flash-list {
      list-style: none;
      padding: 0;
      margin: 10px 0 0;
    }

    .flash-item {
      margin: 8px auto 0;
      padding: 10px 12px;
      width: 100%;
      max-width: 240px;
      border-radius: 6px;
      background: #fff8e1;
      color: #6b4d00;
      border: 1px solid #ffe08a;
      font-size: 14px;
      text-align: left;
      box-sizing: border-box;
    }

    @media (max-width: 480px) {
      body {
        padding: 40px 12px;
      }

      .button,
      .continue,
      .toast,
      .flash-item {
        max-width: 100%;
      }

      .email-input {
        max-width: 100%;
      }
    }

    /* --- Gästknapp (samma stil som Google/Microsoft, men grå ton) --- */
    .button.guest {
      border: 1px solid #ccc;
      background: #fff;
      color: #333;
    }

    .button.guest:hover {
      background: #f0f0f0;
    }

    /* Gör ikonen i gästraden lite ljusare */
    .button.guest img {
      opacity: 0.8;
    }

    .password-row {
        margin-top: 10px;
        display: none;
        }


    .row {
    margin-bottom: 14px;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    }


    .row label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;     /* istället för bold */
    font-size: 14px;
    color: #444;
    }



    .hidden {
    display: none;
    }



.field-error {
  margin-top: 4px;
  font-size: 13px;
  color: #b00020;
}


.email-input.error {
  border-color: #b00020;
}


.password-hint {
  margin-top: 4px;
  font-size: 12.5px;
  color: #777;
  line-height: 1.4;
}

.password-hint.error {
  color: #b00020;
}




.forgot-wrap {
  max-width: 240px;
  margin: 6px auto 0;
  text-align: right;
}

.forgot-link {
  font-size: 13px;
  color: #1a73e8;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}


