/* CollegeDekho lead-capture popups — shared styles
   Used by form-popup.html, otp-popup.html, thank-you-popup.html (via popups.js) */

.pp-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(17, 17, 17, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Mulish', system-ui, sans-serif;
  display: none;
}

.pp-modal {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(17, 17, 17, .34);
}

.pp-head {
  background: #e9ecff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pp-logo { height: 26px; width: auto; display: block; }
.pp-close {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: #4A5170;
  padding: 0 4px;
}

.pp-content { padding: 26px 28px 30px; }

.pp-content a { color: #f5a041; text-decoration: none; }

.pp-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #1A2140;
  margin: 0 0 6px;
}
.pp-sub {
  margin: 0 0 22px;
  font-size: 13.5px;
  color: #4A5170;
  line-height: 1.5;
}
.pp-sub strong { color: #1A2140; }

.pp-fields { display: flex; flex-direction: column; gap: 14px; }
.pp-field { display: block; }
.pp-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #1A2140;
  margin-bottom: 6px;
}
.pp-input {
  width: 100%;
  border: 1px solid #D7DBEF;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'Mulish', system-ui, sans-serif;
  font-size: 14px;
  color: #1A2140;
  outline: none;
}
.pp-input:focus { border-color: #3f53d9; }

.pp-phone {
  display: flex;
  align-items: stretch;
  border: 1px solid #D7DBEF;
  border-radius: 10px;
  overflow: hidden;
}
.pp-phone:focus-within { border-color: #3f53d9; }
.pp-cc {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #F3F4FB;
  font-size: 14px;
  font-weight: 600;
  color: #4A5170;
  border-right: 1px solid #D7DBEF;
}
.pp-input--bare {
  flex: 1;
  border: none;
  border-radius: 0;
  width: auto;
}

.pp-err {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #C4551F;
}

.pp-btn {
  width: 100%;
  margin-top: 22px;
  border: none;
  cursor: pointer;
  background: #3f53d9;
  color: #fff;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px;
  border-radius: 11px;
}
.pp-btn:hover { background: #3241b0; }

.pp-fine {
  margin: 14px 0 0;
  text-align: center;
  font-size: 11.5px;
  color: #8A90A8;
  line-height: 1.5;
}

/* OTP */
.pp-otp {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.pp-otp input {
  width: 56px;
  height: 60px;
  text-align: center;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #1A2140;
  border: 1.5px solid #D7DBEF;
  border-radius: 12px;
  outline: none;
}
.pp-otp input:focus { border-color: #3f53d9; }

.pp-resend {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #4A5170;
}
.pp-resend-link { color: #f5a041; font-weight: 700; cursor: pointer; }
.pp-edit {
  margin-top: 10px;
  text-align: center;
  font-size: 12.5px;
  color: #8A90A8;
  cursor: pointer;
}

/* Thank you */
.pp-thanks { padding: 36px 28px 34px; text-align: center; }
.pp-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e9ecff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.pp-thanks .pp-title { margin-bottom: 10px; }
.pp-thanks-msg {
  margin: 0 auto 26px;
  font-size: 14px;
  color: #4A5170;
  line-height: 1.6;
  max-width: 300px;
}
