.ba-item-login .ba-login-integrations-wrapper .ba-google-login-button
div div + div {
position: absolute;
}

/* Title */
.ba-item-submission-form 
.blog-post-submission-form-options-group[data-id="title"] {
  display: none !important;
}

/* Category */
.ba-item-submission-form 
.blog-post-submission-form-options-group[data-id="category"] {
  display: none !important;
}

/* Kalorije */
.ba-item-submission-form 
.blog-post-submission-form-options-group[data-id="1"] {
  display: none !important;
}

/* Beljakovine */
.ba-item-submission-form 
.blog-post-submission-form-options-group[data-id="2"] {
  display: none !important;
}

/* Ogljikovi hidrati */
.ba-item-submission-form 
.blog-post-submission-form-options-group[data-id="3"] {
  display: none !important;
}

/* Maščobe */
.ba-item-submission-form 
.blog-post-submission-form-options-group[data-id="4"] {
  display: none !important;
}

/*skrita polj akategorij ain title*/
.blog-post-submission-form-options-group[data-field-key="title"],
.blog-post-submission-form-options-group[data-field-key="category"] {
    display: none !important;
}

.blog-post-submission-form-options-group[data-id="11"] {
  display: none !important;
}

/*prijavni gumb*/
.ba-item.cta-gradient .ba-login-btn {
  background: linear-gradient(90deg, #FF7A18 0%, #FFB800 100%) !important;
  color: #ffffff !important;
  border: none;
}

.ba-item.cta-gradient .ba-login-btn:hover {
  background: linear-gradient(90deg, #FFB800 20%, #FF7A18 100%) !important;
}

.macros {
  max-width: 400px;
}

.macro {
  margin-bottom: 16px;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: #fc8b6c;
  transition: width 0.8s ease;
}

#item-15289771381 .preloader-wrapper {
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

#item-15289771381 .preloader-wrapper.fitapp-active {
  opacity: 1;
  pointer-events: auto;
}

#protein-bar {
  background-color: #01cdff; /* beljakovine */
}

#carbs-bar {
  background-color: #00dd85; /* ogljikovi hidrati */
}

#fat-bar {
  background-color: #fde20c; /* maščobe */
}

/* WRAPPER */
#food-list {
  width: 100% !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

/* EACH FOOD BLOCK */
#food-list > div {
  margin-bottom: 40px !important;
  display: flex !important;
  flex-direction: column !important;
}

/* SKRIJ ORIGINALNE <br> */
#food-list br {
  display: none !important;
}



/* VRNI FONT INPUTU */
#food-list input {
  font-size: 16px !important;
}

/* INPUT STYLE */
#food-list input[type="number"] {
  width: 100% !important;
  padding: 14px !important;
  background: #151A2E !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 0 !important;   /* brez rounded */
  color: #ffffff !important;
  box-sizing: border-box !important;

  appearance: auto !important;
  -webkit-appearance: auto !important;
  -moz-appearance: auto !important;
}

/* TELEFON – odstrani puščice */
@media (max-width: 768px) {

  #food-list {
    padding: 0 12px !important;
  }

  #food-list input[type="number"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
  }

  #food-list input[type="number"]::-webkit-outer-spin-button,
  #food-list input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
  }
}

.fixed-bottom {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;

  width: 100% !important;
  max-width: 100% !important;

  z-index: 9999 !important;
  transform: none !important;
}

@media (max-width: 768px) {

  /* skrij kategorijo in datum */
  .ba-account-tr > .ba-account-td:nth-child(2),
  .ba-account-tr > .ba-account-td:nth-child(3) {
    display: none !important;
  }

  /* skrij edit */
  .ba-account-tr .zmdi-edit {
    display: none !important;
  }

  /* ena vrstica */
  .ba-account-tr {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #151a2e !important;
    padding: 14px !important;
    border-radius: 14px !important;
    margin-bottom: 12px !important;
  }

  /* prvi stolpec = slika + naslov */
  .ba-account-tr > .ba-account-td:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 !important;
  }

  /* zadnji stolpec = koš */
  .ba-account-tr > .ba-account-td:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 30px !important;
  }

  /* manjša slika */
  .post-intro-image {
    width: 150px !important;
    height: 150px !important;
    min-width: 150px !important;
  
  }

  /* naslov naj se ne prelomi */
  .ba-account-td:first-child a {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

}

.ba-account-tr .zmdi-edit {
  display: none !important;
}

/* Skrij Datum polje (desni stolpec) */
.ba-field-wrapper[data-id="item-1771590909535"] {
    display: none !important;
}



/* Skrij 3. stolpec (datum) v account tabeli */
.ba-account-table .ba-account-tr .ba-account-td:nth-child(3) {
    display: none !important;
}

.ba-item-fields-filter .ba-selected-filter-values {
  align-items: center;
  background: rgb(2, 2, 2);
  border-radius: 50px;
  color: #fff;
  display: inline-flex;
  font-size: 0.875rem;
  line-height: 2.25rem;
  margin: 0 10px 10px 0;
  padding: 0 8px 0 15px;
  vertical-align: middle;
  white-space: nowrap;
}

/* Naslovi v My Account tabeli */
.ba-account-tr .ba-account-td a {
    color: #ffffff !important;
}

/* Hover efekt (da ostane lep) */
.ba-account-tr .ba-account-td a:hover {
    color: #FDA36D !important; /* lahko pustiš belo če želiš */
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: #2a3350;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.progress-bar.over-limit {
  border-color: #ff3b3b;
}

@keyframes overLimitBlink {
  0%   { border-color: #ff3b3b; box-shadow: 0 0 0 rgba(255,59,59,0.7); }
  50%  { border-color: #ff0000; box-shadow: 0 0 20px rgba(255,59,59,0.9); }
  100% { border-color: #ff3b3b; box-shadow: 0 0 0 rgba(255,59,59,0.7); }
}

.progress-bar.over-limit {
  border-color: #ff3b3b;
  animation: overLimitBlink 1s infinite;
}

.progress-bar.over-limit .progress-fill {
  animation: overLimitBlinkFill 1s infinite;
}

/* Skrij 4. quick tag (Next Week) */
.ba-field-date-tags span:nth-child(4) {
    display: none !important;
}

/* =========================
   KOLEDAR – Clean verzija
========================= */

/* ===== From / To wrapper ===== */
.ba-field-filter-date-calendars {
    display: flex !important;
    gap: 8px !important;
}

.ba-field-filter-date-calendars > div {
    flex: 1 !important;
}

/* ===== Input polja ===== */
.ba-field-filter-date-calendars input {
    background: #0b1426 !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
    padding: 8px 12px 8px 38px !important; /* prostor za ikono */
    font-size: 14px !important;
}

/* Placeholder */
.ba-field-filter-date-calendars input::placeholder {
    color: rgba(255,255,255,0.6) !important;
}

/* Ikona – brez backgrounda (da ne prekriva teksta) */
.ba-field-filter-date-calendars .icons-cell {
    background: transparent !important;
    color: #ffffff !important;
}

/* ===== Quick date container ===== */
.ba-field-date-tags {
    display: flex !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    padding: 6px 0 !important;
    background: transparent !important;
}

/* Quick gumbi */
.ba-field-date-tags span {
    background: #0b1426 !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
}

/* Hover effect */
.ba-field-date-tags span:hover {
    border-color: rgba(255,255,255,0.35) !important;
}


/* ===== Quick tagi ===== */

.ba-field-date-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ba-field-date-tags span {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 0; /* brez rounded */
    font-size: 14px;
    transition: 0.2s ease;
}

.ba-field-date-tags span:hover {
    background: #1e8f2f;
    border-color: #1e8f2f;
}

/* Skrij cel filter gumb */
.open-responsive-filters {
    display: none !important;
}



@media (max-width: 768px) {

  .ba-blog-posts-wrapper.ba-classic-layout .ba-blog-post {
      display: flex !important;
      flex-direction: row !important;
      align-items: flex-start !important;
  }

  .ba-blog-posts-wrapper.ba-classic-layout .ba-blog-post-image {
      float: none !important;
      display: block !important;
      width: 120px !important;
      text-align: left !important;
      margin: 0 12px 0 0 !important;
  }

}

@media (max-width: 420px) {

  .ba-blog-posts-wrapper.ba-classic-layout .ba-blog-post-image {
      width: 140px !important;
  }

}


/* ===== CLEAN FOOD LIST LAYOUT ===== */

#food-list > div {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-bottom: 20px !important;
}

/* Ime živila */
#food-list strong {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  color: #ffffff !important;
}


/* Input */
#food-list input[type="number"] {
  width: 50% !important;
  padding: 14px !important;
  background: #151A2E !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
  font-size: 16px !important;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

  #food-list input[type="number"] {
    width: 50% !important;   /* na telefonu full širina */
    padding: 12px !important;
    font-size: 12px !important;
  }

#food-list strong {
    font-size: 12px !important;
  }


.progress-bar.over-limit .progress-fill {
  background: #ff3b30 !important;
}

@media (max-width: 768px) {

  .progress-bar {
    height: 2px;               /* malo tanjši na telefonu */
    border: 1px solid transparent;  /* manj debel rob */
    border-radius: 4px;        /* bolj sorazmerno */
  }

}
  
/* Onemogoči klikanje na obroke v author view */
body.ba-author-page-view .ba-blog-posts-wrapper a {
  pointer-events: none !important;
  cursor: default !important;
}

/* Ubij BA Forms success popup */
.ba-forms-modal-wrapper.ba-form-message-popup {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
  

  
  @media (max-width: 768px) {

  .ba-account-td:first-child a {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

}
  
  @media (max-width: 768px) {

  .ba-account-tr {
    display: flex !important;
    flex-direction: column !important;  /* ← KLJUČNO */
    gap: 6px;
  }

  .ba-account-td {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
  }

  .ba-account-td span {
    white-space: nowrap !important;
    word-break: normal !important;
  }

}
  
@media (max-width: 768px) {
  #ba-my-account-subscriptions .ba-account-tr, #ba-my-account-downloads .ba-account-tr, #ba-my-account-orders .ba-account-tr {
    align-items: center;
    border-bottom: 0px solid var(--border) !important;
    flex-direction: column;
    padding: 20px !important;
}
  

.submitted-items-list .ba-account-tr .ba-account-td:first-child > a {
    pointer-events: none !important;
    cursor: default !important;
    text-decoration: none !important;
    color: inherit !important;
}