/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.cf7-row {
    display: flex;
    gap: 16px;
}

.cf7-col {
    flex: 1;
}

@media (max-width: 768px) {
    .cf7-row {
        flex-direction: column;
    }
	
	.banner-mobile { 
		padding: 2rem !important;
	}
	
	.flickity-prev-next-button.next {
		right: unset !important;
		left: 95% !important;
	 }
	
	.flickity-prev-next-button.previous {
		left: unset !important;
    	right: 95%;
	}
	
	#logo {
    	width: 200px !important;
	}
}

.text-justify {
    text-align: justify;
}

.banner-title {
  font-weight: 700 !important
}

.banner-subtitle {
	color: #ffffff !important;
	opacity: 0.95 !important
}

.top-bar {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 2rem; 
  white-space: nowrap;
  height: 28px;
}

.top-bar span {
  display: flex;
  align-items: center;
  gap: 4px; 
}

.absolute-footer { 
	display: none !important
}
  .cijena-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Poppins", sans-serif;
    margin: 0.75rem 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(68, 96, 132, 0.1);
    background: #fff;
  }

  .cijena-table thead {
    background: linear-gradient(135deg, #446084 0%, #5d7999 100%);
  }

  .cijena-table thead th {
    color: #fff;
    padding: 0.6rem 0.7rem;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .cijena-table tbody tr {
    border-bottom: 1px solid #dfe5ef;
    transition: background 0.25s ease;
  }

  .cijena-table tbody tr:hover {
    background: #f7f9fc;
  }

  .cijena-table tbody tr:last-child {
    border-bottom: none;
  }

  .cijena-table tbody td {
    padding: 0.6rem 0.7rem;
    color: #1f2b3a;
    font-size: 14px;
    font-weight: 500;
  }

  .cijena-table tbody td:first-child {
    color: #446084;
    font-weight: 600;
  }

  @media (max-width: 768px) {
    .cijena-table {
      font-size: 14px;
    }

    .cijena-table thead th,
    .cijena-table tbody td {
      padding: 0.5rem 0.55rem;
    }

    .cijena-table thead th:nth-child(n + 2) {
      font-size: 13px;
    }
  }


/* Zahtjev & Odluka related styles */
.page-template.page-template-template-zahtjevi
  .wraper_job_list_layout
  .container,
.page-template.page-template-template-odluke
  .wraper_job_list_layout
  .container {
  padding-top: 110px;
  padding-bottom: 116px;
}
@media only screen and (max-width: 767px) {
  .page-template.page-template-template-zahtjevi
    .wraper_job_list_layout
    .container,
  .page-template.page-template-template-odluke
    .wraper_job_list_layout
    .container {
    padding-top: 90px;
    padding-bottom: 96px;
  }
}
.page-template.page-template-template-odluke .container {
  width: 1400px;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 3rem;
}

/* Ensure main container spacing */
.container.px-4 {
  padding-bottom: 3rem;
}

#noResultsMsg {
  color: #6a7484;
  margin-top: 1.5rem;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}

/* Custom CSS for Odluka & Zahtjev Pagination */
#odluka-pagination,
#zahtjev-pagination {
  margin-top: 2rem;
  text-align: center;
}

#odluka-pagination button,
#zahtjev-pagination button {
  margin: 0 4px;
  padding: 8px 14px;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  background: #f7f9fc;
  color: #1f2b3a;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(68, 96, 132, 0.06);
}

#odluka-pagination button:hover,
#zahtjev-pagination button:hover {
  background: #eef3f9;
  box-shadow: 0 6px 14px rgba(68, 96, 132, 0.12);
  transform: translateY(-1px);
}

#odluka-pagination button.active,
#zahtjev-pagination button.active {
  background: #446084;
  color: #fff;
  border-color: #3a5572;
  box-shadow: 0 8px 18px rgba(68, 96, 132, 0.24);
}

/* Custom CSS for Odluka & Zahtjev Search */
.odluka-filter,
.zahtjev-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.search-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.odluka-filter label,
.zahtjev-filter label {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #1f2b3a;
  margin: 0;
  white-space: nowrap;
  line-height: 1;
  display: flex;
  align-items: center;
}

.odluka-filter select,
.zahtjev-filter select {
  min-width: 140px;
  padding: 0.5rem 0.875rem;
  margin-bottom: 0 !important;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #1f2b3a;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(68, 96, 132, 0.06);
}

.odluka-filter select:focus,
.zahtjev-filter select:focus {
  border-color: #446084;
  box-shadow: 0 6px 16px rgba(68, 96, 132, 0.14);
  outline: none;
}

.odluka-filter input,
.zahtjev-filter input {
  min-width: 200px;
  padding: 0.5rem 0.875rem;
  margin-bottom: 0 !important;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #1f2b3a;
  background-color: #fff;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(68, 96, 132, 0.06);
}

.odluka-filter input:focus,
.zahtjev-filter input:focus {
  border-color: #446084;
  box-shadow: 0 6px 16px rgba(68, 96, 132, 0.14);
  outline: none;
}

.odluka-filter button,
.zahtjev-filter button {
  padding: 0.1rem 1.25rem;
  background: #446084;
  color: #fff;
  margin-bottom: 0 !important;
  border: 1px solid #304a68;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.28s ease;
  box-shadow: 0 6px 16px rgba(68, 96, 132, 0.24);
  white-space: nowrap;
}

.odluka-filter button:hover,
.zahtjev-filter button:hover {
  background: #2f4864;
  box-shadow: 0 8px 20px rgba(47, 72, 100, 0.32);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .odluka-filter,
  .zahtjev-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .filter-group {
    width: 100%;
  }

  .filter-group select {
    flex: 1;
    min-width: 0;
  }

  .search-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-left: 0;
    width: 100%;
  }

  .search-group input {
    width: 100%;
    min-width: 0;
  }

  .search-group button {
    width: 100%;
  }

  #odlukaSearchLabel {
    display: none;
  }

  .odluka-header,
  .zahtjev-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .odluka-download,
  .zahtjev-download {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
    text-align: center;
    margin-bottom: 12px;
    border-radius: 12px;
  }

  .odluka-info,
  .zahtjev-info {
    width: 100%;
  }

  .odluka-title,
  .zahtjev-title {
    word-break: break-word;
    margin: 0;
  }
}
.odluka-item,
.zahtjev-item {
  margin-bottom: 12px;
  border-bottom: 1px solid #dfe5ef;
  padding-bottom: 0.75rem;
}

.odluka-item:last-child,
.zahtjev-item:last-child {
  border-bottom: none;
}

.odluka-header,
.zahtjev-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

.odluka-info,
.zahtjev-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.odluka-date,
.zahtjev-date {
  font-size: 13px;
  color: #6a7484;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.odluka-title,
.zahtjev-title {
  font-size: 17px;
  margin: -8px 0 0 0;
  font-weight: 600;
  color: #1f2b3a;
}

.odluka-download,
.zahtjev-download {
  flex-shrink: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 23px !important;
  background: #446084;
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.28s ease !important;
  margin-left: auto;
  border: 1px solid #304a68;
  box-shadow: 0 10px 22px rgba(68, 96, 132, 0.24);
}

.odluka-download:hover,
.zahtjev-download:hover {
  color: #ffffff;
  background: #2f4864;
  box-shadow: 0 14px 30px rgba(47, 72, 100, 0.32);
  transform: translateY(-3px);
}

#odluka-empty,
#zahtjev-empty {
  color: #1f2b3a;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .odluka-header,
  .zahtjev-header {
    flex-direction: column; /* stack title/date and button */
    align-items: flex-start;
  }

  .odluka-download,
  .zahtjev-download {
    width: 100%; /* full width */
    margin-left: 0; /* remove auto margin */
    margin-top: 8px; /* spacing above button */
    text-align: center; /* center text on full-width button */
    margin-bottom: 10px;
  }

  .odluka-info,
  .zahtjev-info {
    width: 100%; /* make info take full width */
  }

  .odluka-title,
  .zahtjev-title {
    word-break: break-word; /* prevent layout issues with long titles */
    margin: 0; /* remove negative margin */
  }
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}