textarea {
    color: #ffffff;
}

body {
    background-color: #565f89;
    font-family: Arial, sans-serif;
    color: #ffffff;

}

.output {
    background-color: #3b4261;
    padding: 20px;
    border-radius: 8px;
}

.input {
    background-color: #3b4261;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px #0000001a;

    ul {
        list-style: none;
        padding: 0;
    }

    li {
        margin-bottom: 10px;
        align-items: left;
        
        label {
            display: inline-block;
            font-style: italic;
            color: #ffffff;
        }
    }
}

/* Checkbox styles */
.checkbox-container {
    text-align: center;
    display: inline-block;
    align-items: center;
    
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */

    .checkmark {
        appearance: none;
        background-color: #c0caf5;
        border-radius: 72px;
        border-style: none;
        flex-shrink: 0;
        height: 20px;
        margin: 0;
        position: relative;
        width: 30px;
    }
    .checkmark::before {
        transition-duration: 100ms;
        bottom: -6px;
        content: "";
        left: -6px;
        position: absolute;
        right: -6px;
        top: -6px;
    }
    .checkmark::after {
        transition-duration: 100ms;
        background-color: #fff;
        border-radius: 50%;
        content: "";
        height: 14px;
        left: 3px;
        position: absolute;
        top: 3px;
        width: 14px;
    }
    input[type=checkbox] {
        cursor: default;
    }
    .checkmark:hover {
        background-color: #a9b1d6;
        transition-duration: 10ms;
    }
    .checkmark:checked {
        background-color: #394b70;
    }
    .checkmark:checked::after {
        background-color: #fff;
        left: 13px;
    }
    
    :focus:not(.focus-visible) {
        outline: 0;
    }
    
    .checkmark:checked:hover {
        background-color: #3d59a1;
    }
}

.length-output {
    appearance: none;
    background-color: #394b70;
    border-radius: 72px;
    border-style: none;
    flex-shrink: 0;
    height: 20px;
    margin: 0;
    position: relative;
    width: 30px;

    
        color: #a9b1d6;
        font-size: 12px;
        font-weight: 700;
        line-height: 20px;
        text-align: center;
    
}

.length-input {
    background-color: #3b4261;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


/* Prevent text selection */
.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

/* Tooltip class*/
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    background-color: #c0caf5;
    color: #1f2335  ;
    text-align: center;
    padding: 5px;
    border-radius: 6px;


    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    align-self: center;
    margin-left: 5px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.framed {
    background-color: #1f2335;
    font-family: Arial, sans-serif;
    padding: 20px;
    display: flex;
    flex-direction: column;

    padding-left: 20px;
    padding-right: 20px;

    margin-bottom: 20px;
    border-radius: 8px;

    /* Define the element paddings */
    div {
        margin-top: 20px;
    }

    h1 {
        color: #ffffff;
        font-size: 24px;
        margin-bottom: 20px;
    }
}


/* The slider itself */
.slider {
    -webkit-appearance: none;  /* Override default CSS styles */
    appearance: none;
    height: 15px; /* Specified height */
    background: #c0caf5; /* Grey background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
    border-radius: 5px;
  }
  
  /* Mouse-over effects */
  .slider:hover {
    opacity: 1; /* Fully shown on mouse-over */
  }
  
  /* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    width: 25px; /* Set a specific slider handle width */
    height: 25px; /* Slider handle height */
    background: #394b70; /* Green background */
    cursor: pointer; /* Cursor on hover */
    border-radius: 50%;
  }
  
  .slider::-moz-range-thumb {
    width: 25px; /* Set a specific slider handle width */
    height: 25px; /* Slider handle height */
    background: #394b70; /* Green background */
    cursor: pointer; /* Cursor on hover */
    border-radius: 50%;
  }

  button {
    background-color: #3d59a1;
    border: none;
    color: white;
    padding: 3px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: background-color 0.3s;
  }

  .outputPassword {
    background-color: #c0caf5;
    color: #1f2335;
    padding: 3px 5px;
    border-radius: 8px;
    margin-top: 20px;

    width: 75%;

    text-align: center;

    border-color: #394b70;

    /* Setup text style */
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: #1f2335;

  }

   /* The alert message box */
.alert {
    padding: 20px;
    background-color: #c53b53; /* Red */
    color: white;
    margin-bottom: 15px;
    display: none;
    border-radius: 10px;
  }
  
  /* The close button */
  .closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  /* When moving the mouse over the close button */
  .closebtn:hover {
    color: black;
  } 