/* CSS rules are kept repetitive so that you can get CSS rules for each button easily :) */


/* .button-cover
{
    height: 50px;
    margin: 26px;
    background-color: #fff;
    box-shadow: 0 10px 20px -8px #c5d6d6;
    border-radius: 4px;
}

.button-cover:before
{
    counter-increment: button-counter;
    content: counter(button-counter);
    position: absolute;
    right: 0;
    bottom: 0;
    color: #d7e3e3;
    font-size: 12px;
    line-height: 1;
    padding: 5px;
} */

.button-cover, .knobs, .layer
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.button
{
    position: absolute;
    top: 32%;
    width: 55px;
    height: 26px;
    /* margin: -20px auto 0 auto; */
    overflow: hidden;
    right: 8%;
}

.button.r, .button.r .layer
{
    border-radius: 100px;
}

.button.b2
{
    border-radius: 2px;
}

.checkbox
{
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.knobs
{
    z-index: 2;
}

.layer
{
    width: 100%;
    background-color: var(--color-green);
    transition: 0.3s ease all;
    z-index: 1;
}


/* Button 16 */
#button-16 .knobs:before
{
    content: 'OFF';
    position: absolute;
    top: 3px;
    left: 4px;
    width: 25px;
    height: 10px;
    color: #fff;
    font-size: 8px;
    font-weight: bold;
    text-align: center;
    line-height: 0;
    padding: 10px 3px;
    background-color: #1D1D2D;
    border-radius: 2px;
    transition: 0.3s ease all, left 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15);
}

/* #button-16 .checkbox:active + .knobs:before
{
    width: 46px;
}

#button-16 .checkbox:checked:active + .knobs:before
{
    margin-left: -26px;
} */

#button-16 .checkbox:checked + .knobs:before
{
    content: 'ON';
    left: 26px;
    background-color: #1D1D2D;
}

#button-16 .checkbox:checked ~ .layer
{
    background-color: var(--color-green);
}

#ytd-url {
  display: block;
  position: fixed;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  margin: 20px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  background-color: #143240;
  border-radius: 4px;
  box-shadow: 0 10px 20px -5px rgba(20, 50, 64, 0.76);
}



/* Button 16 */

.auth-btn{
  top: 30%;
  position: relative;
  top: 32%;
  width: 55px;
  height: 26px;
  margin: auto;
  overflow: hidden;
}
.auth-btn .knobs:before
{
    content: 'IP';
    position: absolute;
    top: 3px;
    left: 4px;
    width: 25px;
    height: 10px;
    color: #fff;
    font-size: 8px;
    font-weight: bold;
    text-align: center;
    line-height: 0;
    padding: 10px 3px;
    background-color: #1D1D2D;
    border-radius: 2px;
    transition: 0.3s ease all, left 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15);
}

/* #button-16 .checkbox:active + .knobs:before
{
    width: 46px;
}

#button-16 .checkbox:checked:active + .knobs:before
{
    margin-left: -26px;
} */

.auth-btn  .checkbox:checked + .knobs:before
{
    content: 'USER';
    left: 26px;
    background-color: #1D1D2D;
}

.auth-btn  .checkbox:checked ~ .layer
{
    background-color: var(--color-green);
}

#ytd-url {
  display: block;
  position: fixed;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  margin: 20px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  background-color: #143240;
  border-radius: 4px;
  box-shadow: 0 10px 20px -5px rgba(20, 50, 64, 0.76);
}
