


/*body, div, a, span, p, section, input, select, option, textarea {font-weight: 300 !important; letter-spacing: 0.00rem;}*/

@media screen and (max-width: 1024px) {
  section.section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

    #management {
      padding: 10px;
      border: 1px solid #ccc;
      background-color: #f9f9f9;
      margin-top: 1rem;
    }

.is-hidden {
  display: none !important;
}

html {
  font-size: 14px;
  @include tablet {
    font-size: 16px;
  }
  @include desktop {
    font-size: 20px; 
  }
}


.card.offer-box {
  height: 230px; /* Фиксна висина целог бокса */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.card-content {
 xpadding: 0.75rem; /* смањено са Bulma default 1.5rem */
}

.offer-description {
  margin: 0;
  padding: 0;
  xfont-size: 0.85rem;
  xline-height: 1.5;
  height: 4.4em;            /* Висина за тачно 2 реда */
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.is-low-number {		/* za input polja malog broja */
	width: 100px !important;	
}


/* SWITCH input (checkbox) */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-top: 4px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .check {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: 0.4s;
}

.switch .check::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

.switch input:checked + .check {
  background-color: red; 
}

.switch input:checked + .check::before {
  transform: translateX(26px);
}

.hitno-switch {
	margin-left: 10px !important;
}

.date-input-wrapper {
	display: none;
}


/* form element for choosing nested options */
	.nested-list {
		list-style: none;
		margin-left: 1rem;
		padding-left: 0;
	}
	.nested-list li {
		margin-bottom: 0.25rem;
	}

/* kontrola ponasanja message boxova */
.fade-out {
  opacity: 1;
  transition: opacity 1s ease-out;
}
.fade-out.hidden {
  opacity: 0;
  pointer-events: none;
}




/* homepage */
.hero h1, .hero h2 {
	color: white !important;
}
    .hero.is-fullheight-with-navbar {
      min-height: calc(100vh - 3.25rem);
    }
    .hero-background {
      background-image: url('your-hero-image.jpg');
      background-size: cover;
      background-position: center;
    }
    .icon-box {
      text-align: center;
      padding: 1rem;
    }
    .counter {
      font-size: 2rem;
      font-weight: bold;
    }

.has-bg-image {
  background-image: url('/images/hero-8.jpg');
  background-size: cover;
  background-position: 20% 20%;
  background-repeat: no-repeat;
  color: white;
  position: relative;
  z-index: 1;
}
.has-bg-image2 {
  background-image: url('/images/hero-6.jpg');
  background-size: cover;
  background-position: center center;
}
.has-bg-image3 {
  background-image: url('/images/hero-13.jpg');
}
.has-bg-image4 {
  background-image: url('/images/hero-19.jpg');
}

.has-bg-image::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.2); /* тамни overlay */
  z-index: -1;
}




.hero-carousel {
  position: relative;
  overflow: hidden;
  height: 555px; /* по потреби прилагоди висину */
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  top: 0; left: 0;
}

.hero-slide.is-active {
  opacity: 1;
  position: relative;
  z-index: 2;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.carousel-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.carousel-dots .is-active {
  background: white;
}

/* table styles */
  .clickable-row {
    cursor: pointer;
  }
.one-line {
  white-space: nowrap;        /* Не преламај текст */
  overflow: hidden;           /* Сакриј вишак */
  text-overflow: ellipsis;    /* Прикажи "..." ако је преко */
  max-width: 200px;           /* или нека друга величина по потреби */
}
tr.is-selected {
  background-color: #cce5ff !important;  /* светло плава */
  color: #004085;
}

tr.is-selected:hover {
  background-color: #e0f0ff !important;  /* још светлија плава на hover */
}

.control-bar {
  display: none;
  margin-top: 0.3rem;
  margin-bottom: -1rem;
  padding: 0.85rem;
  xborder: 1px solid #ccc;
  xborder-radius: 6px;
  xbackground: #f5f5f5;
}




.counter-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 0;
}

.counter-tab {
  padding: 1rem 1.5rem;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 0.5rem 0.5rem 0 0;
  cursor: pointer;
  text-align: center;
  flex: 1;
  transition: all 0.2s ease;
  font-weight: bold;
  color: #333;
}

.counter-tab.active {
  background-color: #fff;
  border-bottom: 1px solid transparent;
  z-index: 2;
}

.counter-content {
  display: none;
  border: 1px solid #ddd;
  border-radius: 0 0 0.5rem 0.5rem;
  padding: 1.5rem;
  background-color: #fff;
  margin-top: -1px;
  z-index: 1;
  position: relative;
}

.counter-content.active {
  display: block;
}


.competence-box {
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
}
.competence-box:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.full-width-section {
  max-width: 100% !important;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
}



/* left menu */
.menu-badge {
  background-color: #555; /* Bulma danger */
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  width: 1.5em;
  height: 1.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.menu-link-with-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
}




/* company home */
.columns.is-equal-height > .column {
  display: flex;
  flex-direction: column;
}

.competence-box {
  flex: 1;
}

table a  {
  color: #445 !important;
}

.media-content a {
	color: #445 !important;
}
.media-content a:hover {
	color: #667 !important;
}



/* hitno jezicak u listanju ponuda */
.position-relative {
  position: relative !important;
}

.urgent-badge, .new-badge {
  padding: 1px 10px;
  font-weight: bold;
  font-size: 0.75rem;
  color: white;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.badges-row {
  position: absolute !important;
  top: 0px;
  left: -3px;
  display: flex;
  gap: 10px; /* размак између језичака */
  z-index: 10;
}

.urgent-badge {
  background-color: red;
}

.new-badge {
  background-color: blue;
}


.img-soft-rounded {
  border-radius: 8px;
}



    .tooltip-container {
        position: relative;
        display: inline-block; /* Adjust based on your layout */
    }

    .tooltip-content {
        position: absolute;
        bottom: 120%; /* Adjust position as needed */
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth transition */

        /* Large tooltip styling */
        font-size: 1.2rem; /* Example large font size */
        padding: 15px 20px; /* Example large padding */
        background-color: #333;
        color: #fff;
        border-radius: 5px;
        white-space: nowrap; /* Prevent text wrapping */
    }

    .tooltip-container:hover .tooltip-content {
        opacity: 1;
        visibility: visible;
    }



.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.mobile-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  color: #363636;
  text-decoration: none;
  
  flex:1;
  text-align: center;
}

.mobile-btn .icon {
  font-size: 1.5rem;
  margin-bottom: 2px;
  /*display: block;*/
}

.mobile-bottom-bar .mobile-btn .text {
  display: block;
  font-size: 0.75rem;
}

.mobile-bottom-bar .mobile-btn {
  flex: 1;
  text-align: center;
  padding: 0.5rem 0;
  color: #444;
  text-decoration: none;
  position: relative;
}

.mobile-bottom-bar .mobile-btn.active {
  background: linear-gradient(
    to bottom,
    rgba(136,110,0,0.2) 0%,   /* на врху боја са транспарентношћу */
    rgba(136,110,0,0) 100%    /* до 20% се губи у прозирно */
  );
  color: #775500 !important;
}

.mobile-bottom-bar .mobile-btn.active::before {
  border-radius: 8px 8px 0 0 ;
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background-color: #775500; /* чиста линија */
}

.mobile-btn:hover {
  color: #3273dc;
}

@media (min-width: 1024px) {
  .mobile-bottom-bar {
    display: none;
  }
}



/* Мобилни: sidebar као overlay */
#mobile-sidebar {
  display: none;
  position: fixed;
  top: 3.25rem;
  left: 0;
  width: 240px;
  height: 100%;
  background: white;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 30;
  overflow-y: auto;
}

/* Када је активан (отворен) */
#mobile-sidebar.active {
  display: block;
}

/* Десктоп: sidebar у layout-у нормално, без скривања */
@media (min-width: 1024px) {
  /* Да се прикаже као део columns */
  #mobile-sidebar {
    position: static;
    transform: none;
    box-shadow: none;
    display: block !important;
    height: auto;
    width: 100%;
  }
}



.icon-fixed {
  display: inline-block;
  width: 1em; /* или више по потреби */
  text-align: center;
}



/* 1-2-3 when registering new account */
.steps-line-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.circle-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #dbdbdb;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.circle-step.is-active {
  background-color: #3273dc;
}

.step-line {
  height: 4px;
  background-color: #dbdbdb;
  margin: 0 -2px;
  z-index: 0;
}

.short-line {
  width: 40px; /* уместо flex:1 — фиксна дужина */
}






/* BULMA overrides for mobile */
@media (max-width: 1024px) {
	.section {
		padding-top: 0px !important;
	}
}













/* Иконица само на мобилном */
.mobile-only {
  display: inline-flex;
}

@media screen and (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}

/* Да иконица не шири поље */
.control.has-icons-left .input {
  padding-left: 2.2rem; /* довољно места за иконицу */
}



/*
 * ВАЛИДАЦИЈА - КОРЕКЦИЈА СТИЛОВА
 *
 */

select.is-danger {
  border-color: #f14668 !important; /* Bulma danger црвена за валидацију */
}

