:root {
  --background: #efefef;
  --foreground: #17252a;
  --primary: #359f9a;
  --primary-hover: #2d8985;
  --white: #ffffff;

  --font-family: "Inter", serif;

  --transition-duration: 250ms;

  --rounded-base: 1rem;
  --rounded-sm: 0.7rem;
}

html,
body {
  height: 100%;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 400;
  background: var(--background);
  color: var(--foreground);
  position: relative;
  letter-spacing: 0.5px;
  line-height: 1.48;
}

a,
input,
button,
textarea * {
  transition-duration: var(--transition-duration);
}

.primary-btn {
  background-color: var(--primary);
  color: var(--white);
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 500;
  border-radius: var(--rounded-sm);
}

.primary-btn:hover {
  background-color: var(--primary-hover);
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.main {
  padding-top: 100px;
  padding-bottom: 80px;
}

.container {
  max-width: 1440px;
  margin: 0px auto;
  padding: 0px 40px;
}

.security-checker__inner {
  background-color: var(--white);
  border-radius: var(--rounded-base);
  padding: 55px 50px 65px;
}

.security-checker__title {
  color: var(--primary);
  text-align: center;
  font-weight: 800;
  line-height: 1.4;
  font-size: 44px;
  margin-bottom: 20px;
}

.security-checker__description {
  text-align: center;
  max-width: 90%;
  margin: 0px auto;
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 45px;
}

.security-checker__form-box {
  display: flex;
  width: 100%;
  margin-bottom: 40px;
  border-radius: var(--rounded-sm);
}

.security-checker__form-box:focus-within {
  outline: 1px solid var(--primary-hover);
}

.security-checker__form-input {
  width: 100%;
  padding: 20px 25px;
  font-size: 18px;
  letter-spacing: 0.7px;
  border: 2px solid var(--primary);
  border-right: none;
  border-radius: 10px 0px 0px 10px;
}

.security-checker__form-input:focus {
  outline: 1px solid var(--primary-hover);
}

.security-checker__form-input::placeholder {
  color: rgba(150, 150, 150, 0.9);
}

.security-checker__form-btn {
  flex-shrink: 0;
  padding: 20px 60px;
  font-size: 20px;
  border-radius: 0px 10px 10px 0px;
}

.security-checker__form-checkboxes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 40px;
  row-gap: 20px;
}

.checkbox input[type="checkbox"] {
  display: none;
  visibility: hidden;
}

.checkbox .checkbox__label {
  margin: auto;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}

.checkbox .checkbox__label span {
  display: inline-block;
  vertical-align: middle;
  transform: translate3d(0, 0, 0);
}

.checkbox .checkbox__label span:first-child {
  position: relative;
  width: 21px;
  height: 21px;
  border-radius: 3px;
  transform: scale(1);
  vertical-align: middle;
  border: 2px solid rgba(150, 150, 150, 0.5);
  transition: all 0.2s ease;
}

.checkbox .checkbox__label span:first-child svg {
  position: absolute;
  top: 2px;
  left: 1.5px;
  fill: none;
  stroke: var(--white);
  transition: all 0.3s ease;
  transition-delay: 0.1s;
  transform: translate3d(0, 0, 0);
}

.checkbox .checkbox__label span:first-child:before {
  content: "";
  width: 100%;
  height: 100%;
  background: var(--primary);
  display: block;
  transform: scale(0);
  opacity: 1;
  border-radius: 50%;
}

.checkbox .checkbox__label span:last-child {
  padding-left: 4px;
  font-size: 15px;
}

.checkbox .checkbox__label:hover span:first-child {
  border-color: var(--primary);
}

.checkbox .checkbox__input:checked + .checkbox__label span:first-child {
  background: var(--primary);
  border-color: var(--primary);
  animation: scale 0.35s ease;
}

.checkbox .checkbox__input:checked + .checkbox__label span:first-child:before {
  transform: scale(3.5);
  opacity: 0;
  transition: all 0.6s ease;
}

@keyframes scale {
  50% {
    transform: scale(0.9);
  }
}

.results__top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 45px;
}

.results__back {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
}

.results__back:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
}

.results__title {
  font-size: 27px;
  font-weight: 600;
  word-break: break-all;
}

.results__body {
  background-color: var(--white);
  border-radius: var(--rounded-base);
  padding: 55px 50px 60px;
  overflow-x: auto;
}

.results__table {
  min-width: 800px;
  width: 100%;
  border: 1px solid #dcdcdc;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--rounded-sm);
}

.results__table tr:first-child th:first-child {
  border-top-left-radius: var(--rounded-sm);
}

.results__table tr:first-child th:last-child {
  border-top-right-radius: var(--rounded-sm);
}

.results__table tr:last-child td:first-child {
  border-bottom-left-radius: var(--rounded-sm);
}

.results__table tr:last-child td:last-child {
  border-bottom-right-radius: var(--rounded-sm);
}

.results__table th {
  font-weight: 500;
  padding: 18px;
  background: var(--primary);
  color: var(--white);
  border: 1px solid #287d78;
}

.results__table td {
  border: 1px solid #dcdcdc;
  padding: 18px;
}
