﻿.chestionare-index .chestionare-header {
  background: #fff;
}
.chestionare-index .chestionare-filters {
  display: flex;
  gap: 4px;
  align-items: center;
}
.chestionare-index .filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 400;
  border: 1px solid transparent;
  background: transparent;
  color: #666;
  cursor: pointer;
  transition: all 0.15s ease;
}
.chestionare-index .filter-pill:hover {
  background: #f0f0f0;
}
.chestionare-index .filter-pill.active {
  background: #17a2b8;
  color: #fff;
  border-color: #17a2b8;
}
.chestionare-index .filter-pill .badge {
  font-size: 10px;
}
.chestionare-index .status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 4px;
}
.chestionare-index .chestionare-stats .small-box {
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.chestionare-index .chestionare-stats .small-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.chestionare-index .chestionare-stats .small-box .inner {
  position: relative;
  z-index: 1;
}
.chestionare-index .chestionare-stats .small-box .inner h4 {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}
.chestionare-index .chestionare-stats .small-box .icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  opacity: 0.15;
}
.chestionare-index .chestionare-stats .small-box .icon > i {
  font-size: inherit;
  position: initial;
}
.chestionare-index #searchChestionare:focus {
  box-shadow: none;
  border-color: #17a2b8;
}
.chestionare-index .input-group-text {
  border-color: #ced4da;
}
.chestionare-index .view-toggle .btn.active {
  background-color: #17a2b8;
  color: #fff;
  border-color: #17a2b8;
}
.chestionare-index .chestionar-card {
  border: 1px solid #e8e8e4;
  border-radius: 10px;
  transition: all 0.2s ease;
  overflow: hidden;
}
.chestionare-index .chestionar-card:hover {
  border-color: #c8c8c0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.chestionare-index .chestionar-card .card-body {
  padding: 20px;
}
.chestionare-index .chestionar-card .card-footer {
  padding: 10px 20px;
  border-top: 1px solid #f0f0ec !important;
}
.chestionare-index .chestionar-categorie {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}
.chestionare-index .chestionar-categorie.cat-general {
  background: #e8f4fd;
  color: #1a6fa3;
}
.chestionare-index .chestionar-categorie.cat-politic {
  background: #fdf0e8;
  color: #a3521a;
}
.chestionare-index .chestionar-categorie.cat-comunitate {
  background: #f0fdf4;
  color: #1a7a3c;
}
.chestionare-index .chestionar-categorie.cat-mediu {
  background: #e8fdf0;
  color: #1a8a3c;
}
.chestionare-index .chestionar-categorie.cat-administratiepublica {
  background: #fdf4ff;
  color: #7a1aa3;
}
.chestionare-index .chestionar-categorie.cat-alta {
  background: #f5f5f2;
  color: #555;
}
.chestionare-index .chestionar-status {
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
}
.chestionare-index .chestionar-descriere {
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.chestionare-index .chestionar-stats-row {
  gap: 16px;
}
.chestionare-index .chestionar-stat .stat-label {
  display: block;
  font-size: 10px;
  color: #aaa;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.chestionare-index .chestionar-stat .stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}
.chestionare-index .chestionar-stat-divider {
  width: 1px;
  background: #eee;
  align-self: stretch;
}
.chestionare-index .progress-xs {
  height: 3px;
  border-radius: 99px;
}
.chestionare-index .chestionar-dates .progress-bar {
  border-radius: 99px;
  transition: width 0.3s ease;
}
.chestionare-index #frmLista {
  min-height: 200px;
}
@media (max-width: 767px) {
  .chestionare-index .chestionar-card .card-body {
    padding: 16px;
  }
  .chestionare-index .chestionare-stats .small-box .inner h4 {
    font-size: 1.25rem;
  }
}
.chestionare-index .chestionar-item {
  animation: fadeInUp 0.3s ease forwards;
  opacity: 0;
}
.chestionare-index .chestionar-item:nth-child(1) {
  animation-delay: 0.05s;
}
.chestionare-index .chestionar-item:nth-child(2) {
  animation-delay: 0.1s;
}
.chestionare-index .chestionar-item:nth-child(3) {
  animation-delay: 0.15s;
}
.chestionare-index .chestionar-item:nth-child(4) {
  animation-delay: 0.2s;
}
.chestionare-index .chestionar-item:nth-child(5) {
  animation-delay: 0.25s;
}
.chestionare-index .chestionar-item:nth-child(6) {
  animation-delay: 0.3s;
}
.chestionare-index .chestionar-item:nth-child(7) {
  animation-delay: 0.35s;
}
.chestionare-index .chestionar-item:nth-child(8) {
  animation-delay: 0.4s;
}
.chestionare-index .chestionar-item:nth-child(9) {
  animation-delay: 0.45s;
}
.chestionare-index .chestionar-item:nth-child(10) {
  animation-delay: 0.5s;
}
.chestionare-index .chestionar-item:nth-child(11) {
  animation-delay: 0.55s;
}
.chestionare-index .chestionar-item:nth-child(12) {
  animation-delay: 0.6s;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.chestionare-index .chestionare-table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8e8e4;
}
.chestionare-index .chestionare-table thead th {
  background: #f8f9fa;
  border-bottom: 2px solid #e8e8e4;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 10px 12px;
  white-space: nowrap;
}
.chestionare-index .chestionare-table tbody tr {
  transition: background-color 0.15s ease;
}
.chestionare-index .chestionare-table tbody tr:hover {
  background-color: #f8fbfd;
}
.chestionare-index .chestionare-table tbody tr td {
  padding: 10px 12px;
  vertical-align: middle;
  border-top: 1px solid #f0f0ec;
  font-size: 13px;
}
