/* MJF Cookie Consent Styles */

#mjf-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  color: #fff;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  z-index: 999999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

#mjf-cookie-banner.mjf-hidden {
  display: none;
}

.mjf-cookie-banner-content {
  display: flex;
  flex-direction: column;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .mjf-cookie-banner-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.mjf-cookie-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .mjf-cookie-banner-text {
    margin-bottom: 0;
    margin-right: 20px;
  }
}

.mjf-cookie-title {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

.mjf-cookie-description {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #ccc;
}

.mjf-cookie-description a {
  color: #fff;
  text-decoration: underline;
}

.mjf-cookie-privacy-link {
  color: #fff;
  text-decoration: underline;
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
}

.mjf-cookie-banner-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .mjf-cookie-banner-actions {
    align-items: flex-end;
  }
}

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

#mjf-cookie-banner .mjf-btn {
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  box-shadow: none;
  border: 1px solid transparent;
}

#mjf-cookie-banner .mjf-btn-primary {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
}

#mjf-cookie-banner .mjf-btn-primary:hover {
  background: #e0e0e0;
  color: #000;
  border: 1px solid #e0e0e0;
}

#mjf-cookie-banner .mjf-btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

#mjf-cookie-banner .mjf-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid #fff;
}

#mjf-cookie-banner .mjf-btn-ghost {
  padding: 0;
  font-size: 11px;
  font-weight: normal;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
  margin-top: 4px;
  box-shadow: none;
}

/* Options Panel */
#mjf-cookie-options-panel {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out, border-top-color 0.3s ease-out, padding 0.3s ease-out, margin-top 0.3s ease-out;
  overflow: hidden;
  border-top: 1px solid transparent;
  padding: 0 20px;
}

#mjf-cookie-options-panel.mjf-expanded {
  grid-template-rows: 1fr;
  border-top-color: #333;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-top: 15px;
}

.mjf-cookie-options-inner {
  min-height: 0;
}

.mjf-cookie-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 768px) {
  .mjf-cookie-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mjf-cookie-category {
  background: #111;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #222;
}

.mjf-cookie-category label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.mjf-cookie-category label strong {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.mjf-cookie-category input[type="checkbox"] {
  width: 14px;
  height: 14px;
  cursor: pointer;
  margin: 0;
}

.mjf-cookie-category p {
  margin: 5px 0 0 22px;
  font-size: 11px;
  line-height: 1.4;
  color: #999;
}

.mjf-cookie-options-actions {
  margin-top: 15px;
  text-align: right;
}
