
/* –––––––––––––––––––––––––––––––––––––––––––––– logo examples */

/* Minimal centered loader */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: #000;
  animation: spin 0.8s ease-in-out infinite;
  z-index: 1000;
  display: none;
}

.loading-spinner.active {
  display: block;
}

/* Dim the background when loading */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 999;
  display: none;
}

.loading-overlay.active {
  display: block;
}

.examples-container {
  display: grid;
  grid-template-columns: repeat(3, 33%);
  gap: 12px;
  align-items: stretch;
  justify-content: space-between;
  grid-auto-rows: 1fr;
}
.examples-container > div {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  border: 1px solid rgba(0,0,0,.03);
  flex-direction: column;
}
.examples-container > div:hover {
  animation: pop-out 0.1s ease-out both;
}
@-webkit-keyframes pop-out {
  0% {
    transform: scale(1);
    box-shadow: 0;
  }
  100% {
    transform: scale(1.01);
    box-shadow: 0 0 19px -8px rgba(0,0,0,0.75);

  }
}
.lmlogo-container {
  /* more top and bottom padding nicer for 2 or more words */
  padding: 5rem 3rem 5.4rem;
  min-height: 270px;

  position: relative;
  background-color: var(--primary-color);
}
.lmlogo-container::after {
  content: 'Customize →';
  position: absolute;
  bottom: 1rem;
  right: 1rem;

  border-radius: 3rem;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: .03rem;
  font-weight: 480;

  font-size: .7rem;
  font-size: calc((1.05 - 1) * 1.2vw + .6rem);
  padding: 0.5rem 1.3rem;

  color: white;
  border: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, .7);
}
.font-shop-link {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  text-decoration: none;
  color: rgba(255, 255, 255, .8);
  font-size: .7rem;
  font-size: calc((1.05 - 1) * 1.2vw + .6rem);
  text-transform: capitalize;
  letter-spacing: .01rem;
  line-height: 1.1;
  border-radius: 0;

  display: inline-block;
  background: rgba(0, 0, 0, .2);
  padding: .3em .4em .5em .4em;
  border-radius: 2px;
}
.font-shop-link a {
  text-decoration: underline;
  color: rgba(255,255,255,.8);
  /* border-bottom: 1px solid rgba(255,255,255,.5); */
  white-space: nowrap;
}
.font-shop-link a::after {
  content: ' ↗';
}
@media only screen and (max-width: 1280px) {
  .font-shop-link a {
    /* ensure link collapses when too small */
    white-space: normal;
    border-bottom: 0;
    /* text-decoration: underline; */
  }
}
/* phone big */
@media only screen and (max-width: 768px) {
  .examples-container-test,
  .examples-container {
    display: grid;
    grid-template-columns: repeat(1, 100%);
    margin-bottom: 25px;
  }
  .font-shop-link {
    width: 50%;
  }
}
/* ––––––––––––––––––––––––––––––––––––––––––––––  sidebar */

.refine-container {
  background: rgba(119,119,119,.1);
  border-radius: .1rem;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 40px;
  height: calc(100vh - 145px);
  overflow-y: auto;
  border-radius: .5rem;
}
.refine-container .section {
  width: 100%;
  padding: .2rem 0.7rem;
}
hr.gray {
  background-color: transparent;
  border-bottom: 2px solid #f2f2f2;
}
.refine-container h2 {
  color: #000;
  width: 100%;
  padding: 0;
  margin: 0;
  margin-bottom: 0.3rem;
  margin-top: 0;
  font-size: calc(.45rem + .2vw);
  font-weight: 440;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.refine-container h2:first-of-type {
  margin-top: .4rem;
}
.colors-container form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2px;
  row-gap: 2px;
}
.refine-container input#brandname.mm-form-input {
  margin-top: .3rem;
  border-radius: .3rem;
  letter-spacing: -.02rem;
  padding-left: .5rem;
}
.refine-color {
  aspect-ratio: 3 / 1;
  position: relative;
}
.refine-color.black {
  background-color: #23272d;
  border-top-left-radius: 5px;
}
.refine-color.gray {
  background-color: #ccc;
}
.refine-color.white {
  background-color: #fcfcfc;
}
.refine-color.red {
  background-color: rgb(230, 60, 50);
  border-top-right-radius: 5px;
}
.refine-color.orange {
  background-color: rgb(255, 100, 30);
}
.refine-color.brown {
  background-color: rgb(39, 34, 2);
}
.refine-color.yellow {
  background-color: rgb(250, 215, 0);
}
.refine-color.green {
  background-color: rgb(40, 85, 25);
}
.refine-color.teal {
  background-color: rgb(3, 70, 65);
}
/* Full width update button */
.refine-update-color {
  width: 100%;
  display: block;
  text-align: center;
  padding: 0.5rem 1rem;
  margin: 0.5rem 0;
}

.refine-color.blue {
  background-color: rgb(40, 80, 235);
}
.refine-color.purple {
  background-color: rgb(133, 52, 217);
  border-bottom-left-radius: 5px;
}
.refine-color.pink {
  background-color: #fa786e;
  border-bottom-right-radius: 5px;
}

/* ––––––––––––––––––––––––––– checkbox design */
/* Base for label styling */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
  position: absolute;
  left: 0;
  opacity: 0.01;
}
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
  padding-left: 1.3rem;
  padding-top: 0.12rem;
  /* font-size: .5rem; */
  font-size: calc(.45rem + .2vw);
  line-height: 1.7;
  cursor: pointer;
  color: black;
  margin-bottom: 0;
  border-radius: 1rem;
  padding-right: 0.4rem;
  text-transform: uppercase;
  letter-spacing: .02rem;
  height: fit-content;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0,-50%);
}
.effects [type="checkbox"]:not(:checked) + label,
.effects [type="checkbox"]:checked + label {
  position: relative;
}
.label-white [type="checkbox"]:not(:checked) + label,
.label-white [type="checkbox"]:checked + label {
  color: white;
}
/* checkbox aspect */
[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 1rem;
  height: 1rem;
  border: 1px solid #ccc;
  background: #FFF;
  border-radius: 1rem;
  box-shadow: inset 0 1px 3px rgba(0,0,0, .1), 0 0 0 rgba(250, 70, 0, .2);
  -webkit-transition: all .275s;
  transition: all .275s;
}
/* checked mark aspect */
[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after {
  content: '✕';
  content: "\2713";
  position: absolute;
  top: 0.7rem;
  left: 0.09rem;
  font-size: .7rem;
  color: #333;
  line-height: 0;
  -webkit-transition: all .2s;
  transition: all .2s;
}
/* checked mark aspect changes */
[type="checkbox"]:not(:checked) + label:after {
  opacity: 0;
  -webkit-transform: scale(0) rotate(45deg);
      transform: scale(0) rotate(45deg);
}

[type="checkbox"]:checked + label:after {
  opacity: 1;
  -webkit-transform: scale(1) rotate(0);
      transform: scale(1) rotate(0);
}
/* Disabled checkbox */
[type="checkbox"]:disabled:not(:checked) + label:before,
[type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #e9e9e9;
}
[type="checkbox"]:disabled:checked + label:after {
  color: #777;
}
[type="checkbox"]:disabled + label {
  color: #aaa;
}
/* Accessibility */
[type="checkbox"]:checked:focus + label:before,
[type="checkbox"]:not(:checked):focus + label:before {
  box-shadow: inset 0 1px 3px rgba(0,0,0, .1), 0 0 0 6px rgba(250, 70, 0, .2);
}
select {
  width: 100%;
  padding: 0.5rem 0.3rem;
  border-radius: 4rem;
  border: 1px solid rgba(0,0,0,.1);
}
select.custom-select {
  background-color: white;
  border: 0;
  border-radius: 5px;
  background-position: right 0.5rem center;
}
/* chatgpt */
.fun-letter {
  display: inline-block;
  transform: rotate(var(--angle, 0deg));
}
.word-row > div {
  transition: transform 2s ease;
}
.effects label {
  padding: 0;
  margin: 0;
  margin-bottom: 0;
  margin-top: 0;
  font-size: calc(.45rem + .2vw);
  font-weight: 440;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.8);
}
.effects input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  background: #ccc;
  border-radius: 1px;
  outline: none;
  transform: translateY(-10px);
}
/* dont combine below */
.effects input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: .7vw;
  height: .7vw;
  border-radius: 50%;
  background: #333;
  cursor: pointer;
}
.effects input[type="range"]::-moz-range-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #333;
  cursor: pointer;
}
.effects input[type="range"]::-ms-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #333;
  cursor: pointer;
}
/* claude */
/* ai prompt describe your style */
.ai-prompt-section {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.ai-prompt-section textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: .3rem;
  font-size: .8em;
}
.beta-tag {
  font-size: 0.7em;
  color: #666;
  font-weight: normal;
  margin-left: 8px;
}
.char-counter {
  font-size: 0.8em;
  color: #999;
  text-align: right;
  margin-top: 4px;
}

.ai-prompt-container textarea {
  line-height: 1.1;
  resize: none;
  border: none; /* mid gray, 2px solid */
  outline: none; /* removes the default focus outline */
  border-radius: .3rem;
}

.ai-prompt-container textarea:focus {
  border: none; /* keeps the same border on focus */
}
/* Gradient Color Picker */
.gradient-picker-container {
    margin-bottom: 20px;
}

.gradient-container {
    position: relative;
    width: 100%;
    height: 100px;
    border-radius: .3rem;
    overflow: hidden;
    cursor: crosshair;
    border: 2px solid #ddd;
    margin-bottom: 5px;
    cursor: default; /* Remove crosshair from container */
}
.hue-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
        hsl(0, 100%, 50%) 0%,
        hsl(30, 100%, 50%) 8.33%,
        hsl(60, 100%, 50%) 16.66%,
        hsl(90, 100%, 50%) 25%,
        hsl(120, 100%, 50%) 33.33%,
        hsl(150, 100%, 50%) 41.66%,
        hsl(180, 100%, 50%) 50%,
        hsl(210, 100%, 50%) 58.33%,
        hsl(240, 100%, 50%) 66.66%,
        hsl(270, 100%, 50%) 75%,
        hsl(300, 100%, 50%) 83.33%,
        hsl(330, 100%, 50%) 91.66%,
        hsl(360, 100%, 50%) 100%
    );
}
.color-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transform: translate(-50%, -50%);
    cursor: grab;
    z-index: 10;
}
.color-dot:active {
    cursor: grabbing;
}
.color-info {
    text-align: center;
    display: none;
}
.color-name {
    font-weight: bold;
    text-transform: capitalize;
    font-size: 16px;
    color: #333;
}
@media only screen and (max-width: 1280px) {
  .colors-container form {
    grid-template-columns: repeat(1, 1fr);
  }
  .refine-color {
    aspect-ratio: 4 / 1;
  }
  .refine-color.black {
    border-top-right-radius: 5px;
  }
  .refine-color.red {
    border-top-right-radius: 0;
  }
  .refine-color.purple {
    border-bottom-left-radius: 0;
  }
  .refine-color.pink {
    border-bottom-left-radius: 5px;
  }
  .cta-pill.medium {
    font-size: calc((1.05 - 1) * 1.2vw + .65rem);
  }
}
/* larger phone, used to be 1024 */
@media (max-width: 767px) {
  .refine-container {
    position: relative;
    top: 0;
    height: 80vh;
    overflow-y: scroll;
    margin-bottom: 10px;
  }
  .refine-container h2 {
    margin-top: 1rem;
  }
  /* labels */
  .refine-container h2,
  .effects label {
    font-size: calc(.45rem + .7vw);
  }
  .refine-container .section {
    padding: 0;
  }
  .gradient-container {
    height: 60px;
  }
  .refine-update-color {
    margin-top: 1rem;
  }
  .effects input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 13px;
    height: 13px;
  }
  .cta-pill.medium {
    margin-top: 1rem;
    margin-bottom: 2rem;
  }
}
