:root {
  --brand: #0d6efd;
  --bg: #f8f9fa;
}

body {
  background: #f8f9fa;
}

.navbar {
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  background-color: #8d9a04 !important;
}

.nav-link{
  color: #fff;
}

/* Buttons */
.btn-primary {
  background-color: #8d9a04 !important;
  border-color: #8d9a04 !important;
}
.btn-primary:hover {
  background-color: #9fad03 !important;
  border-color: #9fad03 !important;
}

.adsense-slot {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f5;
  border: 1px dashed #ced4da;
  border-radius: 8px;
  color: #6c757d;
}

.tool-card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

.preview-wrap {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 12px;
}

.canvas-wrap {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: auto;
  text-align: left;
}

.canvas-wrap canvas {
  max-width: 100%;
  height: auto;
  background: transparent;
  image-rendering: crisp-edges;
}

.thumb {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #eaecef;
}

.form-section-title {
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6c757d;
  font-weight: 700;
}

.range-output {
  min-width: 42px;
  display: inline-flex;
  justify-content: center;
}

.options-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
}

.small-note {
  font-size: .85rem;
  color: #6c757d;
}

.ratio-badge {
  font-size: .8rem;
  background: #eef2ff;
  color: #334155;
  border: 1px solid #dbeafe;
  border-radius: 6px;
  padding: .15rem .5rem;
}

.checkerboard {
  background:
    linear-gradient(45deg, #e5e7eb 25%, transparent 25%) -8px 0/16px 16px,
    linear-gradient(-45deg, #e5e7eb 25%, transparent 25%) -8px 0/16px 16px,
    linear-gradient(45deg, transparent 75%, #e5e7eb 75%) -8px 0/16px 16px,
    linear-gradient(-45deg, transparent 75%, #e5e7eb 75%) -8px 0/16px 16px,
    #f8fafc;
}

.gradient-preview {
  height: 40px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.footer {
  background-color: #8d9a04 !important;
}