﻿.post-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease;
}

.post-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-users {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eee;
  color: #333;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-labels {
  display: flex;
  flex-direction: column;
}

.user-label {
  font-size: 12px;
  color: #888;
}

.username {
  font-weight: 600;
  color: #333;
}

.arrow {
  font-size: 18px;
  color: #aaa;
}

.post-status-group {
  text-align: right;
}

.timestamp {
  font-size: 12px;
  color: #666;
  display: block;
}

.status-badge {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: 4px;
  display: inline-block;
}

.status-badge.pending {
  background: #ffe58f;
  color: #ad8b00;
}

.status-badge.approved {
  background: #b7eb8f;
  color: #389e0d;
}

.status-badge.rejected {
  background: #ffa39e;
  color: #cf1322;
}

.post-content {
  margin-top: 16px;
  font-size: 16px;
  color: #222;
  line-height: 1.6;
}



.post-publisher {
  display: flex;
  align-items: center;
  gap: 8px;
}


.username {
  color: #1a73e8;
  font-weight: 600;
  transition: 
    color 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.username:hover {
  color: #174ea6;
  transform: translateY(-1px);
  box-shadow: 0 1px 4px rgba(26, 115, 232, 0.15);
}



.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
}

.footer-left {
  min-width: 40px;
}

.share-button {
  all: unset;
  font-size: 20px;
  color: #1a73e8;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.share-button:hover {
  transform: scale(1.2) rotate(-8deg);
  color: #0b5ec6;
}

.share-form-placeholder {
  width: 36px;
  height: 32px;
}

