:root {
  --bg: #455e52;
  --card: #242625;
  --text: #ffffff;
  --accent: #39825f;
  --border: #333;
  --input-bg: #242625;
  --input-text: #ffffff;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  max-width: 600px;
  margin: 40px auto;
}

h2 {
  color: var(--accent);
  margin-top: 40px;
}

textarea, input[type="text"], input[type="file"] {
  background: var(--input-bg);
  color: var(--input-text);
  border: 1px solid var(--border);
  padding: 10px;
  margin-top: 10px;
  width: 96.5%;
}

button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 4px;
}

button:hover {
  background: #70e0aa;
  color: black;
}

.post {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 10px;
  margin-top: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.timestamp {
  font-size: 0.8em;
  color: #aaa;
  margin-top: 5px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  transition: transform 0.2s ease;
}

.avatar:hover {
  transform: scale(1.1);
}

.header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

#identityBox {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--card);
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 1000;
}

@media (max-width: 600px) { 
  #identityBox {
    top: auto; 
    right: 50%; 
    bottom: 20px;
    left: auto; 
    transform: translateX(50%); 
    width: 90%; 
    max-width: 400px; 
  }
}

#identityBox input {
display: block;
  width: 92.5%;
  margin-top: 5px;
}
#identityBox button {
  display: block;
  width: 100%;
  margin-top: 5px;
}

.post-image {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}