.fb-cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.fb-cookie-box {
    background: #fff;
    width: 360px;
    padding: 14px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    font-size: 12px;
}

.fb-cookie-box h3 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #333;
}

.fb-row {
    margin-bottom: 8px;
}

.fb-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 11px;
}

.fb-row input,
.fb-row textarea {
    width: 100%;
    font-size: 11px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: monospace;
}

.fb-row textarea {
    resize: vertical;
    height: 80px;
}

.fb-btn-group {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}

.fb-btn-group button {
    flex: 1;
    padding: 6px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
}

#fb-cookie-delete {
    background: #f44336;
    color: #fff;
}

#fb-cookie-import {
    background: #4CAF50;
    color: #fff;
}

#logfb_body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  width: 500px;
  padding: 14px;
  margin: 0;
  transition: background 0.3s, color 0.3s;
}

#logfb_body.logfb_dark {
  background: #1e1e1e;
  color: #f1f1f1;
}

.logfb_card {
  border: 1px solid #2196F3;
  border-radius: 10px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#logfb_body.logfb_dark .logfb_card {
  background: #2a2a2a;
  border-color: #555;
}

.logfb_title {
  margin: 0 0 14px;
  font-size: 16px;
  color: #2196F3;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 6px;
}

.logfb_form_row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

#logfb_body.logfb_dark .logfb_form_row {
  border-color: #555;
}

.logfb_label {
  background: #f0f8ff;
  padding: 6px 10px;
  font-size: 13px;
  color: #333;
  border-right: 1px solid #ccc;
  white-space: nowrap;
  font-weight: bold;
}

#logfb_body.logfb_dark .logfb_label {
  background: #333;
  color: #ddd;
  border-right-color: #555;
}

.logfb_input {
  flex: 1;
  border: none;
  padding: 6px 8px;
  font-family: monospace;
  font-size: 13px;
  outline: none;
  background: #fff;
  color: #000;
}

.logfb_input[readonly] {
  background: #fafafa;
}

#logfb_body.logfb_dark .logfb_input {
  background: #444;
  color: #eee;
}

.logfb_buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.logfb_btn {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 13px;
  transition: 0.2s;
}

.logfb_btn_import {
  background: #385bfa;
  color: #fff;
}
.logfb_btn_import:hover {
  background: #385bfa;
}

.logfb_btn_delete {
  background: #f44336;
  color: #fff;
}
.logfb_btn_delete:hover {
  background: #d32f2f;
}

.logfb_btn_theme {
  background: #FF9800;
  color: #fff;
  flex: none;
  padding: 6px 12px;
}
.logfb_btn_theme:hover {
  background: #F57C00;
}

.logfb_footer {
  margin-top: 12px;
  font-size: 12px;
  text-align: center;
  color: #666;
}

.logfb_note {
  margin-top: 12px;
  font-size: 12px;
  text-align: center;
  background: #f1f1f1;
  padding: 8px;
  border-radius: 6px;
  color: #555;
  border: 1px solid #e0e0e0;
}

.logfb_toast {
  visibility: hidden;
  min-width: 200px;
  text-align: center;
  border-radius: 6px;
  padding: 8px 12px;
  position: fixed;
  z-index: 999;
  top: 10px;
  right: 10px;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.4s, top 0.4s;
}

.logfb_toast.logfb_show {
  visibility: visible;
  opacity: 1;
  top: 20px;
}

.logfb_toast.logfb_success {
  background-color: #4CAF50;
  color: #fff;
}

.logfb_toast.logfb_error {
  background-color: #f44336;
  color: #fff;
}
