/* DPDPA Compliance — Cookie Consent Banner Styles (Bottom Bar) */

#appg-consent-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #222;
  color: #fff;
  padding: 16px 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

/* Hide banner if consent was already given */
#appg-consent-overlay.hidden {
  display: none;
}

#appg-consent-card {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 0;
  background: none;
  box-shadow: none;
}

#appg-consent-card h5 {
  display: none;
}

#appg-consent-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
  min-width: 200px;
}

#appg-consent-card p:last-of-type {
  margin-bottom: 0;
}

#appg-consent-card a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

#appg-consent-card a:hover {
  color: #fff;
}

/* Button container */
#appg-consent-card > div {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  margin-top: 0;
  white-space: nowrap;
}

#appg-consent-accept,
#appg-consent-decline {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

#appg-consent-accept {
  background-color: #fff;
  color: #222;
}

#appg-consent-accept:hover {
  background-color: #f0f0f0;
}

#appg-consent-decline {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

#appg-consent-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

#appg-consent-accept:active,
#appg-consent-decline:active {
  transform: scale(0.95);
}

/* Mobile responsive */
@media (max-width: 768px) {
  #appg-consent-overlay {
    flex-direction: column;
    padding: 12px 16px;
    gap: 12px;
  }

  #appg-consent-card {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  #appg-consent-card p {
    font-size: 12px;
    min-width: auto;
  }

  #appg-consent-card > div {
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }

  #appg-consent-accept,
  #appg-consent-decline {
    padding: 8px 14px;
    font-size: 11px;
  }
}
