body {
  margin: 0;
  padding: 0;
}
.noto {
  font-family: 'Noto Serif', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  box-sizing: border-box;
}
.sira {
  font-family: 'Saira', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  box-sizing: border-box;
}

.container {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  justify-content: space-between;
  gap: 10px;
}

.card {
  flex: 1 1 150px;
  max-width: 100%;
  padding: 20px;
  background-color: white;
  border-radius: 0px;
  box-shadow: -1px -1px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pay-button {
  /* background-color: #632cd3; */
  background-color: #8356dc;
  color: white;
  padding: 8px 25px;
  border-radius: 4px;
  text-decoration: none;
}

.ripple-button {
  position: relative;
  overflow: hidden;
  border: none;
  outline: none;
  background-color: transparent;
  transition: background-color 0.2s ease;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: #000;
}

.ripple-button:hover {
  background-color: rgba(244, 244, 244, 0.1); /* Add the highlight color you want when hovering */
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
/* toolbar */
.mat-theme {
  background: #632cd3;
}
.my-nav {
  box-shadow: 0 3px 3px -2px #0003, 0 3px 4px #00000024, 0 1px 8px #0000001f;
  height: 48px;
  background: #632cd3;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.menu-icon-container {
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: all 300ms ease;
  border-radius: 50%;
}
.menu-icon {
  position: relative;
  display: block;
  width: 15px;
  height: 1px;
  background: rgb(255, 255, 255);
  border-radius: 1px;
  cursor: pointer;
}
.menu-icon:before {
  content: '';
  position: absolute;
  left: 0;
  top: -5px;
  display: block;
  width: 9px;
  height: 1px;
  background: rgb(255, 255, 255);
  border-radius: 1px;
  transition: all 300ms ease;
}
.menu-icon:after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 9px;
  height: 1px;
  background: rgb(255, 255, 255);
  border-radius: 1px;
  transition: all 300ms ease;
}

.material-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input-container {
  position: relative;
  width: 300px;
  margin-bottom: 20px;
}

.input-field,
textarea {
  width: 100%;
  padding: 24px 10px 5px 5px;
  font-size: 16px;
  border-radius: 5px 5px 0 0;
  border: none;
  transition: border-bottom 300ms;
  border-bottom: 2px solid #999;
  background-color: transparent;
  outline: none;
  transition: border-color 3s ease;
}

input[type='text'],
input[type='email'],
input[type='tel'],
textarea {
  background-color: #f5f5f5;
  box-sizing: border-box;
}

.input-label {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  padding: 20px 5px 5px 5px;
  font-size: 16px;
  color: #777;
  transition: 0.2s ease all;
}

.input-field:focus ~ .input-label,
.input-field:valid ~ .input-label,
textarea:focus ~ .input-label,
textarea:not(:placeholder-shown) ~ .input-label {
  top: -15px;
  left: 5px;
  font-size: 12px;
  color: #007bff;
}

textarea {
  background-color: #f5f5f5;
  resize: none;
}

.hint {
  position: relative;
  color: #777;
  font-size: 12px;
}

.input-focus-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #007bff;
  transition: 0.4s ease all;
}
textarea ~ .input-focus-border {
  position: absolute;
  bottom: 4.5px;
}

/* textarea:placeholder-shown ~ .input-focus-border {
  width: 0;
  transition: 0.4s ease all;
} */

.input-field:focus ~ .input-focus-border,
textarea:focus ~ .input-focus-border {
  width: 100%;
  transition: 0.4s ease all;
}

.material-button {
  padding: 10px 20px;
  border: none;
  background-color: #007bff;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.material-button:hover {
  background-color: #0056b3;
}

.material-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.loading-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #5469d4;
  color: #ffffff;
  border-radius: 4px;
  border: 0;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
  width: 100%;
}

.button-text {
  display: inline-block;
  vertical-align: middle;
  font-family: 'Noto Serif', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.loader {
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0; /* Initially hide the loader */
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.loading-button.loading .button-text {
  opacity: 0; /* Hide the button text when loading */
}

.loading-button.loading .loader {
  opacity: 1; /* Show the loader when loading */
}

.loading-button:hover:not(.loading),
.loading-button:focus:not(.loading) {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.loading-button:disabled {
  opacity: 0.7; /* Lower opacity when disabled */
  cursor: not-allowed;
}
.error-message {
  display: none;
  color: #d50000; /* Red color for error messages */
  font-size: 12px;
  margin-top: 5px;
}
