/* Latest Thoughts Carousel Styles */

.latest-thoughts-section {
  margin-bottom: 2rem;
}

.latest-thoughts-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  transition: color 0.3s ease;
}

body.light-mode .latest-thoughts-title {
  color: #111111;
}

.latest-thoughts-container {
  position: relative;
}

/* Navigation Arrows */
.latest-thoughts-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: #181f2a;
  border: 1px solid #232b39;
  border-radius: 50%;
  padding: 0.25rem;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.latest-thoughts-nav-btn:hover {
  background-color: #232b39;
}

.latest-thoughts-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.latest-thoughts-nav-btn.prev {
  left: -12px;
}

.latest-thoughts-nav-btn.next {
  right: -12px;
}

.latest-thoughts-nav-btn svg {
  width: 10px;
  height: 10px;
  color: #9ca3af;
}

/* Carousel Container */
.latest-thoughts-carousel {
  background-color: #1a1f2a;
  border-radius: 0.5rem;
  padding: 0.75rem;
  border: 1px solid #232b39;
  margin: 0 1rem;
  max-width: 100%;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-mode .latest-thoughts-carousel {
  background-color: #f5f5f5;
  border-color: #d1d5db;
}

.latest-thoughts-loading {
  color: #9ca3af;
  font-size: 0.875rem;
}

.latest-thoughts-error {
  color: #f87171;
  font-size: 0.875rem;
}

/* Bluesky Post Content */
.latest-thoughts-post {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 100%;
  overflow: hidden;
}

.latest-thoughts-avatar {
  flex-shrink: 0;
  margin-top: 0;
}

.latest-thoughts-avatar img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
}

.latest-thoughts-avatar svg {
  width: 1.75rem;
  height: 1.75rem;
}

.latest-thoughts-content {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.latest-thoughts-user-info {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0;
  line-height: 1;
  flex-wrap: wrap;
  transition: color 0.3s ease;
}

body.light-mode .latest-thoughts-user-info {
  color: #636363;
}

.latest-thoughts-username {
  font-weight: 600;
  color: #d1d5db;
  transition: color 0.3s ease;
}

body.light-mode .latest-thoughts-username {
  color: #333333;
}

.latest-thoughts-handle {
  font-weight: 400;
  color: #6b7280;
  transition: color 0.3s ease;
}

body.light-mode .latest-thoughts-handle {
  color: #555555;
}

.latest-thoughts-timestamp {
  color: #9ca3af;
  transition: color 0.3s ease;
}

body.light-mode .latest-thoughts-timestamp {
  color: #636363;
}

.latest-thoughts-text {
  color: #f3f4f6;
  font-size: 0.875rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  font-weight: 400;
  margin-top: 0.125rem;
  transition: color 0.3s ease;
}

body.light-mode .latest-thoughts-text {
  color: #111111;
}

.clickable-text {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.clickable-text:hover {
  opacity: 0.8;
}

.latest-thoughts-link {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.latest-thoughts-link:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Images Section */
.latest-thoughts-images {
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.latest-thoughts-image-container {
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #232b39;
  border: 1px solid #374151;
  max-width: 100%;
}

.clickable-image {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.clickable-image:hover {
  transform: scale(1.02);
}

.latest-thoughts-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 300px;
  max-width: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.latest-thoughts-image:hover {
  opacity: 0.9;
}

/* Profile Links */
.latest-thoughts-profile-link {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.latest-thoughts-profile-link:hover {
  opacity: 0.8;
}

/* Action Buttons */
.latest-thoughts-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #9ca3af;
}

.latest-thoughts-action-btn {
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
  cursor: pointer;
  padding: 0.125rem;
  border-radius: 0.25rem;
  background: none;
  border: none;
  color: #9ca3af;
  text-decoration: none;
}

.latest-thoughts-action-btn:hover {
  color: #d1d5db;
}

.latest-thoughts-action-btn.like:hover {
  color: #f87171;
}

.latest-thoughts-action-btn svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  color: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .latest-thoughts-carousel {
    margin: 0 0.75rem;
  }
  
  .latest-thoughts-nav-btn {
    width: 20px;
    height: 20px;
    padding: 0.125rem;
  }
  
  .latest-thoughts-nav-btn.prev {
    left: -10px;
  }
  
  .latest-thoughts-nav-btn.next {
    right: -10px;
  }
  
  .latest-thoughts-nav-btn svg {
    width: 8px;
    height: 8px;
  }
  
  .latest-thoughts-actions {
    gap: 0.5rem;
  }
  
  .latest-thoughts-action-btn svg {
    width: 11px;
    height: 11px;
  }
  
  .latest-thoughts-image {
    max-height: 250px;
  }
} 