@charset "UTF-8";

  @font-face {
    font-family: 'Poppins';
    src: url('/assets/Poppins.ttf');
    src: local('Poppins'),
        local('Poppins.ttf'),
        url('/assets/Poppins.ttf') format('truetype'),
  }

  :root {
    --primary: #0076cf;
    --primary-rgb: 0, 118, 207;
    --secondary: #001a72;
    --secondary-rgb: 0, 26, 114;

    --accent1: #FFA500;
    --accent2: #FF6500;

    --error: #cc0000;
    --lt-grey: #F0F5FE;
    --font-grey: #474747;

    --background: white;

    --link-color: var(--primary);

    font-family: 'Poppins', sans-serif;
    color: var(--font-grey);
    font-size: 16px;
  }

  /* body:has(#darkmode-toggle:checked) {

    --primary: #FFA500;
    --secondary: #FF6500;
    --accent1: #0076cf;
    --accent2: #001a72;

    --primary-rgb: 255,165,0;
    --secondary-rgb: 255,101,0;



    --error: #cc0000;

    --lt-grey: #444;
    --font-grey: #D4D4D4;
    --dk-grey: #222;

    --background: var(--dk-grey);
    color: var(--font-grey);
    --link-color: white;

    h1 {
      color: white;
    }

} */
  @media (prefers-color-scheme: dark){
    :root {
      --primary: #FFA500;
      --secondary: #FF6500;
      --accent1: #0076cf;
      --accent2: #001a72;

      --primary-rgb: 255,165,0;
      --secondary-rgb: 255,101,0;



      --error: #cc0000;

      --lt-grey: #444;
      --font-grey: #D4D4D4;
      --dk-grey: #222;

      --background: var(--dk-grey);
      color: var(--font-grey);
      --link-color: white;

      h1 {
        color: white;
      }
    }
}
/*
.toggle {
  font-size: 1rem;
  border: .125em solid currentColor;
  border-radius: 2em;
  cursor: pointer;
  display: block;
  height: 2em;
  position: relative;
  width: 3.75em;
  margin: 0 10px;
}

.toggle span {
  background-color: currentColor;
  border-radius: 2em;
  display: block;
  height: 1.5em;
  left: .25em;
  overflow: hidden;
  position: absolute;
  top: .25em;
  text-indent: -9999px;
  transition: left .25s;
  width: 1.5em;
  z-index: 2;
}

.toggle::before,
.toggle::after {
  content: '';
  display: block;
  border-radius: 1em;
  position: absolute;
  z-index: 1;
}

.toggle::after {
  box-shadow: .25em .25em #5901d8;
  height: 1.125em;
  right: .9em;
  top: .125em;
  width: 1.125em;
}

.toggle::before {
  background-color: #ffc409;
  height: .625em;
  outline: .25em dotted #ffc409;
  outline-offset: .125em;
  left: .7em;
  top: .7em;
  width: .625em;
}

input:checked ~ .toggle span {
  left: 2em;
}
.sr-only {
  position: absolute;
  left: -9999px;
  opacity: 0;
} */



  .icon {
    width: 23px;
    height: 40px;
    display: inline-block;
    color: var(--primary);
    padding-right: 1em;

  }

  .gradient-divider {
    background: rgb(255,165,0);
    background: linear-gradient(90deg, rgba(255,165,0,1) 0%, rgba(255,101,0,1) 100%);
    height: 5px;
    border-radius: 5px;
    width: 225px;
  }

  .concierge-logo {
    background: rgb(var(--secondary-rgb));
    background: linear-gradient(90deg, rgba(var(--primary-rgb),1) 0%, rgba(var(--secondary-rgb),1) 100%);
    height: 30px;
    width: 30px;
    padding: 5px;
    border-radius: 5px;
    margin-right: 15px;
  }


  form [role=tooltip] { padding-left: 1rem; }
  form [role=alert] { color: red; }
  form input:has(+ [role=alert]), form select:has(+ [role=alert]) { border-color: red; color: red; margin-right: 0.5rem; }
  form input:not([type=submit]), form select {
    padding: 10px 1%;
    width: 98%;

  }
  nav ul, nav ol, .actions { list-style: none; }

  input[type=submit], .button {
    display: inline-block;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: .2em .7em;
    text-align: center;
    font-weight: normal;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    appearance: button;
    cursor: pointer;
    border-radius: 2px;
    background: linear-gradient(to left, var(--background) 50%, var(--secondary) 50%) right;
    background-size: 200%;
    transition: .3s ease-out;

    &:hover {
      border: 2px solid var(--secondary);
      color: #fff;
      background-position: left;
      text-decoration: none;
    }
  }
  input[type=submit] {
    margin-right: 2em;
  }

  body {
    background-color: var(--background);
    margin : 0px;
    a {
      text-decoration: none;
      color: var(--primary);
      transition: color 0.3s ease-in-out;

      &:hover {
        color: var(--accent1);
        text-decoration: underline;
      }
    }
    > header {
      position: sticky;
      top: 0;
      margin: 0;
      box-shadow: 0px 8px 16px 0px rgba(var(--primary-rgb),0.2);
      background-color: var(--background);
      .messages {
        padding: 0 0 0 12rem;
        background-color: var(--lt-grey);
        margin: 0;
        li {
          padding: 1em .5em;
        }
        &.warning {
          background-color: var(--accent1);

        }
      }
      nav.site {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--background);
        background-blend-mode: darken;
        background-size: cover;
        color: var(--secondary);

        [role=menu] {
          display: flex;
          padding-left: 20px;
          align-items: center;
          [role=menuitem] {
            margin-right: 20px;
            .dropbtn {
              padding: 16px;
              font-size: 16px;
              border: none;
            }
          }
          [role=menuitem]:last-child {
            margin-right: 0;
          }
        }
        a {
          text-decoration: none;
          color: var(--font-grey);
          font-size: 18px;
          transition: color 0.3s ease-in-out;
        }
        a.logo-wrapper {
          display: flex;
          align-items: center;
          font-weight: 700;
          font-family: 'Poppins-Bold', sans-serif;
          color: var(--primary);
          font-size: 24px;
          font-variant: small-caps;
        }
        .account {
          padding-right: 20px;
          text-align: right;
        }

        .dropdown {
          position: relative;
          display: inline-block;
          [role=menu] {
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
            display: none;

            a {
              padding: 12px 16px;
              text-decoration: none;
              display: block;
              font-size: 16px;
              color: var(--secondary);
            }
          }
        }


        /* Show the dropdown menu on hover */
        .dropdown:hover [role=menu] {
          display: block;
          position:absolute;
          background-color: var(--lt-grey);
        }
      }

    }
    main {
      display: flex;
      flex-direction: row;
      flex-basis: 100%;
      justify-content: flex-start;
      align-items: flex-start;
      padding: 0px 10px 0px 0;
      .breadcrumb {
        padding: 0.2em 0;
        /* border-bottom: 1px solid hsl(0deg 0% 90%);
        border-radius: 4px; */
        ol {
          margin: 0;
          padding-left: 0em;

        }

        li {
          display: inline;
          font-size: 12px;

          + li::before {
            display: inline-block;
            margin-right: 0.25em;
            /*transform: rotate(15deg);
            border-right: 0.1em solid currentcolor;*/
            height: 0.8em;
            content: ">";
          }
          &:first-of-type {
            padding-left: 0;
          }
          a {
            font-size: 12px;
            color: var(--primary);
          }
        }
      }

      .sidebar {
        top: 10rem;
        width: 15%;
        min-width: 225px;
        background-color: var(--lt-grey);
        align-self: stretch;
        ul {
          padding-left: 0rem;
        }
        li {
          margin: 2rem 0;
          a {
            padding: 1rem;
            margin-right: 1rem;
            /*background-color: #F2F5F9;*/
            color: var(--font-grey);
            display:flex;
            align-items: center;
            +[aria-current=page] {
              border: 1px solid black;
            }
          }
        }
      }
      article {
        padding-left: 2.5rem;
        width: 70vw;
        margin-top: 2.5rem;
        h1 {
          color: var(--secondary);
          margin-bottom: 5px;
          font-family: 'Poppins-Bold';
        }
        h2 {
          font-size: 20px;
        }
        form {
          margin: 25px 0;
          width: 70%;
          fieldset {
            border: none;
          }
        }
      }

      #subscription-messages {
        summary {
          background-color: var(--lt-grey);
          padding: .5em 1em;
          border: 1px solid var(--secondary);
          border-top-left-radius: 2px;
          border-top-right-radius: 2px;

        }
        ul {
          border: 1px solid var(--secondary);
          border-top: none;
          margin: 0;
          padding: 1em 0 1em 2em;
          border-bottom-left-radius: 2px;
          border-bottom-right-radius: 2px;

          li {
            padding: .5em;
          }
        }
      }

      ul.products {
        list-style: none;
        display: flex;
        justify-content: start;
        align-items: center;
        gap: 3%;

        li.product-card {
          border: 2px solid var(--lt-grey);
          padding: 1em;
          width: 30%;
          text-align: center;
        }
      }
    }
  }

  [aria-current=page] {
    color: #000;
    font-weight: 700;
    font-family: 'Poppins-Bold', sans-serif;
    text-decoration: none;
  }

  header .debug {
    background-color:white; padding: 1px 5px; border-radius: 4px/2px;
  }

  body > footer {
    background:  var(--background);

    color: var(--font-grey);
    padding-top: 25px;
    a {
      color: var(--link-color);
      text-decoration: underline;
    }
    nav { text-align: center; }
    .debug {
    padding-top: 1rem;
    pre { padding: 1rem; background-color: var(--primary); text-wrap: auto; }
    }
  }

[role=status].error::marker { content: "\2622  "; color: var(--error); margin-right: 10px; } /* ☢ */
[role=status].warning::marker { content:  "\26A0 "; color: var(--accent1); margin-right: 10px; } /* ⚠ */
[role=status].info::marker { content: "\2139  "; color: var(--primary); margin-right: 10px; } /* ℹ */

table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 2rem;
  border-spacing: 0px;
  ul { padding: 0; margin: 0; }

  > thead,
  > tbody,
  > tfoot {
    > tr {
      transition: all .3s ease;
      > th,
      > td {
        text-align: left;
        vertical-align: middle;
        line-height: 2em;
        border-top: 0;
        transition: all .3s ease;
        padding-left: 5px;
        +.right {
          text-align: right;
          padding-right: 15px;
        }
      }
    }
  }
  > tfoot > tr > th {
    border-top: 2px double  rgba(0,0,0,.12);
  }
  > thead > tr > th {
    padding: 5px 0px;
    background-color: var(--secondary);
    color: var(--background);
    padding-left: 5px;

    font-weight: 700;
    font-family: 'Poppins-Bold', sans-serif;
    vertical-align: bottom;
    border-bottom: 1px solid rgba(0,0,0,.12);
  }
  > caption + thead,
  > colgroup + thead,
  > thead:first-child {
    > tr:first-child {
      > th,
      > td {
        border-top: 0;
      }
    }
  }
  > tbody + tbody {
    border-top: 1px solid rgba(0,0,0,.12);
  }
}
