/* Banner Styles */
.gcv2-consent-notice-banner-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  padding: 45px;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-direction: column;
  z-index: 1000;
}

.gcv2-consent-notice-description {
  flex: 1;
  padding: 10px;
  width: 100%;
  text-align: left;
}

.gcv2-consent-notice-actions {
  display: flex;
  gap: 10px;
}

button.consent-action-accept, button.consent-action-customize, button.consent-action-decline {
  border: none;
}
button.consent-action-close, button.list-action-close {
  border: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
  text-shadow: none;
  font-weight: 400;
  display: inline-block;
  text-decoration: none;
  color: #6b727e;
  position: absolute;
  background: 0 0;
  top: 10px;
  right: 10px;
  line-height: 14px;
  font-size: 0;
}

/* Button Styles */
.consent-action-accept,
.consent-action-decline,
.consent-action-customize {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.consent-action-accept {
  background-color: var(--color-accept-btn-background);
  color: #fff;
}

.consent-action-decline {
  background-color: #fff;
  color: var(--color-decline-btn-text);
  border: 1px solid var(--color-decline-btn-border);
}

.consent-action-customize {
  background-color: #fff;
  color: var(--color-customize-btn-text);
  border: 1px solid var(--color-customize-btn-border);
}

/* Modal Styles */
div#gcv2-cookie-container {
    display: flex;
}
.modal {
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}
.gcv2-header-wrapper
{
  display: flex;
  margin-bottom: 1rem;
  align-content: center;
  flex-direction: row-reverse;
  justify-content: space-between;
}
.gcv2-header-wrapper button.list-action-close {
  position: static !important;
}

.modal .gcv2-cookie-container {
  background-color: #fff;
  margin: auto;
  padding: 15px;
  border: 1px solid #888;
  width: 50%;
  border-radius: 10px;
}

.list-action-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

/* Preference Button Styles */
.gcv2-consent-preference {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1002;
}

.gcv2-preference-btn {
  width: 5px;
  height: 5px;
  background-size: cover;
  border-radius: 50%;
  cursor: pointer;
}

.gcv2-cookie-action button {
  width: 100%;
}
.gcv2-cookie-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1rem;
}
.gcv2-cookie-item-info {
  padding-right: 30px;
}

.gcv2-cookie-items {
  height: 400px;
  overflow-y: auto;
  padding-right: 15px;
}

.gcv2-consent-label-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
}
.gcv2-consent-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  border-radius: 34px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.mt-primary {
  background-color: var(--color-primary-color) !important;  
  border: 1px solid var(--color-primary-color) !important;
}
.gcv2-cookie-item-more-info a {
  color: var(--color-primary-color);
}
.gcv2-cookie-item-more-info a:hover {
  text-decoration: none;
}
.gcv2-consent-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 5px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}
input:checked + .gcv2-consent-slider {
  background-color: var(--color-primary-color);
}
input:checked + .gcv2-consent-slider:before, .toggle-active {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}
p.gcv2-cookie-item-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
p.gcv2-cookie-item-decs {
  text-align: justify;
  margin-top: .5rem;
  margin-bottom: .5rem;
}
p.gcv2-cookie-title {
  font-size: 16px;
  margin: 0;
}
.gcv2-consent-prefernce {
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 10000;
}
.gcv2-consent-prefernce .gcv2-preference-btn {
  background-repeat: no-repeat;
  background-size: contain;
  padding: 20px;
  border: 10px solid;
  border-radius: 100px;
}
.gcv2-consent-prefernce .gcv2-preference-btn:hover{
  cursor: pointer;
}
.gcv2-cookie-action {
  margin-top: 15px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .gcv2-consent-notice-banner-container {
    align-items: flex-start;
  }

  .gcv2-consent-notice-actions {
    flex-direction: column;
    width: 100%;
  }

  .consent-action-accept,
  .consent-action-decline,
  .consent-action-customize {
    width: 100%;
    margin-top: 10px;
  }

  .modal .gcv2-cookie-container {
    width: 95%;
  }
  .gcv2-consent-prefernce {
    bottom: 30px;
    right: 30px;
  }
}
@media (max-width: 500px) {
  .modal .gcv2-cookie-container {
    width: auto;
  }
}