:root {
  --primary-color: #fdba1c;
  --secondary-color: #ccc;
}

.cp-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: 0.5s ease-in-out;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0);
  padding-bottom: 50px;
}
.cp-modal--medium .cp-modal-dialog {
  max-width: 600px;
}
.cp-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
}
.cp-modal-dialog {
  padding: 1rem;
  max-width: 450px;
  width: 100%;
  margin: 5vh auto 0;
  transform: scale(0.7);
  transition: 0.5s ease-in-out;
}
@media screen and (max-width: 767px) {
  .cp-modal-dialog {
    margin: 0 auto;
  }
}
.cp-modal-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1), 0 3px 20px 0 rgba(0, 0, 0, 0.1);
  opacity: 0;
}
.cp-modal-header {
  margin-bottom: 1rem;
}
.cp-modal.cp-modal--show {
  opacity: 1;
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.8);
}
.cp-modal.cp-modal--show .cp-modal-dialog {
  transform: scale(1);
}
.cp-modal.cp-modal--show .cp-modal-content {
  opacity: 1;
}

body.cp-modal-body--hidden {
  overflow: hidden;
}

.cp-modal-button {
  background-color: var(--primary-color);
  color: #fff;
}

.cp-modal-button--secondary {
  background-color: var(--secondary-color);
  color: #fff;
}

.cp-modal-title {
  font-size: 20px;
  font-weight: 700;
}