/* =========================================================
   CREATE
   ========================================================= */

.ll-page-form{
  max-width: 980px;
  margin: 32px auto 40px;
  padding: 0 16px;
}

.ll-card-form{
  background: var(--ll-card);
  border-radius: 16px;
  border: 1px solid var(--ll-border);
  box-shadow: var(--ll-shadow);
  padding: 24px 20px 26px;
}

/* header */
.ll-form-header h1{
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  color: var(--ll-primary);
  text-align: center;
}

.ll-form-header p{
  margin: 0;
  color: var(--ll-muted);
  font-size: 1rem;
  text-align: center;
}

/* grid */
.ll-form-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

@media (max-width: 820px){
  .ll-form-grid{
    grid-template-columns: 1fr;
  }

  .ll-span-2{
    grid-column: 1;
  }
}

.ll-field{
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ll-field label{
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--ll-text);
}

.ll-field input[type="text"],
.ll-field input[type="tel"],
.ll-field input[type="email"],
.ll-field input[type="file"],
.ll-field textarea,
.ll-field select{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid var(--ll-border);
  padding: 11px 12px;
  font-size: .95rem;
  background: rgba(15,23,42,.03);
  color: var(--ll-text);
}

.ll-field input[type="tel"]{
  min-height: 46px;
}

.ll-field input[type="email"]{
  min-height: 46px;
}

.ll-field textarea{
  min-height: 120px;
  resize: vertical;
}

.ll-field input:focus,
.ll-field textarea:focus,
.ll-field select:focus{
  border-color: rgba(15,61,76,.55);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(15,61,76,.14);
}

.ll-field small{
  font-size: .8rem;
  color: var(--ll-muted);
  margin-top: 4px;
}

.ll-span-2{
  grid-column: 1 / -1;
}

.req{
  color: #ef4444;
}

/* hints */
.ll-hints{
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ll-hint-pill{
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .78rem;
  background: rgba(15,61,76,.08);
  border: 1px solid rgba(15,61,76,.18);
  color: var(--ll-primary-dark);
}

/* preço */
.ll-price{
  margin-top: 6px;
  font-size: .9rem;
  color: var(--ll-accent-dark);
  font-weight: 800;
}

/* actions */
.ll-actions{
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}

.ll-actions .ll-create-btn{
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  width: auto;
  min-width: 150px;
  flex: 0 0 auto;
  transition: all .18s ease;
}

/* botão principal */
.ll-actions .ll-btn-primary{
  background: linear-gradient(135deg, var(--ll-primary), var(--ll-primary-dark));
  color: #fff;
  border-color: var(--ll-primary-dark);
  box-shadow: 0 12px 24px rgba(15,61,76,.20);
}

.ll-actions .ll-btn-primary:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 16px 30px rgba(15,61,76,.24);
}

/* botão secundário */
.ll-actions .ll-btn-ghost{
  background: #fff;
  color: var(--ll-text);
  border: 1px solid var(--ll-border);
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
}

.ll-actions .ll-btn-ghost:hover{
  background: var(--ll-primary-soft);
  border-color: rgba(15,61,76,.25);
  transform: translateY(-1px);
}

@media (max-width: 640px){
  .ll-actions{
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .ll-actions .ll-create-btn{
    width: 100%;
    min-width: 100%;
  }
}








.ll-hours {
            display: flex;
            flex-direction: column;
            gap: 10px;
          }

          .ll-hour-row {
            display: grid;
            grid-template-columns: 140px 140px 1fr 1fr;
            gap: 10px;
            align-items: center;
            padding: 10px;
            border: 1px solid rgba(15, 23, 42, .08);
            border-radius: 12px;
            background: #fff;
          }

          .ll-hour-day {
            font-weight: 800;
            color: #0f172a;
          }

          .ll-hour-check {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
          }

          .ll-hour-time {
            display: flex;
            align-items: center;
            gap: 8px;
          }

          .ll-hour-time span {
            font-size: 12px;
            color: rgba(15, 23, 42, .7);
            min-width: 44px;
          }

          .ll-file {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
          }

          .ll-file-input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
            width: 1px;
            height: 1px;
          }

          .ll-file-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            padding: 0 16px;
            border: 1px solid #cfd8dc;
            border-radius: 10px;
            background: #fff;
            cursor: pointer;
            font-weight: 700;
            color: #0f172a;
          }

          .ll-file-btn:hover {
            background: #f8fafc;
          }

          .ll-file-name {
            color: #475569;
            font-size: 14px;
            word-break: break-word;
          }

          @media (max-width:820px) {
            .ll-hour-row {
              grid-template-columns: 1fr;
              align-items: stretch;
            }
          }

          #endereco {
            transition: all .2s ease;
          }

          #endereco:focus {
            border-color: #6f8f84;
            box-shadow: 0 0 0 3px rgba(111, 143, 132, .15);
            background: #f9fbfa;
          }

          #endereco:not(:placeholder-shown) {
            border-color: #6f8f84;
            background: #f8fbf9;
          }


          /* =========================
   UPLOADS — final premium
   ========================= */

          .ll-upload {
            display: flex;
            align-items: center;
            gap: 14px;
            width: 100%;
            min-height: 64px;
            padding: 10px 12px;
            border: 1px solid #dbe4ea;
            border-radius: 18px;
            background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
            box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
            transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
          }

          .ll-upload:hover {
            border-color: #b8c8d1;
            background: linear-gradient(180deg, #ffffff 0%, #f4f8f9 100%);
          }

          .ll-upload:focus-within {
            border-color: #6f8f84;
            box-shadow: 0 0 0 4px rgba(111, 143, 132, .12), 0 6px 18px rgba(15, 23, 42, .06);
            background: #fff;
          }

          .ll-upload-input {
            position: absolute !important;
            width: 1px !important;
            height: 1px !important;
            opacity: 0 !important;
            pointer-events: none !important;
            overflow: hidden !important;
          }

          .ll-upload-btn {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-width: 165px;
            height: 42px;
            padding: 0 16px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, .25);
            background: linear-gradient(180deg, #7f9d93 0%, #6f8f84 100%);
            color: #fff;
            font-size: 14px;
            font-weight: 800;
            line-height: 1;
            letter-spacing: .1px;
            cursor: pointer;
            white-space: nowrap;
            box-shadow:
              inset 0 1px 0 rgba(255, 255, 255, .18),
              0 8px 18px rgba(111, 143, 132, .20);
            transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
          }

          .ll-upload-btn:hover {
            transform: translateY(-1px);
            filter: brightness(1.03);
            box-shadow:
              inset 0 1px 0 rgba(255, 255, 255, .22),
              0 10px 22px rgba(111, 143, 132, .24);
          }

          .ll-upload-btn:active {
            transform: translateY(0);
          }

          .ll-upload-btn-icon {
            width: 16px;
            height: 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
          }

          .ll-upload-btn-icon svg {
            width: 16px;
            height: 16px;
            display: block;
          }

          .ll-upload-meta {
            flex: 1;
            min-width: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
          }

          .ll-upload-name {
            flex: 1;
            min-width: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #64748b;
            font-size: 14px;
            font-weight: 600;
            line-height: 1.35;
            padding: 0 8px;
            word-break: break-word;
            transition: color .18s ease;
          }

          .ll-upload.has-file .ll-upload-name {
            color: #0f172a;
            font-weight: 800;
          }

          .ll-upload-badge {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 28px;
            padding: 0 12px;
            border-radius: 999px;
            background: #eef2f6;
            color: #475569;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: .15px;
            white-space: nowrap;
            border: 1px solid rgba(15, 23, 42, .05);
          }

          .ll-upload-badge.is-main {
            background: #fff4d6;
            color: #9a6700;
          }

          .ll-upload-badge.is-gallery {
            background: #e8f4ff;
            color: #0f5d9c;
          }

          .ll-upload-badge.is-logo {
            background: #eaf7ee;
            color: #2f6b4f;
          }

          .ll-upload-preview {
            margin-top: 12px;
            width: 100%;
            max-width: 240px;
          }

          .ll-upload-preview-img {
            display: block;
            width: 100%;
            height: 160px;
            object-fit: cover;
            border-radius: 16px;
            border: 1px solid #e2e8f0;
            background: #f8fafc;
            box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
            transition: transform .18s ease, box-shadow .18s ease;
          }

          .ll-upload-preview-img:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 26px rgba(15, 23, 42, .11);
          }

          .ll-upload-preview-grid {
            margin-top: 14px;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
            gap: 10px;
          }

          .ll-upload-preview-item {
            position: relative;
            overflow: hidden;
            border-radius: 16px;
            border: 1px solid #e2e8f0;
            background: #fff;
            aspect-ratio: 1/1;
            box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
            transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
          }

          .ll-upload-preview-item:hover {
            transform: translateY(-2px);
            border-color: #cbd5e1;
            box-shadow: 0 12px 24px rgba(15, 23, 42, .10);
          }

          .ll-upload-preview-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
          }

          .ll-upload-preview-count {
            grid-column: 1 / -1;
            margin-top: 2px;
            color: #475569;
            font-size: 13px;
            font-weight: 800;
          }

          .ll-upload.is-error,
          .ll-field.has-error .ll-upload {
            border-color: #d96c6c;
            box-shadow: 0 0 0 4px rgba(217, 108, 108, .10);
            background: #fff;
          }

          @media (max-width: 820px) {
            .ll-upload {
              flex-direction: column;
              align-items: stretch;
            }

            .ll-upload-btn {
              width: 100%;
              min-width: unset;
            }

            .ll-upload-meta {
              flex-direction: column;
              align-items: center;
              justify-content: center;
            }

            .ll-upload-name {
              width: 100%;
              justify-content: center;
              text-align: center;
            }

            .ll-upload-badge {
              align-self: center;
            }

            .ll-upload-preview {
              max-width: 100%;
            }
          }



          /* =========================
   PREVIEW MAPA NO CREATE
   ========================= */

.ll-map-preview-box{
  width:100%;
  min-height:260px;
  border:1px solid #dbe4ea;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafb 100%);
  box-shadow:0 4px 14px rgba(15,23,42,.04);
  overflow:hidden;
}

.ll-map-preview-empty{
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px;
  color:#64748b;
  font-size:14px;
  font-weight:600;
  background:
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(248,250,251,.96));
}

.ll-map-preview-frame{
  display:block;
  width:100%;
  height:320px;
  border:0;
  background:#fff;
}

#endereco.is-map-ready{
  border-color:#6f8f84;
  background:#f8fbf9;
  box-shadow:0 0 0 3px rgba(111,143,132,.10);
}

#endereco.is-map-error{
  border-color:#d96c6c;
  background:#fff7f7;
}

@media (max-width: 820px){
  .ll-map-preview-box,
  .ll-map-preview-empty{
    min-height:220px;
  }

  .ll-map-preview-frame{
    height:260px;
  }
}

.ll-err{
  display:none;
  margin-top:6px;
  font-size:12px;
  font-weight:700;
  color:#dc2626 !important;
}

.ll-field.is-invalid .ll-err{
  display:block;
}

.ll-field.is-invalid .ll-upload{
  border-color:#dc2626 !important;
  box-shadow:0 0 0 3px rgba(220,38,38,.10);
  border-radius:14px;
}

.ll-field.is-invalid .ll-upload-name{
  color:#b91c1c !important;
}


#galeria_hint.is-note{
  display:block;
  margin-top:6px;
  font-size:12px;
  font-weight:700;
  color:#b45309;
}


/* ===== VÍDEOS (PRO / PREMIUM) ===== */
#video_group_1,
#video_group_2{
  margin-top: 18px;
}

/* Label */
#video_group_1 label,
#video_group_2 label{
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ll-text);
}

/* Input */
#video_group_1 .ll-input,
#video_group_2 .ll-input{
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid var(--ll-border);
  background: #fff;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ll-text);
  box-sizing: border-box;
  transition: border-color .18s ease, box-shadow .18s ease;
}

/* Focus */
#video_group_1 .ll-input:focus,
#video_group_2 .ll-input:focus{
  outline: none;
  border-color: rgba(79,111,82,.45);
  box-shadow: 0 0 0 4px rgba(79,111,82,.10);
}

/* Placeholder */
#video_group_1 .ll-input::placeholder,
#video_group_2 .ll-input::placeholder{
  color: rgba(100,116,139,.85);
  font-size: 13px;
}

/* Texto de ajuda */
#video_group_1 small,
#video_group_2 small{
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ll-muted);
}

/* Erros */
#video_group_1 .ll-err,
#video_group_2 .ll-err{
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #b91c1c;
}

/* Estados */
#video_group_1.is-invalid .ll-input,
#video_group_2.is-invalid .ll-input{
  border-color: rgba(185,28,28,.45);
  box-shadow: 0 0 0 4px rgba(185,28,28,.08);
}

#video_group_1.is-valid .ll-input,
#video_group_2.is-valid .ll-input{
  border-color: rgba(22,163,74,.35);
  box-shadow: 0 0 0 4px rgba(22,163,74,.08);
}

/* ===== MOBILE ===== */
@media (max-width: 640px){

  #video_group_1,
  #video_group_2{
    margin-top: 20px;
  }

  #video_group_1 label,
  #video_group_2 label{
    font-size: 13px;
  }

  #video_group_1 .ll-input,
  #video_group_2 .ll-input{
    min-height: 54px;
    padding: 14px;
    font-size: 13px;
  }

  #video_group_1 small,
  #video_group_2 small{
    font-size: 12px;
    line-height: 1.55;
  }

  /* Espaço antes dos botões */
  .ll-actions{
    margin-top: 20px;
  }
}

/* BOTÃO ESCOLHER FICHEIRO — versão final compacta */
.ll-upload-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 40px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;

  background: linear-gradient(180deg, #8fb3a0, #6f9783);
  color: #0f2a1d;

  border: 1px solid rgba(40, 70, 55, .25);
  box-shadow: 0 8px 18px rgba(40, 70, 55, .12);

  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;

  width: auto;
  min-width: 150px;
  max-width: 180px;
}

/* MOBILE */
@media (max-width: 768px){
  .ll-upload-btn{
    width: 100%;
    max-width: none;
  }
}
/* Ícone */
.ll-upload-btn-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ll-upload{
  min-height: 58px;
  padding: 8px 10px;
}

.ll-upload-name{
  font-size: 13px;
}

.ll-upload-badge{
  height: 24px;
  padding: 0 9px;
  font-size: 11px;
}



/* =========================================
   CREATE MOBILE — título alinhado
   ========================================= */

@media (max-width: 768px){

  .ll-form-header{
    text-align: center;
    margin-bottom: 22px;
  }

  .ll-form-header h1{
    font-size: 2.0rem !important;
    line-height: 1.1;
    text-align: center !important;
    margin: 0 0 10px !important;
  }

  .ll-form-header p{
    font-size: 1.05rem;
    line-height: 1.45;
    text-align: center !important;
    max-width: 320px;
    margin: 0 auto !important;
  }

}


.ll-field-title{
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--ll-text);
}




.ll-address-warning{
  display:block;
  margin-top:8px;
  padding:10px 12px;
  border-radius:12px;
  background:#fff7ed;
  color:#9a3412;
  font-weight:700;
  border:1px solid #fed7aa;
}







/* =========================================
   Aviso de ajuda no create
   ========================================= */




.ll-create-help-box{
  grid-column:1 / -1;
  margin:18px 0 6px;
  padding:16px 18px;
  border-radius:16px;
  background:#f0fdf4;
  border:1px solid #bbf7d0;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
}

.ll-create-help-title{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  color:#14532d;
  margin-bottom:8px;
}

.ll-create-help-title i{
  color:#16a34a;
  font-size:18px;
}

.ll-create-help-text{
  margin:0 0 12px;
  color:#365246;
  line-height:1.55;
  font-size:14px;
}

.ll-create-help-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  border-radius:999px;
  background:#16a34a;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
}

.ll-create-help-btn:hover{
  background:#15803d;
  color:#fff;
}

@media (max-width: 640px){
  .ll-create-help-box{
    padding:14px;
    border-radius:14px;
  }

  .ll-create-help-btn{
    width:100%;
  }
}