.lf-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  background: linear-gradient(135deg, #ffffff 0%, #fdf8f2 100%);
  border-top: 3px solid #e8722a;
  box-shadow: 0 -8px 34px rgba(24, 58, 92, 0.18);
}

.lf-cookie-banner.is-visible {
  transform: translateY(0);
}

.lf-cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.9rem;
}

.lf-cookie-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.lf-cookie-header::before {
  content: "\1F36A";
  font-size: 1.4rem;
}

.lf-cookie-title {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1c4f79;
}

.lf-cookie-message {
  margin: 0 0 1.2rem;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.52;
}

.lf-cookie-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-bottom: 1.35rem;
}

.lf-cookie-option {
  flex: 1 1 220px;
  min-width: 220px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1.2rem;
  border: 1px solid #dce4ec;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 255, 0.92) 100%);
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lf-cookie-option::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  opacity: 0;
  background: linear-gradient(90deg, #e8722a, #2f78b6);
  transition: opacity 0.2s ease;
}

.lf-cookie-option:hover {
  border-color: #9fbfda;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(33, 80, 121, 0.14);
}

.lf-cookie-option:hover::before {
  opacity: 1;
}

.lf-cookie-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #2f78b6;
  cursor: pointer;
}

.lf-cookie-option input[type="checkbox"]:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.lf-cookie-option-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lf-cookie-option-info strong {
  font-size: 0.96rem;
  color: #1f2937;
}

.lf-cookie-option-info small {
  font-size: 0.81rem;
  color: #64748b;
  line-height: 1.4;
}

.lf-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

.lf-cookie-btn {
  border-radius: 999px;
  border: none;
  padding: 0.75rem 1.45rem;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lf-cookie-btn:focus-visible {
  outline: 2px solid #2f78b6;
  outline-offset: 2px;
}

.lf-cookie-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #e8722a, #f38b45);
  box-shadow: 0 6px 18px rgba(232, 114, 42, 0.35);
}

.lf-cookie-btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #d86520, #e97d35);
}

.lf-cookie-btn-secondary {
  color: #1c4f79 !important;
  background: #ffffff;
  border: 2px solid #2f78b6;
}

.lf-cookie-btn-secondary:hover {
  color: #1c4f79 !important;
  background: #f1f7fd;
  border-color: #2f78b6;
}

.lf-cookie-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e4ebf2;
  text-align: center;
}

.lf-cookie-footer a {
  color: #2f78b6;
  font-size: 0.9rem;
  text-decoration: underline;
}

.lf-cookie-footer a:hover {
  text-decoration: none;
}

.lf-cookie-settings-btn {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 99998;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #e8722a, #f38b45);
  box-shadow: 0 6px 18px rgba(232, 114, 42, 0.35);
  color: #ffffff;
  font-size: 1.35rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.lf-cookie-settings-btn:hover {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .lf-cookie-inner {
    padding: 1.1rem 1rem;
  }

  .lf-cookie-options {
    flex-direction: column;
  }

  .lf-cookie-option {
    min-width: auto;
  }

  .lf-cookie-actions {
    flex-direction: column;
  }

  .lf-cookie-btn {
    width: 100%;
    text-align: center;
  }
}
