/*cCreado por Gianmattus-Programmer */

/* Google Fonts(Poppins) */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e8e8;
}

.card {
  width: 320px;
  background: #fff;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

.heading {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card label {
  position: relative;
  height: 65px;
  padding-inline: 18px;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-radius: 10px;
}

.card label:hover {
  background: rgba(0, 0, 0, 0.05);
}

.card label:has(:checked) {
  border: 1px solid #4070f4;
  color: #4070f4;
  background: #4070f415;
}

.card label i {
  font-size: 25px;
}

.card label input {
  display: none;
}

.card label .btn {
  width: 20px;
  height: 20px;
  border: 1px solid #222;
  border-radius: 50%;
  position: absolute;
  right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card label:has(:checked) .btn {
  border-color: #4070f4;
}

.card label .btn::before {
  position: absolute;
  content: "";
  width: 13px;
  height: 13px;
  background: #4070f4;
  border-radius: 50%;
  transform: scale(0);
  transition: 0.3s;
}

.card label:has(:checked) .btn::before {
  transform: scale(1);
}
