.erm-popup { display:none; position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.6); z-index:9999; }
.erm-popup-content { background:#fff; width:300px; margin:100px auto; padding:20px; border-radius:10px; text-align:center; }
.erm-close { float:right; cursor:pointer; font-size:20px; }

.nav-tab-wrapper {
    margin-bottom: 15px;
}

.widefat th, .widefat td {
    text-align: left;
    vertical-align: middle;
}

/* Popup background overlay */
.erm-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

/* Popup box */
.erm-popup-content {
  background: #fff;
  border-radius: 8px;
  max-width: 420px;
  margin: 100px auto;
  padding: 30px;
  text-align: left;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  font-family: 'Roboto', sans-serif;
}

/* Close button */
.erm-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 26px;
  cursor: pointer;
  color: #333;
}

/* Title & text */
.erm-title {
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
  color: #111;
}

.erm-subtext {
  text-align: center;
  font-size: 14px;
  color: #444;
  margin-bottom: 20px;
}

/* Input styles */
#ebookForm input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f9f9f9;
  font-size: 14px;
}

#ebookForm label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 6px;
}

/* Submit button */
.erm-submit-btn {
  background: #444;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
margin-top: 20px;
}

.erm-submit-btn:hover {
  background: #000;
}

/* Fancy download button */
.erm-download-btn {
  background: linear-gradient(90deg, #3a7bd5, #00d2ff);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.erm-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}
