* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
  animation: fadeInBody 1s ease-in-out forwards; /* Fade-in effect on the body */
}

.background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: white;
  background-image: url('https://i.ibb.co/sVY5XqS/money-icon.png');
  background-repeat: repeat;
  background-size: 50px 50px;
}

.container {
  width: 400px;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1),
              0 5px 12px -2px rgba(0, 0, 0, 0.1),
              0 18px 36px -6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.container:hover {
  transform: scale(1.02);
}

.container .title {
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 20px;
}

.container form input {
  display: none;
}

.container form .category {
  margin-top: 10px;
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 15px;
}

.category label {
  height: 145px;
  padding: 20px;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 5px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  animation: fadeIn 0.5s ease-in-out;
}

.category label:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.category label.paypalMethod:hover {
  background-color: rgba(0, 123, 255, 0.895);
}

.category label.bankingMethod:hover {
  background-color: rgba(255, 193, 7, 0.937);
}

.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 50%;
  border: 2px solid #005822;
  transition: transform 0.2s ease;
}

input:checked + label .check {
  display: flex;
  transform: scale(1);
}

input:checked + label {
  background-color: rgba(0, 230, 118, 0.2);
}

label .imgName {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 10px;
}

.imgName span {
  font-family: Arial, Helvetica, sans-serif;
  position: absolute;
  top: 72%;
  transform: translateY(-72%);
  transition: color 0.2s;
}

.category label:hover .imgName span {
  color: #ffffff;
}

.imgName .imgContainer {
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 35%;
  transform: translateY(-35%);
}

img {
  width: 50px;
  height: auto;
}

.check {
  display: none;
  position: absolute;
  top: -4px;
  right: -4px;
}

.check i {
  font-size: 18px;
}

.return-link {
  margin-top: 20px;
  text-align: center;
}

.return-link a {
  color: #005611;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.return-link a:hover {
  color: #00a71f;
}

.return-link i {
  margin-right: 5px;
}

/* Fade-in animation for everything */
.fadeInAnimation {
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade-in animation on body */
@keyframes fadeInBody {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}