﻿body.ic-projects {
  background: #fff;
}

.ic-prj {
  min-height: 100dvh;
  min-height: 100svh;
  padding-bottom: 24px;
  background: #fff;
  direction: rtl;
}

.ic-prj-count {
  margin: 0;
  padding: 0 16px 8px;
  font-size: 11px;
  color: #919aaf;
  text-align: center;
}

.ic-prj-list {
  padding: 8px 10px 40px;
}

.ic-prj-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 13px;
  border-bottom: 1px solid #f0f0f0;
  color: inherit;
  text-decoration: none;
}

.ic-prj-card:last-child {
  border-bottom: 0;
}

.ic-prj-info {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.ic-prj-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  color: #2d3a4a;
}

.ic-prj-unread {
  margin: 2px 0 0;
  font-size: 10px;
  color: #28cd77;
}

.ic-prj-thumb {
  position: relative;
  flex-shrink: 0;
  width: 95px;
  height: 95px;
  overflow: hidden;
  border-radius: 16px;
  background: #f6f6f6;
}

.ic-prj-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ic-prj-thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ic-prj-thumb video.is-sakht-thumb-loading {
  opacity: 0;
}

.ic-prj-thumb img.ic-sakht-video-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ic-prj-thumb.is-sakht-thumb-failed {
  background: #e8edf3;
}

.ic-prj-thumb video.is-sakht-thumb-failed,
.ic-prj-thumb video[hidden] {
  display: none !important;
}

.ic-prj-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px;
  color: #919aaf;
  font-size: 10px;
  text-align: center;
}

.ic-prj-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
}

.ic-prj-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 32px 24px;
  text-align: center;
}

.ic-prj-empty-icon {
  display: block;
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  object-fit: contain;
  opacity: 0.75;
}

.ic-prj-empty-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #2d3a4a;
}

.ic-prj-empty-sub {
  margin: 0;
  font-size: 12px;
  line-height: 20px;
  color: #919aaf;
}

.ic-prj-loading {
  padding: 80px 16px;
}

.ic-prj-empty[hidden],
.ic-prj-list[hidden],
.ic-prj-loading[hidden],
.ic-prj-error[hidden],
.ic-prj-count[hidden] {
  display: none !important;
}

