/** @format */

.description {
  font-style: italic;
  color: #666;
  font-size: 12px;
  margin-top: 3px;
}
.cookie-category-admin {
  margin-bottom: 20px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  background: #fff;
}

.cookie-category-admin .hndle {
  margin: 0;
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  line-height: 1.4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
}

textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-category-admin .inside {
  padding: 15px;
}

.cookie-list,
.scripts-list {
  margin-top: 15px;
  margin-bottom: 20px;
}

.add-cookie,
.add-script {
  margin-top: 10px;
}

.add-category-wrap {
  margin-top: 20px;
  margin-bottom: 20px;
}

.cookie-category-admin h4 {
  margin-top: 25px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
} /**
* Cookie Consent Manager Styles
*/

/* Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  /* background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); */
  padding: 20px;
  z-index: 9999;
  display: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.cookie-consent-banner.active {
  display: block;
}

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

.cookie-consent-content {
  margin-bottom: 20px;
}

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

.cookie-consent-text {
  margin-bottom: 15px;
}

.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* .cookie-consent-accept-all {
  display: inline-block;
  padding: 8px 20px;
  background-color: #d32f2f;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
} */

/* .cookie-consent-accept-all:hover {
  background-color: #b71c1c;
  color: #fff;
} */

/* .cookie-consent-settings-link {
  display: inline-block;
  color: #333;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 10px;
} */

/* Settings Panel */
.cookie-consent-settings {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: none;
  overflow-y: auto;
}

.cookie-consent-settings.active {
  display: block;
}

.cookie-consent-settings-inner {
  max-width: 800px;
  margin: 50px auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
}

.cookie-consent-settings-header {
  margin-bottom: 20px;
}

.cookie-consent-settings-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cookie-consent-settings-description {
  margin-bottom: 20px;
}

/* Cookie Categories */
.cookie-categories {
  margin-bottom: 30px;
}

.cookie-category {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.cookie-category-header {
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background-color: #f5f5f5;
}

.cookie-category-title-wrap {
  display: flex;
  align-items: center;
  flex: 1;
}

.cookie-category-checkbox {
  margin-right: 10px;
}

.cookie-category-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.cookie-category-title {
  font-weight: 600;
  flex: 1;
}

.cookie-category-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  transition: transform 0.2s;
}

.cookie-category.expanded .cookie-category-toggle {
  transform: rotate(180deg);
}

.cookie-category-content {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.cookie-category.expanded .cookie-category-content {
  max-height: 1000px;
  padding: 15px;
  border-top: 1px solid #e0e0e0;
}

.cookie-category-description {
  margin-bottom: 20px;
}

/* Cookie Tables */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.cookie-table th,
.cookie-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.cookie-table th {
  font-weight: 600;
  background-color: #f5f5f5;
}

/* Footer Buttons */
.cookie-consent-settings-footer {
  text-align: right;
}

.cookie-consent-save-preferences {
  display: inline-block;
  padding: 10px 20px;
  background-color: #d32f2f;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.cookie-consent-save-preferences:hover {
  background-color: #b71c1c;
  color: #fff;
}

/* Cookie Settings Icon */
.cookie-settings-icon {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9998;
  background: #444;
  border: none;
  padding: 10px;
  margin: 0;
  outline: none;
  border-radius: 50%;
}

.cookie-settings-icon.position-left {
  left: 10px;
  right: auto;
}

.cookie-settings-icon.position-right {
  right: 10px;
  left: auto;
}

.cookie-settings-icon svg {
  width: 60px;
  height: 60px;
  fill: #fff;
}

.cookie-settings-icon #triangle path {
  fill: #444;
}

.cookie-settings-icon #circle path {
  fill: #fff;
}

.cookie-settings-icon:hover #triangle path {
  fill: #222;
}

/* Cookie Icon Position Setting */
.cookie-icon-position-setting {
  margin: 30px 0;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}

.cookie-icon-position-setting h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.cookie-icon-position-setting p {
  margin-bottom: 15px;
  color: #666;
}

.position-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.position-options label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  transition: background-color 0.2s;
}

.position-options label:hover {
  background-color: #f5f5f5;
}

.position-options input[type="radio"] {
  margin-right: 10px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .cookie-consent-settings-inner {
    margin: 20px;
    padding: 20px;
  }

  .cookie-consent-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  /* .cookie-consent-settings-link {
    margin-left: 0;
    margin-top: 10px;
  } */

  .cookie-settings-icon {
    width: 40px;
    height: 40px;
    padding: 5px;
  }

  .cookie-settings-icon svg {
    width: 40px;
    height: 40px;
  }
}

.script-details {
  margin-top: 10px;
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}

.script-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.script-details label {
  display: block;
  margin-bottom: 5px;
}

.cookie-script-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.script-type-badge {
  background-color: #f0f0f0;
  color: #333;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 12px;
  text-transform: uppercase;
}

@media screen and (max-width: 992px) {
  .script-controls {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .script-controls {
    grid-template-columns: 1fr;
  }
}
