<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Calendar Sync Error</title>
    <!-- NOTE: this page is entirely static, no React or built IFL theming -->
    <!-- Load Noto Sans from googleapis option -->
    <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin />
    <link
      crossorigin="anonymous"
      href="https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&display=swap"
      rel="stylesheet"
    />
    <!-- NOTE: All these inline styles are copied out from the IFL Alert component -->
    <style>
      @font-face {
        font-family: "Noto Sans";
        font-style: normal;
        font-weight: 400;
        src: local("Noto Sans"), local("NotoSans"),
          url(https://fonts.gstatic.com/s/notosans/v9/o-0IIpQlx3QUlC5A4PNr4TRASf6M7VBj.woff2)
            format("woff2");
        unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
      }

      *,
      :after,
      :before {
        box-sizing: border-box;
        border: 0 solid;
      }
      html {
        -webkit-locale: "en";
        box-sizing: border-box;
        border: 0 solid;
        -webkit-text-size-adjust: 100%;
        --text-opacity: 1;
        color: rgba(89, 89, 89, var(--text-opacity));
        font-family: Noto Sans, Helvetica Neue, Helvetica, Arial,
          Liberation Sans, Roboto, Noto, sans-serif;
        font-weight: 400;
        line-height: 1.5;
        --reach-accordion: 1;
        --reach-tabs: 1;
      }

      body {
        -webkit-text-size-adjust: 100%;
        --text-opacity: 1;
        color: rgba(89, 89, 89, var(--text-opacity));
        font-family: Noto Sans, Helvetica Neue, Helvetica, Arial,
          Liberation Sans, Roboto, Noto, sans-serif;
        font-weight: 400;
        line-height: 1.5;
        --reach-accordion: 1;
        --reach-tabs: 1;
        box-sizing: border-box;
        border: 0 solid;
        margin: 0;
      }

      .center-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
      }

      .alert-box {
        box-sizing: border-box;
        font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial,
          "Liberation Sans", Roboto, Noto, sans-serif;
        font-size: 0.875rem;
        line-height: 1.5;
        padding: 0.75rem 1rem;
        transition: box-shadow 200ms cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
        display: flex;
        align-items: flex-start;
        color: rgb(45, 45, 45);
        border-width: 0.0625rem;
        border-style: solid;
        border-radius: 0.5rem;
        background-color: rgb(254, 238, 239);
        border-color: rgb(249, 197, 198);
        min-width: 850px;
      }

      .alert-icon {
        flex: 0 0 auto;
        margin-top: 0.375rem;
        color: rgb(217, 58, 64);
        width: 1.5rem;
        height: 1.5rem;
      }

      .alert-body {
        display: flex;
        flex-flow: column wrap;
        -webkit-box-pack: justify;
        justify-content: space-between;
        row-gap: 0.5rem;
        margin: 0 1rem;
      }

      .alert-content {
        padding: 0.5rem 0;
      }

      .alert-actions {
        align-self: stretch;
        flex-wrap: wrap;
        gap: 1rem;
        display: flex;
        padding-bottom: 0.5rem;
      }

      .alert-button {
        box-sizing: border-box;
        background: none rgb(37, 87, 167);
        appearance: none;
        text-align: left;
        text-decoration: none;
        border: 1px solid rgb(37, 87, 167);
        cursor: pointer;
        user-select: none;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: center;
        justify-content: center;
        position: relative;
        margin: 0px;
        padding: 0.3125rem 1rem;
        line-height: 1.5;
        font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial,
          "Liberation Sans", Roboto, Noto, sans-serif;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 0.5rem;
        transition: border-color 200ms cubic-bezier(0.645, 0.045, 0.355, 1) 0s,
          background-color 200ms cubic-bezier(0.645, 0.045, 0.355, 1) 0s,
          opacity 200ms cubic-bezier(0.645, 0.045, 0.355, 1) 0s,
          box-shadow 200ms cubic-bezier(0.645, 0.045, 0.355, 1) 0s,
          color 200ms cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
        display: inline-flex;
        width: auto;
        color: rgb(255, 255, 255);
      }
      .alert-button:active {
        box-shadow: rgb(45 45 45 / 20%) 0px 0.125rem 0.25rem inset,
          rgb(45 45 45 / 12%) 0px 0.0625rem 0.1875rem inset,
          rgb(45 45 45 / 20%) 0px 0px 0.125rem inset;
        border-color: rgb(13, 45, 94);
        background-color: rgb(13, 45, 94);
      }

      .alert-button:focus:not([data-focus-visible-added]) {
        box-shadow: none;
      }

      .alert-button:focus {
        outline: none;
      }

      .alert-button:hover {
        border-color: rgb(22, 64, 129);
        background-color: rgb(22, 64, 129);
      }

      .alert-title {
        font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial,
          "Liberation Sans", Roboto, Noto, sans-serif;
        font-weight: 700;
        font-size: 0.875rem;
        line-height: 1.5;
        color: currentcolor;
        margin: 0px 0px 0.25rem;
      }
    </style>
  </head>
  <body>
    <div class="center-wrapper">
      <div role="group" class="alert-box" dir="auto">
        <div class="alert-icon">
          <svg
            xmlns="http://www.w3.org/2000/svg"
            focusable="false"
            role="img"
            fill="currentColor"
            viewBox="0 0 24 24"
            aria-hidden="true"
          >
            <path
              fill-rule="evenodd"
              d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 14.75a.25.25 0 01-.25.25h-1.5a.25.25 0 01-.25-.25v-1.5a.25.25 0 01.25-.25h1.5a.25.25 0 01.25.25v1.5zm0-4a.25.25 0 01-.25.25h-1.5a.25.25 0 01-.25-.25v-5.5a.25.25 0 01.25-.25h1.5a.25.25 0 01.25.25v5.5z"
              clip-rule="evenodd"
            ></path>
          </svg>
        </div>
        <div class="alert-body">
          <div class="alert-content">
            <div class="alert-title">Error When Connecting Calendar</div>
            
            <span>Unable to connect calendar. Close this page and try again.</span>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
