body.public-site {
  background: linear-gradient(180deg, #f4f8f4 0%, #edf4ee 55%, #f8fbf8 100%);
  color: #22372d;
}

body.public-site #main-wrapper {
  background: transparent;
}

body.public-site #scrollToTop {
  background: #1f6d4f;
  border-color: #1f6d4f;
  box-shadow: 0 14px 24px rgba(31, 109, 79, 0.25);
}

body.public-site #scrollToTop:hover {
  background: #184f3b;
  border-color: #184f3b;
}

.public-shell {
  position: relative;
  isolation: isolate;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, rgba(247, 250, 247, 0.6) 0%, rgba(239, 245, 240, 0.92) 44%, rgba(247, 250, 247, 0.82) 100%);
}

.public-shell::before,
.public-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.public-shell::before {
  top: 12rem;
  left: -12rem;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(73, 148, 103, 0.18) 0%, rgba(73, 148, 103, 0) 72%);
}

.public-shell::after {
  right: -10rem;
  bottom: 8rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(255, 203, 0, 0.18) 0%, rgba(255, 203, 0, 0) 74%);
}

.public-shell > * {
  position: relative;
  z-index: 1;
}

.public-shell .page-header {
  display: flex;
  align-items: flex-end;
  min-height: 18rem;
  margin-bottom: 0;
  padding: 3.75rem 0 5rem;
}

.public-shell .page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(18, 47, 34, 0.82) 0%, rgba(18, 47, 34, 0.56) 42%, rgba(189, 145, 42, 0.22) 100%);
  z-index: 1;
}

.public-shell .page-header-bg .pic-cover {
  transform: scale(1.03);
  filter: brightness(0.42) saturate(0.9);
}

.public-shell .page-header .container {
  position: relative;
  z-index: 2;
}

.public-shell .page-header__inner h3,
.public-shell .page-header__inner h1,
.public-shell .page-header > .container > h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 3.85rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 14ch;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.public-shell .page-header__inner .page-header-title-single-line {
  max-width: none;
  white-space: nowrap;
}

.public-shell .page-header__inner p,
.public-shell .page-header > .container > p {
  margin-top: 0.85rem;
  margin-bottom: 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
}

.public-shell > .container.mt-4,
.public-shell > .container.nopad-mobil.mt-4,
.public-shell > .container-fluid.mt-4,
.public-map-shell > .container {
  position: relative;
  overflow: hidden;
  margin-bottom: 2.75rem;
  padding: 1.35rem 1.35rem 2rem;
  border: 1px solid #d6e4da;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(249, 252, 249, 0.96) 0%, rgba(238, 245, 240, 0.98) 100%);
  box-shadow: 0 18px 42px rgba(20, 49, 35, 0.1);
}

.public-shell > .container.mt-4::before,
.public-shell > .container.nopad-mobil.mt-4::before,
.public-shell > .container-fluid.mt-4::before,
.public-map-shell > .container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 36%);
  pointer-events: none;
}

.public-shell > .page-header + .container.mt-4,
.public-shell > .page-header + .container.nopad-mobil.mt-4,
.public-shell > .page-header + .container-fluid.mt-4 {
  margin-top: -2.25rem !important;
}

.public-shell h1,
.public-shell h2,
.public-shell h3,
.public-shell h4,
.public-shell h5,
.public-shell h6 {
  color: #1f3d2e;
  letter-spacing: -0.03em;
}

.public-shell h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  font-weight: 800;
}

.public-shell h3 {
  font-size: clamp(1.25rem, 1.95vw, 1.8rem);
  font-weight: 700;
}

.public-shell p,
.public-shell li,
.public-shell label,
.public-shell td,
.public-shell th,
.public-shell small,
.public-shell legend,
.public-shell .text-muted,
.public-shell .form-text {
  color: #355041 !important;
}

.public-shell a {
  color: #1f6d4f;
  text-decoration: none;
}

.public-shell a:hover {
  color: #153f31;
}

.public-shell hr {
  border-top: 1px solid #cbdcd0;
  opacity: 1;
}

.public-shell .content,
.public-shell .ql-editor,
.public-shell .public-richtext {
  font-size: 1.02rem;
  line-height: 1.72;
  color: #31493b;
}

.public-shell .content img,
.public-shell .ql-editor img,
.public-shell .public-richtext img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.public-shell .card {
  border: 1px solid #d8e5dc;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(18, 45, 33, 0.08);
}

.public-shell .card.shadow,
.public-shell .card.shadow-sm {
  box-shadow: 0 14px 30px rgba(18, 45, 33, 0.1) !important;
}

.public-shell .card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #d8e5dc;
  background: linear-gradient(135deg, rgba(244, 248, 245, 0.98) 0%, rgba(232, 240, 234, 0.95) 100%);
}

.public-shell .card-header.bg-success,
.public-shell .card-header.bg-primary,
.public-shell .bg-chestionar-public {
  color: #ffffff !important;
  background: linear-gradient(135deg, #255742 0%, #1f6d4f 100%) !important;
}

.public-shell .card-header.bg-success h1,
.public-shell .card-header.bg-success h2,
.public-shell .card-header.bg-success h3,
.public-shell .card-header.bg-success h4,
.public-shell .card-header.bg-success h5,
.public-shell .card-header.bg-success h6,
.public-shell .card-header.bg-primary h1,
.public-shell .card-header.bg-primary h2,
.public-shell .card-header.bg-primary h3,
.public-shell .card-header.bg-primary h4,
.public-shell .card-header.bg-primary h5,
.public-shell .card-header.bg-primary h6,
.public-shell .bg-chestionar-public h1,
.public-shell .bg-chestionar-public h2,
.public-shell .bg-chestionar-public h3,
.public-shell .bg-chestionar-public h4,
.public-shell .bg-chestionar-public h5,
.public-shell .bg-chestionar-public h6 {
  color: #ffffff !important;
}

.public-shell .card-header h2,
.public-shell .card-header h3,
.public-shell .card-header h4,
.public-shell .card-header h5,
.public-shell .card-header h6 {
  margin: 0;
}

.public-shell .card-body {
  padding: 1.25rem 1.35rem;
}

.public-shell .card-body > .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.public-shell .table-responsive {
  border: 1px solid #d7e5db;
  border-radius: 18px;
  background: #ffffff;
  overflow: auto;
}

.public-shell .table {
  margin-bottom: 0;
  --bs-table-striped-bg: #f5faf6;
  --bs-table-hover-bg: #eef6f0;
}

.public-shell .table thead th {
  border-bottom: 0;
  background: #eff6f1;
  color: #486457;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 0.9rem;
  vertical-align: middle;
  white-space: nowrap;
}

.public-shell .table tbody td {
  border-color: #e3ede5;
  padding: 1rem 0.9rem;
  vertical-align: top;
}

.public-shell .badge {
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  font-weight: 600;
}

.public-shell .badge.bg-light.text-dark,
.public-shell .badge.bg-secondary.badge-type {
  border: 1px solid #d6e3da;
  background: #eef5f0 !important;
  color: #1f3d2e !important;
}

.public-shell .badge.bg-secondary {
  background: #375d4b !important;
}

.public-shell .btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.72rem 1.2rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.public-shell .btn:hover {
  transform: translateY(-1px);
}

.public-shell .btn-primary,
.public-shell .btn-success,
.public-shell .btn-completeaza,
.public-shell .btn-vizualizeaza,
.public-shell .survey-action-btn {
  color: #ffffff;
  background: #1f6d4f;
  border-color: #1f6d4f;
  box-shadow: 0 10px 22px rgba(31, 109, 79, 0.18);
}

.public-shell .btn-primary:hover,
.public-shell .btn-primary:focus,
.public-shell .btn-success:hover,
.public-shell .btn-success:focus,
.public-shell .btn-completeaza:hover,
.public-shell .btn-completeaza:focus,
.public-shell .btn-vizualizeaza:hover,
.public-shell .btn-vizualizeaza:focus,
.public-shell .survey-action-btn:hover,
.public-shell .survey-action-btn:focus {
  color: #ffffff;
  background: #184f3b;
  border-color: #184f3b;
}

.public-shell .btn-secondary,
.public-shell .btn-outline-secondary {
  color: #244437;
  background: #ffffff;
  border-color: #cadbd0;
  box-shadow: none;
}

.public-shell .btn-secondary:hover,
.public-shell .btn-outline-secondary:hover {
  color: #ffffff;
  background: #244437;
  border-color: #244437;
}

.public-shell .btn-warning {
  color: #2f250e;
  background: #e5bf55;
  border-color: #e5bf55;
  box-shadow: none;
}

.public-shell .btn-warning:hover,
.public-shell .btn-warning:focus {
  color: #2f250e;
  background: #d2ab3d;
  border-color: #d2ab3d;
}

.public-shell .btn-link,
.public-shell .btn-link.no-underline {
  color: #1f6d4f;
  text-decoration: none;
  font-weight: 600;
}

.public-shell .btn-link:hover,
.public-shell .btn-link.no-underline:hover {
  color: #163f31;
}

.public-shell .survey-action-btn,
.public-shell .survey-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 170px;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.public-shell .survey-share-btn {
  color: #214033;
  background: #ffffff;
  border: 1px solid #c9dbcf;
  box-shadow: 0 10px 22px rgba(18, 45, 33, 0.08);
}

.public-shell .survey-share-btn:hover,
.public-shell .survey-share-btn:focus {
  color: #ffffff;
  background: #214033;
  border-color: #214033;
}

.public-shell .form-control,
.public-shell .form-select,
.public-shell textarea,
.public-shell input[type="text"],
.public-shell input[type="email"],
.public-shell input[type="date"],
.public-shell input[type="search"],
.public-shell input[type="number"] {
  min-height: 46px;
  border: 1px solid #cdded2;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 2px rgba(18, 45, 33, 0.04);
}

.public-shell textarea,
.public-shell .auto-grow {
  min-height: 110px;
}

.public-shell .form-control:focus,
.public-shell .form-select:focus,
.public-shell textarea:focus,
.public-shell input:focus {
  border-color: #6fa98c;
  box-shadow: 0 0 0 0.2rem rgba(31, 109, 79, 0.12);
}

.public-shell .accordion-item {
  margin-bottom: 0.85rem;
  border: 1px solid #d7e4da;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(18, 45, 33, 0.06);
}

.public-shell .accordion-button {
  background: linear-gradient(90deg, #eef6f0 0%, #f7fcf8 100%);
  color: #1f3d2e;
  font-weight: 700;
  box-shadow: none;
}

.public-shell .accordion-button:not(.collapsed) {
  color: #ffffff;
  background: #1f6d4f;
}

.public-shell .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(31, 109, 79, 0.16);
}

.public-shell .alert {
  border-radius: 18px;
  border-width: 1px;
  box-shadow: 0 10px 22px rgba(18, 45, 33, 0.06);
}

.public-shell .alert-warning {
  background: #fff8df;
  border-color: #ecd899;
  color: #5a4a17 !important;
}

.public-shell .alert-light {
  background: #f8fcf8;
  border-color: #dce8df;
  color: #345142 !important;
}

.public-shell .pagination {
  gap: 0.4rem;
}

.public-shell .pagination .page-link {
  border: 1px solid #d4e2d8;
  border-radius: 12px !important;
  color: #214033;
  min-width: 44px;
  text-align: center;
  box-shadow: none;
}

.public-shell .pagination .page-link:hover,
.public-shell .pagination .page-item.active .page-link {
  color: #ffffff;
  background: #1f6d4f;
  border-color: #1f6d4f;
}

.public-shell .square-grid {
  max-height: 560px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(18, 45, 33, 0.12);
  background: #dce9df;
}

.public-shell .news-item {
  border-radius: 22px;
}

.public-shell .news-item img {
  filter: saturate(0.96);
}

.public-shell .news-item:hover img {
  filter: brightness(0.74) saturate(1.02);
}

.public-shell .news-overlay {
  background: linear-gradient(180deg, rgba(10, 26, 18, 0) 0%, rgba(15, 39, 27, 0.84) 100%);
  padding: 1.1rem 1.2rem 1.15rem;
}

.public-shell .news-overlay h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.05rem, 1.8vw, 1.65rem);
  line-height: 1.18;
  white-space: normal;
}

.public-shell .news-overlay p {
  margin-bottom: 0;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-shell .card.card-table {
  border-radius: 20px;
}

.public-shell .card.card-table .card-body {
  padding: 1.2rem 1.25rem;
}

.public-shell .img-stire {
  min-height: 220px;
  object-fit: cover;
}

.public-shell .img-detail {
  min-height: 360px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 16px 34px rgba(18, 45, 33, 0.12);
}

.public-shell .news-overlay.position-absolute {
  border-radius: 0 0 28px 28px;
}

.public-shell .other-news-list {
  padding: 1rem;
  border: 1px solid #d8e5dc;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbfdfb 0%, #f1f7f2 100%);
  box-shadow: 0 12px 26px rgba(18, 45, 33, 0.08);
}

.public-shell .other-news-item {
  gap: 0.85rem;
  padding: 0.8rem;
  border-radius: 16px;
}

.public-shell .other-news-item:hover {
  background: #eff6f1;
}

.public-shell .miniature-img-container {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 16px;
  background: linear-gradient(180deg, #eff5f0 0%, #dfe9e2 100%);
  box-shadow: inset 0 0 0 1px #d9e5db;
}

.public-shell .news-divider {
  border-top-color: #d7e4da;
  margin: 0.35rem 0;
}

.public-shell .filters-card,
.public-shell .member-card {
  border: 1px solid #d8e5dc;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(18, 45, 33, 0.08);
}

.public-shell .filters-card .card-body,
.public-shell .member-card .card-body {
  padding: 1.15rem 1.2rem;
}

.public-shell .filter-group legend,
.public-shell .filters-card legend {
  color: #5a7367 !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-shell .filter-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.public-shell .member-card {
  height: 100%;
}

.public-shell .kv .k {
  min-width: 120px;
  display: inline-block;
  color: #5d7568 !important;
  font-weight: 600;
}

.public-shell .w-auto.pt-3.border-bottom,
.public-shell .w-auto.pt-2.border-bottom {
  border-color: #cadcd0 !important;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
}

.public-shell .button-group {
  margin-top: 1.25rem;
}

.public-shell .list-group {
  border-radius: 18px;
  overflow: hidden;
}

.public-shell .list-group-item {
  border-color: #dde9df;
  padding: 1rem 1.1rem;
}

.public-shell .public-empty-state {
  padding: 1.2rem;
  border: 1px dashed #c8dace;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.public-shell .modal-content {
  border: 1px solid #d9e6dd;
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(18, 45, 33, 0.16);
}

.public-shell .modal-header {
  border-bottom: 1px solid #dce7df;
  background: linear-gradient(135deg, #f5faf6 0%, #eef6f0 100%);
}

.public-shell .modal-footer {
  border-top: 1px solid #dce7df;
}

.public-shell .pdf-container {
  padding: 1rem;
  border-radius: 18px;
  background: #eef4ef;
}

.public-map-shell > .container {
  position: static;
  overflow: visible;
  margin-top: 1.5rem;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.public-map-shell > .container::before {
  display: none;
}

.public-map-shell .search-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: min(100%, 560px);
  margin-bottom: 1rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #cfdfd3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(18, 45, 33, 0.1);
}

.public-map-shell .search-container input {
  flex: 1;
  min-height: 0;
  padding: 0.5rem 0.25rem;
  border: none;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.public-map-shell .search-container button {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: #eff6f1;
  color: #254437;
}

.public-map-shell .search-container button:hover {
  color: #ffffff;
  background: #1f6d4f;
}

.public-map-shell .fullscreen-map {
  position: relative;
  min-height: calc(100vh - 360px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(18, 45, 33, 0.16);
}

.public-map-shell #legend-container {
  top: 180px;
  right: 1.75rem;
}

.public-map-shell #legend-panel {
  border: 1px solid #d8e5dc;
  border-radius: 22px 0 0 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(18, 45, 33, 0.15);
}

.public-map-shell #legend-button {
  color: #ffffff;
  background: #1f6d4f;
  border-radius: 14px 0 0 14px;
}

.public-map-shell #suggestions {
  border: 1px solid #d7e5db;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(18, 45, 33, 0.12);
}

.public-map-shell #suggestions div:hover {
  background: #eef6f0;
}

@media (max-width: 991.98px) {
  .public-shell .page-header {
    min-height: 15rem;
    padding: 3rem 0 4.4rem;
  }

  .public-shell > .container.mt-4,
  .public-shell > .container.nopad-mobil.mt-4,
  .public-shell > .container-fluid.mt-4,
  .public-map-shell > .container {
    border-radius: 22px;
    padding: 1.1rem 1rem 1.6rem;
  }

  .public-shell .img-detail {
    min-height: 300px;
  }

  .public-shell .square-grid {
    max-height: none;
  }

  .public-map-shell .fullscreen-map {
    min-height: 60vh;
  }

  .public-map-shell > .container {
    padding: 0;
    border-radius: 0;
  }
}

@media (max-width: 767.98px) {
  .public-shell {
    padding-bottom: 2.5rem;
  }

  .public-shell .page-header {
    min-height: 12.5rem;
    padding: 2.4rem 0 3.6rem;
  }

  .public-shell > .page-header + .container.mt-4,
  .public-shell > .page-header + .container.nopad-mobil.mt-4,
  .public-shell > .page-header + .container-fluid.mt-4 {
    margin-top: -1.6rem !important;
  }

  .public-shell .page-header__inner h3,
  .public-shell .page-header__inner h1,
  .public-shell .page-header > .container > h1 {
    max-width: 11ch;
  }

  .public-shell .page-header__inner .page-header-title-single-line {
    white-space: normal;
  }

  .public-shell .card,
  .public-shell .accordion-item,
  .public-shell .other-news-list,
  .public-shell .table-responsive {
    border-radius: 18px;
  }

  .public-shell .card-body,
  .public-shell .card-header {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .public-shell .img-stire,
  .public-shell .img-detail {
    min-height: 220px;
  }

  .public-map-shell #legend-container {
    top: auto;
    right: 1rem;
    bottom: 1rem;
  }

  .public-map-shell #legend-panel {
    width: min(82vw, 320px);
  }
}

@media (max-width: 575.98px) {
  .public-shell .page-header__inner h3,
  .public-shell .page-header__inner h1,
  .public-shell .page-header > .container > h1 {
    font-size: 2rem;
  }

  .public-shell > .container.mt-4,
  .public-shell > .container.nopad-mobil.mt-4,
  .public-shell > .container-fluid.mt-4,
  .public-map-shell > .container {
    border-radius: 18px;
    padding: 1rem 0.85rem 1.35rem;
  }

  .public-shell .button-group,
  .public-shell .filter-actions {
    flex-direction: column;
  }

  .public-map-shell .search-container {
    width: 100%;
  }

  .public-map-shell > .container {
    padding: 0;
    border-radius: 0;
  }
}
