body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  background-color: #000000;
  color: #fff;
  font-family: Designer, sans-serif;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
}
.wallet-container__header h1 {
  font-size: 40px;
  margin-top: 100px;
  text-align: center;
  color: #fff;
}

.wallets_text__2TLgX {
  color: rgba(205, 205, 205, 0.656);
}

.wallet-container__header {
  align-items: center;
  text-align: center;
  line-height: 1.6;
}

.wallets_cover__3jnXR {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 40px;
  gap: 40px;
  justify-content: center;
  width: 80%;
  margin: auto;
  margin-top: 3rem;
}

.wallets_cover__3jnXR button {
  height: 100%;
  width: 100%;
  text-align: center;
  padding-top: 150px;
}

.wallets-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 2rem;
  gap: 0.5em;
  /* border: 2px solid blue; */
  padding: 0 3rem;
}

.wallet__content-img img {
  width: 150px;
  height: 100%;
  object-fit: contain;
}

.wallet__content {
  cursor: pointer;
  width: 340px;
  /* border: 2px solid red; */
  padding: 1rem;
  border-radius: 7px;
}

.wallet__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(61, 2, 61, 0.289),
    rgba(76, 0, 130, 0.288)
  ); /* Purple gradient */
  border: 1px solid #e0e0e05c;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px; /* Adjust as needed */
}

.wallet__content:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.wallet__content-img img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 50%;
  background-color: #ffffff; /* Light gray background */

  padding: 10px;
}

/* Add a transition for smooth scaling */
.wallet__content-img img {
  transition: transform 0.3s ease; /* Smooth scaling effect */
}

/* Scale the image on hover */
.wallet__content:hover .wallet__content-img img {
  transform: scale(1.1); /* Scale up the image slightly */
}

/* Define the infinite animation */
@keyframes scaleAnimation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Apply the animation to the image */
.wallet__content-img img {
  animation: scaleAnimation 2s ease-in-out infinite;
}

.wallet__content-text {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 1.3rem;
}

.wallet__content-text h2 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.wallet__content-text p {
  font-size: 1rem;
  color: #adadad;
  line-height: 1.5;
}

.wallet__content-text h2,
.wallet__content-text p {
  margin: 0;
}

footer {
  overflow-x: hidden;
}

.wallet-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  max-width: 100%;

  padding: 0 1rem;
  overflow-x: hidden;
}

.overbox1 {
  width: 400px;
  margin: 80px auto;
  background: white;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.3);
  padding: 20px 0px;
}
.closex {
  float: left;
  margin: 0px 20px;
  cursor: pointer;
  transition: 0.5;
  font-size: 13px;
}

.insidewidth {
  display: none;
}
.activebox {
  display: block !important;
}
.reddsdiv {
  border: 1px solid red !important;
}
.dsdiv {
  padding: 20px 20px;
  border: 1px solid rgba(192, 192, 192, 0.5);
  margin: 10px 0px;
  border-radius: 5px;
}
div,
span {
  font-family: "DM Sans", sans-serif;
}
div,
input {
  font-family: "DM Sans", sans-serif !important;
}

/* Overbox styling */
.overbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Overbox content styling */
.overbox-content {
  border-radius: 8px;
  width: 400px;
  padding: 20px;
  box-shadow: 0 4px 8px rgb(0, 0, 0);
  position: relative;
  text-align: center;
}

/* Close button */
.close-overbox {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

/* Loading spinner */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Status text */
.status-text {
  margin: 10px 0;
}

/* Login button */
.login-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: block;
}

.login-button:hover {
  background-color: #0056b3;
}

.overbox-content {
  background: linear-gradient(135deg, rgb(54, 24, 54), rgb(24, 7, 35));
  border: 1px solid#000000;
  width: 500px;
  height: 400px;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  align-items: center;
  position: relative;
  padding: 1rem;
  gap: 2em;
}

.overbox-content i {
  text-align: left;
  place-content: left;
  align-self: flex-start;
  color: #000000;
  background-color: #fff;
  border-radius: 50px;
  font-size: 0.8rem;
  padding: 0.5rem;
}

.overbox-content i:hover {
  background-color: #000000;
  color: #fff;
}
.connecting__manually {
  display: flex;
  gap: 1em;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 100%;
  border: 1px solid #dddddd1b;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
}

/* Loading spinner styles */
.loading-spinner {
  width: 15px;
  height: 15px;
  border: 4px solid #ddd;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Status text styles */
.status-text {
  font-size: 16px;
  color: #e4e4e4;
  margin-bottom: 10px;
}

/* Login button styles */
.login-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.login-button:hover {
  background-color: #0056b3;
}

.wallet__name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.wallet-details {
  color: rgba(128, 128, 128, 0.56);
  margin-bottom: 1rem;
}

.wallet-image {
  border-radius: 100px;
  border: 10px solid rgb(255, 255, 255);
  background-color: #fff;
}

.form__container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgb(54, 24, 54), rgb(24, 7, 35));
  border: 1px solid#000000;
  text-align: center;
  width: 300px;
  margin: 20px auto;
  padding: 3rem 4rem;
}

@media (max-width: 750px) {
  .form__container {
    width: 350px;
    padding: 3rem;
  }
}

.form__container h2 {
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
  /* text-align: left; */
  max-width: 400px;
  position: relative;
  max-width: 100%;
}

.form__container p {
  margin-bottom: 1rem;
  letter-spacing: 1.2;
  line-height: 1.6;
  color: #ffffff5b;
  font-size: 1rem;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 120px;
}

.textarea {
  width: 100%;
  background-color: transparent;
  border: 1px solid #ffffff3e;
  border-radius: 7px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

.textarea:focus {
  color: #fff;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.textarea::after {
  border: 1px solid #ffffff26;
}

.submit-button {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.submit-button:hover {
  background-color: #0056b3;
}

.import__buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 1rem 0;
}

.import__buttons button {
  padding: 0.5rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
}

.import__buttons button:hover {
  background-color: #0056b3;
}
.import__buttons button.active {
  background-color: #042e5c;
  color: #fff;
  border: none;
}

.password {
  height: 30px !important;
  width: 200px;
  background-color: transparent;
}

.password {
  width: 100%;
  background-color: transparent;
  border: 1px solid #ffffff3e;
  border-radius: 7px;

  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

.password:focus {
  color: #fff;
  font-weight: 500;
}

.password::after {
  border: 1px solid #ffffff26;
}

.form-group textarea {
  width: 100%;
  background-color: transparent;
  border: 1px solid #ffffff3e;
  border-radius: 7px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

.form-group textarea:focus {
  color: #fff;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.form-group textarea::after {
  border: 1px solid #ffffff26;
}

@media (max-width: 750px) {
  /* .overbox {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  } */
  .overbox-content {
    padding: 1rem;
    margin-inline: auto;
    justify-content: center;
    max-width: 85%;
  }
  .form__container {
    max-width: 70%;
  }
}

.hidden {
  display: none;
}

#loading {
  font-size: 14px;
  color: gray;
}

#connected {
  font-size: 14px;
  color: #fff;
}

textarea {
  color: #fff;
}

.Connecting-process-container {
  z-index: 99;
}

.Connecting-process-container {
  /* position: absolute; */
  display: flex;
  /* top: -50%; */
  /* left: 0; */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgb(54, 24, 54), rgb(24, 7, 35));
  border: 1px solid#000000;
  text-align: center;
  width: 300px;
  min-height: 350px;
  margin: 20px auto;
  padding: 3rem 4rem;
}

@media (max-width: 750px) {
  .Connecting-process-container {
    width: 73%;
    padding: 3rem;
  }
}

.error_occur-content img {
  width: 250px;
  height: 250px;
  object-fit: contain;
}

.a-spinner img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
