/* ================================ */
/* Forms Layout                     */
/* ================================ */
.forms-section {
  margin-top: -48px;
}
.forms-section .container {
  padding: 0;
  max-width: 1920px;
}
.forms-layout {
  display: flex;
  min-height: calc(100vh - 80px);
}

/* ================================ */
/* Sidebar                          */
/* ================================ */
.forms-sidebar {
  width: 350px;
  min-width: 350px;
  background-color: #fff;
  border-right: 1px solid #eee;
  padding: 24px 40px;
  padding-top: 0;
  overflow-y: auto;
  height: calc(100vh - 80px);
  position: sticky;
  top: 80px;
  scrollbar-width: thin;
  scrollbar-color: #c6cbd4 transparent;
}
.forms-sidebar::-webkit-scrollbar {
  width: 4px;
}
.forms-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.forms-sidebar::-webkit-scrollbar-thumb {
  background-color: #c6cbd4;
  border-radius: 999px;
}
.forms-sidebar::-webkit-scrollbar-thumb:hover {
  background-color: #aeb4bf;
}
.forms-sidebar::-webkit-scrollbar-button {
  display: none !important;
}
.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 34px;
  padding-bottom: 24px;
  position: relative;
}
.sidebar-top::before {
  background-color: #eee;
  position: absolute;
  width: calc(100% + 80px);
  height: 1px;
  content: " ";
  bottom: 0;
  left: -40px;
}
.sidebar-object-name {
  font-weight: 700;
  font-size: 17px;
  color: #363d4d;
}
.sidebar-dots-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sidebar Groups */
.most-used {
  padding: 32px 0px;
  position: relative;
}
.most-used::before {
  background-color: #eee;
  position: absolute;
  width: calc(100% + 80px);
  height: 1px;
  content: " ";
  bottom: 0;
  left: -40px;
}
.sidebar-group {
  margin-bottom: 8px;
}
.sidebar-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  line-height: 100%;
  vertical-align: middle;
  margin-bottom: 25px;
  color: #363d4d;
}
.sidebar-group-icon {
  width: 14px;
  height: 13px;
}
.sidebar-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  cursor: pointer;
  user-select: none;
}
.sidebar-section-title {
  font-weight: 700;
  font-size: 15px;
  color: #363d4d;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-badge-orange {
  background-color: #ff9c38;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  display: block;
}
.sidebar-arrow {
  width: 12px;
  height: 12px;
  background-image: url(/assets/icons/select-arrow.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  transition: transform 0.3s ease;
}
.sidebar-arrow.rotated {
  transform: rotate(180deg);
}

/* Sidebar Links */
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-collapsible {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.sidebar-collapsible.open {
  max-height: 1000px;
  margin-top: 14px;
  margin-bottom: 14px;
}
.sidebar-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0px;
  font-weight: 500;
  font-size: 15px;
  color: #363d4d;
  text-decoration: none;
  border-radius: 6px;
}
.sidebar-links li a:hover {
  color: #2d5eee;
}
.sidebar-links li a:hover .form-tag {
  background-color: #2d5eee;
  color: #fff;
}
.sidebar-links li a:hover img {
  opacity: 1;
  filter: brightness(0) invert(1);
}
.sidebar-links li.active a {
  color: #2d5eee;
}
.form-tag {
  font-weight: 700;
  font-size: 12px;
  color: #363d4d;
  width: 42px;
  height: 25px;
  background-color: #f6f6f6;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
}
.form-tag-icon {
  width: 42px;
  height: 25px;
  background-color: #f6f6f6;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
}
.form-tag-icon img {
  width: 10px;
  height: 10px;
}
.form-tag-active {
  background-color: #2d5eee;
}
.form-tag-active img {
  opacity: 1;
  filter: brightness(0) invert(1);
}
.sidebar-subcategory {
  font-weight: 400;
  font-size: 14px;
  color: #6f6f73;
  margin: 16px 0px;
}

/* ================================ */
/* Main Content                     */
/* ================================ */
.forms-content {
  flex: 1;
  padding: 24px 40px;
  background-color: #f6f6f6;
  min-width: 0;
  height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c6cbd4 transparent;
  padding-bottom: 80px;
}
.forms-content::-webkit-scrollbar {
  width: 4px;
}
.forms-content::-webkit-scrollbar-track {
  background: transparent;
}
.forms-content::-webkit-scrollbar-thumb {
  background-color: #c6cbd4;
  border-radius: 999px;
}
.forms-content::-webkit-scrollbar-thumb:hover {
  background-color: #aeb4bf;
}
.forms-content::-webkit-scrollbar-button {
  display: none;
}

/* Content Header Bar */
.content-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  padding: 16px 40px;
  margin: -24px -40px 24px -40px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.03);
}
.content-header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.content-header-icon {
  width: 82px;
  height: 51px;
  background-color: #f6f6f6;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-header-icon img {
  width: 10px;
  height: 10px;
}
.content-header-title {
  font-family: Fustat;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
}
.content-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.content-action-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #e1e1e1;
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: center;
}
.content-action-btn:hover {
  background-color: #eaeffe;
}
.content-action-btn.action-favorite {
  background-image: url(/assets/icons/start-form.svg);
}
.content-action-btn.action-search {
  background-image: url(/assets/icons/search.svg);
}
.content-action-btn.action-filter {
  background-image: url(/assets/icons/Funnel.svg);
}
.content-action-btn.action-favorite:hover {
  background-image: url(/assets/icons/Star-blue.svg);
}
.content-action-btn.action-search:hover {
  background-image: url(/assets/icons/search-blue.svg);
}
.content-action-btn.action-filter:hover {
  background-image: url(/assets/icons/Funnel-blue.svg);
}

/* ================================ */
/* Managers List                    */
/* ================================ */
.managers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Manager Row */
.manager-row {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding: 16px 40px;
}

/* Row Header */
.manager-row-header {
  display: flex;
  align-items: center;
}
.manager-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}
.manager-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 100%;
  display: block;
  flex-shrink: 0;
}
.manager-status-dot.active {
  background-image: url(/assets/icons/green-checkmark.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
  width: 20px;
  height: 20px;
}
.manager-status-dot.finished {
  background-image: url(/assets/icons/icon_verifikuotas_grey.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
  width: 20px;
  height: 20px;
}
.manager-status-dot.pending {
  background-image: url(/assets/icons/Clock.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
  width: 20px;
  height: 20px;
}
.manager-name {
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: #141414;
}
.manager-details {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  margin-left: 32px;
  justify-content: space-between;
}
.manager-details-wrap {
  width: 40%;
  display: flex;
  gap: 20px;
}
.manager-details-wrap .manager-detail {
  width: 50%;
}
.manager-details-wrap .manager-company {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 500;
  line-height: 24px;
}
.managers-status-wrap {
  width: 40%;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}
.managers-status-wrap .manager-detail-status {
  width: 50%;
}
.f1-main .managers-status-wrap .manager-detail-status {
  width: auto;
}
.manager-detail {
  font-weight: 500;
  font-size: 14px;
  color: #6f6f73;
  white-space: nowrap;
}
.manager-detail-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #141414;
}

.manager-detail-finished {
  color: #141414;
  font-weight: 500;
}
.status-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background-color: #27c96a;
  display: inline-block;
  flex-shrink: 0;
}
.status-dot-red {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background-color: #eb3831;
  display: inline-block;
  flex-shrink: 0;
}
.manager-expand-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  margin-left: 40px;
}
.manager-expand-btn img {
  width: 12px;
  height: 12px;
}
.manager-row.expanded .manager-expand-btn img {
  transform: rotate(180deg);
}

/* Cancel button (pending) */
.manager-cancel-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  color: #eb3831 !important;
  text-decoration: none !important;
  background-color: #eb383114;
  border: 1px solid #eb383130;
  border-radius: 8px;
  padding: 6px 14px;
  margin-left: auto;
  white-space: nowrap;
}
.manager-cancel-btn:hover {
  background-color: #eb383125;
}
.manager-cancel-btn img {
  width: 12px;
  height: 12px;
}

/* Confirm button (PATVIRTINTI) */
.manager-confirm-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none !important;
  background-color: #2d5eee;
  border: 1px solid #2d5eee;
  border-radius: 8px;
  padding: 6px 14px;
  white-space: nowrap;
}
.manager-confirm-btn:hover {
  background-color: #2350d4;
}

/* ================================ */
/* Manager Row Body (expandable)    */
/* ================================ */
.manager-row-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.manager-row.expanded .manager-row-body {
  max-height: 500px;
}

/* Fields */
.manager-fields {
  display: flex;
  gap: 16px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid #eee;
}
.manager-fields .input-wrap {
  flex: 1;
  margin-bottom: 0;
}
.manager-fields .input-wrap label {
  pointer-events: none;
}
.manager-fields .form-input:disabled {
  background-color: #f9f9f9;
  color: #141414;
  cursor: default;
  opacity: 1;
  -webkit-text-fill-color: #141414;
}

/* Certificate */
.manager-certificate {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 24px 0px;
}
.manager-cert-info strong {
  font-weight: 700;
  font-size: 15px;
  color: #363d4d;
  display: block;
  margin-bottom: 4px;
}
.manager-cert-dates {
  font-weight: 400;
  font-size: 13px;
  color: #6f6f73;
}
.manager-cert-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  color: #27c96a !important;
  text-decoration: none !important;
  background-color: #27c96a14;
  border: 1px solid #27c96a30;
  border-radius: 8px;
  padding: 8px 16px;
  white-space: nowrap;
}
.manager-cert-file:hover {
  background-color: #27c96a25;
}
.manager-cert-file img {
  width: 16px;
  height: 16px;
}
.manager-certificate {
  padding: 24px 0px;
}
.manager-cert-header h3 {
  font-weight: 700;
  font-size: 16px;
  color: #363d4d;
  margin-bottom: 16px;
}
.manager-cert-view {
  display: flex;
  align-items: center;
  gap: 40px;
}
.manager-cert-title {
  display: none;
}
.manager-row.editing .manager-cert-title {
  display: block;
}
.manager-cert-add {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  color: #2d5eee !important;
  text-decoration: none !important;
}
.manager-row.editing .manager-cert-add {
  display: flex;
}
.manager-cert-add:hover {
  opacity: 0.8;
}
.manager-cert-view .remove-file {
  display: none;
}
.manager-row.editing .manager-cert-view .remove-file {
  display: flex;
}
.manager-certificate .manager-cert-edit {
  display: none !important;
}
.manager-row.editing .manager-certificate.no-cert .manager-cert-edit {
  display: block !important;
}
.manager-cert-edit .cert-inputs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.manager-cert-edit .cert-inputs .input-wrap {
  flex: 1;
  min-width: 150px;
}
.manager-cert-edit .cert-inputs .input-wrap.number-input {
  flex: 2;
}

/* Row Footer */
.manager-row-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 0px;
}
.manager-meta {
  display: flex;
  gap: 24px;
}
.manager-meta span {
  font-weight: 400;
  font-size: 13px;
  color: #9f9f9f;
}
.manager-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.manager-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  white-space: nowrap;
}
.manager-action img {
  width: 16px;
  height: 16px;
}
.manager-action-finish {
  color: #2d5eee !important;
}
.manager-action-edit {
  color: #2d5eee !important;
}
.manager-action-edit:hover,
.manager-action-finish:hover {
  opacity: 0.8;
}

/* Add Button */
.managers-add-btn-wrap {
  margin-top: 24px;
}
.managers-add-btn {
  width: 48px;
  height: 48px;
}

.managers-add-btn-wrap .add-property {
  width: 32px;
  height: 32px;
}

/* Mobile sidebar */
.mobile-sidebar-overlay {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}
.mobile-sidebar-overlay.visible {
  display: block;
}
.mobile-form-sidebar {
  display: none;
}

.manager-certificate.no-cert {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* ================================ */
/* Titulinis Lapas                  */
/* ================================ */
.titulinis-form {
  max-width: 100%;
}
.titulinis-card {
  margin-top: 0;
}
.titulinis-card .two-cols-inputs {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}
.titulinis-card .two-cols-inputs .input-wrap {
  flex: 1;
  margin-bottom: 0;
}
.titulinis-card > .input-wrap {
  margin-bottom: 40px;
}

/* Sritis + Statytojo parašas: wide input left, fixed participant right */
.titulinis-card .two-cols-inputs.full-width-first {
  align-items: flex-end;
}
.titulinis-card .two-cols-inputs.full-width-first .input-wrap:first-child {
  flex: 1 1 0;
  min-width: 0;
}
.titulinis-card .two-cols-inputs.full-width-first .input-wrap.participant-wrap {
  flex: 0 0 auto;
  width: 220px;
}

/* Address input with pin icon */
.address-input-row {
  position: relative;
}
.address-input-row .form-input {
  padding-right: 48px;
}
.address-pin {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.address-pin img {
  width: 20px;
  height: 20px;
}
.address-manual-link {
  font-weight: 400;
  font-size: 13px;
  color: #6f6f73;
  margin-top: 8px;
  display: block;
  text-decoration: none;
}
.address-manual-link u {
  color: #2d5eee;
}

/* Form groups (radio / checkbox) */
.form-group {
  margin-bottom: 40px;
}
.form-group-label {
  font-weight: 700;
  font-size: 15px;
  color: #363d4d;
  display: block;
  margin-bottom: 12px;
}

/* Radio buttons */
.radio-group {
  display: flex;
  align-items: center;
  gap: 24px;
}
.radio-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
  color: #141414;
}
.radio-wrap input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  border: 2px solid #e1e1e1;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  margin: 0;
  flex-shrink: 0;
}
.radio-wrap input[type="radio"]::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background-color: #fff;
  transform: scale(0);
  transition: transform 0.2s ease;
}
.radio-wrap input[type="radio"]:checked {
  border-color: #2d5eee;
  background-color: #2d5eee;
}
.radio-wrap input[type="radio"]:checked::before {
  transform: scale(1);
}
.disabled-input label {
  color: #9f9f9f;
}
.disabled-input .radio-wrap input[type="radio"]:checked {
  border-color: #e1e1e1;
  background-color: #e1e1e1;
}

/* Checkboxes */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 24px;
}
.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
  color: #141414;
}
.checkbox-wrap input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e1e1e1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin: 0;
}
.checkbox-wrap input[type="checkbox"]::before {
  content: "";
  width: 100%;
  height: 100%;
  background: url(/assets/icons/checkmark.svg) center / 8px no-repeat;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.checkbox-wrap input[type="checkbox"]:checked {
  background: #2d5eee;
  border-color: #2d5eee;
}
.checkbox-wrap input[type="checkbox"]:checked::before {
  opacity: 1;
}

/* Checkbox group wrap (3-column grid) */
.checkbox-group-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 32px;
  max-width: 70%;
}

/* Three columns layout */
.three-cols-inputs {
  display: flex;
  gap: 16px;
}
.three-cols-inputs .input-wrap {
  flex: 1;
  margin-bottom: 0;
}
.three-cols-inputs .input-wrap.participant-wrap {
  flex: 0 !important;
}

/* Section notice (info banner) */
.section-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 32px;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.05);
  font-weight: 400;
  font-size: 14px;
  color: #363d4d;
}
.section-notice img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.section-notice .form-tag {
  margin-left: 8px;
}
.notice-link {
  font-weight: 500;
  font-size: 14px;
  color: #2d5eee !important;
}
.notice-link:hover {
  text-decoration: underline !important;
}

/* Participant picker */
.participant-wrap {
  flex: 0 0 auto !important;
}
.participant-wrap .select2-container {
  display: none !important;
}
.participant-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border: 1px solid #e1e1e1;
  border-radius: 50px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease;
  position: relative;
  max-width: 200px;
}
.participant-picker:hover,
.participant-picker.open {
  border-color: #2d5eee;
}
.participant-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.participant-icon img {
  width: 14px;
  height: 14px;
}
.participant-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.participant-name {
  font-weight: 700;
  font-size: 12px;
  color: #363d4d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.participant-status {
  font-weight: 400;
  font-size: 10px;
  color: #9f9f9f;
}
.participant-arrow {
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.participant-arrow img {
  width: 12px;
  height: 12px;
}
.participant-picker.open .participant-arrow img {
  transform: rotate(180deg);
}
.participant-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  width: max-content;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  z-index: 100;
  overflow: hidden;
}
.participant-picker.open .participant-dropdown {
  display: block;
}
.participant-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: #363d4d;
  transition: background-color 0.15s ease;
}
.participant-dropdown-item:hover {
  background-color: #2d5dee1a;
}
.participant-dropdown-item.selected {
  background-color: #2d5dee1a;
}
.participant-dropdown-item img {
  width: 20px;
  height: 20px;
}

/* Titulinis sections */
.titulinis-section {
  margin-top: 40px;
}
.titulinis-section-title {
  font-weight: 700;
  font-size: 20px;
  color: #363d4d;
  margin-bottom: 16px;
}
.titulinis-form .manager-row {
  padding: 16px 40px;
}

/* Save button */
.titulinis-save {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.titulinis-save-btn {
  min-width: 200px;
  justify-content: center;
}

.forms-content .input-wrap label {
  font-size: 13px;
}
.empty-managers .section-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background-color: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-weight: 600;
  font-size: 16px;
  color: #363d4d;
}
.empty-managers .form-tag {
  background: #ffffff;
}
.empty-managers .notice-link {
  text-decoration: underline;
}
.merged-list {
  gap: 0px;
}
.merged-list .manager-row {
  border-radius: 0px;
}
.merged-list .manager-row:first-child {
  border-radius: 16px 16px 0px 0px;
}
.merged-list .manager-row:last-child {
  border-radius: 0px 0px 16px 16px;
}

/* ================================ */
/* F-2 Statinių vardinis sąrašas    */
/* ================================ */

/* Row card */
.f2-row.white-box-shadow {
  margin-top: 0;
  margin-bottom: 12px;
  padding: 24px 40px;
}

/* Row header */
.f2-row-header {
  display: flex;
  align-items: flex-end;
}
.f2-row-fields {
  display: flex;
  align-items: flex-end;
  flex: 1;
  min-width: 0;
  gap: 12px;
}
.f2-row-fields .input-wrap {
  margin-bottom: 0;
}
.f2-input-name {
  flex: 1;
  min-width: 0;
}
.f2-input-sm {
  width: 100px;
  flex-shrink: 0;
}
.f2-input-date {
  width: 160px;
  flex-shrink: 0;
}

/* Action buttons */
.f2-row-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-left: 16px;
  flex-shrink: 0;
  border: 1px solid #e1e1e1;
  padding: 16px 19px;
  border-radius: 8px;
}
.f2-action-btn {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 0;
  transition: background-color 0.2s ease;
}
.f2-action-btn:hover {
  background-color: #f0f0f0;
}
.f2-action-btn img {
  width: 18px;
  height: 18px;
}
.f2-row-header .manager-expand-btn {
  margin-left: 10px;
  margin-bottom: 10px;
}

/* Expand */
.f2-row.expanded .f2-expand-btn img {
  transform: rotate(180deg);
}

/* Row body (expandable) */
.f2-row-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.f2-row.expanded .f2-row-body {
  max-height: 500px;
}

/* Kiti rodikliai */
.f2-extra {
  margin-top: 16px;
}
.f2-extra .input-wrap {
  margin-bottom: 0;
}
.f2-extra textarea.form-input {
  min-height: 80px;
  resize: vertical;
}
.input-wrap textarea:disabled {
  background: rgba(249, 249, 249, 1);
}

/* Cancel / Save footer — hidden until edit mode */
.f2-row-footer {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 16px;
}
.f2-row.editing .f2-row-footer {
  display: flex;
}
.f2-cancel-link,
.f2-save-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none !important;
  cursor: pointer;
  color: #2d5eee !important;
}
.f2-cancel-link:hover,
.f2-save-link:hover {
  opacity: 0.8;
}
.f2-cancel-link img,
.f2-save-link img {
  width: 14px;
  height: 14px;
}

/* Label turns blue on focus */
.f2-row .input-wrap:focus-within label {
  color: #2d5eee;
}

/* Add button — desktop vs mobile */
.f2-add-wrap {
  margin-top: 12px;
}
.f2-add-mobile {
  display: none;
}
.f2-add-btn-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

/* Empty state */
.f2-empty-state {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}
.f2-empty-card.white-box-shadow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  max-width: 500px;
  text-align: center;
}
.f2-empty-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  opacity: 0.6;
}
.f2-empty-title {
  font-weight: 600;
  font-size: 18px;
  color: #363d4d;
  margin-bottom: 24px;
}
.f2-empty-add-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

/* ================================ */
/* F-3 New Participant Form         */
/* ================================ */
.f3-new-participant.white-box-shadow {
  margin-top: 0;
  margin-bottom: 24px;
  padding: 24px 40px;
}
.f3-new-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.f3-new-title {
  font-weight: 700;
  font-size: 18px;
  color: #363d4d;
  margin: 0;
}

/* Toggle switch */
.f3-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.f3-toggle-wrap input {
  display: none;
}
.f3-toggle-slider {
  width: 44px;
  height: 24px;
  background-color: #e1e1e1;
  border-radius: 12px;
  position: relative;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}
.f3-toggle-slider::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease;
}
.f3-toggle-wrap input:checked + .f3-toggle-slider {
  background-color: #2d5eee;
}
.f3-toggle-wrap input:checked + .f3-toggle-slider::before {
  transform: translateX(20px);
}
.f3-toggle-label {
  font-weight: 500;
  font-size: 14px;
  color: #363d4d;
}

/* Fields rows */
.f3-new-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.f3-new-row .input-wrap {
  flex: 1;
  margin-bottom: 0;
}
.f3-input-contract {
  max-width: 200px;
}
.f3-input-date {
  max-width: 160px;
}

/* Bottom: checkboxes + button */
.f3-new-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.f3-new-checkboxes {
  display: flex;
  gap: 32px;
}
.f3-invite-btn {
  white-space: nowrap;
}

/* ================================ */
/* Document Row (reusable: F4, F5, F7...)                   */
/* ================================ */

/* Row card */
.doc-row.white-box-shadow {
  margin-top: 0;
  margin-bottom: 12px;
  padding: 24px 40px;
}

/* Row header */
.doc-row-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.doc-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  min-width: 48px;
  cursor: pointer;
  position: relative;
}
.doc-date-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.doc-date-day {
  font-weight: 700;
  font-size: 32px;
  color: #363d4d;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.doc-date-chevron {
  width: 10px;
  height: 10px;
  margin-left: 10px;
}
.doc-date-month {
  font-weight: 400;
  font-size: 12px;
  color: #9f9f9f;
  margin-top: 2px;
}

.doc-header-fields {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
}
.doc-select-wrap {
  max-width: 180px;
  margin-bottom: 0 !important;
}
.doc-action-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e1e1e1;
  border-radius: 16px;
  padding: 13px 12px;
}
.doc-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: block;
  flex-shrink: 0;
  cursor: pointer;
}

/* Color picker dropdown */
.doc-color-picker {
  position: relative;
}
.doc-color-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  z-index: 100;
  padding: 8px 0;
  min-width: 160px;
}
.doc-color-picker.open .doc-color-dropdown {
  display: block;
}
.doc-color-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: #363d4d;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}
.doc-color-option:hover {
  background-color: #f6f6f6;
}
.doc-color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: block;
  flex-shrink: 0;
}
.doc-icon-btn {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.doc-icon-btn:hover {
  background-color: #f0f0f0;
}
.doc-icon-btn img {
  width: 16px;
  height: 16px;
}

.doc-header-fields .input-wrap {
  width: fit-content;
}

.forms-content
  .select2-container--default.select2-container--disabled
  .select2-selection--single {
  background-color: #f9f9f9;
}
/* Toggle reuses f3-toggle-slider */
.doc-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  margin-left: 8px;
  margin-bottom: 13px;
}
.doc-toggle-wrap input {
  display: none;
}
.doc-toggle-slider {
  width: 44px;
  height: 24px;
  background-color: #e1e1e1;
  border-radius: 12px;
  position: relative;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}
.doc-toggle-slider::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease;
}
.doc-toggle-wrap input:checked + .doc-toggle-slider {
  background-color: #27c96a;
}
.doc-toggle-wrap input:checked + .doc-toggle-slider::before {
  transform: translateX(20px);
}
.doc-toggle-text {
  font-weight: 500;
  font-size: 14px;
  color: #363d4d;
  white-space: nowrap;
}

/* Participant right side */
.doc-header-right {
  margin-left: auto;
  flex-shrink: 0;
}
.doc-participant {
  margin-bottom: 0 !important;
}
.doc-participant .participant-picker {
  max-width: 220px;
}

/* Expand */
.doc-row .doc-expand-btn {
  margin-left: 0;
  flex-shrink: 0;
}
.doc-row.expanded .doc-expand-btn img {
  transform: rotate(180deg);
}

/* Row body */
.doc-row-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.doc-row.expanded .doc-row-body {
  max-height: 2000px;
}

/* Detail fields row */
.doc-detail-fields {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.doc-detail-fields .input-wrap {
  margin-bottom: 0;
}
.doc-field-name {
  flex: 2;
  min-width: 0;
}
.doc-field-sm {
  flex: 1;
  min-width: 0;
}
.doc-field-date {
  width: 170px;
  flex-shrink: 0;
}

body .doc-row .select2-container .select2-selection--single {
  border-radius: 8px;
}

/* Projektotojas — auto width, not full */
.doc-projektotojas {
  margin-top: 16px;
  margin-bottom: 0 !important;
  width: 100%;
}
.doc-projektotojas .select2-container {
  min-width: 200px !important;
  width: 100% !important;
}

/* Two selects side by side (F5) */
.doc-two-selects {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.doc-two-selects .doc-projektotojas {
  flex: 1;
  margin-top: 0;
}

/* Document section */
.doc-document-section {
  margin-top: 20px;
}
.doc-file-list {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.doc-file-list .file-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #f0f4ff;
  border: 1px solid #d6e0fb;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  color: #2d5eee;
  font-weight: 500;
}
.doc-file-list .file-badge .remove-file {
  width: 14px;
  height: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}
.doc-file-list .file-badge .remove-file svg {
  width: 14px;
  height: 14px;
  stroke: #2d5eee;
}
.doc-add-file {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  color: #2d5eee !important;
  text-decoration: none !important;
}
.doc-add-file:hover {
  opacity: 0.8;
}

/* Edit footer — hidden until edit mode */
.doc-row-footer {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 16px;
  margin-top: 8px;
}
.doc-row.editing .doc-row-footer {
  display: flex;
}
.doc-row.editing .doc-file-list .remove-file {
  display: flex !important;
}
.doc-row.editing .doc-add-file {
  display: flex !important;
}

/* ================================ */
/* Pastabos (Chat)                  */
/* ================================ */
.doc-pastabos {
  margin-top: 24px;
}
.doc-pastabos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.doc-pastabos-title {
  font-weight: 700;
  font-size: 15px;
  color: #363d4d;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.doc-pastabos-count {
  background-color: #363d4d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  width: 21px;
  height: 16px;
  border-radius: 42%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.doc-pastabos-toggle img {
  transition: transform 0.3s ease;
  transform: rotate(180deg);
}
.doc-pastabos.collapsed .doc-pastabos-toggle img {
  transform: rotate(0deg);
}
.doc-pastabos-body {
  margin-top: 16px;
  transition: max-height 0.4s ease;
}
.doc-pastabos.collapsed .doc-pastabos-body {
  display: none;
}

/* Chat container */
.doc-chat {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 24px;
}

/* Chat messages */
.doc-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 400px;
  overflow-y: auto;
  padding-top: 16px;
}
.doc-message {
  display: flex;
  flex-direction: column;
}
.doc-message-meta {
  font-weight: 600;
  font-size: 13px;
  color: #363d4d;
  margin-bottom: 4px;
}
.doc-message-time {
  font-weight: 400;
  font-size: 12px;
  color: #9f9f9f;
  margin-left: 6px;
}
.doc-message-bubble {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  max-width: 70%;
  width: fit-content;
}
.doc-bubble-own {
  background-color: #eaeffe;
  color: #363d4d;
}
.doc-bubble-other {
  background-color: #eaeffe;
  color: #363d4d;
}
.doc-message-own {
  align-items: flex-end;
}
.doc-message-other {
  align-items: flex-start;
}
.doc-message-image {
  max-width: 200px;
  border-radius: 10px;
  margin-top: 8px;
}

/* Chat input */
.doc-chat-input-wrap {
  margin-bottom: 0;
}
.doc-chat-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.doc-chat-input-field {
  flex: 1;
  position: relative;
  display: flex;
  gap: 12px;
}
.doc-chat-input-field .input-wrap {
  margin-bottom: 0;
}
.doc-chat-input-field .input-wrap input {
  padding-right: 44px;
}
.doc-chat-attach {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}
.doc-chat-send {
  flex-shrink: 0;
}

/* ================================ */
/* F-7 Specific                     */
/* ================================ */

/* Weather stats */
.f7-weather {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.f7-weather-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 400;
  font-size: 11px;
  color: #6f6f73;
  white-space: nowrap;
}
.f7-weather-item img {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

/* Two participant pickers */
.f7-two-participants {
  display: flex;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 1;
  min-width: 0;
}
.f7-two-participants .doc-participant {
  flex: 0 1 auto !important;
}

.forms-content .f7-two-participants .doc-participant label {
  font-size: 11px;
}

/* F7/F8/F9/F13+ header needs wrapping for two pickers */
.f7-main .doc-row-header,
.f8-main .doc-row-header,
.f9-main .doc-row-header,
.f13-main .doc-row-header,
.f15-main .doc-row-header,
.f57-main .doc-row-header,
.f58-main .doc-row-header,
.f59-main .doc-row-header,
.f60-main .doc-row-header {
  flex-wrap: wrap;
}

/* Klausimas adresuotas row */
.protokolas-adresuotas-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.protokolas-adresuotas-label {
  font-size: 13px;
  color: #374151;
  white-space: nowrap;
  font-weight: 500;
}
.protokolas-adresuotas-select {
  margin-bottom: 0 !important;
  min-width: 180px;
}

/* F61 — invoice fields row */
.f61-fields-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.f61-field-nr {
  flex: 2 1 180px;
}
.f61-field-date {
  flex: 1 1 130px;
}
.f61-field-sum {
  flex: 1 1 130px;
}
.f61-date-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.f61-date-input-wrap .form-input {
  padding-right: 36px;
  width: 100%;
}
.f61-calendar-icon {
  position: absolute;
  right: 10px;
  pointer-events: none;
  display: flex;
  align-items: center;
}
.f61-extra-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-top: 12px;
  flex-wrap: wrap;
}
.f61-field-doc {
  flex: 1 1 280px;
}
.f61-field-pastabos {
  flex: 1 1 280px;
}

/* F60 — two-row header: top row (date+statinys+icons), bottom row (3 participants) */
.f60-header {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px;
}
.f60-header-top {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.f60-header-top .doc-expand-btn {
  margin-left: auto;
}
.f60-participants-row {
  display: flex;
  gap: 12px;
  width: 100%;
}
.f60-main .f60-participants-row .doc-participant {
  min-width: auto;
  flex: 0 !important;
}
.f60-participants-row .doc-participant label {
  font-size: 11px;
}

/* Mato vnt + Kiekis fields — match Atsakingas vykdytojas width */
.f7-field-unit {
  width: 100px;
  flex-shrink: 0;
}
.f7-field-qty {
  width: 100px;
  flex-shrink: 0;
}

/* Responsible field */
.f7-field-responsible {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  max-width: 200px;
  flex-shrink: 0;
}
.f10-main .f7-field-responsible {
  max-width: 340px;
}
.f11-main .f7-field-responsible {
  max-width: 300px;
}
.f14-main .f7-field-responsible {
  max-width: 340px;
}
.f14-main .doc-two-selects .doc-projektotojas.f11-radio-wrap {
  flex: 0 0 auto !important;
  width: auto !important;
}
.f14-main
  .doc-two-selects
  .doc-projektotojas.f11-radio-wrap
  + .doc-projektotojas {
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: 400px;
}
.f14-main .f11-radio-wrap .radio-group {
  margin-bottom: 6px;
}

/* F-11 radio in detail fields */
.f11-radio-wrap {
  flex-shrink: 0;
  width: auto !important;
}
.f11-radio-wrap .radio-group {
  flex-direction: row;
  gap: 16px;
  margin-top: 25px;
}
.input-wrap .radio-group input {
  padding: 0px;
}
.input-wrap .radio-group .radio-wrap {
  display: flex;
  pointer-events: auto;
}
.f20-inline-row .checkbox-wrap {
  pointer-events: auto;
}

/* Collapsible sections (F-54, F-8-F-14, Failai) */
.f7-section {
  margin-top: 28px;
  padding-top: 0;
}
.f7-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.f7-section-title {
  font-weight: 700;
  font-size: 15px;
  color: #363d4d;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.f7-section-toggle img {
  transition: transform 0.3s ease;
  transform: rotate(180deg);
}
.f7-section.collapsed .f7-section-toggle img {
  transform: rotate(0deg);
}
.f7-section-body {
  margin-top: 16px;
}
.doc-row.editing .f7-section-body {
  background-color: #f9f9f9;
  border-radius: 16px;
  padding: 32px;
}
.f7-section.collapsed .f7-section-body {
  display: none;
}

/* Tag input row (edit mode) */
.f7-tag-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.f7-tag-input-wrap {
  flex: 1;
  margin-bottom: 0 !important;
  position: relative;
}
.f7-tag-input-wrap .form-input {
  padding-right: 52px;
}
.f7-tag-add-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 8px;
  background-color: #2d5eee;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}
.f7-tag-add-btn::before {
  content: "+";
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
.f7-tag-or {
  font-weight: 400;
  font-size: 14px;
  color: #6f6f73;
  flex-shrink: 0;
}
.f7-tag-select-wrap {
  flex-shrink: 0;
  margin-bottom: 0 !important;
}

/* Form select row (edit mode) */
.f7-form-select-row {
  margin-bottom: 16px;
}
.f7-form-select-row .input-wrap {
  margin-bottom: 0;
}

/* Tags */
.f7-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.f7-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: default;
}
.f7-tag-green {
  background-color: #dcfce7;
  color: #16a34a;
}
.f7-tag-blue {
  background-color: #eaeffe;
  color: #2d5eee;
}
/* Edit mode: tags get X button */
.doc-row.editing .f7-tag {
  padding-right: 10px;
}
.f7-tag .f7-tag-remove {
  display: none;
  width: 14px;
  height: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 16px;
  line-height: 1;
  color: inherit;
  opacity: 0.7;
}
.f7-tag .f7-tag-remove:hover {
  opacity: 1;
}
.doc-row.editing .f7-tag .f7-tag-remove {
  display: inline-flex;
}

/* Edit mode: show tag input rows */
.doc-row.editing .f7-tag-input-row,
.doc-row.editing .f7-form-select-row {
  display: flex !important;
}

.bottom-chat-input {
  margin-top: 20px;
}
.doc-message-mine {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.doc-message-mine .doc-message-bubble {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  max-width: 70%;
  width: fit-content;
  background-color: #fff;
}

/* ================================ */
/* F-20 Specific                    */
/* ================================ */
.f20-extra-participant {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 8px;
  overflow: visible;
}
.f20-extra-participant .participant-wrap {
  flex: 0 1 auto !important;
  max-width: 300px;
}
.f20-extra-participant .add-property {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  margin-bottom: 4px;
}
.f20-inline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.f20-inline-text {
  font-weight: 400;
  font-size: 14px;
  color: #363d4d;
}
.f20-inline-radio {
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
}
.f20-inline-radio .radio-wrap {
  pointer-events: auto;
}
.f20-sublabel {
  font-weight: 400;
  font-size: 13px;
  color: #6f6f73;
  margin: 12px 0 4px 0;
}
.f20-altitude-label {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 0 !important;
}
.f20-gruntinis-row {
  margin-top: 12px;
}
.f20-small-input {
  margin-bottom: 0 !important;
  width: 120px;
  flex: 0 0 auto !important;
}
.f20-medium-input {
  margin-bottom: 0 !important;
  width: 200px;
  flex: 0 0 auto !important;
}
.f22-main .f18-fields-row.f20-fields-left .input-wrap,
.f24-main .f18-fields-row.f20-fields-left .input-wrap,
.f26-main .f18-fields-row.f20-fields-left .input-wrap,
.f28-main .f18-fields-row.f20-fields-left .input-wrap,
.f30-main .f18-fields-row.f20-fields-left .input-wrap,
.f32-main .f18-fields-row.f20-fields-left .input-wrap,
.f34-main .f18-fields-row.f20-fields-left .input-wrap,
.f36-main .f18-fields-row.f20-fields-left .input-wrap,
.f38-main .f18-fields-row.f20-fields-left .input-wrap,
.f42-main .f18-fields-row.f20-fields-left .input-wrap,
.f44-main .f18-fields-row.f20-fields-left .input-wrap,
.f46-main .f18-fields-row.f20-fields-left .input-wrap,
.f48-main .f18-fields-row.f20-fields-left .input-wrap {
  flex: 0;
}
.f20-checkbox-row {
  margin-top: 20px;
}
.f20-two-selects-tight {
  margin-top: 8px;
}
.f20-field-no-mt {
  margin-top: 0 !important;
}
.f20-sublabel-lg {
  margin-top: 24px;
}
.f20-field-tight {
  margin-top: 8px;
}
.f20-inline-row-md {
  margin-top: 16px;
}
.f20-sprendimas-title {
  margin-top: 24px;
}
.doc-section-divider {
  border: none;
  border-top: 1px solid #e1e1e1;
  margin: 24px 0;
}
.f34-description-box {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
}
.f34-description-box p {
  font-size: 14px;
  font-weight: 400;
  color: #363d4d;
  line-height: 1.6;
  margin: 0;
}
.f34-description-box .form-input:disabled {
  background: #fff;
}
.f20-pastabos-field {
  margin-top: 20px;
}
.f20-attach-wrap {
  position: relative;
}
.f20-attach-input {
  padding-right: 44px;
}
.f20-attach-btn {
  pointer-events: none;
}
.f20-field-altitute {
  max-width: 280px;
}

/* Info icon tooltip */
.info-tooltip-icon {
  cursor: pointer;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: opacity 0.2s ease;
  pointer-events: auto;
}
.info-tooltip-box {
  position: absolute;
  background: #363d4d;
  color: #fff;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 8px;
  width: 240px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  pointer-events: none;
}
.info-tooltip-box::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #363d4d;
}

/* ================================ */
/* F-18 Specific                    */
/* ================================ */
.f18-block {
  margin-top: 20px;
}
.f18-block-title {
  font-weight: 700;
  font-size: 15px;
  color: #363d4d;
  margin: 0 0 16px 0;
}
.f18-participants-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.f18-participants-row .participant-wrap {
  flex: 0 !important;
}
.f18-participants-row .participant-picker {
  max-width: 200px;
}
.f18-description {
  font-weight: 500;
  font-size: 15px;
  color: #363d4d;
  margin: 24px 0 8px 0;
}
.f18-participants-row .participant-wrap.doc-participant label {
  font-size: 11px;
}
.f18-fields-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  align-items: flex-end;
}
.f18-fields-row .input-wrap {
  flex: 1;
  margin-bottom: 0;
}
.f18-fields-row .input-wrap.f18-field-auto {
  flex: 1;
}
.f18-fields-row .input-wrap.date-input {
  flex: 0 0 auto !important;
  width: 170px;
}
.f18-fields-row .select2-container {
  width: 100% !important;
}
.f18-section-title {
  font-weight: 700;
  font-size: 18px;
  color: #363d4d;
  margin: 32px 0 16px 0;
}

/* ================================ */
/* F-17 Specific                    */
/* ================================ */
.f17-akto-nr {
  flex-shrink: 0;
  width: auto !important;
  margin-bottom: 0 !important;
}
.f17-akto-input {
  display: flex;
  align-items: center;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.f17-akto-prefix {
  padding: 10px 0 10px 16px;
  font-weight: 600;
  font-size: 14px;
  color: #363d4d;
  white-space: nowrap;
}
.f17-akto-input .form-input {
  border: none !important;
  width: 70px;
  padding-left: 8px;
}
.f17-akto-input .form-input:disabled {
  background: #f9f9f9;
}
.f17-turinys {
  flex: 1;
  min-width: 0;
  margin-bottom: 0 !important;
}
.doc-action-icons-sm {
  padding: 14px 19px;
  border-radius: 8px;
}

/* Product picker dropdown (F-54, F-8-F-14) */
.f7-picker-wrap {
  position: relative;
}
.f7-picker-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: #363d4d;
  white-space: nowrap;
}

.f7-picker-trigger:hover {
  border-color: #2d5eee;
}
.f7-picker-trigger img {
  width: 10px;
  height: 10px;
  margin-left: 4px;
}
.f7-picker-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(16, 24, 40, 0.14);
  z-index: 200;
  padding: 28px;
}
.f7-picker-wrap.open .f7-picker-dropdown {
  display: block;
}
.f7-picker-title {
  font-weight: 700;
  font-size: 18px;
  color: #363d4d;
  margin: 0 0 20px 0;
}
.f7-picker-search {
  position: relative;
  margin-bottom: 20px;
}
.f7-picker-search input {
  width: 100%;
  padding: 12px 44px 12px 18px;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  font-size: 14px;
  color: #363d4d;
  background: #fff;
  outline: none;
}
.f7-picker-search input:focus {
  border-color: #2d5eee;
}
.f7-picker-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: 0.35;
}
.f7-picker-list {
  max-height: 300px;
  overflow-y: auto;
}
.f7-picker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
}
.f7-picker-item:last-child {
  border-bottom: none;
}
.f7-picker-item-name {
  font-weight: 500;
  font-size: 15px;
  color: #363d4d;
}
.f7-picker-item.selected .f7-picker-item-name {
  color: #2d5eee;
  font-weight: 600;
}

.additional-forms .f7-picker-wrap.open .f7-picker-dropdown {
  left: 0;
}
.f7-picker-item-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  flex-shrink: 0;
}
.f7-picker-item-btn.add-btn {
  background-color: #2d5eee;
  color: #fff;
}
.f7-picker-item-btn.add-btn:hover {
  background-color: #2350d4;
}
.f7-picker-item-btn.remove-btn {
  background-color: #d6e0fb;
  color: #2d5eee;
}
.f7-picker-item-btn.remove-btn:hover {
  background-color: #c0cffa;
}
body .f3-main .select2-container .select2-selection--single {
  border-radius: 8px !important;
}
body .f3-main .select2-container {
  width: 100% !important;
}

.f3-main .f3-input-contract {
  max-width: 19.2%;
}

.f3-main .f3-input-date {
  max-width: 19.2%;
}
.f4-main .doc-row-header {
  flex-wrap: wrap;
}

.doc-row.white-box-shadow {
  position: relative;
}

.f4-main .doc-row-header {
  flex-wrap: wrap;
  padding-right: 50px;
}

.doc-row .doc-expand-btn {
  position: absolute;
  right: 42px;
  top: 54px;
}
.doc-header-fields {
  min-width: fit-content;
}

.f60-main .doc-two-selects,
.f58-main .doc-two-selects,
.f59-main .doc-two-selects,
.f61-main .doc-two-selects {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.doc-row.white-box-shadow .doc-row-header {
  padding-right: 50px;
}

.f60-participants-row {
  flex-wrap: wrap;
  margin-top: 20px;
}
.f60-header-top {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
}

.doc-row-header {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.f32-main .f18-fields-row.f20-fields-left .input-wrap {
  margin-right: 20px;
}


.f32-main .f18-fields-row.f20-fields-left .input-wrap.f18-field-auto label{
  margin-bottom: 20px;
}




.f34-main .f18-fields-row.f20-fields-left .input-wrap.f18-field-auto label{
  margin-bottom: 20px;
}

.doc-file-list .doc-add-file .add-property {
  width: 32px;
  height: 32px;
  background-size: 12px 12px;

}

.doc-row-header {
  flex-wrap: wrap;
}

/* ================================ */
/* RESPONSIVE                       */
/* ================================ */

@media only screen and (max-width: 1400px) {
  .manager-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: auto;
  }
  .managers-status-wrap {
    width: auto;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
  }
  .manager-details-wrap {
    width: auto;
    display: flex;
    gap: 20px;
  }
  .manager-details {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: auto;
    margin-left: 32px;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .manager-expand-btn {
    margin-left: 10px;
  }
  .f7-two-participants {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media only screen and (max-width: 1024px) {
  .doc-row .doc-expand-btn {
    position: absolute;
    right: 25px;
    top: 54px;
  }
  .mobile-form-sidebar {
    display: flex;
  }
  .forms-section {
    margin-top: -48px;
  }
  .mobile-form-sidebar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    color: #363d4d;
    cursor: pointer;
  }
  .forms-sidebar {
    position: fixed !important;
    top: 64px !important;
    left: -100%;
    width: 100%;
    height: calc(100vh - 64px) !important;
    z-index: 999;
    border-right: none;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    padding: 0 24px;
    max-width: 320px;
    overflow-y: auto;
    padding-bottom: 40px;
  }
  .forms-sidebar.sidebar-open {
    left: 0;
  }
  .forms-sidebar .sidebar-top {
    padding-top: 24px;
  }
  .forms-sidebar .sidebar-top::before {
    width: calc(100% + 48px);
    left: -24px;
  }
  .forms-sidebar .most-used::before {
    width: calc(100% + 48px);
    left: -24px;
  }
  .forms-content {
    padding: 20px;
  }
  .content-header-bar {
    margin: -20px -20px 20px -20px;
    padding: 14px 20px;
  }
  .mobile-sidebar-overlay.visible {
    display: block;
  }
  .mobile-form-sidebar {
    order: 1;
    font-weight: 700;
    font-size: 15px;
    padding: 9px 16px;
    border: 1px solid #e1e1e1;
    max-height: 40px;
    border-radius: 16px;
  }
  .content-header-actions {
    order: 2;
  }
  .content-header-left {
    order: 3;
    width: 100%;
    font-weight: 600;
    font-size: 14px;
    margin-top: 12px;
  }
  .content-header-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .content-header-icon {
    width: auto;
    height: auto;
    background-color: #f6f6f6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
  }
  .manager-row-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .manager-details {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: auto;
    margin-left: 0px;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
  }
  .manager-info {
    order: 1;
  }
  .manager-details {
    order: 3;
  }
  .manager-expand-btn {
    order: 2;
  }
  .manager-details-wrap,
  .managers-status-wrap {
    width: 100%;
  }
  .managers-status-wrap {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
  }
  .manager-row-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }
  .manager-row {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 16px 24px;
  }
  .manager-name {
    font-weight: 600;
    font-size: 16px;
  }
  .content-header-title {
    line-height: 23px;
  }
  .manager-detail,
  .manager-detail {
    font-size: 12px;
  }
  .manager-fields {
    display: flex;
    gap: 14px;
    padding-top: 24px;
    margin-top: 30px;
    border-top: 1px solid #eee;
    flex-direction: column;
  }
  .manager-row.expanded .manager-row-body {
    max-height: 100%;
  }
  .manager-cert-view {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    flex-direction: column;
  }
  .manager-row-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0px 0px;
    flex-direction: column;
  }
  .manager-meta {
    display: flex;
    gap: 12px;
    flex-direction: column;
  }
  .manager-actions {
    display: flex;
    align-items: center;
    margin-top: 24px;
    justify-content: center;
    width: 100%;
    gap: 40px;
  }
  .titulinis-card .two-cols-inputs {
    flex-direction: column;
    gap: 0;
  }
  .titulinis-card .two-cols-inputs.full-width-first .input-wrap:first-child,
  .titulinis-card
    .two-cols-inputs.full-width-first
    .input-wrap.participant-wrap {
    flex: 1 1 100%;
    width: 100%;
  }
  .titulinis-card .two-cols-inputs .input-wrap {
    margin-bottom: 16px;
  }
  .titulinis-form .manager-row {
    padding: 16px 24px;
  }
  .radio-group,
  .checkbox-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .titulinis-save-btn {
    width: 100%;
  }
  .participant-wrap {
    flex: 1 1 100% !important;
  }
  .participant-picker {
    max-width: 100%;
  }
  .three-cols-inputs {
    flex-direction: column;
    gap: 0;
  }
  .three-cols-inputs .input-wrap {
    margin-bottom: 16px;
  }
  .three-cols-inputs .input-wrap.participant-wrap {
    flex: 1 1 100%;
  }
  .section-notice {
    flex-wrap: wrap;
    padding: 16px 20px;
    font-size: 13px;
  }
  .checkbox-group-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    width: 100%;
  }
  .titulinis-card .two-cols-inputs,
  .forms-layout .form-group {
    margin-bottom: 32px;
  }

  /* F2 tablet */
  .f2-row.white-box-shadow {
    padding: 20px 24px;
  }
  .f2-row-fields {
    flex-wrap: wrap;
  }
  .f2-input-name {
    flex: 1 1 100%;
  }
  .f2-input-sm,
  .f2-input-date {
    width: auto;
    flex: 1;
  }
  .f2-row-header .f2-row-fields {
    flex: auto;
  }

  /* F3 tablet */
  .f3-new-participant.white-box-shadow {
    padding: 24px;
  }
  .f3-new-row {
    flex-wrap: wrap;
  }
  .f3-new-row .input-wrap {
    flex: 1 1 calc(33% - 8px);
    min-width: 150px;
  }
  .f3-new-bottom {
    flex-wrap: wrap;
    gap: 16px;
  }

  /* Doc-row tablet */
  .doc-row.white-box-shadow {
    padding: 20px 24px;
  }
  .doc-row-header {
    flex-wrap: wrap;
    gap: 12px;
  }
  /* Break header-fields so children join parent flex — no ordering yet */
  .doc-header-fields {
    display: contents;
  }
  .doc-detail-fields {
    flex-wrap: wrap;
  }
  .doc-field-name {
    flex: 1 1 100%;
  }
  .doc-projektotojas {
    max-width: 100%;
  }

  /* F7 tablet */
  .f7-two-participants {
    flex-wrap: wrap;
    width: 100%;
    gap: 12px;
  }
  .f7-field-responsible {
    max-width: 100%;
  }
  .forms-section .participant-wrap {
    flex: 1 1 100% !important;
  }
}

@media only screen and (max-width: 768px) {

  .doc-file-list .doc-add-file .add-property {
    width: 32px;
    height: 32px;
    background-color: rgba(45, 94, 238, 1);
    border-radius: 8px;
    background-image: url(/assets/icons/button-plus.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 12px 12px;
    border: 2px solid #2d5eee;
    display: block;
}
  .f20-gruntinis-row {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .f20-small-input {
    margin-bottom: 0 !important;
    width: 100%;
    flex: 0 0 auto !important;
  }

  .f20-extra-participant {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: 8px;
    overflow: visible;
    flex-wrap: wrap;
  }

  .f20-extra-participant .participant-wrap {
    max-width: 100%;
  }
  .f20-two-selects-tight.doc-two-selects {
    display: flex;
    gap: 12px !important;
    margin-top: 16px;
    flex-direction: row !important;
  }

  .f18-fields-row {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    align-items: flex-end;
    flex-direction: column;
  }

  .f18-fields-row .input-wrap.date-input {
    flex: 0 0 auto !important;
    width: 100%;
  }
  .forms-section .participant-wrap {
    flex: 1 1 100% !important;
  }
  .doc-row.white-box-shadow .doc-row-header {
    padding-right: 0;
  }

  .doc-row .doc-expand-btn {
    position: absolute;
    right: 25px;
    top: 30px;
  }
  .doc-row-header .select2-container {
    width: 100% !important;
  }
  .doc-header-fields .input-wrap {
    width: 100%;
  }
  .forms-section {
    margin-top: -25px;
  }
  .checkbox-group-wrap {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px 24px;
    width: 100%;
  }

  /* F2 mobile */
  .f2-row-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .f2-row-fields {
    order: 2;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .f2-row-actions {
    order: 1;
    margin-right: auto;
    margin-bottom: 16px;
    margin-left: 0;
  }
  .f2-row-header .manager-expand-btn {
    order: 1;
    margin-bottom: 16px;
  }
  .f2-input-name {
    flex: 1 1 100%;
    width: 100%;
  }
  .f2-row-fields .f2-input-sm {
    width: calc(50% - 6px);
    flex: none;
  }
  .f2-input-date {
    width: 100%;
    flex: 1 1 100%;
  }
  .f2-row-fields .input-wrap {
    margin-bottom: 12px;
  }
  .f2-extra {
    margin-top: 0;
  }
  .f2-row-footer {
    justify-content: center;
  }
  .f2-add-desktop {
    display: none;
  }
  .f2-add-mobile {
    display: block;
  }

  /* F3 mobile */
  .f3-new-header {
    flex-wrap: wrap;
    gap: 16px;
  }
  .f3-new-row {
    flex-direction: column;
    gap: 0;
  }
  .f3-new-row .input-wrap {
    min-width: 100%;
    margin-bottom: 12px;
  }
  .f3-input-contract,
  .f3-input-date {
    max-width: 100%;
  }
  .f3-new-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .f3-new-checkboxes {
    flex-direction: column;
    gap: 12px;
  }
  .f3-invite-btn {
    width: 100%;
    justify-content: center;
  }

  /* Doc-row mobile */
  .doc-row-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  /* Break header-fields so children join parent flex */
  .doc-header-fields {
    display: contents;
  }
  /* Row 1: date + weather + action icons + chevron */
  .doc-date {
    order: 0;
  }
  .f7-weather {
    order: 1;
    flex-shrink: 0;
    width: auto;
  }
  .doc-action-icons {
    order: 2;
  }
  .doc-row .doc-expand-btn {
    order: 3;
    margin-left: auto;
  }
  /* Row 2: statinys/projekto dalis select */
  .doc-select-wrap {
    order: 4;
    max-width: 100%;
    width: 100%;
  }
  .doc-toggle-wrap {
    order: 5;
    margin-left: 0;
    margin-bottom: 0;
  }
  /* Row 3: participants full width */
  .doc-header-right {
    order: 6;
    width: 100%;
    margin-left: 0;
  }
  .doc-participant .participant-picker {
    max-width: 100%;
  }
  /* Detail fields: name full, stadija+nr side by side, date full */
  .doc-detail-fields {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .doc-field-name {
    flex: 1 1 100%;
  }
  .doc-field-sm {
    flex: 1;
    min-width: 0;
  }
  .doc-field-date {
    width: 100%;
    flex: 1 1 100%;
  }
  .doc-detail-fields .input-wrap {
    margin-bottom: 0;
  }
  .doc-projektotojas {
    max-width: 100%;
  }
  .doc-two-selects {
    flex-direction: column;
    gap: 0;
  }
  .doc-two-selects .doc-projektotojas {
    margin-top: 16px;
  }
  .doc-message-bubble {
    max-width: 90%;
  }
  .doc-chat-input-row {
    width: 100%;
    flex-direction: column;
  }
  .doc-chat-input-field {
    flex: 1;
    position: relative;
    display: flex;
    gap: 12px;
    width: 100%;
  }
  .doc-chat-send {
    flex-shrink: 0;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
  }

  /* F7 mobile */
  .f7-weather {
    flex-direction: row;
    gap: 10px;
    order: 1;
    width: auto;
    flex-shrink: 0;
  }
  .f7-two-participants {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .f7-field-unit,
  .f7-field-qty {
    width: auto;
    flex: 1;
  }
  .f7-field-responsible {
    max-width: 100%;
  }
  .f7-tag-input-row {
    flex-wrap: wrap;
  }
  .f7-tag-input-wrap {
    flex: 1 1 100%;
  }
  .f7-picker-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(16, 24, 40, 0.14);
    z-index: 200;
    padding: 28px;
    left: 0;
  }
  .doc-row.editing .f7-tag-input-row,
  .doc-row.editing .f7-form-select-row {
    display: flex !important;
    flex-direction: column;
  }
  .f7-picker-wrap,
  .f7-picker-trigger {
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
}
