/* ===============================
   BUTTON (matches your screenshot)
================================= */

.rdg-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 32px;
  min-height: 52px;
  border-radius: 0; /* no rounded corners */
  border: 0;
  background: #4aa35c;
  color: #fff;
  font-family: "ITC Franklin Gothic", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .5px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.rdg-btn:hover{
  opacity: .95;
}
.rdg-btn:focus{
  outline: 2px solid rgba(74,163,92,.35);
  outline-offset: 2px;
}


/* ===============================
   LIGHTBOX DIALOG
================================= */

dialog.rdg-dialog{
  border: 0;
  padding: 0;
  width: min(600px, calc(100% - 40px)); /* reduced width */
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  font-family: "ITC Franklin Gothic", sans-serif;
}

dialog.rdg-dialog::backdrop{
  background: rgba(0,0,0,.55);
}


/* ===============================
   PANEL CONTENT
================================= */

.rdg-panel{
  background:#fff;
  border-radius: 8px;
  padding: 28px 28px 24px;
  position: relative;
}

.rdg-title{
  font-size:20px;
  font-weight:800;
  margin: 0 0 18px;
}

.rdg-note{
  font-size:14px;
  opacity:.8;
  margin-top:14px;
}


/* Close button */
.rdg-x{
  position:absolute;
  top:14px;
  right:16px;
  border:0;
  background:transparent;
  font-size:26px;
  cursor:pointer;
  line-height:1;
}


/* ===============================
   CF7 FORM STYLING (cleaner look)
================================= */

.rdg-form input[type="text"],
.rdg-form input[type="email"],
.rdg-form textarea{
  width:100%;
  padding:14px 14px;
  border:1px solid #3aa356;
  border-radius: 4px;
  font-family: "ITC Franklin Gothic", sans-serif;
  font-size:15px;
  margin-top:6px;
  margin-bottom:0px;
}

.rdg-form input[type="submit"]{
  background:#4aa35c;
  border:0;
  border-radius:0; /* no rounded corners */
  padding:14px 28px;
  color:#fff;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
}

.rdg-form input[type="submit"]:hover{
  opacity:.95;
}

.rdg-bypass{
  margin-top:16px;
  text-align:center;
}

.rdg-bypass a{
  font-family: "ITC Franklin Gothic", Arial, sans-serif;
  font-size:14px;
  color:#555;
  text-decoration:underline;
}

.rdg-bypass a:hover{
  color:#000;
}