  .clickable-shadow {
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 0.5rem;
    cursor: pointer;
  }

  .clickable-square {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
  } 
  
  .clickable-shadow:hover, .clickable-square:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
  }
  
  .clickable-shadow:active {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transform: translateY(0);
  }
  
  /* Icon styling */
  .icon-button {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }
  
  .google-icon {
    height: 2rem;
    width: auto;
  }
  
  .linkedin-icon {
    height: 2rem;
    width: auto;
    fill: #0A66C2;
  }
  
  /* Form visibility toggle */
  .hidden-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  
  .email-form {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
#email-login-toggle:checked + form {
  max-height: 200px;
padding-top: 1em;
}

/* Container */
.checkbox-wrapper {
  position: relative;
  display: inline-block;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
}

/* Hide native checkbox */
.checkbox-wrapper input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
  cursor: pointer;
}

/* Custom checkbox square */
.checkbox-custom {
  display: inline-block;
  width: 25px;
  height: 25px;
  background-color: transparent;
  border: 3px solid darkblue;
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 8px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid #000;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}


@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-6px); }
  100% { transform: translateX(0); }
}

/* Improved error styling for checkbox */
.checkbox-wrapper.error .checkbox-custom {
  animation: shake 0.3s ease;
  border-color: #e53935 !important;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.3);
}


/* Checkmark */
.checkbox-custom::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Show checkmark when checked */
.checkbox-wrapper input:checked ~ .checkbox-custom::after {
  display: block;
}


