*{
    font-family: "Cairo", serif !important;
  
  }
  :root{
    --brand:#ff4b5c;
    --ink:#121314;
    --ink-2:#2a2f37;
    --muted:#6b7280;
    --line:#e6e7eb;
    --bg:#fafafa;
    --white:#fff;
    --radius:16px;
    --shadow:0 10px 25px rgba(0,0,0,.06);
    --ring:0 0 0 3px rgba(255,75,92,.18);
  }
body {
    font-family: 'Cairo', sans-serif;
    background-color: #ffffff !important;
    margin: 0;
    padding: 0;
}

h1{
    font-size: 28px;
    font-family: 'Cairo', sans-serif !important;
    color: #333;
}
h5{
  font-size: 22px;
  font-weight: 700;
}
h2,h3,h4{
    font-size: 22px;
    font-weight: 700;

    font-family: 'Cairo', sans-serif !important;

}
span{
  font-family: 'Cairo', sans-serif !important;

}
input{
  font-family: 'Cairo', sans-serif !important;

}
textarea{
  font-family: 'Cairo', sans-serif !important;
  font-weight: 600;
  background-color: white;
  border: 1px solid #0000001d;
  border-radius: 5px;
  font-size: 13px;
  color: #333;
  height: 35px;
  width: 100%;
  padding: 0px 10px;
  box-sizing: border-box;
  outline: none;
  display: block; /* or inline-block, not flex */

}
label{
  font-family: 'Cairo', sans-serif !important;

}
button{
  font-family: 'Cairo', sans-serif !important;

}

.category-item svg:dir(rtl){
    position: absolute;
    transform: rotate(180deg);
    left: 5px;
}
.category-item svg:dir(ltr){
    position: absolute;
    right: 5px;
}

input ,select{
  font-family: 'Cairo', sans-serif !important;
  font-weight: 600;
  background-color: white;
  border: 1px solid #0000001d;
  border-radius: 5px;
  font-size: 13px;
  color: #333;
  height: 35px;
  width: 100%;
  padding: 0px 10px;
  box-sizing: border-box;
  outline: none;
  display: block; /* or inline-block, not flex */
  
  }

p{
    font-size: 14px;
    margin-bottom: 5px;
    font-family: 'Cairo', sans-serif !important;
}
a{
    color: #555 !important;
    text-decoration: none !important;
    font-family: 'Cairo', sans-serif !important;

}



.header {position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#fff;border-bottom:1px solid #f0f0f0}

.header:dir(rtl){
    flex-direction: row-reverse;
}

.header .back-arrow {
    font-size: 24px;
    color: #333;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header .back-arrow:hover {
    color: #ffc107;
}
.postform{
    margin: auto;
    max-width: 500px;
}

.postform input[type="file"]{
    width: 100%;
    opacity:0;
    position: absolute;
    z-index: 2;
    height: 100%;
  
  }

  #onClickPositionView{
    display: none;
  }
  .theuploaderinput{
    border: 1px solid #0000001d;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 10px;
    padding: 15px;
    background: #fff;
}

#map{
  margin-top: 20px;
  height: 300px;
  width: 100%;
  border-radius: 10px;
}

#previewContainer { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .75rem; margin-top: 1rem; }


.postform-container {
    padding: 0px 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
}

.postform-header h2 {
    font-size: 22px;
    color: #d84b52;
    text-align: center;
    margin-bottom: 15px;
}

.postform-header p {
    color: #555;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

textarea.form-control{
  height: 120px !important;
}

.hq-thumb { position: relative; border: 1px solid #e5e7eb; border-radius: .75rem; overflow: hidden; }
.hq-thumb img { width: 100%; height: 96px; object-fit: cover; display: block; }
.hq-thumb button { position: absolute; top: .25rem; right: .25rem; }
.field-error { color: #dc3545; font-size: .75rem; margin-top: .25rem; }
.form-control{
    border: 1px solid #00000067;
    font-weight: 300;
    font-style: normal;
    background: transparent;
    border-radius: 5px;
    display: flex;
    font-size: 14px;
    width: 100%;
}
.iti--allow-dropdown{
    width: 100%;
}
.form-select{
    border: 1px solid #0000001d;
    font-weight: 400;
    font-style: normal;
    border-radius: 5px;
    display: flex
;
    font-size: 13px;
    width: 100%;
    padding: 0px 10px;
}

.check_lable span {
  border: 2px solid #0000001d;
  border-radius: 20px;
  font-size: 12px;
  color: #495057;
  padding: 0px 20px;
  font-weight: 700 ;
  margin: 5px;
  transition: box-shadow .12s ease, border .12s ease;
}

.check_lable input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

/* Change border color of span when checkbox is checked */
.check_lable input[type="checkbox"]:checked + span {
    border-color: #d84b52;
}
.multiselect {
    max-height: 200px;
    overflow-y: auto;
    border-radius: .25rem;
    padding: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
  }
  
  .form-check {
    margin-bottom: .5rem;
  }
  
  .form-check-input {
    margin-top: .3rem;
  }
  
  .form-check-label {
    margin-left: .5rem;
  }


  .installmentMark{
    padding: 6px;
    background-color: #40e0d0;
    border-radius: 10px;
    color: #fff;
    max-width: 140px;
    font-size: 13px;
  }
  .installmentMarkCard{
    left: 10px;
    top: 5px;
    position: absolute;
    padding: 6px;
    background-color: #40e0d08f;
    border-radius: 10px;
    color: #fff;
    max-width: 140px;
    font-size: 13px;
  }
  #otherSelectorContainer{
    display: none;
  }

  .custom-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .custom-form-group {
    margin-bottom: 20px;
  }
  
  .custom-form-label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
  }
  .form-label{
    color: #495057;
    font-weight: 700;
    display: inline-block;
    margin-bottom: .5rem;
  }
  .mb-3{
    margin-bottom: 0px;
  }
  
  .custom-form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 10px;
  }
  
  .custom-radio-container {
    display: none;
  }
  
  .custom-radio-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .custom-radio-input {
    margin-right: 10px;
    width: 30px;
    height: 18px;
    accent-color: #007bff;
  }
  
  .custom-radio-label {
    margin: 10px;
    font-size: 16px;
    color: #333;
  }
  
  
  .customRadio_container{
    border: 1px solid #e9ecef;
    padding: 10px;
    border-radius: 10px;
  }

  .postform form .custom-radio-group input, input[type=radio]{
    width: 20px;
  }


.allColors_Selector{
    display: flex;
    background-color: white;
    padding: 5px;
    overflow: scroll;
    border-radius: 15px;
    border: 1px solid #e9ecef;
  }


  .thecolor_value.active {
    background-color: #ffcfb5;
    padding: 2px;
    border-radius: 50%;
    opacity: 1;
    transition: 0.3s;
  }

  .thecolor_value.active .colorInput{
    width: 30px;
    height: 30px;
  }

  .select2-container{
    width: 200px;
  }

  .thecolor_value input{
    position: absolute;
    opacity: 0;
  }


  .thecolor_value{
    margin: 5px;
    position: relative;
    transition: 0.3s;
  }

.colorInput{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: -1px 0px 8px 4px #5f5f5f38;
}

.select2-container{
    height: 40px;
    border: 1px solid #0000001d;
    font-weight: 300;
    font-style: normal;
    background: transparent;
    border-radius: 5px;
    display: flex;
    font-size: 14px;
}



.form-control:focus, .form-select:focus {
    border-color: #d84b52;
    box-shadow: 0 0 5px rgba(216, 75, 82, 0.2);
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

.uploader {
    text-align: center;
}

.uploader img {
    max-height: 40px;
}

.uploader h3 {
  margin: 10px;
  font-size: 14px;
  color: #333;
  font-weight: 300;
}

.post-button,.post-ads-btn {
    background-color: var(--brand);
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    border: none;
    margin-top: 20px;
}


.wait-upload{
  text-align: center;
}
.post-button:hover {
    background-color: #c14448;
}

.loading_upload {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(230 230 230 / 83%);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.loading_upload img {
    max-height: 50px;
}

.loading_upload h3 {
  font-size: 16px;
  color: #495057;
}
.thecarpost .deleteButton{
    height: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: absolute;
    top: 5px;
    left: 5px;
}

.imageContainer{
    overflow: hidden;
    border: 2px solid #FF6347;
    border-radius: 10px;
    position: relative;
    height: 100px;
    width: 100px;
}
.imageContainer img{
  width: 100%;
  height: 100%;
  max-height:100% ;
}

.previewImage {
    max-width: 900px;
    max-height: 100px;
    object-fit: cover;
}

.previewContainer img{
    width: 200px;
}


  .postform form input{
    font-family: 'Cairo', sans-serif !important;
    font-weight: 600;
    background-color: white;
    border: 1px solid #0000001d;
    border-radius: 5px;
    font-size: 13px;
    color: #333;
    height: 35px;
    width: 100%;
    padding: 0px 10px;
    box-sizing: border-box;
    outline: none;
    display: block; /* or inline-block, not flex */
  }

.header .logo {
    flex: 1;
    text-align: center;
}

.header .logo img {
    max-height: 40px;
}

.search-list {
    max-width: 450px;
    margin: 10px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}
.search-list h2{
  font-size: 20px;
}

.address {
    text-align: center;
    margin-bottom: 20px;
}

.title {
    font-size: 20px;
    font-weight: bold;
    color: #343a40;
}

.breadcrumbs {
    margin-top: 5px;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-link {
    text-decoration: none;
    color: #007bff;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-active {
    font-weight: bold;
    color: #495057;
}

.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    max-width: 500px;
    padding: 6px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 15px;
    color: #495057;
    outline: none;
}
.category-item a{
  width: 100%;
  height: 100%;
  font-weight: 600;
  font-size: 14px;
  position: relative;
}
.category-item:hover a{
  color: #ff4b5c !important;

}
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 70vh;
    overflow-y: scroll;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 1px solid #e9ecef;
    text-decoration: none;
    color: #343a40;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 10px;
}

.category-item:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.category-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    background: #ffffff;
    padding: 5px;
}

.category-arrow {
    font-size: 10px;
    color: #6c757d;
}

.category-item span {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 500;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  
  .step-indicator .step {
    display: flex;
    align-items: center;
  }
  
  .step-indicator .step span {
    margin-left: 10px;
  }
  
  .card-container {
    background-color: #fff;
    border-radius: 10px;
    max-width: 500px;
    margin: auto;
  }
  
  .card-container h5 {
    margin-bottom: 20px;
    color:#667085 ;
    text-align: center;
    font-weight: 700;
  }
  
  .ad-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .ad-category-card span{
    font-size: 14px;
    font-weight: 700;
    color: #667085;
  }
  .ad-category-card span:hover{
    color: #ff4b5c;
  }
  .ad-category-card:hover {
    background-color: #f8f9fa;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .ad-category-card img {
    max-width: 50px;
  }
  
  .fp-main {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header .Logo img {
    max-height: 40px;
}

.header .backword button {
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
    color: #d84b52;
    display: flex;
    align-items: center;
}

.fp-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.fp-card-img{
    width: 340px;
    height: 200px;
    border-radius: 15px;
    background-color: #f9f9f9;
}

.fp-card-img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.fp-card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fp-card-details h1 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

.fp-card-details h2 {
    font-size: 16px;
    font-weight: 500;
    color: #777;
    margin: 0px;
}

.select2-container--default .select2-selection--single{
    border: none !important;
}

.fp-card-details h3 {
    font-size: 14px;
    margin: 0px;
    color: #aaa;
}

.fp-price h2 {
    font-size: 18px;
    color: #d84b52;
    font-weight: bold;
}

.fp-pack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fp-pack-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}


.fp-pack-card:hover {
    box-shadow: 0 5px 15px rgba(216, 75, 82, 0.3);
}

.fp-pack-card h1 {
    font-size: 18px;
    color: #d84b52;
    margin-bottom: 10px;
}

.fp-pack-card ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

.fp-pack-card ul li {
    font-size: 15px;
    color: #555;
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.fp-pack-card ul li i {
    color: #d84b52;
    margin-right: 10px;
}

.pf-pay-btn {
    text-align: center;
    margin-top: 30px;
}

.pf-pay-btn button {
    padding: 12px 20px;
    background: #d84b52;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.pf-pay-btn button:hover {
    background: #b13940;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .fp-main {
        padding: 15px;
    }

    .fp-card {
        flex-direction: column;
        align-items: center;
    }


    .fp-card-details h1 {
        font-size: 18px;
    }

    .fp-card-details h2 {
        font-size: 14px;
    }

    .fp-card-details h3 {
        font-size: 12px;
    }

    .fp-price h2 {
        font-size: 16px;
    }

    .fp-pack-card h1 {
        font-size: 16px;
    }

    .fp-pack-card ul li {
        font-size: 12px;
    }

    .pf-pay-btn button {
        font-size: 14px;
        padding: 10px 16px;
    }
}



  
.pricing-section {
    text-align: center;
  }

  .pricing-title {
    font-size: 2.0rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
  }

  .pricing-subtitle {
    font-size: 14px;
    color: #666;
    margin: 10px;
  }

  /* Toggle Buttons */
  .toggle-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
  }

  .toggle-btn {
    background: #f7e0e8;
    color: #d84b52;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    margin: 0 10px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .toggle-btn.active {
    background: #d84b52;
    color: #fff;
  }

  .toggle-btn:hover {
    background: #d84b52;
    color: #fff;
  }

  /* Pricing Cards */
  .pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .pricing-card {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 15px;
    padding: 20px;
    width: 300px;
    height: 60vh;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .pricing-card.active {
    border: 2px solid #d84b52;
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(180deg, #ffeff5 0%, #ffffff 100%);

  }

  .pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }

  .card-header .badge {
    display: inline-block;
    background: #d84b52;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .price {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin: 0px;
  }

  .price span {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
  }

  .card-description {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
  }

  .features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    color: #555;
    font-size: 0.9rem;
    height: 30vh;
    margin-top: 20px;
  }

  .features-list li {
    display: flex;
    margin-bottom: 10px;
    text-align: justify;
    gap: 10px;
  }

  .features-list li::before {
    content: '\2713';
    color: #d84b52;
    font-weight: bold;
    margin-right: 10px;
  }

  .cta-btn {
    background: linear-gradient(45deg, #dc3545, #ff4b5c);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
  }

  .cta-btn:hover {
    background: #4a27a7;
  }

  /* Responsive Styles */
  @media (max-width: 768px) {
    .header .logo img {
        max-height: 30px;
    }
  }



  /* style.css — HiQuota creative form styles
   Scope: only styles under .hq-form and the related UI
   Fonts: Cairo (Google Fonts)
*/
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap");

/* ================================
   CSS Vars & Base
=================================== */
:root{
  --hq-brand:#ff4b5c;
  --hq-ink:#121314;
  --hq-ink2:#2a2f37;
  --hq-muted:#6b7280;
  --hq-line:#e6e7eb;
  --hq-white:#fff;
  --hq-bg:#fafafa;
  --hq-ring:0 0 0 3px rgba(255,75,92,.18);
  --hq-shadow:0 10px 25px rgba(0,0,0,.06);
  --hq-radius:16px;
}

html,body{height:100%}
body{
  margin:0;
  background:var(--hq-bg);
  color:var(--hq-ink);
  font-family:'Cairo',system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}

/* ================================
   Header (basic layout)
=================================== */
.header{
  display:flex;align-items:center;gap:12px;
  padding:12px 16px;
  background:var(--hq-white);
  border-bottom:1px solid var(--hq-line);
}
.back-arrow{
  display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:10px;border:1px solid var(--hq-line);
  color:var(--hq-ink2);text-decoration:none;cursor:pointer;
}
.back-arrow:hover{background:#f7f7f9}
.logo img{height:28px;display:block}
.empty-space{flex:1}

/* ================================
   Page containers
=================================== */
.postform-container{max-width:1000px;margin:18px auto;padding:0 16px}
.postform-address .post_type h2{margin:4px 0 6px;font-size:28px}
.postform-address .post_type p{color:var(--hq-muted);margin:0}

/* ================================
   Cards
=================================== */
.hq-card{
  background:var(--hq-white);
  border:1px solid var(--hq-line);
  border-radius:var(--hq-radius);
  box-shadow:var(--hq-shadow);
  padding:18px 20px;
  margin:18px 0;
}
.hq-card h3{margin:0 0 8px;font-size:18px}
.hq-hint{color:var(--hq-muted);font-size:14px;margin:2px 0 12px}

/* ================================
   Form elements (scoped)
=================================== */
.hq-form .form-control,
.hq-form .form-select,
.hq-form textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid var(--hq-line);
  border-radius:10px;
  font-weight:600;
  font-size:14px;
  color:var(--hq-ink2);
  background:var(--hq-white);
  outline:none;
  transition:border .12s ease, box-shadow .12s ease;
}
.hq-form .form-control:focus,
.hq-form .form-select:focus,
.hq-form textarea:focus{
  border-color:var(--hq-brand);
  box-shadow:var(--hq-ring);
}
.hq-form textarea{min-height:120px;resize:vertical}
.req{color:var(--hq-brand);font-weight:700}

/* Price prefix */
.hq-field{position:relative}
.hq-prefix{
  position:absolute;inset-inline-start:12px;top:50%;
  transform:translateY(-50%);color:var(--hq-muted);font-weight:700;pointer-events:none;background-color: white;
  font-size: 12px;padding: 3px;
}
.hq-with-prefix{padding-inline-start:56px}

/* RTL adjustments */
[dir="rtl"] .hq-prefix{inset-inline-start:auto;inset-inline-end:12px}
[dir="rtl"] .hq-with-prefix{padding-inline-start:14px;padding-inline-end:56px}

/* ================================
   Dropzone + Previews
=================================== */
.hq-dropzone{
  display:block;
  border:2px dashed #e3e6ea;
  border-radius:14px;
  padding:26px;
  text-align:center;
  cursor:pointer;
  background:
    linear-gradient(#fff,#fff) padding-box,
    repeating-linear-gradient(45deg,transparent 0 10px,rgba(0,0,0,.02) 10px 20px) border-box;
  transition:border-color .12s ease, background .12s ease;
  user-select:none;
}
.hq-dropzone.dragover{border-color:var(--hq-brand);background:#fff}
.hq-dz-icon{
  width:46px;height:46px;margin:0 auto 10px;border-radius:12px;
  display:grid;place-items:center;border:1px solid var(--hq-line);color:var(--hq-brand)
}

/* Screen-reader-only input helper */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


/* Preview grid — uses your existing IDs/classes from uploader.js */
#previewContainer{
  gap:12px;margin-top:12px;
  grid-template-columns:repeat(2,1fr);
}
@media (min-width:540px){ #previewContainer{grid-template-columns:repeat(3,1fr);} }
@media (min-width:900px){ #previewContainer{grid-template-columns:repeat(4,1fr);} }

.imageContainer{
  position:relative;aspect-ratio:1/1;border-radius:12px;overflow:hidden;
  background:#f4f5f7;border:1px solid var(--hq-line)
}
.previewImage{width:100%;height:100%;object-fit:cover;display:block}
.deleteButton{
  position:absolute;top:6px;inset-inline-end:6px;
  background:rgba(0,0,0,.55);color:#fff;border:none;border-radius:10px;
  padding:4px 8px;font-size:12px;cursor:pointer
}

/* Description counter */
.hq-counter{font-size:12px;color:var(--hq-muted);text-align:right;margin-top:6px}

/* ================================
   Buttons
=================================== */
.post-button{
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;
  background:var(--hq-brand);
  color:#fff;
  border:0;border-radius:12px;
  padding:12px 18px;
  font-weight:700;
  box-shadow:0 10px 20px rgba(255,75,92,.25);
  cursor:pointer;
  transition:transform .02s ease, box-shadow .15s ease, opacity .15s;
}
.post-button:active{transform:translateY(1px)}
.post-button:disabled{opacity:.6;cursor:not-allowed}

/* Optional subtle link styling inside forms */
.hq-form a{color:var(--hq-brand);text-decoration:none}
.hq-form a:hover{text-decoration:underline}

/* ================================
   Loading overlay (optional)
=================================== */
.loading_upload { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(15,23,42,.5); z-index: 1050; }

.wait-upload{
  background:#141417; color:#fff; padding:24px; border-radius:16px;
  width:min(94vw,520px); text-align:center; box-shadow:var(--hq-shadow)
}
.wait-upload { background: #0f172a; color: #fff; padding: 2rem; border-radius: 1rem; width: min(520px, 92vw); text-align: center; }

.lds-ripple { display: inline-block; position: relative; width: 80px; height: 80px; }
.lds-ripple div { position: absolute; border: 4px solid #fff; opacity: 1; border-radius: 50%; animation: lds-ripple 1s cubic-bezier(0,0.2,0.8,1) infinite; }
.lds-ripple div:nth-child(2) { animation-delay: -0.5s; }
@keyframes lds-ripple { 0% { top: 36px; left: 36px; width: 0; height: 0; opacity: 1; } 100% { top: 0; left: 0; width: 72px; height: 72px; opacity: 0; } }
.is-invalid { border-color: #dc3545 !important; }

/* ================================
   Plugin harmonization (Select2 / intl-tel-input)
=================================== */
/* Select2 match the inputs */
.hq-form .select2-container .select2-selection--single{
  height:auto; min-height:46px;
  border:1px solid var(--hq-line); border-radius:10px; padding:8px 12px
}
.hq-form .select2-selection__rendered{line-height:28px}
.hq-form .select2-selection__arrow{height:100%}

/* intl-tel-input height alignment */
.hq-form .iti input{
  border:1px solid var(--hq-line) !important;
  border-radius:10px !important;
  padding:12px 14px 12px 90px !important; /* leaves space for dial code */
  height:auto !important; line-height:1.3 !important;
  font-weight:600;
}
.hq-form .iti__selected-dial-code{font-weight:700}

/* ================================
   Utilities
=================================== */
.text-right{text-align:right}
.mb-3{margin-bottom:1rem}

