@charset "UTF-8";

:root {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #f0f0f0;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  height: 100%;
  display: flex;
  flex-direction: row;
}

.container-extended {
  flex: 0 1 auto;
}

.container-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* grid-template-rows: 10% 80% auto; */
  width: 100%;
  /* height: 100%; */
  max-width: 60em;
  margin-left: auto;
  margin-right: auto;
}


@media (min-width: 768px) {
  .header-title {
    float: left;
  }
}


.main-content {
  flex: 1 1 auto;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content-title {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 4.5rem;
}

.password-area {
  width: 100%;
  position: relative;
}

.password-control-area {
  position: absolute;
  top: 0rem;
  right: 0.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
}

#password-control-copy-btn {
  cursor: pointer;
}

#password-control-refresh-btn {
  cursor: pointer;
  height: 28px;
  /* margin-top: 0.4rem; */
  margin-left: 0.25rem;
}
.password-control-refresh-btn-click {
  transform: rotate(-360deg);
  -webkit-transform: rotate(-360deg);
  transition: transform 200ms cubic-bezier(0.000, 0.300, 0.000, 1.000);
}


.password-input {
  /* margin: 0; */
  width: 100%;
}


.input-style {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  padding: 0.5rem 1rem;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.input-style:focus {
  outline: 0;
}


.password-strength-bar {
  background-color: #118f17;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 0.2rem;
  width: 100%;
  height: 8px;
  align-self: flex-start;
}

.password-strength-info {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.password-customize-area {
  width: 100%;
  margin-top: 0.5rem;
  background-color: #fff;
  /* height: 80px; */
  padding: 16px;
  border-radius: 0.25rem;
}

.password-length {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
}


.password-length-slider {
  position: relative;
  flex: 1 1 auto;
  margin-left: 1rem;
  margin-right: 1rem;
}

.password-length-slider-component {
  width: 100%;
  margin-left: 1rem;
  margin-right: 1rem;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.password-length-slider-component::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 0.8rem;
  height: 1.5rem;

  margin-top: -0.6rem;
  margin-bottom: -0.6rem;
  background-color: #0078d7;
  clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 50% 100%, 0% 80%);
  /* border-radius: 1rem; */
  -webkit-transition: background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}
.password-length-slider-component::-webkit-slider-thumb:hover {
  background-color: #212529;
}

.password-length-slider-component::-webkit-slider-runnable-track {
  background-color: #eaeaea;
  border-style: solid;
  border-width: 1px;
  border-color: #D6D6D6;
}

.password-length-number {
  margin-right: 1rem;
  width: 4.5rem;
}


button {
  margin: 0;
  padding: 0.375rem 0.75rem;
  border: solid 1px #D6D6D6;
  border-radius: 0.25rem;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  text-transform: none;
  cursor: pointer;
  -webkit-transition: background-color 0.15s ease-in-out,
  border-color 0.15s ease-in-out, color 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, color 0.15s ease-in-out;
}
button:focus:not(:focus-visible) {
  outline: 0;
}

/* button:hover {
  border-color: #005499;
  background-color: #CCE4F7;
  color: #005499;
} */



.password-composition {
  margin-top: 1rem;
}

.password-composition-advanced {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
}

.password-composition-advanced-group {
  display: grid;
  grid-template-columns: repeat(5, auto);
  grid-row-gap: 0.5rem;
}

.password-composition-hiden {
  display: none;
}


.password-compo-btn {
  min-width: 5rem;
  margin-left: 0.5rem;
}

.btn-active {
  border-color: #005499;
  background-color: #CCE4F7;
  color: #005499;
}

.footer {
  align-self: center;
  font-size: 0.8rem;
  color: #3b4249;
  margin-bottom: 0.25rem;
}