:root {
  --size: 1rem;
  --font-condensed: "DIN Condensed";
  --font-ltpro: "DIN Next Rounded LT Pro";
  --font-size-sm: clamp(0.7rem, 0.13vw + 1rem, 1rem);
  --font-size-base: clamp(1.1rem, 0.27vw + 0.93rem, 1.19rem);
  --font-size-md: clamp(1.25rem, 0.48vw + 1.13rem, 1.58rem);
  --font-size-lg: clamp(1.56rem, 0.8vw + 1.36rem, 2.11rem);
  --font-size-xl: clamp(1.95rem, 1.25vw + 1.64rem, 2.81rem);
  --font-size-xxxl: clamp(3.05rem, 2.83vw + 2.34rem, 5rem);
  --font-headline: var(--font-condensed);
  --font-text: var(--font-ltpro);
  --container-md: 800px;
  --container-lg: 960px;
  --container-xl: 1140px;
  --container-xxl: 1320px;
  --pos-multi: 3;
  --white: #fff;
  --lighter: #f7f7f7;
  --light: #cfcfcf;
  --dark: #4d4e4c;
  --darker: #222222;
  --black: #000;
  --primary: #222222;
  --primary-hover: hsla(0, 100%, 50%, 0.8);
  --hover-mod: 0.8;
  --card-pad: calc(var(--bsize) * 1.5);
  --br-inputs: 0px;
  --br-btn: 0rem;
}

@font-face {
  font-family: "DIN Next Rounded LT Pro";
  src: url("../../fonts/DINNextRoundedLTPro-Light.woff2") format("woff2"), url("../../fonts/DINNextRoundedLTPro-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DIN Next Rounded LT Pro";
  src: url("../../fonts/DINNextRoundedLTPro-Medium.woff2") format("woff2"), url("../../fonts/DINNextRoundedLTPro-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DIN Condensed";
  src: url("../../fonts/DINCondensed-Bold.woff2") format("woff2"), url("../../fonts/DINCondensed-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
.adminc-body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f8fafc;
  min-height: 100vh;
}
.adminc-body p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#adminc-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background: #0f172a;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  transition: width 0.2s ease;
  z-index: 100;
  overflow: hidden;
}
#adminc-sidebar .adminc-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #1e293b;
  height: 56px;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
}
#adminc-sidebar .adminc-sidebar-logo .logoicon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
  text-decoration: none;
}
#adminc-sidebar .adminc-sidebar-logo span {
  font-weight: 600;
  font-size: 18px;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.2s ease;
}
#adminc-sidebar nav {
  flex: 1;
  padding: 8px;
  overflow-y: auto;
  overflow-x: hidden;
}
#adminc-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-bottom: 2px;
  position: relative;
}
#adminc-sidebar nav a svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
#adminc-sidebar nav a span {
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.2s ease;
}
#adminc-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
}
#adminc-sidebar nav a.adminc-active {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}
#adminc-sidebar nav a.adminc-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--primary);
  border-radius: 0 2px 2px 0;
}
#adminc-sidebar.adminc-collapsed {
  width: 64px;
}
#adminc-sidebar.adminc-collapsed .adminc-sidebar-logo span,
#adminc-sidebar.adminc-collapsed nav a span {
  opacity: 0;
  pointer-events: none;
}
#adminc-sidebar.adminc-collapsed .adminc-sidebar-logo span.logoicon {
  opacity: 1;
}

#adminc-header {
  position: fixed;
  top: 0;
  left: 240px;
  right: 0;
  height: 56px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  transition: left 0.2s ease;
  z-index: 99;
}
#adminc-header .adminc-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
#adminc-header .adminc-header-logo {
  display: none;
  color: var(--primary);
}
#adminc-header .adminc-header-logo svg {
  width: 32px;
  height: 32px;
}
#adminc-header .adminc-header-logo .logoicon {
  font-weight: 900;
  font-size: 24px;
  text-decoration: none;
}
#adminc-header h1 {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}
@media (min-width: 768px) {
  #adminc-header h1 {
    font-weight: 600;
  }
}

#adminc-sidebar-toggle {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s ease;
  order: -1;
}
#adminc-sidebar-toggle svg {
  width: 20px;
  height: 20px;
}
#adminc-sidebar-toggle .adminc-icon-bars {
  display: block;
}
#adminc-sidebar-toggle .adminc-icon-close {
  display: none;
}
#adminc-sidebar-toggle.adminc-is-open .adminc-icon-bars {
  display: none;
}
#adminc-sidebar-toggle.adminc-is-open .adminc-icon-close {
  display: block;
}
#adminc-sidebar-toggle:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.adminc-main {
  margin-left: 240px;
  margin-top: 56px;
  padding: 1rem;
  min-height: calc(100vh - 56px);
  transition: margin-left 0.2s ease;
}
.adminc-main.analytics {
  padding: 0;
}

.adminc-sidebar-collapsed #adminc-header {
  left: 64px;
}
.adminc-sidebar-collapsed .adminc-main {
  margin-left: 64px;
}

@media (max-width: 768px) {
  #adminc-sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }
  #adminc-sidebar.adminc-open {
    transform: translateX(0);
  }
  #adminc-sidebar.adminc-collapsed {
    width: 240px;
  }
  #adminc-sidebar.adminc-collapsed .adminc-sidebar-logo span,
  #adminc-sidebar.adminc-collapsed nav a span {
    opacity: 1;
    pointer-events: auto;
  }
  #adminc-header {
    left: 0;
    justify-content: space-between;
  }
  #adminc-header .adminc-header-logo {
    display: flex;
    text-decoration: none;
  }
  #adminc-sidebar-toggle {
    order: 1;
  }
  .adminc-main {
    margin-left: 0;
  }
  .adminc-sidebar-collapsed #adminc-header {
    left: 0;
  }
  .adminc-sidebar-collapsed #adminc-header .adminc-header-logo {
    display: flex;
    text-decoration: none;
  }
  .adminc-sidebar-collapsed .adminc-main {
    margin-left: 0;
  }
}
.adminc-footnotes {
  margin-top: 48px;
  padding-top: 24px;
}

.adminc-footnotes-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 15px 20px;
  background: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 3rem;
  font-size: 0.8125rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  justify-content: center;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .adminc-footnotes-btn {
    width: inherit;
  }
}
.adminc-footnotes-btn svg {
  width: 16px;
  height: 16px;
}
.adminc-footnotes-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #475569;
}

.adminc-side-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 200;
}
.adminc-side-modal-overlay.adminc-open {
  opacity: 1;
  visibility: visible;
}

.adminc-side-modal {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 201;
  display: flex;
  flex-direction: column;
}
.adminc-side-modal.adminc-open {
  transform: translateX(0);
}

.adminc-side-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 56px;
  box-sizing: border-box;
  border-bottom: 1px solid #e2e8f0;
}
.adminc-side-modal-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}

.adminc-side-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}
.adminc-side-modal-close svg {
  width: 20px;
  height: 20px;
}
.adminc-side-modal-close:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.adminc-side-modal-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #475569;
}
.adminc-side-modal-body p {
  margin: 0 0 1em;
}
.adminc-side-modal-body p:last-child {
  margin-bottom: 0;
}

.adminc-modaltitle {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.color-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}
@media (min-width: 1200px) {
  .color-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.color-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.color-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.color-swatch {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.color-swatch .color-name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}
.color-swatch.dark-text .color-name {
  color: rgba(0, 0, 0, 0.7);
}
.color-swatch.light-text .color-name {
  color: rgba(255, 255, 255, 0.9);
}

.color-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #e2e8f0;
}

.color-value {
  position: relative;
  cursor: pointer;
  padding: 0.75rem 1rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background 0.2s ease;
  letter-spacing: -0.5px;
}
.color-value:hover {
  background: #f8fafc;
}
.color-value:hover .copy-icon {
  opacity: 0.6;
}
.color-value:active {
  background: #e2e8f0;
}
.color-value.copied {
  background: #dcfce7;
}
.color-value.copied .color-value-label {
  color: #166534;
}
.color-value.copied .color-value-text {
  color: #166534;
}

.copy-icon {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  opacity: 0.25;
  transition: opacity 0.2s ease;
  color: #64748b;
  width: 14px;
  height: 14px;
}

.color-value-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.color-value-text {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 576px) {
  .color-cards-grid {
    grid-template-columns: 1fr;
  }
  .color-values {
    grid-template-columns: 1fr;
  }
}
.logos,
.cards,
.files,
.images {
  width: 100%;
}

.cards .logo-preview,
.images .logo-preview {
  background: #f3f3f3;
}

.logo-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.logo-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.cards .logo-card .logo-name,
.images .logo-card .logo-name {
  background-color: #f3f3f3;
}
.cards .logo-card .logo-preview,
.images .logo-card .logo-preview {
  border-bottom: 0;
}

.logo-preview {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fff;
}
.logo-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-preview.dark-bg {
  background: #fff;
}

.cards .logo-preview,
.images .logo-preview {
  height: 240px;
}

.logo-info {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.3rem;
}

.logo-downloads {
  display: flex;
  gap: 1px;
  background: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.logo-download-btn {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0.75rem 1rem;
  background: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.logo-download-btn:hover {
  background: #f8fafc;
}
.logo-download-btn:hover .logo-download-icon {
  opacity: 0.8;
  transform: translateY(-1px);
}
.logo-download-btn:active {
  background: #e2e8f0;
}

.logo-download-icon {
  width: 20px;
  height: 20px;
  opacity: 0.5;
  transition: all 0.2s ease;
  color: #64748b;
}

.logo-download-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  transition: color 0.2s ease;
}

.files .logo-preview {
  background: #f8fafc;
  height: 200px;
}

.file-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #94a3b8;
}
.file-icon svg {
  opacity: 0.6;
}
.file-icon span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.logo-section-header {
  grid-column: 1/-1;
  margin-top: 4rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 0px solid #e2e8f0;
}
.logo-section-header:first-child {
  margin-top: 2rem;
}
.logo-section-header h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.logos-grid-section,
.cards-grid-section,
.files-grid-section,
.images-grid-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 1rem;
}
@media (min-width: 1200px) {
  .logos-grid-section,
  .cards-grid-section,
  .files-grid-section,
  .images-grid-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .logos-grid-section,
  .cards-grid-section,
  .files-grid-section,
  .images-grid-section {
    grid-template-columns: 1fr;
  }
}
.font-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

.font-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.font-card:hover {
  border-color: #cbd5e1;
}

.font-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 0px solid #e2e8f0;
  background: #fff;
}

.font-card-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.font-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.font-card-meta {
  font-size: 0.75rem;
  color: #64748b;
}

.font-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #12bb69;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
}

.font-card-preview {
  padding: 24px 20px;
}

.font-preview-large {
  font-size: 2rem;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 16px;
  word-break: break-word;
}
.font-preview-large span {
  display: none;
}
@media (min-width: 992px) {
  .font-preview-large span {
    display: inline-block;
  }
}

.font-preview-alphabet {
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.font-preview-numbers {
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
}

.font-card-footer {
  padding: 16px 20px;
  border-top: 0px solid #e2e8f0;
  background: #fff;
}

.font-source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
}
.font-source-link svg {
  width: 16px;
  height: 16px;
}
.font-source-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

.signature-wrapper {
  display: block;
  gap: 24px;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .signature-wrapper {
    display: flex;
  }
}

.signature-container {
  flex: 1;
  max-width: 600px;
}

.signature-toolbar {
  width: calc(100% - 2rem);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-top: 1rem;
}
@media (min-width: 768px) {
  .signature-toolbar {
    margin-top: 0rem;
    width: 200px;
  }
}

.sig-toolbar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sig-toolbar-desc {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sig-toolbar-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
}

.sig-toolbar-hint {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.4;
}

.sig-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.sig-toggle input {
  display: none;
}

.sig-toggle-track {
  position: relative;
  width: 51px;
  height: 31px;
  background: #e9e9eb;
  border-radius: 31px;
  transition: background 0.2s ease;
}
.sig-toggle-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.sig-toggle input:checked + .sig-toggle-track {
  background: var(--primary);
}
.sig-toggle input:checked + .sig-toggle-track::after {
  transform: translateX(20px);
}

.sig-color-wrapper {
  position: relative;
  flex-shrink: 0;
}

.sig-color-swatch {
  width: 44px;
  height: 44px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.sig-color-swatch:hover {
  border-color: #cbd5e1;
  transform: scale(1.02);
}

.sig-color-picker {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.sig-color-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 100;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.15s ease;
  min-width: 180px;
}
.sig-color-popover.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sig-color-presets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.sig-color-preset {
  width: 28px;
  height: 28px;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.sig-color-preset:hover {
  transform: scale(1.1);
}
.sig-color-preset.selected {
  border-color: var(--primary);
}
.sig-color-preset.light-color {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.sig-color-custom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.75rem;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sig-color-custom-btn svg {
  width: 14px;
  height: 14px;
}
.sig-color-custom-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.signature-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 600;
}
.signature-copy-btn svg {
  width: 20px;
  height: 20px;
}
.signature-copy-btn:hover {
  filter: brightness(1.1);
}

.signature-copy-btn.copied {
  background: #16a34a;
}

.signature-reset-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 38px;
  padding: 0 16px;
  background: #fff;
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.8125rem;
  font-weight: 500;
}
.signature-reset-btn svg {
  width: 16px;
  height: 16px;
}
.signature-reset-btn:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.signature-editor {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.sig-block {
  transition: all 0.2s ease;
}
.sig-block:last-child {
  border-bottom: none;
}
.sig-block.dragging {
  opacity: 0.5;
  background: #f1f5f9;
}
.sig-block.drag-over {
  border-top: 2px solid var(--primary);
}

.sig-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  box-shadow: 0px 0px 0px 1px #e2e8f0;
}

.sig-block-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.sig-block-arrows {
  display: flex;
  gap: 4px;
}

.sig-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.2s ease;
}
.sig-arrow svg {
  width: 16px;
  height: 16px;
}
.sig-arrow:hover {
  background: #e2e8f0;
  color: #475569;
}
.sig-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.sig-arrow:disabled:hover {
  background: transparent;
  color: #94a3b8;
}

.sig-block-content {
  padding: 16px;
}

.sig-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 2px 12px;
  margin: -4px -12px;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.sig-row:hover {
  background: #f8fafc;
}
.sig-row:hover .sig-row-controls {
  opacity: 1;
}
.sig-row img {
  max-width: 100%;
  height: auto;
  display: block;
}
.sig-row.row-hidden {
  opacity: 0.4;
}
.sig-row.row-hidden .sig-row-text {
  text-decoration: line-through;
}
.sig-row.row-hidden .sig-row-toggle .icon-visible {
  display: none;
}
.sig-row.row-hidden .sig-row-toggle .icon-hidden {
  display: block;
}

.sig-row-controls {
  display: flex;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  margin-left: auto;
}

.sig-row-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.2s ease;
}
.sig-row-toggle svg {
  width: 14px;
  height: 14px;
}
.sig-row-toggle .icon-hidden {
  display: none;
}
.sig-row-toggle:hover {
  background: #fef2f2;
  color: #ef4444;
}

.sig-row-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.2s ease;
}
.sig-row-arrow svg {
  width: 12px;
  height: 12px;
}
.sig-row-arrow:hover {
  background: #e2e8f0;
  color: #475569;
}
.sig-row-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.sig-row-arrow:disabled:hover {
  background: transparent;
  color: #94a3b8;
}

.sig-row-text {
  flex: 1;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  outline: none;
  border-radius: 4px;
  padding: 2px 4px;
  margin: -2px -4px;
  transition: all 0.2s ease;
}
.sig-row-text:focus {
  background: #fff;
  box-shadow: 0 0 0 2px var(--primary);
}
.sig-row-text.sig-row-small {
  font-size: 11px;
  color: #767676;
  max-width: 400px;
}

.sig-row[data-style=bold] .sig-row-text {
  font-weight: bold;
  font-size: 16px;
}

.sig-row-edit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.2s ease;
}
.sig-row-edit svg {
  width: 14px;
  height: 14px;
}
.sig-row-edit:hover {
  background: #e2e8f0;
  color: #475569;
}

.sig-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 300;
}
.sig-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sig-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 301;
}
.sig-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.sig-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
}
.sig-modal-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}

.sig-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}
.sig-modal-close svg {
  width: 20px;
  height: 20px;
}
.sig-modal-close:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.sig-modal-body {
  padding: 20px;
}

.sig-image-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sig-image-option {
  display: block;
  cursor: pointer;
}
.sig-image-option input[type=radio] {
  display: none;
}
.sig-image-option .sig-image-option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.sig-image-option .sig-image-option-card img {
  width: 80px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.sig-image-option .sig-image-option-name {
  font-size: 0.8125rem;
  color: #475569;
  font-weight: 500;
}
.sig-image-option:hover .sig-image-option-card {
  border-color: #cbd5e1;
  background: #fff;
}
.sig-image-option input[type=radio]:checked + .sig-image-option-card {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(16, 99, 59, 0.1);
}
.sig-image-option input[type=radio]:checked + .sig-image-option-card .sig-image-option-name {
  color: var(--primary);
  font-weight: 600;
}

.sig-form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 6px;
}

.sig-input,
.sig-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #1e293b;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.sig-input:focus,
.sig-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.sig-textarea {
  resize: vertical;
  min-height: 100px;
}

.sig-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 0 0 12px 12px;
}

.sig-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sig-btn.sig-btn-secondary {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #475569;
}
.sig-btn.sig-btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.sig-btn.sig-btn-primary {
  background: var(--primary);
  color: #fff;
}
.sig-btn.sig-btn-primary:hover {
  filter: brightness(1.1);
}

.sig-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 24px;
  background: #1e293b;
  color: #fff;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 400;
}
.sig-toast.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.signature-editor.preview-mode .sig-block-header {
  display: none;
}
.signature-editor.preview-mode .sig-row-drag {
  display: none;
}
.signature-editor.preview-mode .sig-row {
  cursor: text;
}
.signature-editor.preview-mode .sig-row.row-hidden {
  display: none;
}

.qr-codes-container {
  width: 100%;
}

.qr-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  width: 100%;
}
@media (min-width: 576px) {
  .qr-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .qr-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.qr-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.qr-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.qr-preview {
  padding: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: start;
  background: #ffffff;
  border-bottom: 0px solid #e2e8f0;
  min-height: 60px;
}
.qr-preview canvas,
.qr-preview svg {
  display: block;
  max-width: 70px;
  height: auto;
}
.qr-preview canvas path,
.qr-preview svg path {
  fill: #141414;
}

.qr-info {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.qr-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.25rem 0;
  word-break: break-word;
}

.qr-url {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  color: #64748b;
  word-break: break-all;
  margin: 0;
}

.qr-downloads {
  display: flex;
  gap: 1px;
  background: #e2e8f0;
}

.qr-download-btn {
  flex: 1;
  position: relative;
  cursor: pointer;
  padding: 0.75rem 1rem;
  background: #fff;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: background 0.2s ease;
  font-family: inherit;
}
.qr-download-btn:hover {
  background: #f8fafc;
}
.qr-download-btn:hover .qr-download-icon {
  opacity: 0.8;
  transform: translateY(-1px);
}
.qr-download-btn:active {
  background: #e2e8f0;
}
.qr-download-btn.downloading {
  background: #dbeafe;
}
.qr-download-btn.downloading .qr-download-label {
  color: #1e40af;
}

.qr-download-icon {
  width: 20px;
  height: 20px;
  opacity: 0.5;
  transition: all 0.2s ease;
  color: #64748b;
}

.qr-download-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  transition: color 0.2s ease;
}

.qr-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  color: #94a3b8;
  font-size: 0.875rem;
}

.qr-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  color: #ef4444;
  font-size: 0.875rem;
  padding: 1rem;
  text-align: center;
}

.qr-section-header {
  grid-column: 1/-1;
  margin-top: 4rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 0px solid #e2e8f0;
}
.qr-section-header:first-child {
  margin-top: 2rem;
}
.qr-section-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #000000;
  margin: 0;
}

.qr-cards-grid-section {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 1rem;
}
@media (min-width: 576px) {
  .qr-cards-grid-section {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .qr-cards-grid-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

.adminc-body h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.d-none {
  display: none !important;
}

.profile-box {
  display: block;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  max-width: 400px;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .profile-box {
    display: flex;
  }
}
.profile-box a {
  display: block;
  text-decoration: none;
  color: #1e293b;
}
.profile-box .profilepic {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.profile-box p {
  margin: 1rem 0 0;
  font-weight: 800;
  font-size: 1rem;
  color: #1e293b;
}
@media (min-width: 768px) {
  .profile-box p {
    margin: 0 0;
  }
}
.profile-box .link {
  font-size: 0.875rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}
.profile-box .link:hover {
  color: var(--primary);
}
.profile-box .btn {
  margin-top: 12px;
}
.profile-box .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.profile-box .button:hover {
  filter: brightness(1.1);
  color: #fff;
}
