
.ppg-open-btn{
    padding:12px 20px;
    background:#0073aa;
    color:#fff;
    border:none;
    cursor:pointer;
}

.mfp-img{
    max-height:85vh !important;
}

.ppg-thumbs img {
    width: 80px;
    height: auto;
    margin: 5px;
    border: 1px solid #ccc;
}

.ppg-pdf {
    display: inline-block;
    padding: 10px;
    background: #f1f1f1;
    margin: 5px;
    font-weight: bold;
}


.mfp-content {
  max-width: 85vw !important;
}

.mfp-img {
  max-height: 85vh !important;
}

#ppg-password-modal {
	position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;

}

#ppg-password-modal .box {
  background: #fff;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}



/* Modal Box */
.ppg-modal-box {
  border-radius: 6px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: #f7efe6;
	padding: 28px 32px;
	width: 100%;
	max-width: 420px;
	border-radius: 6px;
	box-shadow: 0 25px 60px rgba(0,0,0,0.3);
	text-align: center;
}

/* Heading */
.ppg-modal-box h3 {
  margin-bottom: 10px;
  font-size: 22px;
  color: #333;
}

/* Text */
.ppg-modal-box p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* Input */
#ppg-password-input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  border-radius:4px;
}

/* Buttons */
.ppg-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}


.ppg-modal-actions button {
  padding: 10px 45px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  border-radius:4px;
}

#ppg-submit-password {
  background: #ddd;
  color: #222;
}

#ppg-cancel-password {
  background: #ddd;
}





.ppg-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;

  /* CENTER FIX */
  display: flex;
  align-items: center;
  justify-content: center;
}
.ppg-modal-box {
  position: relative;
  margin: auto;
}


/* join popup  */
#ppg-join-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;
}


#ppg-join-modal .ppg-modal-box {
    background: #f7efe6;
    padding: 28px 32px;
    width: 100%;
    max-width: 420px;
    border-radius: 6px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    text-align: center;
}

#ppg-join-modal input[type="email"] {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #c9bfb5;
    font-size: 14px;
	border-radius:4px;
}

#ppg-join-modal .ppg-modal-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

#ppg-submit-join {
	background: #ddd;
	color: #212121;
	border: none;
	padding: 8px 45px;
	cursor: pointer;
	border-radius: 4px;
}

#ppg-cancel-join {
    background: #ddd;
    border: none;
    padding: 8px 45px;
    cursor: pointer;
	border-radius: 4px;
}

.ppg-join-success h3 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #2e2e2e;
}

.ppg-join-success p {
    font-size: 14px;
    color: #555;
}

.ppg-error {
    margin-top: 6px;
    font-size: 13px;
    color: #c0392b; /* soft red */
}

#ppg-join-email.error {
    border-color: #c0392b;
}


#ppg-password.error {
    border-color: #c0392b;
}
.mfp-close{
	cursor:pointer!important;
}
.ppg-join-trigger a:hover{
	text-decoration:none!important;
}

.ppg-join-trigger a:active, a:focus, a:hover{
	text-decoration:none!important;
}