@font-face {
  font-family: FuturaLTProLight;
  src: url(./fonts/FuturaLTProLightCond.otf);
}

@font-face {
  font-family: FuturaLTProMedium;
  src: url(./fonts/FuturaLTProMediumCondObl.otf);
}

@font-face {
  font-family: FuturaLTProBold;
  src: url(./fonts/FuturaLTProBoldCond.otf);
}
    
body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    margin: 16px;
    max-width: 1100px;
    background-color: #000000;
    color: #ffffff;
    margin-inline: auto;
}

h1 { 
    font-size: 30px; margin: 0 0 12px;
    font-family: FuturaLTProBold;
}

.layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 16px;
    align-items: start;
}

@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }

.panel {
    border: 1px solid rgba(127,127,127,.35);
    border-radius: 10px;
    padding: 12px;
}
.panel h2 { font-size: 14px; margin: 0 0 10px; opacity: 0.85; }

label { display: block; font-size: 12px; opacity: 0.9; margin-top: 10px; }
input[type="text"],
select,
textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(127,127,127,.35);
    background: transparent;
    color: inherit;
    outline: none;
}
select { appearance: none; }
textarea { min-height: 80px; resize: vertical; }
input[type="file"] { margin-top: 6px; font-size: 12px; }
.upload { margin-top: 12px; }

.area {
    margin-top: 10px;
    padding: 10px;
}
.area-title {
    font-family: FuturaLTProLight;
    font-size: 25px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    gap: 8px;
}
.area-title small { font-size: 11px; opacity: 0.75; }

.btnrow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
button {
    display: block;
    position: relative;
    width: 200px;
    height: 50px;
    border-radius: 5px;
    color: #ffffff;
    background-color: #000000;
    border: 1px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: FuturaLTProMedium;
    font-size: 25px;
}
button:hover { background: rgba(127,127,127,.18); }

canvas {
    width: 100%;
    height: auto;
    display: block;
    background: #111;
}

.status {
    margin-top: 10px;
    font-family: FuturaLTProLight;
    color: #d12323;
    font-size: 20px;
    opacity: 0.85;
    padding: 8px;
    white-space: pre-wrap;
}

.imageButton {
    background-color: #000000;
    color: #ffffff;
}

.imageButton {
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    position: absolute;
}


.upload label {
    display: block;
    position: relative;
    width: 200px;
    height: 50px;
    border-radius: 5px;
    background-color: #000000;
    border: 1px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: FuturaLTProMedium;
    font-size: 25px;
}



select {
  appearance: none;
  @supports (appearance: base-select) {
    &,
    &::picker(select) {
      appearance: base-select;
    }
  }
}

select {
  display: flex;
  justify-content: space-between;
  min-width: 75px;
  width: 100px;
  align-items: center;
  color: white;
  padding-block: 10px;
  padding-inline: 10px 30px;
  border-radius: 5px;
  border: 1px solid #ffffff;
  cursor: pointer;
  font-weight: 700;
  background: #000000
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23FFF' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E%0A")
    right 10px center / 20px no-repeat;
  @supports (appearance: base-select) {
    padding-inline: 10px;
    background-image: none;
    &::picker-icon {
      content: "";
      width: 20px;
      height: 20px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23FFF' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E%0A");
      transition: rotate 0.2s ease-out;
    }
    &:open::picker-icon {
      rotate: 180deg;
    }
    &::picker(select) {
      padding: 0;
      margin-top: 5px;
      border: 1px solid #ffffff;
      background: #000000;
      border-radius: 5px;
      font-weight: 400;

      opacity: 0;
      height: 0;
      overflow: clip;
      transition: height 0.5s ease-out, opacity 0.5s ease-out, overlay 0.5s,
        display 0.5s;

      transition-behavior: allow-discrete;
    }
    &:open::picker(select) {
      opacity: 1;
      height: calc-size(auto, size);
      overflow: auto;
      @starting-style {
        opacity: 0;
        height: 0;
      }
    }
    option {
      padding: 10px;
      border-top: 1px solid plum;
      cursor: pointer;
      transition-property: color, background;
      transition-duration: 0.2s;
      transition-timing-function: ease-out;
      &:where(:hover, :focus, :active) {
        background: plum;
        color: white;
      }
      &:checked {
        background: violet;
        color: white;
      }
      &::checkmark {
        display: none;
      }
      &:first-child {
        border: 0;
      }
    }
  }
}

textarea {
    border: 1px solid #fff;
    font-family: FuturaLTProLight;
    font-size: 22px;
}

input {
    border: 1px solid #fff;
    font-family: FuturaLTProLight;
    font-size: 22px;
}

.created {
    color: #b8b8b8;
    font-size: 12px;
}