.publications-grid-block {
  padding: 2rem 0;
}

.publications-grid-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .publications-grid-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .publications-grid-container {
    padding: 0 2rem;
  }
}

.publications-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .publications-layout {
    flex-direction: row;
  }
}

.publications-sidebar {
  width: 100%;
}

@media (min-width: 1024px) {
  .publications-sidebar {
    width: 18rem;
    flex-shrink: 0;
  }
}

.sidebar-content {
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.radio-options,
.checkbox-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-options.scrollable {
  max-height: 12rem;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.checkbox-options.scrollable::-webkit-scrollbar {
  width: 0.25rem;
}

.checkbox-options.scrollable::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0.125rem;
}

.checkbox-options.scrollable::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 0.125rem;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
  margin-right: 0.5rem;
}

.checkbox-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.checkbox-icon[data-type="Guide"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2328A745' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.checkbox-icon[data-type="Rapport"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232D9B8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.checkbox-icon[data-type="Étude"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FD7E14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.checkbox-icon[data-type="Vidéo"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2317A2B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='23 7 16 12 23 17 23 7'%3E%3C/polygon%3E%3Crect x='1' y='5' width='15' height='14' rx='2' ry='2'%3E%3C/rect%3E%3C/svg%3E");
}

.checkbox-icon[data-type="Audio"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236C757D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18v-6a9 9 0 0 1 18 0v6'%3E%3C/path%3E%3Cpath d='M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z'%3E%3C/path%3E%3C/svg%3E");
}

.checkbox-icon[data-type="Infographie"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23A8E6CF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'%3E%3C/circle%3E%3Cpolyline points='21 15 16 10 5 21'%3E%3C/polyline%3E%3C/svg%3E");
}

.level-label[data-level="Débutant"] {
  color: #28a745;
}

.level-label[data-level="Intermédiaire"] {
  color: #fd7e14;
}

.level-label[data-level="Expert"] {
  color: #dc3545;
}

.library-section {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.library-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.library-links a {
  font-size: 0.875rem;
  text-decoration: none;
}

.library-links a:hover {
  text-decoration: underline;
}

.reset-filters-button {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid;
  border-radius: 0.5rem;
  background-color: transparent;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reset-filters-button:hover {
  background-color: rgba(45, 155, 138, 0.1);
}

.publications-main {
  flex: 1;
}

.publications-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: #f8f9fa;
}

@media (min-width: 768px) {
  .publications-controls {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.controls-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.filter-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid;
  border-radius: 0.375rem;
  background-color: transparent;
  cursor: pointer;
}

.filter-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232D9B8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'%3E%3C/polygon%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.controls-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sort-select {
  padding: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  background-color: white;
  font-size: 0.875rem;
}

.view-controls {
  display: flex;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  overflow: hidden;
}

.view-button {
  padding: 0.5rem;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.grid-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'%3E%3C/rect%3E%3Crect x='14' y='3' width='7' height='7'%3E%3C/rect%3E%3Crect x='14' y='14' width='7' height='7'%3E%3C/rect%3E%3Crect x='3' y='14' width='7' height='7'%3E%3C/rect%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.list-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='12' x2='21' y2='12'%3E%3C/line%3E%3Cline x1='8' y1='18' x2='21' y2='18'%3E%3C/line%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'%3E%3C/line%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.publications-view.grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.5rem;
}

.publication-card {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}

.publication-card:hover {
  transform: translateY(-0.25rem);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.publication-thumbnail {
  position: relative;
  height: 12rem;
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-icon {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0) invert(1);
}

.file-text-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.video-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='23 7 16 12 23 17 23 7'%3E%3C/polygon%3E%3Crect x='1' y='5' width='15' height='14' rx='2' ry='2'%3E%3C/rect%3E%3C/svg%3E");
}

.headphones-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18v-6a9 9 0 0 1 18 0v6'%3E%3C/path%3E%3Cpath d='M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z'%3E%3C/path%3E%3C/svg%3E");
}

.image-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'%3E%3C/circle%3E%3Cpolyline points='21 15 16 10 5 21'%3E%3C/polyline%3E%3C/svg%3E");
}

.publication-badges {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.type-badge,
.new-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
}

.new-badge {
  background-color: #28a745;
  width: min-content;
}

.publication-content {
  padding: 1.5rem;
}

.publication-meta {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.meta-separator {
  margin: 0 0.25rem;
}

.publication-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.publication-excerpt {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.publication-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.publication-stats {
  display: flex;
  gap: 0.75rem;
}

.stat-item {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
}

.stat-value {
  font-size: 0.75rem;
}

.stat-icon {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.25rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
/* Stats icons with gray color */
.stat-item .download-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236C757D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='7 10 12 15 17 10'%3E%3C/polyline%3E%3Cline x1='12' y1='15' x2='12' y2='3'%3E%3C/line%3E%3C/svg%3E") !important;
}

.stat-item .star-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23FFC107' stroke='%23FFC107' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'%3E%3C/polygon%3E%3C/svg%3E") !important;
}

.publication-actions {
  display: flex;
  gap: 0.5rem;
}

.action-button {
  width: 2rem;
  height: 2rem;
  border: 0 !important;
  border-radius: 0.375rem;
  background-color: #f8f9fa !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.action-button:hover {
  background-color: #f0fdfa !important;
  border-color: #2d9b8a !important;
  transform: translateY(-1px) !important;
}

.action-button:active {
  transform: translateY(0);
}

.action-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  min-width: 1rem;
  min-height: 1rem;
}

/* Action button icons - utilisation d'emojis et fallback SVG */
.action-icon.eye-icon {
  position: relative;
}

.action-icon.eye-icon::before {
  content: "👁";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.75rem;
  color: #2d9b8a;
}

.action-icon.download-icon {
  position: relative;
}

.action-icon.download-icon::before {
  content: "⬇";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.75rem;
  color: #2d9b8a;
}

.action-icon.bookmark-icon {
  position: relative;
}

.action-icon.bookmark-icon::before {
  content: "🔖";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.75rem;
}

/* Active bookmark state */
.action-button.active .action-icon.bookmark-icon::before {
  content: "📌";
}

/* Fallback SVG backgrounds for better browsers */
@supports (background-image: url("data:image/svg+xml;base64,")) {
  .action-icon.eye-icon::before {
    display: none;
  }

  .action-icon.eye-icon {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTJTNCA0IDEyIDRTMjMgMTIgMjMgMTJTMjAgMjAgMTIgMjBTMSAxMiAxIDEyWiIgc3Ryb2tlPSIjMkQ5QjhBIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIzIiBzdHJva2U9IiMyRDlCOEEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=") !important;
  }

  .action-icon.download-icon::before {
    display: none;
  }

  .action-icon.download-icon {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIxIDE1VjE5QTIgMiAwIDAgMSAxOSAyMUg1QTIgMiAwIDAgMSAzIDE5VjE1IiBzdHJva2U9IiMyRDlCOEEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjcgMTAgMTIgMTUgMTcgMTAiIHN0cm9rZT0iIzJEOUI4QSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjEyIiB5MT0iMTUiIHgyPSIxMiIgeTI9IjMiIHN0cm9rZT0iIzJEOUI4QSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==") !important;
  }

  .action-icon.bookmark-icon::before {
    display: none;
  }

  .action-icon.bookmark-icon {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE5IDIxTDEyIDE2TDUgMjFWNUEyIDIgMCAwIDEgNyAzSDEwQTIgMiAwIDAgMSAxNyAzSDIwQTIgMiAwIDAgMSAxOSA1WjIxWiIgc3Ryb2tlPSIjMkQ5QjhBIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K") !important;
  }

  .action-button.active .action-icon.bookmark-icon {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iIzJEOUI4QSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE5IDIxTDEyIDE2TDUgMjFWNUEyIDIgMCAwIDEgNyAzSDEwQTIgMiAwIDAgMSAxNyAzSDIwQTIgMiAwIDAgMSAxOSA1WjIxWiIgZmlsbD0iIzJEOUI4QSIvPgo8L3N2Zz4K") !important;
  }
}

.publications-view.list-view {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.publication-list-item {
  display: flex;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.publication-list-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateX(0.25rem);
}

.list-item-type {
  width: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.type-icon {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0) invert(1);
}

.list-item-content {
  flex: 1;
  padding: 1rem;
}

.list-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.list-item-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.list-item-badges {
  display: flex;
  gap: 0.5rem;
}

.list-item-meta {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.list-item-description {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list-item-stats {
  display: flex;
  gap: 1rem;
}

.list-item-actions {
  display: flex;
  gap: 0.5rem;
}

.list-item-actions .action-button {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.list-item-actions .download-button {
  border: none;
}

.list-item-actions .view-button {
  background-color: transparent;
  border: 1px solid;
}

.publications-pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-button {
  padding: 0.5rem 1rem;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.pagination-button:hover {
  color: #2d9b8a;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagination-number {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.375rem;
  background-color: transparent;
  cursor: pointer;
}

.pagination-number:hover {
  background-color: #f8f9fa;
}

.pagination-ellipsis {
  margin: 0 0.25rem;
}

.publications-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 0.25rem solid #f3f3f3;
  border-top: 0.25rem solid #2d9b8a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Publication Modal Styles */
.publication-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.publication-modal-overlay .fixed {
  position: relative;
}

.publication-modal-overlay .inset-0 {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.publication-modal-overlay .bg-black\/70 {
  background: rgba(0, 0, 0, 0.7);
}

.publication-modal-overlay .flex {
  display: flex;
}

.publication-modal-overlay .items-center {
  align-items: center;
}

.publication-modal-overlay .justify-center {
  justify-content: center;
}

.publication-modal-overlay .z-50 {
  z-index: 50;
}

.publication-modal-overlay .p-4 {
  padding: 1rem;
}

.publication-modal-overlay .bg-white {
  background-color: white;
}

.publication-modal-overlay .rounded-xl {
  border-radius: 0.75rem;
}

.publication-modal-overlay .max-w-5xl {
  max-width: 64rem;
}

.publication-modal-overlay .w-full {
  width: 100%;
}

.publication-modal-overlay .max-h-\[90vh\] {
  max-height: 90vh;
}

.publication-modal-overlay .overflow-y-auto {
  overflow-y: auto;
}

.publication-modal-overlay .p-6 {
  padding: 1.5rem;
}

.publication-modal-overlay .flex-shrink-0 {
  flex-shrink: 0;
}

.publication-modal-overlay .justify-between {
  justify-content: space-between;
}

.publication-modal-overlay .items-start {
  align-items: flex-start;
}

.publication-modal-overlay .mb-6 {
  margin-bottom: 1.5rem;
}

.publication-modal-overlay .space-x-4 > * + * {
  margin-left: 1rem;
}

.publication-modal-overlay .w-16 {
  width: 4rem;
}

.publication-modal-overlay .h-16 {
  height: 4rem;
}

.publication-modal-overlay .rounded-lg {
  border-radius: 0.5rem;
}

.publication-modal-overlay .text-white {
  color: white;
}

.publication-modal-overlay .text-2xl {
  font-size: 1.5rem;
}

.publication-modal-overlay .font-bold {
  font-weight: 700;
}

.publication-modal-overlay .text-\[#1F6B5C\] {
  color: #1f6b5c;
}

.publication-modal-overlay .mb-2 {
  margin-bottom: 0.5rem;
}

.publication-modal-overlay .text-\[#6C757D\] {
  color: #6c757d;
}

.publication-modal-overlay .text-sm {
  font-size: 0.875rem;
}

.publication-modal-overlay .hover\:text-\[#2D9B8A\]:hover {
  color: #2d9b8a;
}

.publication-modal-overlay .transition-colors {
  transition: color 0.3s ease;
}

.publication-modal-overlay .w-6 {
  width: 1.5rem;
}

.publication-modal-overlay .h-6 {
  height: 1.5rem;
}

.publication-modal-overlay .grid {
  display: grid;
}

.publication-modal-overlay .grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.publication-modal-overlay .gap-8 {
  gap: 2rem;
}

.publication-modal-overlay .bg-\[#F8F9FA\] {
  background-color: #f8f9fa;
}

.publication-modal-overlay .p-8 {
  padding: 2rem;
}

.publication-modal-overlay .text-center {
  text-align: center;
}

.publication-modal-overlay .text-6xl {
  font-size: 3.75rem;
}

.publication-modal-overlay .mb-4 {
  margin-bottom: 1rem;
}

.publication-modal-overlay .text-lg {
  font-size: 1.125rem;
}

.publication-modal-overlay .text-\[#343A40\] {
  color: #343a40;
}

.publication-modal-overlay .leading-relaxed {
  line-height: 1.625;
}

.publication-modal-overlay .mb-3 {
  margin-bottom: 0.75rem;
}

.publication-modal-overlay .flex-wrap {
  flex-wrap: wrap;
}

.publication-modal-overlay .gap-2 {
  gap: 0.5rem;
}

.publication-modal-overlay .bg-\[#A8E6CF\] {
  background-color: #a8e6cf;
}

.publication-modal-overlay .text-\[#1F6B5C\] {
  color: #1f6b5c;
}

.publication-modal-overlay .px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.publication-modal-overlay .py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.publication-modal-overlay .rounded-full {
  border-radius: 9999px;
}

.publication-modal-overlay .space-y-3 > * + * {
  margin-top: 0.75rem;
}

.publication-modal-overlay .font-medium {
  font-weight: 500;
}

.publication-modal-overlay .w-4 {
  width: 1rem;
}

.publication-modal-overlay .h-4 {
  height: 1rem;
}

.publication-modal-overlay .text-yellow-500 {
  color: #eab308;
}

.publication-modal-overlay .mr-1 {
  margin-right: 0.25rem;
}

.publication-modal-overlay .mr-2 {
  margin-right: 0.5rem;
}

.publication-modal-overlay .px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.publication-modal-overlay .py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.publication-modal-overlay .bg-\[#2D9B8A\] {
  background-color: #2d9b8a;
}

.publication-modal-overlay .font-semibold {
  font-weight: 600;
}

.publication-modal-overlay .hover\:bg-\[#1F6B5C\]:hover {
  background-color: #1f6b5c;
}

.publication-modal-overlay .border-2 {
  border-width: 2px;
}

.publication-modal-overlay .border-\[#2D9B8A\] {
  border-color: #2d9b8a;
}

.publication-modal-overlay .text-\[#2D9B8A\] {
  color: #2d9b8a;
}

.publication-modal-overlay .hover\:bg-\[#2D9B8A\]:hover {
  background-color: #2d9b8a;
}

.publication-modal-overlay .hover\:text-white:hover {
  color: white;
}

.publication-modal-overlay .border-\[#6C757D\] {
  border-color: #6c757d;
}

.publication-modal-overlay .hover\:bg-\[#6C757D\]:hover {
  background-color: #6c757d;
}

.publication-modal-overlay .w-5 {
  width: 1.25rem;
}

.publication-modal-overlay .h-5 {
  height: 1.25rem;
}

/* Large screen styles */
@media (min-width: 1024px) {
  .publication-modal-overlay .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .publication-modal-overlay .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }
}

/* File Upload Section Styles */
.file-upload-section {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background-color: #f8f9fa;
}

.file-upload-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.file-upload-button {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px dashed #d1d5db;
  border-radius: 0.5rem;
  background-color: #ffffff;
  color: #2d9b8a;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload-button:hover {
  border-color: #2d9b8a;
  background-color: #f0fdfa;
}

.file-uploaded {
  padding: 0.75rem;
  border-radius: 0.5rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
}

.file-info {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}

.file-name {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

.file-size {
  font-size: 0.875rem;
  color: #6b7280;
}

.file-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.file-help-text {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0;
}

/* File Preview Styles */
.file-preview-container {
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #ffffff;
}

.image-preview img {
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pdf-preview iframe {
  border: 1px solid #e2e8f0;
}

.video-preview video {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.file-actions-preview {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.preview-file-button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #2d9b8a;
  color: white;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.preview-file-button:hover {
  background-color: #1f6b5c;
}

/* Modal utility classes */
.publication-modal-overlay .mt-4 {
  margin-top: 1rem;
}

.publication-modal-overlay .mr-3 {
  margin-right: 0.75rem;
}

.publication-modal-overlay .inline-flex {
  display: inline-flex;
}

.publication-modal-overlay .cursor-not-allowed {
  cursor: not-allowed;
}

.publication-modal-overlay .hidden {
  display: none;
}
