.grecaptcha-badge {
    bottom: 70px !important;
    opacity: 0.6;
}

#cookie-footer-btn {
  font-weight: 600;
  cursor: pointer;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.2s;
  display: none;
}

#cookie-footer-btn:hover {
  color: #152a5c;
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  z-index: 9998;
}
.cookie-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #0D1B3A;
}

.cookie-section-text {
  font-size: 13px;
  color: #555555;
  margin-bottom: 12px;
}

.cookie-cat-info {
  font-size: 13px;
  color: #444444;
}

.cookie-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 18px 0;
}

.cookie-desc {
  font-size: 13px;
  color: #555555;
  margin-bottom: 20px;
}

/* Buttons modern */
.cookie-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
}

.btn-save {
  background: #0D1B3A;
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-save:hover {
  background: #152a5c;
}

.btn-cancel {
  background: #eeeeee;
  color: #333333;
  padding: 9px 16px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-cancel:hover {
  background: #dddddd;
}

.cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  z-index: 9999;
  display: none;
  animation: fadeIn .4s ease;
  font-family: "Montserrat", sans-serif;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-icon {
  font-size: 32px;
}

.cookie-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.btn-settings,
.btn-necessary,
.btn-accept-all {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn-settings { background: #eee; }
.btn-necessary { background: #ddd; }
.btn-accept-all { background: #0D1B3A; color: #fff; }

.cookie-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.cookie-modal-content {
  background: #fff;
  width: 520px;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  animation: fadeIn .4s ease;
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
}

.cookie-cat-icon {
  font-size: 24px;
  margin-right: 10px;
}

.switch {
  position: relative;
  width: 46px;
  height: 24px;
}

.switch input { display: none; }

.slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  transition: .3s;
}

.slider:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .3s;
}

input:checked + .slider {
  background: #0D1B3A;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.disabled {
  opacity: .5;
}
.btn-settings,
.btn-necessary,
.btn-accept-all {
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.btn-settings { background: #eeeeee; }
.btn-necessary { background: #dddddd; }
.btn-accept-all { background: #0D1B3A; color: #ffffff; }
.cookie-mobile-btn {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #0D1B3A;
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 9997;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

#cookie-mobile-btn {
  display: none;
}

@media (max-width: 768px) {
  #cookie-mobile-btn {
    display: flex;
  }
}
@media (max-width: 768px) {

.cookie-banner {
  width: 380px !important;
  padding: 18px 20px !important;
  border-radius: 14px !important;
}

.cookie-header {
  gap: 8px !important;
}

.cookie-icon {
  font-size: 26px !important;
}

.cookie-text {
  font-size: 14px !important;
  line-height: 1.4;
}

.cookie-buttons {
  margin-top: 16px !important;
  gap: 8px !important;
}

.btn-settings,
.btn-necessary,
.btn-accept-all {
  padding: 6px 10px !important;
  font-size: 10px !important; 
  border-radius: 5px !important;
}

  .cookie-modal-content {
    width: 90% !important;
    padding: 20px !important;
    border-radius: 12px;
  }

  .cookie-section-title {
    font-size: 15px !important;
  }

  .cookie-section-text,
  .cookie-cat-info {
    font-size: 13px !important;
  }

  .cookie-modal-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn-save,
  .btn-cancel {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    font-size: 15px;
  }
}
@media (max-width: 768px) {

  .cookie-modal-content {
    width: 90% !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
  }

  .cookie-modal-content h3 {
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }

  .cookie-section-title {
    font-size: 14px !important;
    margin-bottom: 2px !important;
  }

  .cookie-section-text,
  .cookie-cat-info {
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }

  .cookie-divider {
    margin: 12px 0 !important;
  }

  .cookie-modal-buttons {
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }

  .btn-save,
  .btn-cancel {
    width: 100% !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
  }
}
@media (max-width: 768px) {
  .cookie-category {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 10px !important;
    margin: 8px 0 !important;
  }

  .cookie-cat-info {
    flex: 1 !important;
    text-align: left !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  .switch {
    width: 34px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }

  .slider {
    border-radius: 18px !important;
  }

  .slider:before {
    width: 14px !important;
    height: 14px !important;
    top: 2px !important;
    left: 2px !important;
  }

  input:checked + .slider:before {
    transform: translateX(16px) !important;
  }
}
@media (max-width: 768px) {

  h1 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
}

@media (max-height: 900px) and (min-width: 769px) {

  .cookie-modal-content {
    width: 480px !important;
    padding: 20px 22px !important;
    border-radius: 14px !important;
  }

  .cookie-section-title {
    font-size: 15px !important;
    margin-bottom: 4px !important;
  }

  .cookie-section-text,
  .cookie-cat-info {
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }

  .cookie-modal-content .cookie-category {
    margin: 10px 0 !important;
  }

  .cookie-modal-content .cookie-category-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .switch {
    width: 38px !important;
    height: 20px !important;
  }

  .slider:before {
    width: 14px !important;
    height: 14px !important;
    top: 3px !important;
    left: 3px !important;
  }

  input:checked + .slider:before {
    transform: translateX(16px) !important;
  }

  .cookie-modal-buttons {
    margin-top: 18px !important;
    gap: 10px !important;
  }

  .btn-save,
  .btn-cancel {
    padding: 8px 14px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
  }
}
