/* Cookie notification styles */
.cookies-card {
  width: 360px;
  height: fit-content;
  background-color: rgb(255, 250, 250);
  border-radius: 10px;
  border: 1px solid rgb(206, 206, 206);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  gap: 15px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.066);
  z-index: 9999;
  display: none;
}

.cookie-heading {
  color: rgb(34, 34, 34);
  font-weight: 800;
  margin: 0;
}

.cookie-para {
  font-size: 11px;
  font-weight: 400;
  color: rgb(51, 51, 51);
  margin: 0;
  line-height: 1.4;
}

.cookie-para a {
  color: rgb(34, 34, 34);
  text-decoration: underline;
}

.cookie-para a:hover {
  color: rgb(0, 0, 0);
}

.button-wrapper {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
}

.cookie-button {
  width: 100%;
  padding: 8px 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.accept {
  background-color: rgb(34, 34, 34);
  color: white;
  border: none;
}

.accept:hover {
  background-color: rgb(0, 0, 0);
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .cookies-card {
    width: auto;
    bottom: 10px;
    right: 10px;
    left: 10px;
  }
}

/* Consent checkboxes for forms */
.form-consent {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
  text-align: left;
}

.form-consent .form-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.form-consent .form-consent-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 2px 0 0 0;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.form-consent .form-consent-row label {
  font-size: 12px;
  line-height: 1.4;
  color: #333;
  cursor: pointer;
  margin: 0;
  display: inline;
}

.form-consent .form-consent-row a {
  color: #222;
  text-decoration: underline;
}

.form-consent .form-consent-row a:hover {
  color: #000;
}

.form-consent .form-consent-row.error label {
  color: #c00;
}

.form-consent .form-consent-row.error input[type="checkbox"] {
  outline: 1px solid #c00;
}

/* Align consent block with input rows inside popup forms */
.popup-form .form-consent {
  max-width: 365px;
  padding: 0 20px 13px;
  margin: 0 auto;
}
