
.submit-form #breadcrumbs {
  position: relative;
  right: auto;
  top: auto;
  margin-top: auto;
  max-width: 100%;
  width: 100%;
  transform: none;
  margin-bottom: 20px;
}

#dashboard .submit-form #titlebar { 
  margin-bottom: 10px;
}

.submit-form .input-container .upper-desc {
  position: relative;
  top: -14px;
}
.submit-form .chosen-single span{
  font-size: 1rem;
  right: auto;
}
.submit-form {
  /* Styl kontenera dla podziału rezultatu */
  .result-value-split-enabled {
    margin-bottom: 1rem;
  }

  .result-value-split-enabled {
    h5 {
      margin-bottom: 0 !important;
    }
    .input-switcher {
      margin-top: 0;
      font-size: .9rem;
      line-height: .9rem;
      color: #333;
      margin-bottom: 9px;
    }

    .input-switcher label {
      margin-bottom: 0;
      color: #333 !important;
    }

    .result-split-container {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .result-split-container input {
      flex: 1 1 30%;
      padding: 0.4rem 0.6rem;
      font-size: 0.9rem;
    }

    .result-split-container input:focus {
      border-color: #6666cc;
      outline: none;
    }

    /* Styl checkboxa */
    .split-result-checkbox {
      margin-right: 0.4rem;
      margin-bottom: 0 !important;
    }
  }
  
  .result-value-split-enabled .result-value-main {
    
  }
  .result-value-split-enabled .result-split-container,
  .result-value-split-enabled .result-value-main {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    z-index: -1;
    pointer-events: none;
  }
  .result-value-split-enabled .result-value-main,
  .result-value-split-enabled.show-genders .result-split-container {
    opacity: 1;
    visibility: visible;
    position: static;
    z-index: auto;
    pointer-events: auto;
  }

  .result-value-split-enabled.show-genders .result-value-main {
    display: none;
  }
}


.cost-results {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.cost-summary h4 {
    margin-top: 0;
    color: #495057;
}

.action-costs-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.action-costs-list li {
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.action-costs-list li:last-child {
    border-bottom: none;
}

.total-cost {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 2px solid #007bff;
    font-size: 1.1em;
    color: #007bff;
}

.no-costs {
    color: #6c757d;
    font-style: italic;
}
.budzet_zarzadzanie,
.budzet_rozwoj {
  opacity: .4;
  pointer-events: none;
}
.has-zarzadzanie-projektem .budzet_zarzadzanie,
.has-rozwoj-instytucjonalny .budzet_rozwoj {
  opacity: 1;
  pointer-events: all;
}



/* Kompaktowy gender input dla tabel */
/* Kompaktowy gender input dla tabel */
.gender-group {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    font-size: 12px;
}

.gender-group:focus-within {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.gender-field {
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.gender-field label {
    font-size: 12px;
    font-weight: 500;
    color: #666 !important;
    margin: 0;
    line-height: 1;
}

.gender-field input {
    width: 100%;
    text-align: center;
  height: 3.4rem;
    line-height: 3.4rem;
    padding: 0 1.3333rem;
    outline: none;
    font-size: 1rem;
}

.gender-field input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 1px rgba(0, 123, 255, 0.25);
}

.gender-field input {
    margin-bottom: 0 !important;
}

.gender-total {
    margin-left: 4px;
    padding: 2px 4px;
    background-color: #f8f9fa;
    border-radius: 3px;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

/* Wersja jeszcze bardziej kompaktowa dla wąskich kolumn */
.gender-group.compact {
    min-width: 160px;
    gap: 2px;
    padding: 1px 4px;
}

.gender-group.compact .gender-field input {
    width: 24px;
    height: 22px;
}


/* Wersja z ikonami zamiast tekstu dla jeszcze większej kompaktowości */
.gender-group.icons-only {
    min-width: 140px;
}

.gender-group.icons-only .gender-field label {
    font-size: 14px; /* Większe ikony */
}

/* Ukryj hidden input */
.gender-result {
    display: none;
}

/* Style dla focus i błędów */
.gender-group.focused {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.gender-group.error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.gender-group.error .gender-field input {
    border-color: #dc3545;
}

/* Responsive - na małych ekranach */
@media (max-width: 768px) {
    .gender-group {
        min-width: 140px;
        gap: 2px;
    }
    
    .gender-field input {
        width: 24px;
    }
    
    .gender-field label {
        font-size: 10px;
    }
}
.char-counter {
  position: relative;
    font-size: 10px;
    text-align: right;
    top: -20px;
}
.char-counter.danger {
  color: red;
  font-weight: bold;
}
.pricing-list-container span.total-count {
  position: relative;
    right: auto;
    top: auto;
    transform: none;
    font-size: inherit;
}
.pricing-list-container span {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
}