/* overlay */
.cf-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  transition: opacity .25s ease;
}
.cf-overlay.visible { display:block; opacity:1; }

/* popup base */
.cf-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.95);
  width: 92%;
  max-width: 480px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform .3s ease, opacity .25s ease;
  opacity: 0;
}
.cf-popup.visible { display:block; opacity:1; transform: translate(-50%, -50%) scale(1); }
.cf-popup.enter { transform: translate(-50%, -50%) scale(.98); }
.cf-popup.leave { transform: translate(-50%, -50%) scale(.95); opacity:0; }

/* inner */
.cf-popup__inner { padding: 20px; }
.cf-popup__inner h3 {text-align: center; padding-bottom: 10px;}
.cf-popup__close { position: absolute; right: 15px; top: 15px; background:transparent; border:0; font-size:32px; cursor:pointer; }

/* form elements */
.cf-form input[type="text"], .cf-form input[type="email"], .cf-form input[type="tel"], .cf-form textarea, .cf-form select {
  display:block;
  width:100%; padding:10px; margin:8px 0; border:1px solid #ddd; border-radius:6px; box-sizing:border-box;
}
.cf-form button { background:#24b9d7; color:#fff; font-weight: 700; padding:10px; border:0; width:100%; border-radius:6px; cursor:pointer; }
.cf-categories {
  margin-bottom: 15px;
}

.cf-checkbox {
  margin: 4px 0;
}

.cf-checkbox input[type="checkbox"] {
  margin-right: 6px;
}

/* small helpers */
.cf-top-buttons .cf-btn { margin-right:8px; }

/* buttons */
.cf-btn {
    border: 0;
    background: #24b9d7;
    color: #fff;
    font-weight: 700;
    padding: 7px 15px;
    border-radius: 10px;
    cursor: pointer;
}
.cf-top-buttons {
    margin-left: 14vw;
    display: inline-block;
}
.cf-nav1 {
    display: inline-block;
    padding-left: 15px;
}
.cf-nav1 .cf-btn {
    background: #6aca27;
}