@media (min-width: 781px) {
  .uploadArea {
    width: 50%;
    margin-left: 20px;
  }

  .uploadArea * {
    box-sizing: border-box;
  }

  #inputTitle {
    display: block;
    width: 100%;
    height: 40px;
    padding: 4px;
    font-size: 14px;
    border-radius: 10px;
    font-family: "Maven pro", "Nunito", sans-serif;
  }

  #inputDescription {
    display: block;
    width: 100%;
    font-size: 15px;
    font-family: "Maven pro", "Nunito", sans-serif;
    resize: none;
    padding: 6px;
    border-radius: 10px;
  }

  label[for="inputName"],
  label[for="inputPrice"] {
    display: inline-block;
    width: 80px;
    vertical-align: middle;
  }

  label[for="inputPrice"],
  #inputPrice {
    margin-top: 15px;
    margin-bottom: 20px;
  }

  label[for="inputDescription"] {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
  }

  #inputPrice,
  #inputName {
    display: inline-block !important;
    width: 270px !important;
    height: 40px;
    padding: 4px;
    font-size: 14px;
    border-radius: 10px;
    font-family: "Maven pro", "Nunito", sans-serif;
    vertical-align: middle;
    margin-left: -4px;
  }

  #submitBtn {
    background-color: #02343F;
    color: #F0EDCC;
    font-family: "Nunito", "Trebuchet MS", sans-serif;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 18px;
    width: 180px;
    border-radius: 6px;
    border: none;
    margin-top: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.15s ease-in-out;
    position: relative;
  }

  #submitBtn:hover {
    background-color: #03505f;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
  }

  #submitBtn:active {
    background-color: #01272e;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(2px);
  }

  button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }

  /* CITY + TOWN FIELDSET */
  #regionFieldset {
    border: none;
  }

  #regionFieldset legend {
    font-weight: bold;
    font-size: 17px;
    color: #02343F;
    padding: 0 8px;
  }

  #regionFieldset label[for="citySelect"] {
    display: inline-block;
    width: auto;
    margin-bottom: 8px;
    font-weight: bold;
    color: #02343F;
  }

  #citySelect {
    display: block;
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    font-size: 15px;
    font-family: "Maven Pro", "Trebuchet MS", sans-serif;
    color: #02343F;
    background-color: #f3f1de;
    border: 2px solid #02343F;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease-in-out;
  }

  #citySelect:hover {
    border-color: #03505f;
    box-shadow: 0 0 6px rgba(3, 80, 95, 0.25);
  }

  #citySelect:focus {
    border-color: #046b82;
    box-shadow: 0 0 8px rgba(2, 52, 63, 0.35);
  }

  .town-block {
    margin-top: 14px;
    padding: 12px;
    border: 2px solid #02343F;
    border-radius: 8px;
    background-color: #f3f1de;
  }

  .town-block.disabled {
    opacity: 0.7;
  }

  #townTitle {
    margin: 0 0 10px;
    font-weight: bold;
    color: #02343F;
    font-size: 15px;
  }

  .town-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 8px 14px;
    max-height: 220px;
    overflow-y: auto;
    padding: 8px 10px;
    border: 1px solid #cfd8c2;
    border-radius: 8px;
    background-color: #fffdf2;
    scrollbar-width: thin;
    scrollbar-color: #02343F #e0e0e0;
  }

  .town-list::-webkit-scrollbar {
    width: 8px;
  }

  .town-list::-webkit-scrollbar-thumb {
    background-color: #02343F;
    border-radius: 10px;
  }

  .town-list::-webkit-scrollbar-track {
    background: #e0e0e0;
  }

  .town-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    cursor: pointer;
    font-size: 15px;
    color: #02343F;
    border-radius: 6px;
    transition: background 0.2s ease;
  }

  .town-item:hover {
    background-color: #e4ebc7;
  }

  .town-item input[type="checkbox"] {
    transform: scale(1.1);
    cursor: pointer;
  }

  #townPlaceholder {
    margin: 0;
    color: #666;
    font-size: 14px;
  }

  #townCounter {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: bold;
    color: #02343F;
  }

  /* PHONE INPUT AREA */
  .phoneRow {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  .phoneRow label {
    min-width: 80px;
  }

  .phone-group {
    display: flex;
    gap: 8px;
  }

  .phone-group select,
  .phone-group input {
    padding: 6px;
    font-size: 14px;
    font-family: "Manrope";
  }

  /* IMAGE SELECTION SECTION */
  #imageFieldset {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 15px 20px;
    background: #fafafa;
  }

  #imageLegend {
    font-weight: bold;
    color: #333;
    font-size: 18px;
  }

  #imageLabel {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
  }

  #inputImages {
    display: none;
  }

  #uploadBtn {
    display: inline-block;
    background-color: #4a90e2;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
  }

  #uploadBtn:hover {
    background-color: #357ab8;
  }

  #selectedFilesText {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
  }

  #previewContainer img {
    height: 80px;
    margin: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
    object-fit: cover;
  }

  /* QUESTIONS FIELDSET */
  #questionSet {
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 15px 0;
    background-color: #fafafa;
  }

  #questionSet legend {
    font-weight: bold;
    font-size: 18px;
    padding: 0 8px;
  }

  #questionSet .question {
    margin-bottom: 15px;
  }

  #questionSet label {
    margin-right: 10px;
    line-height: 1.6;
  }

  #questionSet input[type="radio"] {
    margin-right: 4px;
  }

  /* TITLES FIELDSET */
  #serviceFieldset {
    border: none;
    margin: 10px 0;
  }

  #serviceSelect option.selected-custom {
    background-color: #cce0ff;
  }

  #serviceSelect {
    width: 100%;
    padding: 8px 10px;
    font-size: 15px;
    font-family: "Maven Pro", "Trebuchet MS", sans-serif;
    color: #02343F;
    background-color: #f3f1de;
    border: 2px solid #02343F;
    border-radius: 6px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
  }
  #serviceSelect option {
  padding: 6px 0;
  line-height: 2.4;
}

  #serviceSelect:hover {
    border-color: #03505f;
    box-shadow: 0 0 6px rgba(3, 80, 95, 0.3);
  }

  #serviceSelect:focus {
    outline: none;
    border-color: #046b82;
    box-shadow: 0 0 8px rgba(2, 52, 63, 0.4);
  }
}


















@media (max-width: 780px) {
  .uploadArea {
    width: 95%;
    margin: auto;
  }

  .uploadArea * {
    box-sizing: border-box;
  }

  #inputTitle {
    display: block;
    width: 100%;
    height: 40px;
    padding: 4px;
    font-size: 14px;
    border-radius: 10px;
    font-family: "Maven pro", "Nunito", sans-serif;
  }

  #inputDescription {
    display: block;
    width: 100%;
    font-size: 14px;
    font-family: "Maven pro", "Nunito", sans-serif;
    resize: none;
    padding: 6px;
    border-radius: 10px;
  }

  label[for="inputName"],
  label[for="inputPrice"] {
    display: inline-block;
    min-width: 80px;
    vertical-align: middle;
  }

  label[for="inputPrice"],
  #inputPrice {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  label[for="inputDescription"] {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
  }

  #inputName,
  #inputPrice {
    display: inline-block !important;
    width: calc(100% - 110px) !important;
    height: 40px;
    padding: 4px;
    font-size: 14px;
    border-radius: 10px;
    font-family: "Maven pro", "Nunito", sans-serif;
    vertical-align: middle;
    box-sizing: border-box;
  }

  .uploadForm br {
    display: none;
  }

  #submitBtn {
    background-color: #02343F;
    color: #F0EDCC;
    font-family: "Nunito", "Trebuchet MS", sans-serif;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 18px;
    width: 180px;
    border-radius: 6px;
    border: none;
    margin-top: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.15s ease-in-out;
    position: relative;
  }

  #submitBtn:hover {
    background-color: #03505f;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
  }

  #submitBtn:active {
    background-color: #01272e;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(2px);
  }

  button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }

  /* CITY + TOWN FIELDSET */
  #regionFieldset {
    border: none;

  }

  #regionFieldset legend {
    font-weight: bold;
    font-size: 16px;
    color: #02343F;
    padding: 0 8px;
  }

  #regionFieldset label[for="citySelect"] {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #02343F;
  }

  #citySelect {
    display: block;
    width: 100%;
    height: 42px;
    padding: 8px 10px;
    font-size: 14px;
    font-family: "Maven Pro", "Trebuchet MS", sans-serif;
    color: #02343F;
    background-color: #f3f1de;
    border: 2px solid #02343F;
    border-radius: 8px;
    outline: none;
  }

  #citySelect:focus {
    border-color: #046b82;
    box-shadow: 0 0 8px rgba(2, 52, 63, 0.35);
  }

  .town-block {
    margin-top: 12px;
    padding: 10px;
    border: 2px solid #02343F;
    border-radius: 8px;
    background-color: #f3f1de;
  }

  .town-block.disabled {
    opacity: 0.7;
  }

  #townTitle {
    margin: 0 0 10px;
    font-weight: bold;
    color: #02343F;
    font-size: 15px;
  }

  .town-list {
    display: block;
    max-height: 220px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #cfd8c2;
    border-radius: 8px;
    background-color: #fffdf2;
    scrollbar-width: thin;
    scrollbar-color: #02343F #e0e0e0;
  }

  .town-list::-webkit-scrollbar {
    width: 8px;
  }

  .town-list::-webkit-scrollbar-thumb {
    background-color: #02343F;
    border-radius: 10px;
  }

  .town-list::-webkit-scrollbar-track {
    background: #e0e0e0;
  }

  .town-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 6px;
    cursor: pointer;
    font-size: 14px;
    color: #02343F;
    border-radius: 6px;
  }

  .town-item:hover {
    background-color: #e4ebc7;
  }

  .town-item input[type="checkbox"] {
    transform: scale(1.1);
    cursor: pointer;
  }

  #townPlaceholder {
    margin: 0;
    color: #666;
    font-size: 14px;
  }

  #townCounter {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: bold;
    color: #02343F;
  }

  #serviceFieldset,
  #regionFieldset {
    margin-left: 0;
    padding-left: 0;
  }

  #serviceSelect option {
    padding: 7px 0;
  }

  /* PHONE INPUT AREA */
  .phoneRow {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  .phoneRow label {
    min-width: 85px;
  }

  .phone-group {
    display: flex;
    gap: 10px;
  }

  .phone-group select,
  .phone-group input {
    padding: 5px;
    height: 36px;
    font-size: 13px;
    font-family: "Manrope";
  }

  /* IMAGE SELECTION SECTION */
  #imageFieldset {
    margin-top: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
  }

  #imageLegend {
    font-weight: bold;
    color: #333;
    font-size: 18px;
  }

  #imageLabel {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
  }

  #inputImages {
    display: none;
  }

  #uploadBtn {
    display: inline-block;
    background-color: #4a90e2;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
  }

  #selectedFilesText {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
  }

  #previewContainer img {
    height: 80px;
    margin: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
    object-fit: cover;
  }

  /* QUESTIONS FIELDSET */
  #questionSet {
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 15px 0;
    background-color: #fafafa;
  }

  #questionSet legend {
    font-weight: bold;
    font-size: 18px;
    padding: 0 8px;
  }

  #questionSet .question {
    margin-bottom: 15px;
  }

  #questionSet label {
    line-height: 1.6;
  }

  /* TITLES FIELDSET */
  #serviceFieldset {
    border: none;
    margin-bottom: 30px;
  }

  #serviceSelect option.selected-custom {
    background-color: #cce0ff;
  }

  #serviceSelect {
    height: 200px;
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    font-family: "Maven Pro", "Trebuchet MS", sans-serif;
    color: #02343F;
    background-color: #f3f1de;
    border: 2px solid #02343F;
    border-radius: 6px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    scrollbar-width: thin;
    scrollbar-color: #02343F #e0e0e0;
    overflow-y: auto;
  }

  #serviceSelect::-webkit-scrollbar {
    width: 16px;
  }

  #serviceSelect::-webkit-scrollbar-thumb {
    background-color: #02343F;
    border-radius: 10px;
  }

  #serviceSelect::-webkit-scrollbar-track {
    background: #e0e0e0;
  }

  #serviceSelect:focus {
    outline: none;
    border-color: #046b82;
    box-shadow: 0 0 8px rgba(2, 52, 63, 0.4);
  }
}