/* Modal Background */
.qb-modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Dialog */
.modal-dialog {
  position: relative;
  margin: 10% auto;
  max-width: 320px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.withdraw-dialog {
  max-width: 425px;
}

.w-footer {
  font-size: 14px;
}

/* Modal Content */
.qb-modal-content {
  position: relative;
  padding: 20px;
  text-align: center;
}

/* Close Button */
.btn-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}

.btn-close:hover {
  color: #000;
}

/* Modal Header */
.modal-header {
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 10px;
}

/* Modal Body */
.qb-modal-body {
  padding: 15px;
}

.confirm-text {
  font-size: 16px;
  color: #333;
}

/* Modal Footer */
.modal-footer {
  display: flex;
  justify-content: space-evenly;
  padding-top: 15px;
}

.modal-footer button {
  width: fit-content;
  max-width: 122px;
  height: 40px;
  margin: 5px;
  padding: 0px !important;
  border-radius: 4px;
}

.grid-center {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

/* Responsive Design */
@media (max-width: 480px) {
  .modal-dialog {
    width: 90%;
    margin: 20% auto;
  }
}

@media (max-width: 768px) {
  .modal-footer {
    font-size: 14px;
  }
}
