.cookie-banner {
  position: fixed!important;
  bottom: 30px!important;
  left: 50%!important;
  transform: translateX(-50%) translateY(100px)!important;
  width: calc(100% - 40px)!important;
  max-width: 850px!important;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 3px;
  padding: 25px;
  box-shadow: 0 15px 35px rgba(0,0,0,.1);
  z-index: 1200!important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: .6s cubic-bezier(.16, 1, .3, 1);
  opacity: 0;
  visibility: hidden
}
.cookie-banner.active {
  transform: translateX(-50%) translateY(0)!important;
  opacity: 1!important;
  visibility: visible!important;
  display: flex!important
}
.cookie-content {
  flex: 1;
  padding-right: 30px
}
.cookie-content h4 {
  margin: 0 0 8px;
  font-weight: 800;
  color: var(--color-text-main)!important;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px
}
.cookie-content p {
  margin: 0;
  color: var(--color-text-muted)!important;
  font-size: .9rem;
  line-height: 1.6
}
#cookieSettingsModal .modal-title,
.cookie-option-info h6 {
  color: var(--color-text-main)!important
}
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0
}
.btn-cookie {
  border-radius: 3px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: .85rem;
  transition: .2s;
  border: none;
  cursor: pointer
}
.btn-cookie-accept {
  background: var(--color-blue-600);
  color: var(--color-white)
}
.btn-cookie-accept:hover {
  background: var(--color-blue-700);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37,99,235,.3)
}
.btn-cookie-custom {
  background: rgba(226,232,240,.5);
  color: var(--color-slate-600)
}
.btn-cookie-custom:hover {
  background: rgba(203,213,225,.8)
}
#cookieSettingsModal .modal-content {
  border-radius: 3px;
  border: none;
  overflow: hidden;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px)
}
#cookieSettingsModal .modal-header {
  padding: 30px;
  border-bottom: 1px solid rgba(0,0,0,.05)
}
#cookieSettingsModal .modal-body {
  padding: 30px
}
#cookieSettingsModal .text-muted {
  color: var(--color-text-muted)!important
}
.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  background: var(--color-bg-main);
  border-radius: 3px;
  margin-bottom: 15px;
  border: 1px solid transparent;
  transition: .2s
}
.cookie-option:hover {
  border-color: var(--color-border-light);
  background: var(--color-white)
}
.cookie-option-info h6 {
  margin: 0 0 5px;
  font-weight: 700
}
.cookie-option-info p {
  margin: 0;
  font-size: .8rem;
  color: var(--color-text-muted)!important
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  margin-left: 15px;
  flex-shrink: 0
}
.cookie-slider,
.cookie-slider:before {
  position: absolute;
  transition: .4s;
  border-radius: 3px
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0
}
.cookie-slider {
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-slate-300)
}
.cookie-slider:before {
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-white)
}
input:checked + .cookie-slider {
  background-color: var(--color-blue-600)
}
input:checked + .cookie-slider:before {
  transform: translateX(24px)
}
input:disabled + .cookie-slider {
  opacity: .5;
  cursor: not-allowed
}
@media (max-width:768px) {
  .cookie-banner {
    flex-direction: column!important;
    text-align: center!important;
    bottom: 20px!important;
    padding: 20px!important;
    width: calc(100% - 20px)!important
  }
  .cookie-content {
    padding-right: 0;
    margin-bottom: 20px
  }
  .cookie-content h4 {
    justify-content: center
  }
  .cookie-actions {
    width: 100%;
    flex-direction: column
  }
  .btn-cookie {
    width: 100%
  }
}
body:has(.admin-live-editor) .cookie-banner {
  bottom: 120px!important
}
@media (min-width:992px) {
  body.admin-dashboard-body:not(.tenant-page) .cookie-banner {
    left: calc(50% + (var(--sidebar-width,280px)/ 2))!important
  }
}
body.dark-theme .cookie-banner {
  background: rgba(15,23,42,.85);
  border-color: rgba(255,255,255,.1)
}
body.dark-theme #cookieSettingsModal .modal-content {
  background: rgba(15,23,42,.95)
}
body.dark-theme #cookieSettingsModal .modal-header {
  border-bottom-color: rgba(255,255,255,.05)
}
body.dark-theme .cookie-option {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.05)
}
body.dark-theme .cookie-option:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.1)
}
body.dark-theme #cookieSettingsModal .modal-title,
body.dark-theme .cookie-content h4,
body.dark-theme .cookie-option-info h6 {
  color: #f8fafc!important
}
body.dark-theme #cookieSettingsModal .text-muted,
body.dark-theme .cookie-content p,
body.dark-theme .cookie-option-info p {
  color: #94a3b8!important
}
body.dark-theme .btn-cookie-custom {
  background: rgba(255,255,255,.1);
  color: #e2e8f0
}
body.dark-theme .btn-cookie-custom:hover {
  background: rgba(255,255,255,.15)
}
body.dark-theme .cookie-slider {
  background-color: rgba(255,255,255,.2)
}
body.dark-theme .cookie-slider:before {
  background-color: #f8fafc
}
body.dark-theme .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%)
}
