*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  --primary-color: #17a2aa;
}

legend,
.bx {
  font-size: 1.3rem;
  font-weight: 700px;
}

.box-container {
  display: flex;
  gap: 0.4rem;
}

/* Hide default radio style */
.checkbox-input {
  opacity: 0;
  visibility: hidden;
  margin: 0;
}

/* Change icon, border and text color when radio is checked */
.checkbox-input:checked + .checkbox-tile,
.checkbox-input:checked + .checkbox-tile span {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Checkbox display */
.checkbox-input:checked + .checkbox-tile::before {
  transform: scale(1);
  opacity: 1;
  background-color: var(--primary-color);
  background-color: var(--primary-color);
}

/* Checkbox icon and text */
.checkbox-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 22rem;
  height: 70px;
  border-radius: 5px;
  border: 2px solid #ccc;
  transition: 0.1s ease;
  cursor: pointer;
  position: relative;
}

.checkbox-tile:hover {
  border-color: #999;
}

/* Checkmark (icon inside checker) */
.checkbox-tile::before {
  content: "";
  position: absolute;
  display: block;
  width: 1rem;
  height: 1rem;
  background-color: #fff;
  border-radius: 50%;
  top: 0.25rem;
  left: 0.25rem;
  opacity: 0;
  transform: scale(0);
  transition: 0.25s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
  border: 2px solid var(--primary-color);
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

/* social media btn */

a {
  color: var(--primary-color);
}

p {
  margin: 1rem 0;
}
.btn-social{
    display: inline-table;
    width: 35%;
    height: 14%;
    background: #f1f1f1;
    margin: 10px;
    border-radius: 30%;
    box-shadow: 0 5px 15px -5px #21384a;
    color: #17a2aa;
    overflow: hidden;
    position: relative;

}
.social-icon{
    width: 100%;
    text-align: center;

}
.btn-social i{
  line-height: 54px;
  font-size: 26px;
  transition: 0.2s linear;
}
.btn-social:hover i{
  transform: scale(1.3);
  color: #f1f1f1;
}
.btn-social::before{
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: #17a2aa;
  transform: rotate(45deg);
  left: -110%;
  top: 90%;
}
.btn-social:hover::before{
  animation: aaa 0.7s 1;
  top: -10%;
  left: -10%;
}
@keyframes aaa {
  0%{
    left: -110%;
    top: 90%;
  }50%{
    left: 10%;
    top: -30%;
  }100%{
    top: -10%;
    left: -10%;
  }
}
.d-content{
    display: contents;
}

/* login btn */
.btn-login{
  padding: 12px 35px 0px 0px;
  display: flex !important;
}
.btn-login .upsale-button,.block {
  position: relative;
  z-index: 0;
  height: 40px;
  overflow: hidden;
  border: none !important;
  padding: 0 !important;
  background: hwb(183 9% 33%) !important;
  background: white;
  border-radius: 8px;
  width: 150px;
  text-align: center;
  box-shadow: 0 4px 50px 0 rgb(0 0 0 / 7%);
  transition: .2s all linear;
  text-decoration: initial;
}

.btn-login .upsale-button span,.block i{
  position: relative;
  z-index: 1;
  height: calc( 100% - 4px );
  width: calc( 100% - 4px );
  top: 2px;
  left: 2px;
  align-items: center;
  display: flex;
  justify-content: center;
  border-radius: 8px;
  color: white;
  background: #17a2aa;
}

.btn-login .upsale-button:after,.block:before, .block:after{
  content: "";
  position: absolute;
  z-index: -2;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 50% 50%, 50% 50%;
  background-position: 0 0, 100% 0, 100% 100%, 0 100%;
  background-image: linear-gradient(90deg, rgba(255,255,255,0)    0%, #ffffff 50%, rgba(255,255,255,0) 100%);
  -webkit-animation: rotate 2s linear infinite;
  animation: rotate 2s linear infinite;
}

@-webkit-keyframes rotate {
  100% {
      transform: rotate(360deg);
  }
}

@keyframes rotate {
  100% {
      transform: rotate(360deg);
  }
}
.block{
  height: 50px;
  width: 50px; 
}

/* brand logo */
.test-box .item{
  height: 150px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 25px 40px #1687d933;
 
                     
 }
 .item:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); 
}
 .test-box .item img{
     background-color: #ffffff;
     width:  85px;
     height: 85px;
     border-radius: 50%;
     margin: 7px;
     transform: translateY(-50%);
     border: 3px solid #17a2aa;
 }
 .test-box .item p{
     margin-top: -44px;
     font-family: inherit !important;
     text-align: center;
 }
 .test-box .item p small{
     font-size: 70%;
 }
 .test-box .item small{
 display: block;
 }