/*
Theme Name: Umrezi Se
Theme URI: https://umrezi.se
Author: Umrezi Se Team
Author URI: https://umrezi.se
Description: Custom theme for Umrezi Se platform - connecting export-oriented companies in Bosnia and Herzegovina
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: umrezi-theme
*/

.container {
  margin: 0 auto;
  max-width: 1140px;
  width: 100%;
  overflow: hidden;
}

@media(max-width: 1140px) {
  .container {
    padding: 0 16px;
  }
}

.column-1,
.column-2,
.column-3,
.column-4,
.column-5,
.column-6,
.column-7,
.column-8,
.column-9,
.column-10,
.column-11,
.column-12 {
  float: left
}

.column-1 {
  width: 8.3%
}

.column-2 {
  width: 16.6%
}

.column-3 {
  width: 25%
}

.column-4 {
  width: 33.3%
}

.column-5 {
  width: 41.6%
}

.column-6 {
  width: 50%
}

.column-7 {
  width: 58.3%
}

.column-8 {
  width: 66.6%
}

.column-9 {
  width: 75%
}

.column-10 {
  width: 83.3%
}

.column-11 {
  width: 91.6%
}

.column-12 {
  width: 100%
}

@media(max-width: 1023px) {

  .column-1,
  .column-2,
  .column-3,
  .column-4,
  .column-5,
  .column-6,
  .column-7,
  .column-8,
  .column-9,
  .column-10,
  .column-11,
  .column-12 {
    margin: 0 !important;
    padding: 0 !important;
    float: none;
    width: 100% !important
  }

  .container {
    padding: 0 16px !important;
  }
}

section {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%
}

footer,
header,
nav,
section {
  display: block;
  overflow: hidden
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #fff;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  color: var(--text-color);
  line-height: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

:focus {
  outline: none
}

:root {
  --text-color: #404040;
  --title-color: #000;
  --main-color: #F36A10;
}

a {
  text-decoration: none;
}

a:hover,
a:active {
  outline: 0;
}

p {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 16px;
  color: var(--text-color);
  font-weight: 400;
}

h1 {
  font-weight: 600;
  font-size: 64px;
  line-height: 1.3;
  margin-bottom: 32px;
}

h2,
h2 a {
  font-weight: 600;
  font-size: 44px;
  line-height: 50px;
  margin-bottom: 32px;
}

h3,
h3 a {
  font-weight: 400;
  font-size: 32px;
  line-height: 38px;
  margin-bottom: 24px;
}

h4,
h4 a {
  font-size: 26px;
  line-height: 32px;
  margin-bottom: 16px;
}

h5,
h5 a {
  font-size: 22px;
  line-height: 28px;
  margin-bottom: 16px;
}

h6,
h6 a {
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 16px;
}

h1,
h2,
h2 a,
h3,
h3 a,
h4,
h4 a,
h5,
h5 a,
h6,
h6 a {
  font-family: 'Open Sans', sans-serif;
  color: var(--title-color);

}

ul {
  list-style: disc inside;
  margin-left: 24px;
}

ol {
  margin-left: 24px;
  list-style: decimal inside;
}

li {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 16px;
  color: var(--text-color);
  list-style: none;

}

ul li {
  list-style: disc inside;
}

ol li {
  list-style: decimal inside;
}

li ul,
li ol {
  margin-left: 15px;
  margin-bottom: 0;
}

iframe,
img {
  max-width: 100%;
}

/* ===========================================
   iOS/Safari Reset 
   =========================================== */


input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea,
button,
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

/* Fix za select strelicu */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23333333' d='M8 11L3 5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 40px;
  cursor: pointer;

}

/* Sprječava auto-zoom na iOS kada je fokus na input */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px;
  }
}

/*header*/
header.site-header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
}

.brand .logo img {
  max-height: 52px;
}

.header-actions {
  display: flex;
  align-items: center;
}

nav.main-nav {
  display: flex;
  align-items: center;
}

nav.main-nav a {
  font-family: 'Archivo', sans-serif;
  text-decoration: none;
  color: #000;
  font-weight: 400;
  margin: 0 16px;
  font-size: 16px;
}

nav.main-nav a:hover::after {
  width: 70%;
}

nav.main-nav a::after {
  content: "";
  display: block;
  border-bottom: 2px solid var(--main-color);
  width: 0;
  -webkit-transition: .2s ease;
  -o-transition: .2s ease;
  transition: .2s ease;
}

.btn-register {
  font-family: 'Archivo', sans-serif;
  background: var(--main-color);
  color: #fff;
  padding: 16px 32px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

header.site-header .user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background-color: #45aaa2;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 17px;
  overflow: hidden;
  margin-right: 8px;
}
header .btn-login {
  color: #000;
  font-size: 14px;
    font-family: 'Archivo', sans-serif;
    font-weight: 600;

}
header.site-header .user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: 16px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease;
}


.mobile-close-btn {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
}

.mobile-close-btn svg {
  width: 28px;
  height: 28px;
  color: #666;
}

.mobile-close-btn:hover svg {
  color: #000;
}


.mobile-menu-actions {
  display: none;
}


.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
}

.mobile-menu-overlay.active {
  display: block;
}


@media (min-width: 1025px) and (max-width: 1440px) {
  .brand .logo img {
    max-height: 38px;
  }

  .btn-register {
    padding: 12px 24px;
  }

  nav.main-nav a {
    margin: 0 10px;
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .btn-register {
    padding: 12px 24px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-inner {
    justify-content: flex-start;
  }

  header .brand {
    margin-right: auto;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 99;
    overflow-y: auto;
  }

  .main-nav.active {
    right: 0;
  }

  .mobile-close-btn {
    display: block;
  }

  .main-nav a {
    margin: 0;
    padding: 18px 0;
    font-size: 18px;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
  }

  nav.main-nav a:hover::after {
    width: 0%;
  }

  nav.main-nav a::after {
    content: "";
    display: none;
  }

  nav.main-nav a:hover {
    color: var(--main-color);
  }

}

@media (max-width: 768px) {
  .header-inner {
    padding: 16px 20px;
  }

  .brand .logo img {
    height: 36px;
    max-height: 36px;
  }

  .main-nav {
    width: 280px;
    padding: 70px 20px 20px;
  }

  .btn-register {
    padding: 12px;
    font-size: 14px;
  }

  .mobile-menu-toggle {
    margin-right: 8px;
    margin-left: 32px;
  }
}

/* HERO */
.hero {
  margin: 64px auto;
}

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 120px;
  align-items: center;
  margin-bottom: 48px;
}

.hero-text {
  flex: 1;
  max-width: 50%;
}

.hero-right {
  flex: 1;
  text-align: left;

}

.hero-right p,
.hero-right li {
  font-size: 17px;
}

.hero-right li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}


.hero p.center {
  text-align: center;
  max-width: 90%;
  font-size: 17px;
  line-height: 24px;
  margin: 0 auto 16px;
}

/* Novosti */
.news {
  margin: 64px 0;
}

.news .flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  width: 66%;
}

.news.all .flex,
.related.news .flex {
  width: 100%;
}

.news .flex .title-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.news .flex .title-wrap h2 {
  margin-bottom: 0;
}


/* novosti Grid */
.news-grid {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}

.card {
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  width: calc(50% - 8px);
  display: flex;
  flex-direction: column;
}

.news.all .card,
.related.news .card {
  width: calc(33% - 9px);
}

.card:hover>h3 a {
  color: var(--main-color);
}

.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.card h3,
.card h3 a {
  font-size: 24px;
  line-height: 30px;
  font-weight: 400;
  margin: 16px 0;
  color: #000;
  transition: all .2s;
}

.card .meta {
  font-size: 15px;
  color: #777;
  text-transform: uppercase;
  margin-top: auto;
}

.card .meta a {
  color: #777;
}

.card .meta a:hover {
  text-decoration: underline;
}

.news .container {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.pozivi-section {
  display: flex;
  flex-direction: column;
  width: 33%;
}

.pozivi-section h3 {
  text-align: center;
  margin-bottom: 52px;
  font-weight: 600;
}

.poziv-card {
  padding: 24px 12px;
  border-top: 3px solid var(--main-color);
  border-bottom: 3px solid var(--main-color);
  aspect-ratio: 1/1;
}

.poziv-date {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

.pozivi-footer {
  text-align: right;
  margin-top: 20px;
}

.pozivi-footer .view-all-link {
  justify-content: flex-end;
}


.view-all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: gap 0.3s;
}

.view-all-link:hover {
  gap: 16px;
}

.view-all-link svg {
  width: 20px;
  height: 20px;
}

/* C2CoLab */
.C2CoLab {
  background-color: #f6f6f6;
  margin: 0 0 64px 0;
}

.C2CoLab .flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  height: 500px;
}

.C2CoLab .container {
  overflow: visible;
}

.C2CoLab img {
  height: 500px;
  object-fit: cover;
  flex: 1;
  width: 50%;
  position: absolute;
  right: 0;
}

.C2CoLab div.text {
  width: 50%;
  padding-right: 64px;
}

.C2CoLab .view-all-link {
  font-weight: bold;
  font-size: 18px;
  margin-top: 32px;
  color: #000;

}



/* umrezavanje */
.umrezavanje {
  text-align: center;
  margin: 64px auto;
}

.umrezavanje p {
  max-width: 80%;
  margin: 0 auto 16px;
}

.umrezavanje img {
  margin-top: 32px;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
}

.umrezavanje .view-all-link {
  font-weight: bold;
  font-size: 18px;
  margin-top: 32px;
  color: #000;
  justify-content: center;

}

/*footer*/
footer {
  border-top: 1px solid #B3B3B3;
  margin-top: auto;
}

footer .container {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 16px !important;
}

footer .container p {
  max-width: 50%;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: #000;
}

footer .container img {
  width: 160px;
}

footer .wrap {
  background: #0b0b0b;
  text-align: center;
  padding: 16px 0;
}

footer .wrap p {
  color: #fff;
  font-size: 15px;
  margin-bottom: 0;
}

footer .wrap p a {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

footer .wrap p a:hover {
  text-decoration: underline;
}

/*all news*/
.all.news h1 {
  font-size: 53px;
  line-height: 60px;
}

.all.news .card {
  margin-bottom: 24px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: 100%;
  margin-top: 48px;
}

.page-item {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 400;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.page-item:hover {
  background: #e5e5e5;
}

.page-item.active {
  background: #2c2c2c;
  color: white;
}

.page-item.active:hover {
  background: #1a1a1a;
}

.page-item.dots {
  cursor: default;
  pointer-events: none;
}

.page-item.dots:hover {
  background: transparent;
}

/*single post*/
.single-news {
  margin: 64px 0;
}

.single-news h1 {
  font-size: 53px;
  line-height: 60px;
}

.single-news .featured-img {
  margin: 24px 0;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
}

.single-news .meta {
  font-size: 15px;
  color: #777;
  text-transform: uppercase;
  margin-top: auto;
}

.single-news .meta a {
  color: #777;
}

.single-news .meta a:hover {
  text-decoration: underline;
}

.single-news .text-block {
  max-width: 90%;
}

.single-news .text-block img {
  width: auto;
  margin: 0 auto 16px;
}

.share-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.share-label {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}


.facebook {
  background: #1877f2;
}

.facebook:hover {
  background: #0d65d9;
}

.linkedin {
  background: #0a66c2;
}

.linkedin:hover {
  background: #004182;
}

.twitter {
  background: #000000;
}

.twitter:hover {
  background: #1a1a1a;
}

@media (max-width: 768px) {
  .share-container {
    flex-direction: column;
    gap: 15px;
  }

  .share-label {
    font-size: 24px;
  }

  .social-icon {
    width: 50px;
    height: 50px;
  }

  .social-icon svg {
    width: 24px;
    height: 24px;
  }
}


.related.news {
  padding-top: 48px;
  border-top: 1px solid #E5E5E5;
}


/*single*/
.singlePage {
  margin: 64px 0;
}
.single.single-post, .single.single-javni_poziv {
  margin: 0!important;
}
.singlePage h1 {
  font-size: 53px;
  line-height: 60px;
}

.singlePage .featured-img {
  margin: 24px 0;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
}

.singlePage .text-block {
  max-width: 90%;
}

.singlePage .text-block h2 {
  margin-top: 40px;
  font-size: 40px;
  line-height: 56px;
}



.network-section {
  margin: 0 0 64px 0;
  position: relative;
  overflow: hidden;
}

.network-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  min-height: 450px;
   margin: 80px 0;
  position: relative;
}

.network-flex.reverse {
  flex-direction: row-reverse;

}

.network-text {
  width: 50%;
  z-index: 2;
}

.network-flex.reverse .network-text {
  padding-right: 0;
  padding-left: 32px;
}

.network-flex:not(.reverse) .network-text {
  padding-right: 32px;
}

.network-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  max-height: 450px;
  object-fit: cover;
}

.network-flex.reverse .network-image {
  right: auto;
  left: 0;
}


.network-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 16px;
}
  /* Expandable text */
   .network-text .expandable-text {
        max-height: 200px;
        overflow: hidden;
        position: relative;
        transition: max-height 0.4s ease;
    }

    .network-text .expandable-text.is-expanded {
        max-height: 220px;
        overflow-y: scroll;
        padding-right: 16px;
    }

    /* Thin scrollbar */

    .network-text .expandable-text::-webkit-scrollbar {
        width: 4px;
    }

    .network-text .expandable-text::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 2px;
    }

    .network-text .expandable-text::-webkit-scrollbar-thumb {
        background: #2e7d32;
        border-radius: 2px;
    }

    .network-text .expandable-text::-webkit-scrollbar-thumb:hover {
        background: #1b5e20;
    }

    /* Firefox */
    .network-text .expandable-text {
        scrollbar-width: thin;
        scrollbar-color: #2e7d32 #f0f0f0;
    }

    /* Fade overlay */
    .network-text .expandable-text::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(transparent, #fff);
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .network-text .expandable-text.is-expanded::after {
        opacity: 0;
        display: none;
    }

    /* Read more button */
    .network-text  .button {
        font-family: 'Archivo', sans-serif;
        border: 1px solid var(--main-color);
        color: var(--main-color);
        ;
        padding: 16px 32px;
        text-decoration: none;
        font-weight: 600;
        white-space: nowrap;
        width: max-content;
        display: block;
        margin-top: 24px;
        transition: all .2s;
    }

    .network-text  .button:hover {
        background: var(--main-color);
        color: #fff;
    }

    .network-text  .button:active {
        transform: scale(0.98);
    }

    .network-text  .view-all-link {
        background: transparent;
        border: none;
        padding: 0;
        text-decoration: underline;
        color: #000;
        margin-top: 24px;
    }

    .network-text  .view-all-link svg {
        width: 18px;
        height: 18px;
        transition: transform 0.3s ease;
    }

    .network-text  .view-all-link.is-expanded svg {
        transform: rotate(180deg);
    }

.page-description {
  font-size: 18px;
  color: #000;
  margin-bottom: 60px;
  line-height: 1.3;
}

.calls-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.call-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: 4px solid var(--main-color);
  padding: 32px;
  transition: box-shadow 0.3s;
  cursor: pointer;
}

.call-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.call-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.call-date {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.call-badge {
  background: #0077B5;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
}

.call-text {
  font-size: 20px;
  line-height: 1.5;
  color: #000;
}


.contact-section {
  padding: 80px 0;
  background: #fff;
}


.contact-content {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 80px;
  align-items: start;
}

.contact-divider {
  width: 1px;
  height: 100%;
  background: #e0e0e0;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 4px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #C0C0C0;
  border-radius: 0;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.3s;
  background: #fff;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}


.submit-btn {
  font-family: 'Archivo', sans-serif;
  width: 100%;
  padding: 14px;
  background-color: #3c3c3c;
  color: white;
  border: none;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background: #000;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  border: none;
  padding: 0;
  margin-bottom: 12px;
}
.contact-info .info-label {
        margin-bottom: 8px;
    }


.contact-info .info-item .info-value.full {
  width: 100%
}

.info-value ul {
  margin-left: 0;
}

.info-value li {
  color: #555;
  font-size: 16px;
}

.info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 36px;
  height: 36px;
  color: #000;
}

.info-content {
  flex: 1;
}

.info-label {
  font-size: 18px;
  color: #000;

}

.info-value a {
  font-size: 20px;
  font-weight: 400;
  color: var(--main-color);
  word-break: break-all;
}

.info-value a:hover {
  text-decoration: underline;
}

.info-item .gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 12px;
}

.info-item .gallery img {
  width: calc(25% - 12px);
}

@media (max-width: 1024px) {
  .info-value li {
    text-align: center;
  }

  .info-label {
    margin-bottom: 8px;
    font-size: 14px;

  }
.info-value a {
  font-size: 16px;

}
.info-icon {
    width: 40px;
    height: 40px;
}
.info-icon svg {
    width: 32px;
    height: 32px;
    color: #000;
}
  .contact-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-divider {
    display: none;
  }

  .contact-info {
    gap: 8px;
  }
    .info-item .gallery img {
  width: calc(33% - 12px);
}
}
@media (max-width: 768px) {
    .info-item .gallery img {
  width: calc(50% - 6px)!important;
}
}

/*login*/
.login {
  max-width: 500px;
  margin: 0 auto;
  padding: 64px 0;
  display: flex;
  align-items: center;
}

.login h1 {
  text-align: center;
  margin-bottom: 16px;
  font-size: 53px;
  line-height: 60px;
  font-weight: 600;
}

.login .subtitle {
  text-align: center;
  color: #5E5E5E;
  margin-bottom: 40px;
  font-size: 18px;
}

.form-group {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 4px;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

input[type="text"],
#org_form,
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #C0C0C0;
  font-size: 16px;
  transition: border-color 0.3s;
}

#org_form {
  background: #fff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 45px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #666;
}

.toggle-password:hover {
  color: #333;
}

.toggle-password svg {
  width: 20px;
  height: 20px;
}

.eye-slash {
  display: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  margin-top: 25px;
}

input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 3px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.checkbox-label a {
  color: #000;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.form-input-file {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #C0C0C0;
  border-radius: 0;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.3s;
  background: #fff;
  cursor: pointer;
}

.form-input-file:focus {
  outline: none;
  border-color: #999;
}

.form-input-file::file-selector-button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  cursor: pointer;
  margin-right: 12px;
  font-family: 'Open Sans', sans-serif;
}

.form-input-file::file-selector-button:hover {
  background: #000;
}

.submit-btn {
  font-family: 'Archivo', sans-serif;
  width: 100%;
  padding: 14px;
  background-color: #3c3c3c;
  color: white;
  border: none;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #000;
}

.login-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.login-link a {
  color: var(--main-color);
  text-decoration: none;
  font-weight: 600;
}

.login-link a:hover {
  text-decoration: underline;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  margin-top: 15px;
}

.remember-me {
  display: flex;
  align-items: center;
}

input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 14px;
  color: #555;
  cursor: pointer;
}

.forgot-password {
  color: var(--main-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.forgot-password:hover {
  text-decoration: underline;
}

/*registracija*/
.register {
  max-width: 500px;
  margin: 0 auto;
  padding: 64px 0;
  display: flex;
  align-items: center;
}

.register h1 {
  text-align: center;
  margin-bottom: 16px;
  font-size: 53px;
  line-height: 60px;
  font-weight: 600;
}

.register .subtitle {
  text-align: center;
  color: #5E5E5E;
  margin-bottom: 40px;
  font-size: 18px;
}


/* Toggle Switch */
.toggle-container {
  display: flex;
  margin-bottom: 30px;
  border-radius: 25px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.toggle-option {
  flex: 1;
  padding: 12px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  color: #666;
  border: none;
}

.toggle-option.active {
  background: #000;
  color: white;
}

.form-group {
  margin-bottom: 20px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  margin-top: 25px;
}

.form-section {
  display: none;
}

.form-section.active {
  display: block;
}


/*teme*/
.themes {
  max-width: 60%;
  margin: 0 auto;
  padding: 64px 0;
  display: flex;
  align-items: center;
}

.themes .subtitle {
  text-align: center;
  color: #5E5E5E;
  margin: 0 auto 40px;
  font-size: 18px;

}

.accordion-item {
  background-color: white;
  border: 1px solid #D9D9D9;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-header {
  padding: 16px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  transition: background-color 0.2s;
}

.accordion-header:hover {
  background-color: #f8f8f8;
}

.accordion-header.active {
  background-color: #fafafa;
}

.accordion-icon {
  transition: transform 0.3s;
  color: #666;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #fafafa;
}

.accordion-content.active {
  max-height: 1000px;
}

.accordion-inner {
  padding: 10px 20px 20px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  padding: 12px;
  margin-bottom: 8px;
  background-color: white;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.checkbox-item:hover {
  background-color: #f0f0f0;
}

.checkbox-item.selected {
  background-color: #e3f2fd;
}

.themes input[type="checkbox"] {
  margin-right: 12px;
  margin-top: 3px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #4285f4;
}

.themes .checkbox-label {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  cursor: pointer;
  flex: 1;
}

.button-container {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
}

.themes .btn {
  font-family: 'Archivo', sans-serif;
  padding: 12px 24px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  width: max-content;
}

.themes .btn-secondary {
  background-color: white;
  color: #333;
  border: none;
  padding: 0;
  text-decoration: underline;
}

.themes .btn-secondary:hover {
  text-decoration: none;
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: #f5f5f5;
}

.themes .btn-primary {
  background-color: #3c3c3c;
  color: white;
}

.btn-primary:hover {
  background-color: #000;
}

.icon-chevron {
  width: 20px;
  height: 20px;
}



/*DASHBOARD*/

.notification-card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 4px solid #e3f2fd;
  transition: box-shadow 0.2s;
  position: relative;
}

.notification-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.notification-card.highlighted {
  background-color: #e3f2fd;
  border-left-color: #5b7fef;
}

.notification-card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.notification-card-text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.notification-card .mark-as-read {
  position: absolute;
  right: 12px;
  top: 12px;
  text-decoration: underline;
  font-size: 12px;
  color: #004182;
  cursor: pointer;
}

.notification-card .mark-as-read:hover {
  text-decoration: none;
}

.notification-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.notification-card-date {
  font-size: 12px;
  color: #999;
}

.notification-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--main-color);
  text-decoration: none;
  font-weight: 500;
}

.notification-card-link:hover {
  text-decoration: underline;
}

.notification-card-link svg {
  flex-shrink: 0;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.notification-item[data-type="redirect"]:hover .notification-item-title {
  color: var(--main-color);
}

.notification-item-content {
  flex: 1;
}

.notification-item-date {
  font-size: 11px;
  color: #999;
  margin-top: 5px;
}

.notification-dismiss {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #999;
  flex-shrink: 0;
  transition: color 0.2s;
}

.notification-dismiss:hover {
  color: #e74c3c;
}

.notification-dismiss svg {
  width: 16px;
  height: 16px;
}

.notification-empty {
  padding: 30px 20px;
  text-align: center;
  color: #888;
  font-size: 14px;
}

.notification-list {
  max-height: 400px;
  overflow-y: auto;
}

/* Moje Prijave Cards */
.prijave-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.prijava-card {
  background-color: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.prijava-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.prijava-card--empty {
  padding: 30px 20px;
  text-align: center;
  color: #888;
  font-size: 14px;
}

.prijava-card--empty p {
  margin: 0;
}

.prijava-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
}

.prijava-card__broj {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.prijava-card__status {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
  background: #e5e7eb;
  color: #555;
}

.prijava-card--submitted .prijava-card__status {
  background: #d1fae5;
  color: #065f46;
}

.prijava-card--draft .prijava-card__status {
  background: #fef3c7;
  color: #92400e;
}

.prijava-card__body {
  padding: 16px 20px;
}

.prijava-card__title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
}

.prijava-card__title--empty {
  font-style: italic;
  color: #999;
  font-weight: 400;
}

.prijava-card__date {
  font-size: 13px;
  color: #666;
}

.prijava-card__footer {
  padding: 12px 20px;
  border-top: 1px solid #e5e7eb;
  background: #fafafa;
}

.prijava-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--main-color);
  text-decoration: none;
}

.prijava-card__btn:hover {
  text-decoration: underline;
}

.prijava-card__btn svg {
  flex-shrink: 0;
}

.prijava-card__submitted-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #065f46;
}

.prijava-card__submitted-text svg {
  flex-shrink: 0;
}

/* Settings Section */
.settings-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.settings-section-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

/* Password toggle button */
.password-wrapper {
  position: relative;
}

.btn-toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #666;
}

.btn-toggle-password:hover {
  color: var(--main-color);
}

.btn-toggle-password .eye-icon {
  width: 20px;
  height: 20px;
}

/* Empty text */
.empty-text {
  color: #888;
  font-style: italic;
}

.empty-text a {
  color: var(--main-color);
}

/* Themes list */
.themes-list {
  list-style: disc;
  margin: 0;
  padding-left: 20px;
}

.themes-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.themes-modal-list {
  list-style: disc;
  margin: 20px 0;
  padding-left: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.themes-modal-list li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.modal-subtitle {
  color: #666;
  margin-bottom: 10px;
}

/* Gallery styles */
.gallery-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-item {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-item-full {
  grid-column: 1 / -1;
}

/* Image upload zone */
.image-upload-zone {
  border: 2px dashed #ddd;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 20px;
  background: #fafafa;
}

.image-upload-zone:hover,
.image-upload-zone.dragover {
  border-color: var(--main-color);
  background: #f0f7ff;
}

.image-upload-zone svg {
  color: #999;
  margin-bottom: 10px;
}

.image-upload-zone p {
  color: #666;
  margin: 0;
}

/* Image gallery edit */
.image-gallery-edit {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.gallery-edit-item {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-edit-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item-remove {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
}

.gallery-item-remove:hover {
  background: #dc3545;
  transform: scale(1.1);
}

.gallery-item-remove svg {
  width: 16px;
  height: 16px;
  color: white;
}

/* Image preview modal */
.image-preview-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.image-preview-container img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
}

.image-preview-container .modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Small button variant */
.btn-small {
  padding: 6px 12px;
  font-size: 13px;
}

.dashboard-container {
  display: flex;
  min-height: 100vh;
  padding: 20px;
  gap: 0;
}


.sidebar {
  width: 280px;
  background-color: white;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 999;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-scrollable {
  flex: 1;
  overflow-y: auto;
  padding: 48px 24px 24px 24px;
}

.sidebar .logo img {
  max-width: 200px;
}

.sidebar .logo {
  margin-bottom: 24px;
}

.sidebar .nav-menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
}

.sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 400;
  transition: background-color 0.2s;
  cursor: pointer;
  margin: 0;
}

.sidebar .nav-item:hover {
  background-color: #f5f5f5;
}

.sidebar .nav-item.active {
  background-color: #f0f0f0;
}

.sidebar .nav-item svg {
  width: 20px;
  height: 20px;
}

.sidebar .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  transition: background-color 0.2s;
}

.sidebar .dropdown-toggle:hover {
  background-color: #f5f5f5;
}

.sidebar .dropdown-toggle svg {
  width: 20px;
  height: 20px;
}

.sidebar .dropdown-arrow {
  margin-left: auto;
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.sidebar.dropdown-toggle.open .dropdown-arrow {
  transform: rotate(180deg);
}

.sidebar .dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 32px;
}

.sidebar .dropdown-content.open {
  max-height: 300px;
  padding-top: 8px;
}

.sidebar .dropdown-item {
  display: block;
  padding: 10px 15px;
  color: #555;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 4px;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}

.sidebar .dropdown-item:hover {
  background-color: #f5f5f5;
  border-left-color: #e67e50;
  padding-left: 18px;
}

.sidebar-footer {
  padding: 24px 24px 24px 24px;
  border-top: 1px solid #f0f0f0;
}

.btn-openModal {
  width: 100%;
  font-family: 'Archivo', sans-serif;
  background: var(--main-color);
  color: #fff;
  padding: 16px 24px;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  border: none;
}

.btn-openModal:hover {
  background-color: #d66d42;
}

.main-content {
  flex: 1;
  background-color: #f8f8f8;
  border-radius: 0 8px 8px 0;
  display: flex;
  flex-direction: column;
}

.main-content .header {
  background-color: white;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #e0e0e0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 990;
  overflow: visible;
}

.main-content .header-left {
  flex: 1;
}

.main-content .header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-content .notification-wrapper {
  position: relative;
}

.notification-icon {
  position: relative;
  cursor: pointer;
  padding: 8px;
}

.main-content .notification-icon svg {
  width: 24px;
  height: 24px;
  color: #666;
}

.main-content .notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: #e74c3c;
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 5px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

.main-content .notification-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 350px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 1000;
}

.main-content .notification-dropdown.show {
  display: block;
}

.main-content .notification-dropdown-header {
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
  font-weight: 600;
  font-size: 16px;
}

.main-content .notification-item {
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.main-content .notification-item:hover {
  background: #f8f8f8;
}

.main-content .notification-item:last-child {
  border-bottom: none;
}

.main-content .notification-item-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
  color: #333;
}

.notification-item-text {
  font-size: 13px;
  color: #666;
}

.main-content .user-profile {
  display: flex;
  align-items: center;
  gap: 10px;

}

.main-content .user-avatar {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 50%;
  background-color: #45aaa2;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  overflow: hidden;
}

.main-content .user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-content .user-name {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

.content-area {
  padding: 102px 32px 32px 302px;
  flex: 1;
}

.content-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #333;
}

.settings-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
}

.photo-upload-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.photo-placeholder {
  width: 120px;
  height: 120px;
  background: #f5f5f5;
  border: 2px dashed #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.photo-placeholder:hover {
  background: #ebebeb;
  border-color: #ccc;
}

.photo-placeholder svg {
  width: 50px;
  height: 50px;
  color: #999;
}

.photo-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-outline {
  padding: 8px 16px;
  color: #000;
  border: 1px solid #000;
  background-color: #fff;
  border-radius: 0;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #f5f5f5;
}

.btn-danger {
  border: none;
  background-color: transparent;
  color: #F20505;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-danger:hover {
  text-decoration: underline;
}

.content-area .form-grid {
  display: grid;
  gap: 20px;
}

.content-area .form-group {
  display: flex;
  flex-direction: column;
}

.content-area .form-label {
  display: block;
  margin-bottom: 4px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.content-area .form-label .required {
  color: #e74c3c;
}

.content-area .input-wrapper {
  position: relative;
  display: flex;
  gap: 12px;
}

.content-area .form-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgb(192, 192, 192);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-hint {
  margin-top: 4px;
  font-style: italic;
}

.content-area .form-input:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.content-area .form-input::placeholder {
  color: #999;
}

.content-area .btn-change {
  padding: 12px 24px;
  border: 1px solid #ddd;
  background: white;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.content-area .btn-change:hover {
  background: #f5f5f5;
}

.content-area .action-buttons,
.modal-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #e0e0e0;
}

.content-area .btn-cancel,
.modal-buttons .btn-modal-cancel {
  font-family: 'Archivo', sans-serif;
  padding: 12px 24px;
  border: 1px solid #ddd;
  background: white;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.content-area .btn-cancel:hover,
.modal-buttons .btn-modal-cancel:hover {
  background: #f5f5f5;
}

.content-area .btn-save,
.modal-buttons .btn-modal-save {
  font-family: 'Archivo', sans-serif;
  padding: 12px 24px;
  border: none;
  background: #000;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.content-area .btn-save:hover,
.modal-buttons .btn-modal-save:hover {
  background: #333;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  line-height: 1;
}

.modal-close:hover {
  color: #333;
}

.modal-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
}

.accordion-item {
  margin-bottom: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  transition: background-color 0.2s;
  text-transform: uppercase;
}

.accordion-header:hover {
  background-color: #f8f8f8;
}

.accordion-icon {
  transition: transform 0.3s;
  color: #666;
  width: 20px;
  height: 20px;
}

.modal-overlay .btn {
  font-family: 'Archivo', sans-serif;
  padding: 12px 24px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  width: max-content;
}

.modal-overlay .btn-secondary {
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
}

.modal-overlay .btn-secondary:hover {
  background-color: #f5f5f5;
}

.modal-overlay .btn-primary {
  background-color: #3c3c3c;
  color: white;
}

.modal-overlay .btn-primary:hover {
  background-color: #000;
}


@media (max-width: 768px) {
  .dashboard-container {
    padding: 0;
  }

  .sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    width: 280px;
    min-height: 100vh;
    border-radius: 0;
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  }

  .sidebar.open {
    left: 0;
  }

  .main-content {
    border-radius: 0;
    width: 100%;
  }

  .notification-dropdown {
    width: 300px;
  }

  .modal-content {
    width: 95%;
    padding: 40px 12px 24px 12px;
  }

  .content-area {
    padding: 112px 24px 24px 24px;
  }
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-overlay.active {
  display: block;
}

.mobile-menu-btn {
  display: none;
  background-color: transparent;
  border: none;
  padding: 5px;
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  color: #333;
  display: block;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.sidebar-close-btn {
  display: none;
  position: absolute;
  top: 30px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 10;
}

.sidebar-close-btn svg {
  width: 28px;
  height: 28px;
  color: #666;
}

.sidebar-close-btn:hover svg {
  color: #333;
}

@media (max-width: 768px) {
  .sidebar-close-btn {
    display: block;
  }

  .logo {
    margin-top: 30px;
  }
}


/*profil*/
.profile-card {
  background: white;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
  border: 1px solid #e0e0e0;
}

.profile-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 600;
}

.profile-card-content {
  color: #333;
  line-height: 1.7;
  font-size: 14px;
}

.edit-link {
  color: #333;
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
}

.edit-link:hover {
  color: #000;
}
.profile-card ul li {
  list-style: decimal-leading-zero outside;
  font-size: 16px;
  margin-bottom: 24px;
}
.info-grid {
  display: grid;
  gap: 12px;
}

.info-item {
  display: flex;
  gap: 16px;
  flex-direction: column;
  border: 1px solid #e7e7e7;
  padding: 24px 12px;
  border-radius: 6px;
 
}



.info-label {
  font-weight: 600;
  color: #000;
}

.info-value {
  color: #555;
  font-size: 15px;
  line-height: 20px;
}

.modal-content textarea {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  width: 100%;
  min-height: 200px;
  padding: 12px 16px;
  border: 1px solid rgb(192, 192, 192);
}



/*RESPONSIVE*/
@media (max-width: 1023px) {
  .hero {
    margin: 48px auto;
  }

  .hero-top {
    gap: 16px;
    margin-bottom: 24px;
    flex-direction: column;
  }

  .hero-text {
    max-width: 70%;
  }

  .hero-right ul {
    margin-left: 16px;
  }

  .hero-right p,
  .hero-right li {
    font-size: 16px;
    line-height: 22px;
  }

  .hero p.center {
    text-align: left;
    max-width: 100%;
    font-size: 16px;
    line-height: 22px;
  }

  .network-flex {
    flex-direction: column;
    gap: 16px;
    min-height: auto;
    margin: 64px 0;
  }

  .network-flex.reverse {
    flex-direction: column;

  }
     .expandable-text.is-expanded {
    max-height: 100%!important;
     }
  .network-image {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
  }

  .network-text {
    width: 100%;
    padding: 24px 0;

  }

  .network-flex.reverse .network-text {
    padding-left: 0;
  }

  .network-flex:not(.reverse) .network-text {
    padding-right: 0;
  }
}

@media (min-width:768px) and (max-width: 1023px) {

  .card,
  .news.all .card {
    width: calc(50% - 8px);
  }

  .news {
    margin: 48px 0;
  }

  .all.news h1 {
    font-size: 48px;
    line-height: 54px;
    margin-bottom: 0;
  }
}


@media (max-width: 767px) {
  p {
    font-size: 16px;
    line-height: 24px;

  }

  h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 32px;
  }

  h2,
  h2 a {
    font-size: 32px;
    line-height: 36px;
  }

  h3,
  h3 a {
    font-size: 27px;
    line-height: 32px;
  }

  h4,
  h4 a {
    font-size: 24px;
    line-height: 30px;
  }

  h5,
  h5 a {
    font-size: 22px;
    line-height: 28px;
  }

  h6,
  h6 a {
    font-size: 20px;
    line-height: 24px;

  }

  .hero {
    margin: 48px auto;
  }

  li {
    font-size: 16px;
    line-height: 22px;
  }

  .hero-top {
    gap: 16px;
    margin-bottom: 24px;
    flex-direction: column;
  }

  .hero-text {
    max-width: 90%;
  }

  .hero-right ul {
    margin-left: 16px;
  }

  .hero-right p,
  .hero-right li {
    font-size: 16px;
    line-height: 22px;
  }

  .hero p.center {
    text-align: left;
    max-width: 100%;
    font-size: 16px;
    line-height: 22px;
  }

  .C2CoLab .flex {
    flex-direction: column;
    align-items: left;
    gap: 32px;
    height: auto;
  }

  .C2CoLab {
    padding: 32px 0;
  }

  .C2CoLab div.text {
    width: 100%;
    padding-right: 0;
  }

  .C2CoLab img {
    height: auto;
    width: 100%;
    position: relative;
    right: auto;
  }

  .news .container {
    flex-direction: column;
  }

  .news .flex {
    margin-bottom: 16px;
    width: 100%;
  }

  .news .flex .title-wrap {
    margin-bottom: 24px;
  }

  .news-grid {
    flex-direction: column;
    gap: 24px;
  }

  .card,
  .news.all .card,
  .related.news .card {
    width: 100%;
  }

  .card h3,
  .card h3 a {
    font-size: 20px;
    line-height: 25px;
  }

  .card .meta {
    font-size: 14px;
  }

  .pozivi-section {
    width: 100%;
  }

  .pozivi-section h3 {
    text-align: left;
    margin-bottom: 24px;
  }

  .poziv-card {
    aspect-ratio: auto;
  }

  .umrezavanje {
    margin: 40px auto;
    text-align: left;
  }

  .umrezavanje p {
    max-width: 100%;
    margin: 0 auto 16px;
  }

  .umrezavanje .view-all-link {
    justify-content: start;
  }

  .umrezavanje img {
    height: auto;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px !important;
  }

  footer .container p {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 17px;

  }

  footer .container img {
    width: 140px;
  }

  footer .wrap p {
    font-size: 13px;
  }

  .news {
    margin: 48px 0;
  }

  .all.news h1 {
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 0;
  }

  .single-news {
    margin: 48px 0;
  }

  .single-news h1 {
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 16px;
  }

  .single-news .text-block {
    max-width: 100%;
  }

  .singlePage {
    margin: 48px 0;
  }

  .singlePage h1 {
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 16px;
  }

  .singlePage .featured-img {
    margin: 16px 0;
  }

  .singlePage .text-block {
    max-width: 100%;
  }

  .singlePage .text-block h2 {
    margin-top: 24px;
    font-size: 32px;
    line-height: 36px;
  }

  .themes {
    max-width: 100%;
    padding: 48px 0;
  }

  .main-content .user-avatar {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    font-size: 14px;
  }

  .main-content .user-name {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .main-content .header-right {
    gap: 8px;
  }

  .main-content .notification-dropdown {
    right: -140px;
    width: 280px;
  }

  .photo-upload-section {
    flex-direction: column;
  }

  .content-area .input-wrapper {
    position: relative;
    gap: 8px;
    flex-direction: column;
  }

  .form-group {
    margin-bottom: 8px;
  }

  .info-item {
    gap: 8px;
    flex-direction: column;

  }



  .content-area .action-buttons,
  .modal-buttons {
    margin-top: 16px;
    padding-top: 16px;
  }

  .settings-card {
    padding: 24px 16px;
  }

  .register h1,
  .login h1 {
    margin-bottom: 16px;
    font-size: 40px;
  }

  .call-text {
    font-size: 18px;
    line-height: 1.4;
  }
  .profile-card {
    padding: 16px;
    margin-bottom: 24px;
}
}

@media (max-width: 319px) {
  .main-content .notification-dropdown {
    right: -140px;
    width: 250px;
  }

}


/*forme -koncept i aplikaciona*/

.form-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 16px;
}

.form-container section {
  overflow: visible;
}

.form-container h1 {
  font-size: 38px;
  line-height: 46px;
  margin-bottom: 32px;
  text-align: center;
}

.form-container .heading-wrap {
  margin-bottom: 40px;
}

.form-container .subtitle {
  font-size: 17px;
  text-align: center;
  font-weight: 600;
}

.form-container label,
.form-container .subsection-title {
  position: relative;
}

/* Tooltip */
.form-container .tooltip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #000;
  border-radius: 50%;
  font-size: 11px;
  color: #fff;
  cursor: help;
  font-weight: 600;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

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

.form-container .tooltip-trigger.active .tooltip-content {
  opacity: 1;
  visibility: visible;
}

.form-container .tooltip-content {
  position: absolute;
  bottom: calc(100% + 8px);

  background: #1a1a1a;
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 400;
  white-space: normal;
  width: 250px;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 99;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  line-height: 1.5;
}

/* Mobile - align left by default */
@media (max-width: 767px) {
  .form-container .tooltip-content {
    right: 0;
    left: auto;
    transform: none;
    max-width: calc(100vw - 32px);
  }

}


/* Inputs */
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container input[type="number"],
.form-container input[type="date"],
.form-container textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgb(192, 192, 192);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s ease;
  background: #fff;
  margin-bottom: 24px;
}
.form-container select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgb(192, 192, 192);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s ease;
  background-color: #fff;
  margin-bottom: 24px;
}


.form-container textarea {
  min-height: 100px;
  resize: vertical;
  margin-bottom: 4px;
}

/* Character counter */
.char-counter {
  font-size: 12px;
  color: #666;
  text-align: right;
  margin-bottom: 20px;
}

.char-counter--warning {
  color: #f59e0b;
}

.char-counter--exceeded {
  color: #dc2626;
  font-weight: 600;
}

/* Sections */
.form-container .section {
  margin-bottom: 40px;
}

.form-container .section-title {
  font-size: 23px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1a1a1a;
}

.form-container .subsection-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 28px 0 16px 0;
}

.form-container .subsection-description {
  font-size: 16px;
  line-height: 21px;
  color: #000;
  font-weight: 600;
  margin-bottom: 12px;

}


/* Partner Card */
.form-container .partner-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
      background: #fafafa;
}

.form-container .partner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.form-container .partner-header h4 {
  font-size: 14px;
  font-weight: 600;
}

.form-container .btn-remove {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
  transition: color 0.2s ease;
}

.form-container .btn-remove:hover {
  color: #e53e3e;
}

.form-container .btn-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: none;
  border: 1px dashed #ccc;
  border-radius: 6px;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-container .btn-add:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
}

/* File Upload */
.form-container .upload-section {
  margin-top: 16px;
}

.form-container .upload-box {
  border: 1px dashed #ccc;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-container .upload-box:hover {
  border-color: #1a1a1a;
  background: #fafafa;
}

.form-container .upload-box-icon {
  font-size: 24px;
  margin-bottom: 8px;
  color: #999;
}

.form-container .upload-box-text {
  font-size: 14px;
  color: #000;
}

.form-container .upload-box-link {
  color: #1a1a1a;
  text-decoration: underline;
}

/* Declaration Box */
.form-container .declaration-box {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.form-container .declaration-box p {
  font-size: 15px;
  line-height: 19px;
  color: #000;
  margin-bottom: 24px;
}

.form-container .declaration-box p a {
  color: #f36a10;
  text-decoration: underline;
  font-weight: bold;
}

.form-container .declaration-box p a:hover {
  text-decoration: none;
}

.form-container .declaration-box p:last-of-type {
  margin-bottom: 16px;
}

.form-container .declaration-box label {
  color: #000;

}

/* Info Note */
.form-container .info-note {
  border: 1px solid #f0e6cc;
  border-radius: 6px;
  padding: 16px 16px 0 16px;
  margin-bottom: 24px;
}

.form-container .info-note-title {
  font-weight: 600;
  font-size: 15px;
  line-height: 21px;
  margin-bottom: 8px;
}

.form-container .info-note ul {
  margin-left: 18px;
  font-size: 13px;
  color: #666;
}

.form-container .info-note li {
  margin-bottom: 12px;
  list-style: none;
  font-size: 15px;
}

/* Buttons */
.form-container .form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.form-container .btn {
  font-family: 'Archivo', sans-serif;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 12px;
}

.form-container .btn-secondary {
  border: 1px solid #000;
  background: white;
  color: #000;
}

.form-container .btn-secondary:hover {
  background: #e7e7e7;
}

.form-container .btn-primary {
  background: #333;
  color: white;
}

.form-container .btn-primary:hover {
  background: #000;
}

.form-container .action-note {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-container .action-note p {
  font-size: 13px;
  line-height: 18px;
  color: #000;
  margin: 0;
}

.form-container .action-group {
  display: flex;
  flex-direction: column;
}

/* Character Counter */
.form-container .char-info {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

/* Warning Box */
.form-container .warning-box {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 13px;
  color: #c53030;
}

.form-container label .sub {
  display: block;
  margin-bottom: 4px;
  color: #333;
  font-size: 14px;
  font-weight: 400;
}

.form-container .required {
  display: inline-block;
  margin-left: 4px;
  color: #000;
}

.form-container .radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}

.form-container .radio-option label {
  font-weight: 400;
}

@media (max-width: 767px) {
  .form-container h1 {
    font-size: 33px;
    line-height: 40px;
    text-align: left;
  }

  .form-container .subtitle {
    font-size: 15px;
    text-align: left;
  }

  .form-container .section-title {
    font-size: 21px;
    padding-bottom: 8px;
  }

  .form-container .partner-card {
    padding: 16px 8px;

  }

  .form-container .form-actions {
    flex-direction: column;
    gap: 32px;
  }

  .form-container .action-note p {
    font-size: 12px;
    line-height: 16px;

  }
}




.description-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.7;
}

.financial-years {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.financial-year-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  background: #fafafa;

}

.year-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.year-header label {
  font-weight: 600;
  font-size: 16px;
}

.year-header input {
  width: 120px;
  font-size: 16px;

}

.year-header input:focus {
  outline: none;
  border-color: #666;
}

.financial-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.financial-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.financial-field label {
  font-size: 13px;
  color: #555;
  font-weight: 500;
}


@media (max-width: 600px) {

  .financial-fields {
    grid-template-columns: 1fr;
  }
}



.description-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.7;
}

.field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.field-row:last-of-type {
  border-bottom: none;
}



.field-label-sub {
  font-size: 12px;
  color: #888;
  margin-left: 5px;
}

.percent-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.percent-input input {
  width: 80px;
  text-align: right;
}



.percent-input .suffix {
  color: #888;
  font-size: 14px;
}

.form-group .section-title {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 24px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #908b8b;
}

.form-group .wrap {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  background: #fafafa;
}


.section-title:first-of-type {
  margin-top: 0;
}

.field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  margin-bottom: 5px;
}

.percent-header {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-align: right;
}

.percent-note {
  font-weight: normal;
  color: #888;
  font-size: 12px;
}

.other-input {
  flex: 1;
  margin-right: 15px;
}

.other-input input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
}

.other-input input:focus {
  outline: none;
  border-color: #666;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 15px;
  background: #f8f8f8;
  border-radius: 5px;
  font-weight: 600;
}

.total-value {
  font-size: 18px;
}

.total-value.error {
  color: #e74c3c;
}

.total-value.success {
  color: #27ae60;
}

.total-row.field-error {
  background: #fef2f2;
  border: 1px solid #e74c3c;
}

.hint {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}

@media (max-width: 500px) {
  .field-row {
    flex-direction: column;
    align-items: start;
  }

  .other-input {
    flex: 1;
    margin-right: 0;
    width: 100%;
  }

  .form-group .wrap {
    padding: 16px 8px;
  }

  .percent-input {
    width: 100%;
  }
}


.highlight {
  background-color: #ffff00;
  padding: 0 3px;
}

.field {
  margin-bottom: 20px;
}


/* Aktivnosti */
.activities-container {
  margin-top: 25px;
}

.activity-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fafafa;
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.activity-number {
  font-weight: 600;
  font-size: 15px;
  color: #333;
}

.btn-remove {
  background: #e74c3c;
  color: #fff;
  border: none;
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 13px;
}

.btn-remove:hover {
  background: #c0392b;
}

.activity-field {
  margin-bottom: 15px;
}

.activity-field:last-child {
  margin-bottom: 0;
}



.activity-field textarea {
  min-height: 70px;
  resize: vertical;
}



/* Period - dva dropdown-a u redu */
.period-row {
  display: flex;
  gap: 15px;
}

.period-field {
  flex: 1;
}


.btn-add {
  width: 100%;
  margin-top: 10px;
  padding: 12px 20px;
  background: #fff;
  border: 2px dashed #999;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  border-radius: 3px;
  transition: all 0.2s;
}

.btn-add:hover {
  border-color: #333;
  color: #333;
}

@media (max-width: 500px) {

.activity-card {
  padding: 16px 8px;

}
  .period-row {
    flex-direction: column;
    gap: 10px;
  }
}


/* ============================================
   Grant Forms - Additional Styles
   ============================================ */

/* Form Message (Access Denied, Already Submitted, etc.) */
.form-message {
  text-align: center;
  padding: 60px 30px;
  max-width: 500px;
  margin: 60px auto;
}

.form-message__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background: #fef3f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-message__icon svg {
  width: 40px;
  height: 40px;
  color: #dc3545;
}

.form-message--error .form-message__icon {
  background: #fef3f2;
}

.form-message--error .form-message__icon svg {
  color: #dc3545;
}

.form-message--success .form-message__icon {
  background: #d1fae5;
}

.form-message--success .form-message__icon svg {
  color: #10b981;
}

.form-message h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
}

.form-message p {
  color: #666;
  margin-bottom: 25px;
}

/* Draft Notice */
.draft-notice {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #fef9e7;
  color: #856404;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 14px;
  margin: 15px auto 0;
}

.draft-notice svg {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Auto-save Indicator */
.autosave-indicator {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.autosave-saving {
  color: #ffd700;
}

.autosave-saved {
  color: #10b981;
}

/* Field Error State */
.field-error {
  border-color: #dc3545 !important;
  background-color: #fef3f2 !important;
}

.field-error:focus {
  outline-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

/* Radio Group */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #F36A10;
}

.radio-option label {
  font-size: 14px;
  color: #404040;
  cursor: pointer;
  margin-bottom: 0;
}

/* Budget Section */
.budget-section {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 6px;
  margin-top: 20px;
}

.budget-section h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}

.budget-section label {
  font-size: 14px;
}

.budget-section input {
  margin-bottom: 12px;
}

/* Spinner for buttons */
.btn-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  animation: spin 1s linear infinite;
}

/* Upload box states */
.upload-box.dragover {
  border-color: #F36A10;
  background: #fff5f0;
}

.upload-box.uploading {
  opacity: 0.7;
  pointer-events: none;
}

.upload-box.field-error {
  border-color: #dc3545 !important;
  background-color: #fef3f2 !important;
}

.upload-box.field-error .upload-box-icon {
  color: #dc3545;
}

.upload-box.field-error .upload-box-text {
  color: #dc3545;
}

/* Radio group error state */
.radio-group.field-error {
  padding: 10px;
  border: 2px solid #dc3545;
  border-radius: 4px;
  background: #fef3f2;
}

/* Action note warning */
.action-note--warning img {
  filter: hue-rotate(320deg);
}

/* Responsive adjustments for forms */
@media (max-width: 768px) {
  .form-message {
    padding: 40px 20px;
    margin: 30px auto;
  }
  
  .form-message__icon {
    width: 60px;
    height: 60px;
  }
  
  .form-message__icon svg {
    width: 30px;
    height: 30px;
  }
  
  .form-message h2 {
    font-size: 20px;
  }
  
  .draft-notice {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  
  .radio-group {
    flex-direction: column;
  }
  
  .budget-section {
    padding: 15px;
  }
  
  .autosave-indicator {
    left: 10px;
    right: 10px;
    bottom: 10px;
    text-align: center;
  }
}

/*popup HP*/
    .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .popup {
            background: #ffffff;
            max-width: 600px;
            width: 95%;
            padding: 32px 24px;
            border-radius: 8px;
            text-align: center;
            font-family: Arial, sans-serif;
            line-height: 1.6;
            position: relative;
        }

      .popup p {
        font-size: 16px;
        line-height: 21px;
      }

        .popup .close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 20px;
            cursor: pointer;
        }
        .popup .btn-register {
          margin-top: 16px;
          display: inline-block;
        }

        @media (max-width: 480px) {
                  .popup .btn-register {
                    display: block;
                  }
        }

        @media (max-width: 359px) {
           .popup-overlay {
            overflow-x: scroll;
            align-items: flex-start;
           }
        }


        /*page*/
        .page .single {
          padding: 64px 0;
        }
        .page .single h1 {
          font-size: 38px;
        }

          .page .single .text-block h2 {
            font-size: 27px;
            margin-top: 28px;
            margin-bottom: 15px;
            border-left: 4px solid #467886;
            padding-left: 15px;
        }
        .page .single .text-block h3 {
          font-size: 19px;
            margin-top: 20px;
            font-weight: 600;
            margin-bottom: 10px;
        }

       .page .single .meta {
            background-color: #f4f4f4;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 30px;
        }
       .page .single .meta p {
            margin: 5px 0;
        }
       .page .single ul, .page .single ol {
            margin-left: 20px;
            margin-bottom: 15px;
        }
       .page .single li {
            margin-bottom: 8px;
        }
    
@media (max-width: 1023px) {
        .page .single {
          padding: 56px 0;
        }
        .page .single h1 {
          font-size: 30px;
        }

          .page .single .text-block h2 {
            font-size: 25px;
            margin-top: 24px;

        }

}