#product-options li {
  position: relative;
}

#product-options li .sub-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fafafa;
  position: absolute;
  top: 50%;
  left: 100%;
  transition: opacity 150ms cubic-bezier(0.33, 1, 0.68, 1), transform 150ms cubic-bezier(0.33, 1, 0.68, 1);
  transform: translate(0, -50%);
  white-space: nowrap;
  overflow: visible;
  list-style: none;
  padding: 0;
}

#product-options li .sub-list label {
  position: relative;
  display: inline-block;
  padding-right: 36px;
}

#product-options li:not(.hover) .sub-list {
  opacity: 0;
  transform: translate(-24px, -50%);
  pointer-events: none;
}

#product-options li .chevron {
  margin-left: 12px;
  opacity: 0.25;
  pointer-events: none;
}

#fixed-nav {
    position: sticky;
    position: -webkit-sticky;
    top:0;
    background-color: white;
}

.log-active {
    opacity: 1 !important;
    right: 5rem !important;
}

.invisible {
    opacity: 0;
}

#profilepic.invisible {
    top: -70px;
    z-index: 9999;
}

#profilepic:hover {
    transform: rotate(360deg) scale(1.5);
    box-shadow: rgb(38, 57, 77) 0px 0px 30px -10px;
}

#selectUser, #selectMonth {
    transition: opacity 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

#selectUser {
width: 400px;
}

#profilepic {
    height: 45px;
    border-radius: 50%;
    position: fixed;
    top: 20px;
    right: 20px;
    transition: all 0.7s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.select {
    display:flex;
    flex-direction: column;
    position:relative;
    width:250px;
    height:40px;
    z-index: 300;
    margin: 20px 10px;
  }
  
  .optiondropdown {
    padding: 20px;
    min-height:40px;
    display:flex;
    align-items:center;
    background: white;
    position:absolute;
    top:0;
    width: 100%;
    pointer-events:none;
    order:2;
    z-index:100;
    box-sizing:border-box;
    overflow:hidden;
    white-space:nowrap;
    transition: background-color 0.3 cubic-bezier(0.075, 0.82, 0.165, 1);
  }
  
  tbody {
    z-index: -1;
  }
  
  .select .optiondropdown:hover {
    color: #3a7bd5;
    transform: scale(1.01);
    z-index: 100;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
    background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
  }
  
  .select:focus .optiondropdown {
    position:relative;
    pointer-events:all;
  }
  
  .select:hover .optiondropdown {
    position:relative;
    pointer-events:all;
  }
  
  .selectopt {
    opacity:0;
    position:absolute;
    left:-99999px;
  }
  
  .selectopt:checked + .optiondropdown {
    order: 1;
    z-index:200;
    background: linear-gradient(to right, #02367e 0%, #3a7bd5  100%);
    padding: 1.4rem 2rem;
    text-align: left;
    text-transform: uppercase;
    background-size: 200% auto;
    color: white;     
    border-width: 0;       
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 300;
    border-top:none;
    position:relative;
    transition: transform 0.3s ease;
  }
  
  .selectopt:checked + .optiondropdown:after {
    content:'';
    width: 0; 
    height: 0; 
    position:absolute;
    right:10px;
    top:calc(50% - 2.5px);
    pointer-events:none;
    z-index:3;
  }
  
  .selectopt:checked + .optiondropdown:before {
    position:absolute;
    top: 38%;
    right:-5px;
    height: 100%;
    width: 40px;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900; 
    content: '\f078';
  }
  
  
  #statistik {
    height: 40px;
    display: flex;
    text-align: left;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    padding: 0 15px;
    border-radius: 10px 10px 0 0;
    background-color: white;
  }
  
  #statistik > p {
    font-size: 20px;
    color: #3a7bd5;
  }
  
  .table-header {
    background-color: white;
    top:90px;
    z-index: 1 !important;
    transition: all 0.3s;
  }
  
  .shadow-sticky {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 20px -20px;
    transform: scale(1.01); 
    position: sticky;
    position: -webkit-sticky;   
  }
  
  .personnummer {
    position: relative;
    margin: auto;
    width: 100%;
    max-width: 280px;
    height: 53px;
  }
  .personnummer .border {
    position: absolute;
    top: 25px;
    left: 0;
    bottom: 0;
    height: 18px;
    fill: none;
  }
  .personnummer .border path {
    stroke: #c8ccd4;
    stroke-width: 2;
  }
  .personnummer .border path d {
    transition: all 0.2s ease;
  }
  .personnummer .check {
    position: absolute;
    top: 0px;
    right: 10px;
    fill: none;
    transform: translate(0, 9px) scale(0);
    transition: all 0.3s cubic-bezier(0.5, 0.9, 0.25, 1.3);
    transition-delay: 0.15s;
  }
  .personnummer .check path {
    stroke: #07f;
    stroke-width: 2px;
  }
  .personnummer input {
    -webkit-appearance: none;
    width: 100%;
    border: 0;
    font-family: inherit;
    padding: 0;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    background: none;
    border-radius: 0;
    color: #223254;
    transition: all 0.15s ease;
  }
  .personnummer input:focus {
    outline: none;
  }
  .personnummer input:focus + .border path {
    stroke: #07f;
  }
  .personnummer input:valid + .border path {
    animation: elasticInput 0.8s ease forwards;
  }
  .personnummer input:valid + .border + .check {
    transform: translate(0, 0) scale(1);
  }
  ::placeholder {
    color: black;
  }
  @-moz-keyframes elasticInput {
    33% {
      d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
    66% {
      d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
  }
  @-webkit-keyframes elasticInput {
    33% {
      d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
    66% {
      d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
  }
  @-o-keyframes elasticInput {
    33% {
      d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
    66% {
      d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
  }
  @keyframes elasticInput {
    33% {
      d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
    66% {
      d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
  }
  
  #personnummer {
    padding: 21px;
    margin-bottom:20px;
    width: 66%;
  }
  
  @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@200;300;500;600;700&display=swap');
  
    .main {
      display: flex;
    }
  
    .inputcontainer {
      width: 30vw;
      padding: 2rem;
      height: 100vh;
      z-index: 10;
  }
  
  * {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    box-sizing: border-box;
  }
  
  .table {
    width: 70vw;
    padding: 5rem;
    margin-left:30%;
    overflow: scrollY;
    transition: opacity 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  
  #signin-button, #signout-button {
    background-color: white;
    position: fixed;
    border-width:0;
    border-radius: 10px;
    color: #07f;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
  }
  
  #signin-button:hover {
    background-color: #21559c;
  }
  
  #signout-button:hover {
    color: #21559c;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 12px;
  }
  
  #signin-button {
    bottom: 2rem;
    font-size: 1rem;
    right: 4rem;
    width: 10rem;
    box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
    padding: 1.4rem 2rem;
    background-color: #3a7bd5;
    color: white;
    opacity:0;
  }
  
  #signout-button {
    bottom: 2rem;
    right: 15rem;
    width: 10rem;
    padding: 1.4rem 1.4rem;
    opacity:0;
  }
  
  #signin-button:after {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900; 
    content: "\f2f6";
    float: right;
    margin-left: 10px;
  }
  
  #signout-button:after {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900; 
    content: "\f2f5";
    float: right;
    margin-left: 10px;
  }
  
  #data, td, th {  
    border: 1px solid #ddd;
    text-align: left;
  }
  
  #data {
    border-collapse: collapse;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  
  th, td {
    padding: 15px;
  }
  
  .options input[type="radio"]:hover+label {
    background-color:#fcfcfc;
    transform: scale(1.1);
    color: #07f;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  }
  
  .options input[type="radio"]:checked+label,
  .options input[type="radio"].checked+label {
    background-color:rgb(247, 252, 253);
  }
  
  .options input[type="radio"]:checked+label::after,
  .options input[type="radio"].checked+label::after {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900; 
    content: "\f00c";
    position: absolute;
    right: 12px;
    padding:0;
    margin-top:0;
    color: #07f;
    background-color: white;
  }
  
  .options {
    list-style-type: none;
    margin: 0;
    padding:0;
  }
  
  .options label {
    transition: all 300ms;
    padding: 14px;
    display: block;
    border-radius: 14px;
    border-width: 0;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
    font-size: 16px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
  }
  
  .submit {background-image: linear-gradient(to right, #00d2ff 0%, #3a7bd5  51%, #00d2ff  100%)}
  .submit {
              margin-top: 20px;
              padding: 1.4rem 2rem;
              width: 100%;
              text-align: left;
              text-transform: uppercase;
              transition: 0.5s;
              background-size: 200% auto;
              color: white;     
              border-width: 0;       
              box-shadow: 0 0 20px #eee;
              border-radius: 10px;
              display: block;
              font-size: 1rem;
              font-weight: 600;
            }
  
  .submit:hover {
              background-position: right center; /* change the direction of the change here */
              color: #fff;
              text-decoration: none;
              box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
                          transform: translateY(-5px);  
              }
           
  
  .options input[type="radio"] {
    -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  }
  
  label[for="uppgradering"].keypreview::after {
    content:"1";
    float: right;
    right:15px;
    background-color: rgb(246, 246, 246);
    padding: 3px 8px;
    border-radius: 3px;
    color: #07f;
    margin-top: -3px;
  }
  
  label[for="litenwinback"].keypreview::after {
    content:"2";
    float: right;
    right:15px;
    background-color: rgb(246, 246, 246);
    padding: 3px 8px;
    border-radius: 3px;
    color: #07f;
    margin-top: -3px;
  }
  
  label[for="lagomwinback"].keypreview::after {
    content:"3";
    float: right;
    right:15px;
    background-color: rgb(246, 246, 246);
    padding: 3px 8px;
    border-radius: 3px;
    color: #07f;
    margin-top: -3px;
  }
  
  label[for="mellanwinback"].keypreview::after {
    content:"4";
    float: right;
    right:15px;
    background-color: rgb(246, 246, 246);
    padding: 3px 8px;
    border-radius: 3px;
    color: #07f;
    margin-top: -3px;
  }
  
  label[for="maxwinback"].keypreview::after {
    content:"5";
    float: right;
    right:15px;
    background-color: rgb(246, 246, 246);
    padding: 3px 8px;
    border-radius: 3px;
    color: #07f;
    margin-top: -3px;
  }

  label[for="premiumwinback"].keypreview::after {
    content:"6";
    float: right;
    right:15px;
    background-color: rgb(246, 246, 246);
    padding: 3px 8px;
    border-radius: 3px;
    color: #07f;
    margin-top: -3px;
  }

  label[for="portering"].keypreview::after {
    content:"7";
    float: right;
    right:15px;
    background-color: rgb(246, 246, 246);
    padding: 3px 8px;
    border-radius: 3px;
    color: #07f;
    margin-top: -3px;
  }
  
  label[for="fsecure"].keypreview::after {
    content:"8";
    float: right;
    right:15px;
    background-color: rgb(246, 246, 246);
    padding: 3px 8px;
    border-radius: 3px;
    color: #07f;
    margin-top: -3px;
  }
  
  label[for="fsecure3"].keypreview::after {
    content:"9";
    float: right;
    right:15px;
    background-color: rgb(246, 246, 246);
    padding: 3px 8px;
    border-radius: 3px;
    color: #07f;
    margin-top: -3px;
  }
  

  label[for="serviceavtal"].keypreview::after {
    content:"0";
    float: right;
    right:15px;
    background-color: rgb(246, 246, 246);
    padding: 3px 8px;
    border-radius: 3px;
    color: #07f;
    margin-top: -3px;
  }
  
  
  .keypreview-enter::after {
    content:"ENTER";
    float: right;
    background-color: rgb(246, 246, 246);
    padding: 7px 10px;
    border-radius: 3px;
    color: #07f;
    margin: -5px;
    font-weight: 400;
  }
  
  .logged-out {
    filter: blur(10px);
    opacity: 0.4;
    pointer-events: none;
  }

  .inactive {
    opacity: 0.4;
    pointer-events: none;
  }
  
  .active {
    opacity: 1 !important;
  }
  
  .inputcontainer {
    position: fixed;
  }
  
  .bold-header {
    font-weight: bold;
    color: #3a7bd5;
    padding: 30px 15px;
  }
  
  #welcome-screen {
    margin-top: -60px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    flex-direction: column;
    transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
  }

  #welcome-message {
    font-size: 25px;
    font-weight: 100;
    text-align: center;
    color:black;
    width: 50%;
    line-height: 1.5;
  }

  #welcome-header {
    font-size: 75px;
    text-align: center;
    color: #3a7bd5;
  }