/* DPDP Act 2023 Compliant Consent Banner & Privacy Notices */
#dpdp-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17, 24, 39, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f3f4f6;
  z-index: 999999;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.dpdp-box {
  max-width: 1140px;
  margin: 0 auto;
}

.dpdp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.dpdp-box h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}


.dpdp-box p {
  margin: 0.5rem 0 1rem;
  color: #d1d5db;
  font-size: 0.9rem;
}

.dpdp-box a {
  color: #60a5fa;
  text-decoration: underline;
}

.dpdp-box a:hover {
  color: #93c5fd;
}

.dpdp-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0.75rem;
  background: rgba(31, 41, 55, 0.8);
  border: 1px solid #374151;
  border-radius: 6px;
}

.dpdp-cats label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: #e5e7eb;
  cursor: pointer;
  margin: 0;
}

.dpdp-cats input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
  accent-color: #2563eb;
}

.dpdp-cats input[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}

.dpdp-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.75rem;
}

.dpdp-btns button {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

#dpdp-rej {
  background: #374151;
  color: #f3f4f6;
  border-color: #4b5563;
}

#dpdp-rej:hover {
  background: #4b5563;
}

#dpdp-cus {
  background: transparent;
  color: #93c5fd;
  border-color: #3b82f6;
}

#dpdp-cus:hover {
  background: rgba(59, 130, 246, 0.1);
}

#dpdp-acc {
  background: #2563eb;
  color: #ffffff;
}

#dpdp-acc:hover {
  background: #1d4ed8;
}

/* Privacy Notice Component on Form Pages */
.privacy-notice {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 18px;
  margin: 20px 0;
  background: #f9fafb;
  color: #1f2937;
  font-size: 0.95rem;
}

.privacy-notice h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111827;
  margin-top: 0;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.privacy-notice h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.6rem 0 0.25rem;
  color: #374151;
}

.privacy-notice p {
  margin: 0.25rem 0 0.6rem;
  color: #4b5563;
  line-height: 1.5;
}

.privacy-notice a {
  color: #0759a5;
  font-weight: 500;
  text-decoration: underline;
}

.privacy-notice label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  cursor: pointer;
  font-weight: 500;
  color: #1f2937;
}

.privacy-notice input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #0759a5;
  width: 17px;
  height: 17px;
}

.dpdp-footer-links {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.dpdp-footer-links a {
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.dpdp-footer-links a:hover {
  color: #2563eb;
}

/* Quick Quote Footer Form Styling matching Live Site */
.quick-quote-wrap {
  background: transparent;
  padding: 0;
}
.quick-quote-wrap h4.quick-quote-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}
.quick-quote-wrap .qq-input {
  width: 100%;
  background: #ffffff !important;
  border: 1px solid #222222 !important;
  border-radius: 3px !important;
  padding: 8px 12px !important;
  font-size: 13.5px !important;
  color: #111827 !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease;
}
.quick-quote-wrap .qq-input:focus {
  border-color: #0759a5 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(7, 89, 165, 0.15) !important;
}
.quick-quote-wrap .qq-dpdp-notice {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #0759a5;
  border-radius: 4px;
  padding: 8px 10px;
  margin-top: 6px;
  margin-bottom: 10px;
}
.quick-quote-wrap .qq-dpdp-notice p {
  font-size: 11px;
  line-height: 14px;
  color: #475569;
  margin-bottom: 6px;
}
.quick-quote-wrap .qq-dpdp-notice a {
  color: #0759a5;
  text-decoration: underline;
}
.quick-quote-wrap .qq-consent-label {
  font-size: 11.5px;
  color: #1e293b;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  line-height: 15px;
}
.quick-quote-wrap .qq-consent-label input[type="checkbox"] {
  margin-top: 1px;
  accent-color: #0759a5;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.quick-quote-wrap .qq-captcha-box {
  background: #ffffff;
  border: 1px solid #222222;
  border-radius: 3px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
/* Quick Quote Submit Button States */
.quick-quote-wrap .qq-submit-btn {
  background-color: #000000 !important;
  border: 1px solid #000000 !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.quick-quote-wrap .qq-submit-btn:not(:disabled) {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}
.quick-quote-wrap .qq-submit-btn:hover:not(:disabled) {
  background-color: #7b8389 !important;
  border-color: #7b8389 !important;
  color: #ffffff !important;
}
.quick-quote-wrap .qq-submit-btn:disabled,
.quick-quote-wrap .qq-submit-btn[disabled] {
  background-color: #9ba2a8 !important;
  border-color: #8e959b !important;
  color: #ffffff !important;
  opacity: 0.7 !important;
  cursor: not-allowed !important;
}
