#cookie-banner,
#cookie-modal {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#cookie-modal p, #cookie-modal h2, #cookie-modal a, #cookie-modal .title {
  color: var(--styx-text-color-1);
}

#cookie-banner.visible,
#cookie-modal.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 25%;
  width: 50%;
  background: var(--styx-base-color-1);
  border-top: 1px solid #ccc;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  font-family: sans-serif;
}

.cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto;
}

.cookie-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cookie-text {
  font-size: 14px;
  margin-bottom: 16px;
}

.cookie-text a {
  color: var(--styx-text-color-1);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-button {
  padding: 10px 20px;
  border: 3px solid var(--styx-base-color-3);
  background-color: transparent;
  color: var(--styx-text-color-1);
  cursor: pointer;
  
  font-family: Inter;
  font-size: 14px;
  
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.cookie-button:hover {
  background: var(--styx-base-color-3);
  color: var(--styx-text-color-3);
}

.cookie-link {
  background: none;
  border: none;
  color: var(--styx-text-color-1);
  text-decoration: underline;
  cursor: pointer;
  padding: 10px 0;
  font-size: 14px;
}

#cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-family: sans-serif;
}

#cookie-modal.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.cookie-modal-content {
  position: relative;
  background: var(--styx-base-color-1);
  padding: 20px 30px;
  z-index: 1;
  max-width: 90%;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h2 {
  font-family: Rubik;
  font-weight: 500;
  margin: 0;
  font-size: 26px;
}

.modal-close {
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

.cookie-subtext {
  font-family: Rubik;
  font-weight: 500;
  margin-top: 16px;
}

.cookie-description {
  font-size: 14px;
  margin-bottom: 20px;
}

.cookie-checkbox {
  border: 1px solid var(--styx-base-color-2);
  padding: 12px 16px;
  margin-bottom: 12px;
}

.cookie-checkbox input[type="checkbox"] {
  margin-right: 12px;
  transform: scale(1.2);
}

.cookie-checkbox .title {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.cookie-checkbox .desc {
  font-size: 13px;
  color: #555;
}

.cookie-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#cookie-form {
    overflow-y: auto;
    max-height: 60vh;
}

#cookie-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

/* ============== MEDIA QUERIES ============== */
/* Mobile Approach */

@media (hover: none) and (pointer: coarse) {
#cookie-banner {
    left: 5%;
    width: 90%;
}

.cookie-actions {
    flex-direction: column;
    justify-content: center;
    flex-wrap: nowrap;
}

.cookie-modal-content {
    max-height: 90%;
}

#cookie-form {
    overflow-y: auto;
    max-height: 50vh;
}

.cookie-button {
    align-self: center;
    width: 100%;
}
}
/* Tablet Approach */
@media (min-width: 641px) and (hover: none) and (pointer: coarse) {
.cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
}

}
/* Desktop Approach */
@media (min-width: 1024px) and (pointer: fine) {

}
