/* HVAC Checks shared footer, social popup, and privacy controls */
.footerContent {
  margin: auto 0;
  text-align: center;
}

.footerContent p {
  padding-left: 5%;
  padding-right: 5%;
}

.socialIcons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.icon {
  width: 30px;
  height: 30px;
  transition: transform 0.3s, filter 0.3s;
}

.icon:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.image1 {
  display: none;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.contact-btn,
.contact-btn2 {
  display: inline-block;
  padding: 1px 10px;
  color: #2850a5;
  background-color: #eef4ff;
  border: 1px solid #a9bee9;
  border-radius: 5px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-btn:hover,
.contact-btn2:hover {
  color: #2850a5;
  background-color: #dbe8ff;
}

.popup {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: min(360px, calc(100vw - 32px));
  height: auto;
  padding: 0;
  background: transparent;
  z-index: 50;
  pointer-events: none;
}

.popup-content {
  width: 100%;
  max-width: 360px;
  margin: 0;
  padding: 20px;
  color: #1a1a2e;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  text-align: center;
  pointer-events: auto;
}

.close-btn {
  width: auto;
  height: auto;
  min-height: 44px;
  padding: 10px 20px;
  margin-top: 20px;
  color: #2850a5;
  background: #eef4ff;
  border: 1px solid #a9bee9;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.close-btn:hover {
  color: #2850a5;
  background-color: #dbe8ff;
  border-color: #a9bee9;
}

#platform-name {
  color: #007bff;
  font-weight: bold;
}

.privacy-popup {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: auto;
  width: min(420px, calc(100vw - 24px));
  padding: 14px 16px;
  color: #333;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
  z-index: 60;
  font-size: 12px;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.privacy-popup-content {
  display: grid;
  gap: 10px;
  text-align: left;
}

.privacy-popup-content p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  color: #334155;
}

.privacy-popup-content a {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
}

.privacy-popup-content a:hover {
  text-decoration: underline;
}

.privacy-popup-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.privacy-btn {
  width: auto;
  height: auto;
  min-width: 96px;
  padding: 10px 14px;
  color: #2850a5;
  background: #eef4ff;
  border: 1px solid #a9bee9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.privacy-btn:hover,
.privacy-btn.secondary:hover {
  color: #2850a5;
  background: #dbe8ff;
  border-color: #a9bee9;
}

.privacy-btn.secondary {
  color: #2850a5;
  background: #eef4ff;
}

.privacy-settings-panel {
  max-width: 720px;
  margin: 20px auto;
  padding: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.privacy-settings-panel h2,
.privacy-settings-panel p {
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}

.privacy-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.privacy-settings-actions button {
  width: auto;
  height: auto;
}

#privacy-policy-status {
  margin-top: 10px;
  color: #1e3a8a;
  font-weight: 600;
}

@media (max-width: 600px) {
  .popup,
  .privacy-popup {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 12px;
  }

  .popup-content {
    max-width: none;
  }

  .socialIcons {
    justify-content: center;
  }
}
