@charset "utf-8";

/*
Name: 			cookie-consent.css
Written by: 	Steven Robyor - (https://www.incentrex.io)
*/

/* Cookie Bar */
.cookieConsent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  background-color: #222;
  color: white;
  padding: 15px 30px;
  border-radius: 0;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  font-family: Arial, sans-serif;
  font-size: 1em;
  box-sizing: border-box;
}

.cookieConsent p {
  margin: 0;
  flex: 1;
  font-size: 1rem;
  line-height: 1.3;
}

.cookieConsent a {
  color: #27aae1;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-left: 20px;
  flex-shrink: 0;
}

.cookieConsent button {
  padding: 10px 20px;
  background-color: #003366;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
}

.cookieConsent button:hover {
  background-color: #27aae1;
}

/* Modal Overlay */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modal Content */
.cookie-modal-content {
  background-color: #fff;
  color: #222;
  padding: 30px 40px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  box-sizing: border-box;
  position: relative;
  font-family: Arial, sans-serif;
}

.cookie-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #003366;
}

.cookie-close:hover {
  color: #27aae1;
}

.cookie-modal-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.cookie-modal-content form label {
  display: block;
  margin-bottom: 10px;
  font-weight: normal;
  font-size: 1rem;
}

.cookie-modal-content form button {
  margin-top: 15px;
  padding: 10px 25px;
  background-color: #003366;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
}

.cookie-modal-content form button:hover {
  background-color: #27aae1;
}

/* Custom checkbox container */
.custom-checkbox {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1rem;
  user-select: none;
  color: #222;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox .checkmark {
  position: absolute;
  top: 2px;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: white;
  border: 2px solid #003366;
  border-radius: 4px;
}

.custom-checkbox input:checked + .checkmark {
  background-color: #003366; /* dark blue */
  border-color: #003366; /* same dark blue border */
}

.custom-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
