*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #121214;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  padding-bottom: 40px;
}

a {
  color: #3b82f6;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.login-container {
  background-color: #1a1a1e;
  border: 1px solid #2d2d34;
  border-radius: 8px;
  max-width: 400px;
  margin: 100px auto;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.login-container h2 {
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}
.login-container .form-group {
  margin-bottom: 16px;
}
.login-container .form-group label {
  display: block;
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 0.9rem;
}
.login-container .form-group input {
  width: 100%;
  padding: 10px;
  background-color: #121214;
  border: 1px solid #2d2d34;
  border-radius: 6px;
  color: #e2e8f0;
  font-size: 1rem;
}
.login-container .form-group input:focus {
  outline: none;
  border-color: #3b82f6;
}
.login-container button {
  width: 100%;
  padding: 12px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.login-container button:hover {
  background-color: #2563eb;
}

.message {
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  text-align: center;
}
.message.error {
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}

header {
  background-color: #1a1a1e;
  border-bottom: 1px solid #2d2d34;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: hidden;
}
header h1 {
  float: left;
  font-size: 1.2rem;
  line-height: 2rem;
}
header a {
  float: right;
  background-color: rgba(148, 163, 184, 0.1);
  padding: 6px 12px;
  border-radius: 6px;
  color: #e2e8f0;
}
header a:hover {
  background-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
  text-decoration: none;
}

.feed-container {
  max-width: 680px;
  margin: 30px auto 0;
  padding: 0 15px;
}

.post-card {
  background-color: #1a1a1e;
  border: 1px solid #2d2d34;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}
.post-card .post-header {
  margin-bottom: 12px;
}
.post-card .post-header .author {
  font-weight: bold;
  display: inline-block;
}
.post-card .post-header .date {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-left: 8px;
  display: inline-block;
}
.post-card .post-content {
  font-size: 1.05rem;
  margin-bottom: 15px;
  white-space: pre-wrap;
}
.post-card .post-media {
  margin: 0 -20px 15px -20px;
  background-color: #121214;
}
.post-card .post-media img,
.post-card .post-media video {
  width: 100%;
  max-height: 500px;
  display: block;
  object-fit: contain;
}
.post-card .comments-section {
  border-top: 1px solid #2d2d34;
  padding-top: 15px;
  margin-top: 15px;
}
.post-card .comments-section .comment {
  background-color: #121214;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.post-card .comments-section .comment .comment-author {
  font-weight: bold;
  color: #3b82f6;
  margin-right: 6px;
}
.post-card .comments-section .comment-form {
  margin-top: 12px;
  overflow: hidden;
}
.post-card .comments-section .comment-form input[type=text] {
  width: 80%;
  float: left;
  padding: 8px 12px;
  background-color: #121214;
  border: 1px solid #2d2d34;
  border-radius: 6px;
  color: #e2e8f0;
}
.post-card .comments-section .comment-form input[type=text]:focus {
  outline: none;
  border-color: #3b82f6;
}
.post-card .comments-section .comment-form button {
  width: 18%;
  float: right;
  padding: 8px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}
.post-card .comments-section .comment-form button:hover {
  background-color: #2563eb;
}

.create-post-card {
  background-color: #1a1a1e;
  border: 1px solid #2d2d34;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
}
.create-post-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #94a3b8;
}
.create-post-card textarea {
  width: 100%;
  height: 80px;
  background-color: #121214;
  border: 1px solid #2d2d34;
  border-radius: 6px;
  color: #e2e8f0;
  padding: 12px;
  font-size: 1rem;
  resize: none;
  margin-bottom: 12px;
}
.create-post-card textarea:focus {
  outline: none;
  border-color: #3b82f6;
}
.create-post-card .form-actions {
  overflow: hidden;
}
.create-post-card .form-actions input[type=file] {
  float: left;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 6px;
}
.create-post-card .form-actions button {
  float: right;
  padding: 8px 20px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}
.create-post-card .form-actions button:hover {
  background-color: #2563eb;
}

.lightbox {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  cursor: default;
  flex-shrink: 0;
}
.lightbox .lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}
.lightbox .lightbox-close:hover {
  color: #94a3b8;
}
.lightbox .lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #2d2d34;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  padding: 15px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 1000;
}
.lightbox .lightbox-nav:hover {
  background-color: #3b82f6;
  border-color: #3b82f6;
}
.lightbox .lightbox-nav:focus {
  outline: none;
}
.lightbox #lightbox-prev {
  left: 20px;
}
.lightbox #lightbox-next {
  right: 20px;
}

.post-media-gallery img {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}
.post-media-gallery img:hover {
  transform: scale(1.01);
}/*# sourceMappingURL=style.css.map */