/* === COOKIE PANEL MODERN DESIGN === */
#cookieconsent-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 98%;
  max-width: 1600px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0px 4px 16px rgba(0,0,0,0.1);
  font-family: "Gotham-Book", Arial, sans-serif;
  color: #333;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

/* Title */
.cookieconsent-disclaimer-title {
  font-weight: 600;
  font-size: 16px;
  color: #1a1a1a;
  font-family: "Gotham-Medium", Arial, sans-serif;
}

/* Text */
.cookieconsent-disclaimer-text {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  padding-top: 1rem;
}

/* Settings section */
.cookieconsent-settings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end !important;
  gap: 16px;
  padding-top: 2rem;
}

/* Checkbox container */
.cookieconsent-checkbox-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  border: none !important;
  padding: 0;
}

.cookieconsent-checkbox-container label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
  color: #333;
}

.cookieconsent-checkbox-container input[type="checkbox"] {
  accent-color: #ff7700;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.cookieconsent-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Buttons */
#cookieconsent-button-ok,
#cookieconsent-button-ok2,
#cookieconsent-button-details {
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  padding: 0.75rem 2rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  transition: all 0.2s ease;  
}

/* Primary accept button */
#cookieconsent-button-ok,
#cookieconsent-button-ok2 {
  background: #282828;
  color: #fff;
}

#cookieconsent-button-ok:hover,
#cookieconsent-button-ok2:hover {
  background: black;
}

#cookieconsent-button-ok {
  display: none !important;
}

/* Secondary (details / decline) */
#cookieconsent-button-details {
  border-radius: var(--Corner-radius-S, 0.5rem);
  border: 1px solid var(--Grey-Grey-600, #282828);
  background: rgba(242, 242, 242, 0.35);
  backdrop-filter: blur(25px);
  color: #535353;
}

#cookieconsent-button-details:hover {
  background: rgba(242, 242, 242, 0.45);
}

/* === COOKIE DETAILS PANEL – MODERN REDESIGN === */

#cookieconsent-cookie-details {
  display: none;
  flex-direction:row;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.08);
  padding: 24px 28px;
  margin-top: 24px;
  font-family: "Gotham-Book", Arial, sans-serif;
  color: #333;
  max-width: 100%;
  width:100%;
  box-sizing: border-box;
}

/* === Tabs header === */
.cookieconsent-tab {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 20px;
}

.cookieconsent-tab button {
  border: none;
  border-radius: 8px;
  background: #f4f4f4;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookieconsent-tab button:hover {
  background: #eee;
}

.cookieconsent-tab button:last-child {
  display:none;
}

.cookieconsent-tab button.cookieconsent-tab-active {
  background: #ff7700;
  color: #fff;
}

/* === Layout for details section === */
#cookieconsent-details-container {
  display: flex;
  flex-direction: row;
  gap: 24px;
  border: none;
  background: transparent;
  padding: 0;
  overflow: visible;
}

/* === Left vertical tabs === */
.cookieconsent-details-vertical-tab {
  width: 220px;
  min-width: 200px;
  background: #f9f9f9;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: fit-content;
}

/* Individual buttons */
.cookieconsent-details-vertical-tab button {
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #333;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cookieconsent-details-vertical-tab button:hover {
  background: #f2f2f2;
}

.cookieconsent-details-vertical-tab button.cookieconsent-tab-active {
  background: #ff7700;
  color: #fff;
}

/* Remove those connector divs before/after */
.cookieconsent-button-cookie-before,
.cookieconsent-button-cookie-after {
  display: none !important;
}

/* === Right details data area === */
.cookieconsent-details-data {
  flex: 1;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  background: #fafafa;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.6;
  overflow-y: auto;
  max-height: 300px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}

/* Text blocks */
.cookieconsent-details-data p {
  margin: 0 0 1rem 0;
  color: #444;
}

/* Cookie list table */
.cookieconsent-details-data table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 12px;
}

.cookieconsent-details-data thead th {
  text-align: left;
  border-bottom: 2px solid #ddd;
  padding-bottom: 8px;
  color: #333;
}

.cookieconsent-details-data tbody td {
  border-bottom: 1px solid #eee;
  padding: 8px 0;
  color: #555;
}

/* === About tab container === */
#cookieconsent-about-container {
  display:none;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  background: #fafafa;
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 20px;
  color: #444;
}

/* === Scrollbars === */
.cookieconsent-details-data::-webkit-scrollbar {
  width: 8px;
}
.cookieconsent-details-data::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
.cookieconsent-details-data::-webkit-scrollbar-thumb:hover {
  background: #999;
}

#cookieconsent-cookie-block-preferences,
#cookieconsent-cookie-block-statistics,
#cookieconsent-cookie-block-marketing,
#cookieconsent-cookie-block-unclassified,
#cookieconsent-mandatory-alert {
  display: none;
}


/* === Responsive (mobile) === */
@media (max-width: 768px) {
  #cookieconsent-cookie-details {
	padding: 20px;
	border-radius: 10px;
  }
  #cookieconsent-details-container {
	flex-direction: column;
  }
  .cookieconsent-details-vertical-tab {
	width: 100%;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 8px;
  }
  .cookieconsent-details-vertical-tab button {
	flex: 1 1 45%;
	text-align: center;
  }
  .cookieconsent-details-data {
	max-height: none;
  }
  #cookieconsent-button-ok,
  #cookieconsent-button-ok2,
  #cookieconsent-button-details,
  .cookieconsent-checkbox-container{
	width: 100%;
	text-align: center;
  }
}

/* MOBILE STYLES */
@media (max-width: 600px) {
  #cookieconsent-container {
	padding: 20px;
  }

  .cookieconsent-settings {
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
  }

  .cookieconsent-disclaimer-title {
	font-size: 15px;
  }

  .cookieconsent-disclaimer-text {
	font-size: 13px;
  }
}