/* The modal (background) */
.mymodal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.mymodal h1 {
  color: #333;
  text-align: center;
  margin-top: 50px;
}

/* Modal Content */
.mymodal .mymodal-content {
  background-color: #fefefe;
  margin: 50px auto;
  padding: 20px;
  border: 1px solid #888;
  width: calc(100% - 10px);
  max-width: 400px;
  box-sizing: border-box;
}

/* Close Button */
.mymodal .close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.mymodal .close:hover,
.mymodal .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.my-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.my-form label {
  font-weight: bold;
  margin-bottom: 10px;
}

.my-form input[type="text"],
.my-form input[type="email"],
.my-form input[type="password"] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border: none;
  border-radius: 4px;
}

.my-form input[type="submit"] {
  background-color: #4caf50;
  color: white;
  padding: 14px 20px;
  margin: 20px 0 10px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.my-form input[type="submit"]:hover {
  background-color: #45a049;
}

.my-form input[type="submit"]:focus {
  outline: none;
}

.my-form input[type="submit"]:active {
  transform: translateY(2px);
}

.my-form input[type="text"]:focus,
.my-form input[type="email"]:focus,
.my-form input[type="password"]:focus {
  outline: none;
  border: 2px solid #4caf50;
}

@media (max-width: 768px) {
  .my-form {
    width: 90%;
  }
  
  .mymodal .mymodal-content {
    margin: 25px auto;
  }
}

@media (max-width: 480px) {
  .my-form input[type="submit"] {
    margin: 10px 0;
  }
}

.transfer-form-container {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 20px;
  margin: 50px auto;
  max-width: 500px;
  box-shadow: 0 0 10px #ccc;
}

.transfer-form label {
  display: block;
  margin-bottom: 10px;
  color: #333;
}

.transfer-form input[type="text"],
.transfer-form input[type="number"] {
  display: block;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.transfer-form button {
  background-color: #4caf50;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.transfer-form button:hover {
  background-color: #3e8e41;
}

.check-name-container {
  display: flex;
  margin-bottom: 35px;
}

.check-name-container button {
  padding: 0 20px;
}

.transfer-form button:disabled,
.transfer-form button:hover:disabled {
  background-color: gray;
}

.transfer-form #recipient-name {
  flex: 1;
  display: inline-block;
  height: 32px;
  line-height: 30px;
  background-color: #e1e1e13d;
  border-radius: 10px;
  text-align: center;
  margin: 0 5px;
  padding: 0 17px;
  font-weight: bold;
  color: #4caf50;
}

.transfer-form .error {
  color: #ff0000;
  font-size: 12px;
  margin-top: 5px;
}

#myloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
}

.myloader-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.transfer-success table {
  width: 100%;
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
}

.transfer-success table tr td {
  padding: 7px;
}

.transfer-success table tr td span {
  font-weight: bold;
}

.transfer-success .success-icon {
  font-size: 50px;
  color: #4caf50;
  margin-bottom: 20px;
}



    /****************************************************************************/
    /** checkmarks
    /****************************************************************************/


    .checkmark.checkmark-cross .checkmark__circle {
      stroke-dasharray: 166;
      stroke-dashoffset: 166;
      stroke-width: 2;
      stroke-miterlimit: 10;
      stroke: red;
      fill: none;
      animation: stroke-cross 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  }

  .checkmark.checkmark-cross {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: inline-block;
      stroke-width: 2;
      stroke: #fff;
      stroke-miterlimit: 10;
      box-shadow: inset 0px 0px 0px red;
      animation: fill-cross .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
  }

  .checkmark.checkmark-cross .checkmark__check {
      transform-origin: 50% 50%;
      stroke-dasharray: 29;
      stroke-dashoffset: 29;
      animation: stroke-cross 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  }

  @keyframes stroke-cross {
      100% {
          stroke-dashoffset: 0;
      }
  }

  @keyframes scale-cross {

      0%,
      100% {
          transform: none;
      }

      50% {
          transform: scale3d(1.1, 1.1, 1);
      }
  }

  @keyframes fill-cross {
      100% {
          box-shadow: inset 0px 0px 0px 30px red;
      }
  }

  .checkmark.checkmark-check .checkmark__circle {
      stroke-dasharray: 166;
      stroke-dashoffset: 166;
      stroke-width: 2;
      stroke-miterlimit: 10;
      stroke: #7ac142;
      fill: none;
      animation: stroke-check 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards
  }

  .checkmark.checkmark-check {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: inline-block;
      stroke-width: 2;
      stroke: #fff;
      stroke-miterlimit: 10;
      box-shadow: inset 0px 0px 0px #7ac142;
      animation: fill-check .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both
  }

  .checkmark.checkmark-check .checkmark__check {
      transform-origin: 50% 50%;
      stroke-dasharray: 48;
      stroke-dashoffset: 48;
      animation: stroke-check 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards
  }

  @keyframes stroke-check {
      100% {
          stroke-dashoffset: 0
      }
  }

  @keyframes scale-check {

      0%,
      100% {
          transform: none
      }

      50% {
          transform: scale3d(1.1, 1.1, 1)
      }
  }

  @keyframes fill-check {
      100% {
          box-shadow: inset 0px 0px 0px 30px #7ac142
      }
  }

