/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


.select2-container {
    min-width: 220px !important;
    max-width: 280px !important;
    width: 100% !important;
	margin-right: 20px !important;
}

.select2-container:last-child {
    margin-right: 0 !important;
}

.select2-container--default .select2-selection--single {
    border-radius: 2em !important;
    border: 2px solid #AD9970 !important;
    background: #fff !important;
    height: 38px !important;
    padding-left: 16px !important;
    font-size: 16px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--single.select2-selection--focus,
.select2-container--default .select2-selection--single:active {
    border-color: #AD9970 !important;
    box-shadow: 0 0 0 2px rgba(173,153,112,0.24) !important;
    outline: none !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
    color: #333 !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
    right: 8px !important;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #4A4A49 !important;
    opacity: 1 !important;
}
.select2-dropdown {
    border-color: #AD9970 !important;
    border-radius: 6px !important;
    z-index: 9999 !important;
}
.select2-container--open .select2-dropdown {
    top: 100% !important;
    bottom: auto !important;
}
.select2-results__option--highlighted,
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #AD9970 !important;
    color: #fff !important;
}






/* Slide In From The Top Option */

.header-2 {
 transform: translatey(-80px);
 -moz-transition: all .3s ease!important;
 -webkit-transition: all .3s ease!important;
 transition: all .3s ease!important;
}


.elementor-sticky--effects.header-2  {
 height: auto!important;
 transform: translatey(0px);
}

.elementor-sticky--effects.header-1 {
 display: none!important;
}

/* End Of Slide In From The Top Option */



/* Responsive stil za JetFormBuilder ikone */
.jet-form-builder-file-upload__files img {
    max-width: 80px;
    width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.jet-form-builder-file-upload__files img:hover {
    transform: scale(1.1);
}


@media (max-width: 768px) {
    .jet-form-builder-file-upload__files img {
        max-width: 60px;
    }
}

@media (max-width: 480px) {
    .jet-form-builder-file-upload__files img {
        max-width: 50px;
    }
}






/* 1. Skloni pseudo-kvadratić samo kod onih labela gde se unutar nje nalazi input sa klasom .checkbox-podkategorije */
label.jet-form-builder__field-label.for-checkbox > input[type="checkbox"].checkbox-podkategorije + span,
label.jet-form-builder__field-label.for-checkbox > input[type="checkbox"].checkbox-podkategorije + span::before,
label.jet-form-builder__field-label.for-checkbox > input[type="checkbox"].checkbox-podkategorije + span::after {
  /* Ove dve linije su za dugme */
  display: inline-block;
  border: 2px solid #e2dbc8;
  border-radius: 22px;
  background: #fff;
  color: #5d533f;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, border 0.18s, color 0.18s;
  padding: 4px 20px;
  min-width: 0;
  width: auto !important;
  box-sizing: border-box;
  margin: 0 !important;
  white-space: nowrap;
  vertical-align: middle;
}

/* 2. Skloni kvadratić sa pseudo-elementa na labeli koja sadrži tvoj input */
label.jet-form-builder__field-label.for-checkbox > input[type="checkbox"].checkbox-podkategorije + span::before,
label.jet-form-builder__field-label.for-checkbox > input[type="checkbox"].checkbox-podkategorije + span::after {
  display: none !important;
  content: none !important;
}

/* 3. Skloni sam input */
input[type="checkbox"].checkbox-podkategorije {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
}

/* 4. Stil za checked stanje */
input[type="checkbox"].checkbox-podkategorije:checked + span {
  background: #e7e3d7;
  border-color: #a58c5b;
  color: #9f8140;
  font-weight: bold;
}

/* Nečekirani (default) stil */
input[type="checkbox"].checkbox-podkategorije + span {
  background: #fff;
  color: #5d533f;
  border: 2px solid #e2dbc8;
  font-weight: 500;
  box-shadow: none;
  transition: 
    background 0.18s, 
    border 0.18s, 
    color 0.18s, 
    box-shadow 0.18s,
    font-weight 0.18s;
}

/* Čekirani stil */
input[type="checkbox"].checkbox-podkategorije:checked + span {
  background: #a58c5b;
  color: #fff;
  border-color: #7c6540;
  font-weight: 700;
  box-shadow: 0 2px 10px 0 rgba(165, 140, 91, 0.07);
  /* Možeš dodati i text-transform: uppercase; po želji */
}

/* Hover efekat - za još bolji UX */
input[type="checkbox"].checkbox-podkategorije + span:hover {
  border-color: #b6a47d;
  background: #f4f0e6;
  color: #7c6540;
}

/* Fokus (za pristupačnost) */
input[type="checkbox"].checkbox-podkategorije:focus + span {
  outline: 2px solid #a58c5b;
  outline-offset: 2px;
}



/*IKONICA ispred polja za Instagram*/
/* Koristi ID inputa da selektuješ njegov parent */
#instagram {
  padding-left: 25px !important;
}

#instagram::before {
  content: ""; /* Ne radi na input, samo za sigurnost */
}

#instagram:before {
  content: ""; /* fallback za neke browsere */
}

/* Ovo je pravi način: dodaj ::before na parent element dinamički */
#instagram::before {
  content: ""; /* ali neće raditi jer je input */
}

#instagram-wrapper {
  position: relative;
}

#instagram-wrapper::before {
  content: "@";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
  font-size: 16px;
  pointer-events: none;
}










