/* Logliy admin — CookiePeak-style cards, FloBa blue */
.lg-wrap {
  max-width: 780px;
}

.lg-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 18px;
}

.lg-header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #1F6FEB;
  border-radius: 10px;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 2px 8px rgba(31, 111, 235, 0.35);
}

.lg-header h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.lg-version {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  vertical-align: middle;
}

.lg-header p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 13px;
}

.lg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.lg-tab {
  text-decoration: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.lg-tab.is-active,
.lg-tab:hover {
  color: #1F6FEB;
}

.lg-tab.is-active {
  border-bottom-color: #1F6FEB;
}

.lg-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.lg-card h2 {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 16px;
  padding: 0;
  border: none;
}

.lg-form-table th {
  width: 180px;
  padding: 10px 20px 10px 0;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  vertical-align: top;
  padding-top: 14px;
}

.lg-form-table td {
  padding: 10px 0;
}

.lg-form-table .description {
  margin-top: 6px;
  font-size: 12px;
  color: #64748b;
}

.lg-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  vertical-align: middle;
}

.lg-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.lg-toggle-slider {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.lg-toggle-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lg-toggle input:checked + .lg-toggle-slider {
  background: #1F6FEB;
}

.lg-toggle input:checked + .lg-toggle-slider::before {
  transform: translateX(18px);
}

.lg-checks {
  margin: 0;
  padding-left: 1.1em;
}

.lg-checks li {
  margin-bottom: 6px;
  font-size: 13px;
}

.lg-checks .is-ok {
  color: #166534;
}

.lg-checks .is-bad {
  color: #991b1b;
}

.lg-save-row {
  margin: 0 0 16px;
}

.lg-save-btn {
  margin-top: 0 !important;
}

.lg-save-btn--bottom {
  margin-top: 4px !important;
}

.lg-import-form {
  margin-top: 1em;
}

.lg-footer {
  margin-top: 20px;
  color: #94a3b8;
  font-size: 12px;
}

.logliy-cred-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.logliy-cred-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}

.logliy-cred-name {
  font-weight: 600;
}

.logliy-cred-meta {
  color: #64748b;
  font-size: 12px;
  flex: 1;
}

.logliy-profile-msg {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.logliy-profile-msg.is-ok {
  background: #f0fdf4;
  color: #166534;
}

.logliy-profile-msg.is-error {
  background: #fef2f2;
  color: #991b1b;
}
