/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Color Scheme:
   Primary Blue: #134686
   Accent Red: #ED3F27
   Accent Yellow: #FEB21A
   Light Cream: #FDF4E3
   Dark Gray: #222831
   Light Gray: #EEEEEE
*/

/* Global box-sizing fix for all inputs and textareas */
*,
*::before,
*::after {
  box-sizing: border-box;
}

input,
textarea,
select {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #FDF4E3;
  color: #222831;
}

nav {
  background: #134686;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-left, .nav-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

nav .logo {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  transition: opacity 0.2s;
}

nav .logo:hover {
  opacity: 0.8;
  background: transparent;
}

nav .logo-image {
  height: 40px;
  width: auto;
  display: block;
}

nav a, nav button {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: background 0.2s;
}

nav button {
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
}

nav a:hover, nav button:hover {
  background: #ED3F27;
}

.nav-left {
  position: relative;
}

.hashtag-search {
  margin: 0;
  position: relative;
}

.hashtag-search .hashtag-suggestions {
  position: absolute;
  bottom: auto;
  top: calc(100% + 0.5rem);
  left: 0;
  right: auto;
  min-width: 300px;
  background: white;
  border: 2px solid #134686;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(19, 70, 134, 0.2);
  max-height: 200px;
  overflow-y: auto;
  z-index: 10000;
}

.hashtag-search .hashtag-suggestions.hidden {
  display: none;
}

.hashtag-search .suggestion-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #EEEEEE;
}

.hashtag-search .suggestion-item:last-child {
  border-bottom: none;
}

.hashtag-search .suggestion-item:hover,
.hashtag-search .suggestion-item.selected {
  background: #FDF4E3;
}

.hashtag-search .suggestion-tag {
  color: #134686;
  font-weight: 600;
}

.hashtag-search .suggestion-count {
  color: #666;
  font-size: 0.85rem;
  background: #EEEEEE;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

.hashtag-search .suggestion-item.selected .suggestion-tag {
  color: #ED3F27;
}

.search-input {
  padding: 0.5rem 1rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.95rem;
  width: 200px;
  transition: all 0.2s;
}

.search-input::placeholder {
  color: rgba(255,255,255,0.7);
}

.search-input:focus {
  outline: none;
  background: white;
  color: #222831;
  border-color: #FEB21A;
  width: 250px;
}

.search-input:focus::placeholder {
  color: #999;
}

.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.notice, .alert {
  padding: 1rem;
  margin: 1rem;
  border-radius: 8px;
  border-left: 4px solid;
}

.notice {
  background: #EEEEEE;
  color: #134686;
  border-color: #134686;
}

.alert {
  background: #FDF4E3;
  color: #ED3F27;
  border-color: #ED3F27;
}

.new-post {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(34,40,49,0.1);
  border: 2px solid #EEEEEE;
}

.new-post textarea {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  resize: vertical;
  color: #222831;
  transition: border-color 0.2s;
  margin-bottom: 0.75rem;
}

.new-post textarea:focus {
  outline: none;
  border-color: #134686;
}

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

.privacy-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.privacy-toggle:hover {
  background: #FDF4E3;
}

.privacy-toggle input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.privacy-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #666;
  font-size: 0.9rem;
}

.privacy-icon {
  color: #666;
}

.privacy-toggle input[type="checkbox"]:checked ~ .privacy-label {
  color: #134686;
  font-weight: 600;
}

.privacy-toggle input[type="checkbox"]:checked ~ .privacy-label .privacy-icon {
  color: #134686;
}

.new-post input[type="submit"] {
  background: #FEB21A;
  color: #222831;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.new-post input[type="submit"]:hover {
  background: #ED3F27;
  color: white;
}

.post {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(34,40,49,0.1);
  border: 2px solid #EEEEEE;
  transition: border-color 0.2s;
}

.post:hover {
  border-color: #134686;
}

.post.private-post {
  background: linear-gradient(135deg, #FDF4E3 0%, white 100%);
  border-color: #FEB21A;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.post strong {
  color: #134686;
  font-weight: 600;
}

.post strong:hover {
  color: #ED3F27;
}

.post .timestamp {
  color: #666;
  font-size: 0.9rem;
}

.private-badge {
  display: inline-flex;
  align-items: center;
  color: #FEB21A;
  margin-left: auto;
}

.post p {
  margin: 0.75rem 0;
  color: #222831;
  line-height: 1.5;
}

.post button {
  background: #EEEEEE;
  border: 2px solid #EEEEEE;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #222831;
  transition: all 0.2s;
}

.post button:hover {
  background: #ED3F27;
  border-color: #ED3F27;
  color: white;
}

form div {
  margin-bottom: 1.25rem;
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #222831;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  font-size: 1rem;
  color: #222831;
  transition: border-color 0.2s;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus {
  outline: none;
  border-color: #134686;
}

form input[type="submit"] {
  background: #FEB21A;
  color: #222831;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
}

form input[type="submit"]:hover {
  background: #ED3F27;
  color: white;
}

.errors {
  background: white;
  color: #ED3F27;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 2px solid #ED3F27;
}

.container h1 {
  color: #134686;
  margin-bottom: 1.5rem;
}

.container h2 {
  color: #134686;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.container a {
  color: #134686;
  text-decoration: none;
  transition: color 0.2s;
}

.container a:hover {
  color: #ED3F27;
}

/* Auth Forms (Login, Signup, Password Reset) */
.auth-form {
  max-width: 450px;
  margin: 3rem auto;
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid #EEEEEE;
  box-shadow: 0 4px 12px rgba(34,40,49,0.1);
}

.auth-form h1 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.auth-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.auth-form .form-group {
  margin-bottom: 1.5rem;
}

.auth-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #222831;
  font-size: 0.95rem;
}

.auth-form .form-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.875rem;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  font-size: 1rem;
  color: #222831;
  transition: all 0.2s;
}

.auth-form .form-input:focus {
  outline: none;
  border-color: #134686;
  box-shadow: 0 0 0 3px rgba(19, 70, 134, 0.1);
}

.auth-form .form-input::placeholder {
  color: #999;
}

.auth-form .form-actions {
  margin-top: 2rem;
  margin-bottom: 0;
}

.auth-form .form-actions .btn-primary {
  width: 100%;
  padding: 0.875rem;
  font-size: 1.05rem;
  border-radius: 8px;
}

.auth-errors {
  background: #FDF4E3;
  border-left: 4px solid #ED3F27;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.auth-errors strong {
  display: block;
  color: #ED3F27;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.auth-errors ul {
  margin: 0;
  padding-left: 1.25rem;
}

.auth-errors li {
  color: #222831;
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.form-hint {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

.auth-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid #EEEEEE;
  text-align: center;
}

.auth-links p {
  margin: 0.75rem 0;
  color: #666;
  font-size: 0.95rem;
}

.auth-links a {
  color: #134686;
  font-weight: 600;
  transition: color 0.2s;
}

.auth-links a:hover {
  color: #ED3F27;
}

.auth-link-highlight {
  color: #FEB21A !important;
  font-weight: 700 !important;
}

.auth-link-highlight:hover {
  color: #134686 !important;
}

.auth-divider {
  margin: 2rem 0 1.5rem;
  text-align: center;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #EEEEEE;
}

.auth-divider span {
  position: relative;
  background: white;
  padding: 0 1rem;
  color: #666;
  font-size: 0.9rem;
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  color: #222831;
}

.oauth-btn:hover {
  border-color: #134686;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(19, 70, 134, 0.15);
}

.oauth-icon {
  width: 20px;
  height: 20px;
}

.oauth-btn-google:hover {
  background: #f8f9fa;
}


/* Profile Page Styles */
.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #134686;
}

.profile-header h1 {
  margin: 0;
}

.profile-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  border: 2px solid #EEEEEE;
  justify-content: center;
}

.stat-link {
  text-decoration: none;
  color: #222831;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.stat-link:hover {
  background: #FDF4E3;
  transform: translateY(-2px);
}

.stat-link strong {
  color: #134686;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.25rem;
}

.profile-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  background: white;
  border-radius: 12px;
  padding: 0.5rem;
  border: 2px solid #EEEEEE;
  box-shadow: 0 2px 8px rgba(34,40,49,0.1);
}

.profile-tab {
  flex: 1;
  text-align: center;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: #222831;
  font-weight: 600;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.profile-tab:hover {
  background: #FDF4E3;
  color: #134686;
  transform: translateY(-2px);
}

.profile-tab.active {
  background: #134686;
  color: white;
  border-color: #134686;
  box-shadow: 0 4px 12px rgba(19, 70, 134, 0.3);
}

.profile-section {
  margin-bottom: 2rem;
}

.user-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.user-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: white;
  border: 2px solid #EEEEEE;
  border-radius: 12px;
  transition: all 0.2s;
}

.user-list-item:hover {
  border-color: #134686;
  box-shadow: 0 2px 8px rgba(19, 70, 134, 0.2);
}

.user-link {
  flex: 1;
  text-decoration: none;
  color: #222831;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.user-info strong {
  color: #134686;
  font-size: 1.1rem;
}

.user-stats-mini {
  color: #666;
  font-size: 0.9rem;
}

.btn-primary-small,
.btn-secondary-small {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-primary-small {
  background: #FEB21A;
  color: #222831;
  border-color: #FEB21A;
}

.btn-primary-small:hover {
  background: #134686;
  border-color: #134686;
  color: white;
}

.btn-secondary-small {
  background: #EEEEEE;
  color: #222831;
  border-color: #EEEEEE;
}

.btn-secondary-small:hover {
  background: #ED3F27;
  border-color: #ED3F27;
  color: white;
}

/* Button Styles */
.btn-primary, .btn-secondary {
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
  font-size: 1rem;
}

.btn-primary {
  background: #FEB21A;
  color: #222831;
}

.btn-primary:hover {
  background: #134686;
  color: white;
}

.btn-secondary {
  background: #EEEEEE;
  color: #222831;
  border: 2px solid #EEEEEE;
}

.btn-secondary:hover {
  background: #ED3F27;
  border-color: #ED3F27;
  color: white;
}

/* Empty State */
.posts:empty::after {
  content: "No posts yet";
  display: block;
  text-align: center;
  padding: 2rem;
  color: #666;
  font-style: italic;
}


/* Hashtag Styles */
.hashtag {
  color: #134686;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.hashtag:hover {
  color: #FEB21A;
  text-decoration: underline;
}

/* Mention Styles */
.mention {
  color: #ED3F27;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.mention:hover {
  color: #FEB21A;
  text-decoration: underline;
}

.hashtag-header {
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  border: 2px solid #134686;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(19,70,134,0.1);
}

.hashtag-header h1 {
  margin: 0 0 0.5rem 0;
  color: #134686;
}

.hashtag-header .post-count {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  background: white;
  border-radius: 12px;
  border: 2px dashed #EEEEEE;
}

.empty-state p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.empty-state a {
  color: #134686;
  text-decoration: none;
  font-weight: 600;
}

.empty-state a:hover {
  color: #ED3F27;
}


/* Two-column layout */
.main-content {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.feed {
  min-width: 0;
}

.feed-header {
  margin-bottom: 2rem;
}

.feed-title h1 {
  margin: 0;
  font-size: 2.5rem;
  color: #134686;
  font-weight: 800;
}

.feed-subtitle {
  margin: 0.5rem 0 0 0;
  color: #666;
  font-size: 1.1rem;
}

.feed-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  background: white;
  border-radius: 12px;
  padding: 0.5rem;
  border: 2px solid #EEEEEE;
  box-shadow: 0 2px 8px rgba(34,40,49,0.1);
}

.feed-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: #222831;
  font-weight: 600;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.feed-tab .tab-icon {
  font-size: 1.2rem;
}

.feed-tab .tab-label {
  font-size: 1rem;
}

.feed-tab:hover {
  background: #FDF4E3;
  color: #134686;
  transform: translateY(-2px);
}

.feed-tab.active {
  background: #134686;
  color: white;
  border-color: #134686;
  box-shadow: 0 4px 12px rgba(19, 70, 134, 0.3);
}

.feed-tab.active:hover {
  background: #134686;
  color: white;
  transform: translateY(-2px);
}

.welcome-banner {
  background: linear-gradient(135deg, #134686 0%, #1a5a9e 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(19, 70, 134, 0.3);
}

.welcome-banner h2 {
  margin: 0 0 1rem 0;
  font-size: 2rem;
  color: white;
}

.welcome-banner p {
  margin: 0 0 2rem 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.welcome-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.welcome-actions .btn-primary,
.welcome-actions .btn-secondary {
  padding: 0.875rem 2rem;
  font-size: 1.05rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.welcome-actions .btn-primary {
  background: #FEB21A;
  color: #222831;
  border: 2px solid #FEB21A;
}

.welcome-actions .btn-primary:hover {
  background: #ED3F27;
  border-color: #ED3F27;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(237, 63, 39, 0.4);
}

.welcome-actions .btn-secondary {
  background: white;
  color: #134686;
  border: 2px solid white;
}

.welcome-actions .btn-secondary:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 12px;
  border: 2px solid #EEEEEE;
  margin-bottom: 1.5rem;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  margin: 0 0 1rem 0;
  color: #134686;
  font-size: 1.5rem;
}

.empty-state p {
  margin: 0.5rem 0;
  color: #666;
  font-size: 1.05rem;
}

.sidebar {
  position: sticky;
  top: 1rem;
}

.user-stats-widget,
.trending-widget {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid #EEEEEE;
  box-shadow: 0 2px 8px rgba(34,40,49,0.1);
  margin-bottom: 1.5rem;
}

.widget-header-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.widget-header-link:hover {
  background: #FDF4E3;
}

.widget-header-link h3 {
  margin: 0;
  color: #134686;
  font-size: 1.2rem;
}

.view-profile-hint {
  color: #666;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s;
}

.widget-header-link:hover .view-profile-hint {
  opacity: 1;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: #FDF4E3;
}

.stat-item-link {
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.stat-item-link:hover {
  background: #134686;
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(19, 70, 134, 0.3);
}

.stat-item-link:hover .stat-label {
  color: white;
}

.stat-item-link:hover .stat-value {
  color: #FEB21A;
}

.stat-item:last-child {
  margin-bottom: 0;
}

.stat-label {
  color: #222831;
  font-weight: 500;
  transition: color 0.2s;
}

.stat-value {
  color: #134686;
  font-weight: 700;
  font-size: 1.2rem;
  transition: color 0.2s;
}

.trending-widget h3 {
  margin: 0 0 1rem 0;
  color: #134686;
  font-size: 1.2rem;
}

.trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trending-list li {
  margin-bottom: 0.75rem;
}

.trending-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.trending-list a:hover {
  background: #FDF4E3;
}

.tag-name {
  color: #134686;
  font-weight: 600;
}

.tag-count {
  color: #666;
  font-size: 0.85rem;
}

.no-trends {
  color: #666;
  font-style: italic;
  margin: 0;
}

.login-prompt {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  border: 2px solid #EEEEEE;
  margin-bottom: 1.5rem;
}

/* Responsive design */
@media (max-width: 968px) {
  .main-content {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
  }
  
  .search-input {
    width: 150px;
  }
  
  .search-input:focus {
    width: 180px;
  }
}

@media (max-width: 640px) {
  nav {
    flex-direction: column;
    padding: 1rem;
  }
  
  .nav-left, .nav-right {
    width: 100%;
    justify-content: center;
  }
  
  .search-input {
    width: 100%;
  }
  
  .search-input:focus {
    width: 100%;
  }

  /* Settings page responsive */
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .settings-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .settings-options-horizontal {
    flex-direction: column;
  }

  .settings-option-compact {
    min-width: auto;
  }
}


/* Turbo Stream animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

turbo-frame[id^="post_"] {
  animation: slideIn 0.3s ease-out;
}

/* New post indicator */
.post.new-post-indicator {
  border-left: 4px solid #FEB21A;
  animation: slideIn 0.3s ease-out;
}

/* Trending widget update animation */
#trending-content {
  transition: opacity 0.2s ease-in-out;
}

#trending-content.updating {
  opacity: 0.6;
}


/* Hashtag Autocomplete */
.textarea-wrapper {
  position: relative;
}

.hashtag-suggestions {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #134686;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(19, 70, 134, 0.2);
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}

.hashtag-suggestions.hidden {
  display: none;
}

.suggestion-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #EEEEEE;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.selected {
  background: #FDF4E3;
}

.suggestion-tag {
  color: #134686;
  font-weight: 600;
}

.suggestion-count {
  color: #666;
  font-size: 0.85rem;
  background: #EEEEEE;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

.suggestion-item.selected .suggestion-tag {
  color: #ED3F27;
}

/* Hint text */
.hashtag-suggestions::before {
  content: "Press Tab or Enter to complete";
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: #666;
  background: #FDF4E3;
  border-bottom: 1px solid #EEEEEE;
  text-align: center;
}


/* Messages */
.messages-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.unread-badge {
  background: #ED3F27;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

.conversations-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.conversation-item {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid #EEEEEE;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}

.conversation-item:hover {
  border-color: #134686;
  box-shadow: 0 2px 8px rgba(19, 70, 134, 0.1);
}

.conversation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.conversation-header strong {
  color: #134686;
  font-size: 1.1rem;
}

.last-message {
  color: #666;
  margin: 0.5rem 0;
}

.message-time {
  color: #999;
  font-size: 0.85rem;
}

.messages-header {
  margin-bottom: 2rem;
}

.back-link {
  color: #134686;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.back-link:hover {
  color: #ED3F27;
}

.messages-container {
  background: white;
  border: 2px solid #EEEEEE;
  border-radius: 12px;
  padding: 1.5rem;
  max-height: 500px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.message-bubble {
  max-width: 70%;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 12px;
  word-wrap: break-word;
}

.message-bubble.sent {
  background: #134686;
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.message-bubble.received {
  background: #EEEEEE;
  color: #222831;
  margin-right: auto;
  border-bottom-left-radius: 4px;
}

.message-content {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.message-meta {
  font-size: 0.75rem;
  opacity: 0.8;
}

.message-form {
  background: white;
  border: 2px solid #EEEEEE;
  border-radius: 12px;
  padding: 1rem;
}

.message-input-wrapper {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
}

.message-input-wrapper textarea {
  flex: 1;
  box-sizing: border-box;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  resize: none;
  transition: border-color 0.2s;
}

.message-input-wrapper textarea:focus {
  outline: none;
  border-color: #134686;
}

.message-input-wrapper input[type="submit"] {
  background: #FEB21A;
  color: #222831;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.message-input-wrapper input[type="submit"]:hover {
  background: #134686;
  color: white;
}

.profile-actions {
  display: flex;
  gap: 0.5rem;
}

.profile-actions .btn-primary {
  text-decoration: none;
  display: inline-block;
}


/* Settings Page - Full Width Redesign */
.settings-page {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #EEEEEE;
}

.settings-header h1 {
  margin: 0;
  color: #134686;
}

.btn-secondary-small {
  padding: 0.5rem 1rem;
  background: #EEEEEE;
  color: #222831;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.btn-secondary-small:hover {
  background: #666;
  color: white;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
}

.settings-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid #EEEEEE;
  box-shadow: 0 2px 8px rgba(34,40,49,0.08);
}

.settings-card-title {
  margin: 0 0 1.5rem 0;
  color: #134686;
  font-size: 1.3rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #FDF4E3;
}

.settings-section {
  margin-bottom: 1.5rem;
}

.settings-section:last-child {
  margin-bottom: 0;
}

.settings-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #222831;
  font-size: 0.95rem;
}

.settings-options-horizontal {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.settings-option-compact {
  flex: 1;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.settings-option-compact:hover {
  border-color: #134686;
  background: #FDF4E3;
}

.settings-option-compact.selected {
  border-color: #134686;
  background: #FDF4E3;
  font-weight: 600;
}

.settings-option-compact input[type="radio"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  margin: 0;
}

.settings-option-compact span {
  color: #222831;
  font-size: 0.95rem;
}

.settings-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  font-size: 1rem;
  color: #222831;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s;
}

.settings-select:focus {
  outline: none;
  border-color: #134686;
}

.settings-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  font-size: 1rem;
  color: #222831;
  transition: border-color 0.2s;
}

.settings-input:focus {
  outline: none;
  border-color: #134686;
}

.settings-actions {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #EEEEEE;
}

.settings-actions .btn-primary {
  width: 100%;
  padding: 0.75rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
}

/* Legacy Settings Form (for backwards compatibility) */
.settings-form {
  max-width: 500px;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid #EEEEEE;
  box-shadow: 0 2px 8px rgba(34,40,49,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #222831;
}

.form-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  font-size: 1rem;
  color: #222831;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #134686;
}

.form-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #666;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
  flex: 1;
  text-decoration: none;
  text-align: center;
  padding: 0.75rem 2rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
}

.form-actions input[type="submit"] {
  flex: 1;
}

.form-actions .btn-secondary {
  background: #EEEEEE;
  color: #222831;
}

.form-actions .btn-secondary:hover {
  background: #666;
  color: white;
}

/* User Search Styles */
.suggestion-section {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #666;
  background: #FDF4E3;
  border-bottom: 1px solid #EEEEEE;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.suggestion-user {
  color: #ED3F27;
  font-weight: 600;
}

.suggestion-name {
  color: #666;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

.suggestion-item.selected .suggestion-user {
  color: #FEB21A;
}

/* Thread and Replies */
.thread-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.thread-header h2 {
  margin: 0;
  color: #134686;
}

.thread-container {
  max-width: 800px;
  margin: 0 auto;
}

.main-post {
  margin-bottom: 2rem;
}

.main-post .post {
  border: 3px solid #134686;
}

.post-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #EEEEEE;
}

.btn-reply {
  color: #134686;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-reply:hover {
  background: #FDF4E3;
  border-color: #134686;
}

.reply-count {
  color: #666;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.reply-count:hover {
  color: #134686;
}

.reply-form {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 2px solid #EEEEEE;
}

.reply-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  resize: vertical;
  color: #222831;
  transition: border-color 0.2s;
  margin-bottom: 0.75rem;
}

.reply-form textarea:focus {
  outline: none;
  border-color: #134686;
}

.replies-section {
  margin-top: 2rem;
}

.replies-section h3 {
  color: #134686;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #EEEEEE;
}

.replies-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reply-item {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid #EEEEEE;
  margin-left: 2rem;
  position: relative;
  transition: border-color 0.2s;
}

.reply-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 2rem;
  width: 1.5rem;
  height: 2px;
  background: #EEEEEE;
}

.reply-item:hover {
  border-color: #134686;
}

.reply-content .post-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.reply-content p {
  margin: 0.5rem 0 1rem 0;
  line-height: 1.5;
}

.btn-delete-small {
  background: #EEEEEE;
  border: 2px solid #EEEEEE;
  padding: 0.3rem 0.75rem;
  border-radius: 15px;
  cursor: pointer;
  font-size: 0.8rem;
  color: #222831;
  transition: all 0.2s;
}

.btn-delete-small:hover {
  background: #ED3F27;
  border-color: #ED3F27;
  color: white;
}

.no-replies {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-style: italic;
}

/* Inline Replies */
.post-container {
  margin-bottom: 1rem;
}

.reply-form-inline {
  background: #FDF4E3;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 8px;
  border: 2px solid #EEEEEE;
  margin-left: 2rem;
}

.reply-form-inline textarea {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  resize: vertical;
  color: #222831;
  transition: border-color 0.2s;
  margin-bottom: 0.75rem;
  background: white;
}

.reply-form-inline textarea:focus {
  outline: none;
  border-color: #134686;
}

.reply-form-actions {
  display: flex;
  gap: 0.5rem;
}

.replies-container {
  margin-top: 1rem;
  padding-left: 2rem;
  border-left: 3px solid #EEEEEE;
}

.replies-header {
  color: #134686;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.no-replies-inline {
  color: #666;
  font-style: italic;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.replies-container .reply-item {
  margin-left: 0;
  margin-bottom: 1rem;
}

.replies-container .reply-item::before {
  display: none;
}

.hidden {
  display: none;
}

/* Reply Success Message */
.reply-success-message {
  background: #134686;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin: 0.5rem 0 0.5rem 2rem;
  font-weight: 600;
  animation: slideInMessage 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}

.reply-success-message.fade-out {
  opacity: 0;
}

@keyframes slideInMessage {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Display Density Settings UI */
.density-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.density-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid #EEEEEE;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.density-option:hover {
  border-color: #134686;
  background: #FDF4E3;
}

.density-option.selected {
  border-color: #134686;
  background: #FDF4E3;
  box-shadow: 0 2px 8px rgba(19, 70, 134, 0.15);
}

.density-option input[type="radio"] {
  margin-top: 0.25rem;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.density-preview {
  flex: 1;
}

.density-preview strong {
  display: block;
  color: #134686;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.density-preview p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Display Density Modes - Comfortable */
body.density-comfortable .container {
  margin: 1.25rem auto;
}

body.density-comfortable .post,
body.density-comfortable .new-post,
body.density-comfortable .settings-form {
  padding: 1rem;
  margin-bottom: 0.75rem;
  border-radius: 10px;
}

body.density-comfortable .post-container {
  margin-bottom: 0.75rem;
}

body.density-comfortable .post-header {
  margin-bottom: 0.35rem;
}

body.density-comfortable .post p {
  margin: 0.5rem 0;
}

body.density-comfortable .post-actions {
  margin-top: 0.65rem;
  padding-top: 0.5rem;
}

body.density-comfortable nav {
  padding: 0.75rem 1.5rem;
}

body.density-comfortable .feed-tabs {
  margin-bottom: 1.25rem;
  padding: 0.35rem;
}

body.density-comfortable .feed-tab {
  padding: 0.6rem 1.25rem;
}

body.density-comfortable .reply-item {
  padding: 1rem;
  margin-bottom: 0.75rem;
  border-radius: 10px;
}

body.density-comfortable .reply-form-inline {
  padding: 1rem;
  margin: 0.75rem 0;
}

body.density-comfortable .reply-form-inline textarea {
  margin-bottom: 0.65rem;
}

body.density-comfortable .message-bubble {
  padding: 0.85rem;
  margin-bottom: 0.85rem;
}

body.density-comfortable .conversation-item {
  padding: 1.15rem;
  margin-bottom: 0.35rem;
}

body.density-comfortable .messages-container {
  padding: 1.25rem;
  margin-bottom: 0.85rem;
}

body.density-comfortable .user-stats-widget,
body.density-comfortable .trending-widget {
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

body.density-comfortable .stat-item {
  padding: 0.65rem;
  margin-bottom: 0.4rem;
}

body.density-comfortable .new-post textarea {
  margin-bottom: 0.65rem;
}

body.density-comfortable h1 {
  margin-bottom: 1.25rem;
}

body.density-comfortable h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.85rem;
}

/* Display Density Modes - Compact */
body.density-compact .container {
  margin: 1rem auto;
  max-width: 1400px;
}

body.density-compact .post-container {
  margin-bottom: 0.25rem;
}

body.density-compact .post,
body.density-compact .new-post,
body.density-compact .settings-form {
  padding: 0.65rem 0.85rem;
  margin-bottom: 0;
  border-radius: 6px;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

body.density-compact .post:first-child,
body.density-compact .new-post {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

body.density-compact .post:last-child {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

body.density-compact .post-header {
  margin-bottom: 0.35rem;
}

body.density-compact .post p {
  margin: 0.35rem 0;
  line-height: 1.45;
}

body.density-compact .post-actions {
  margin-top: 0.5rem;
  padding-top: 0.4rem;
  border-top: 1px solid #F5F5F5;
}

body.density-compact .post-actions a,
body.density-compact .post-actions button {
  padding: 0.3rem 0.7rem;
  font-size: 0.875rem;
}

body.density-compact nav {
  padding: 0.6rem 1.5rem;
}

body.density-compact nav a,
body.density-compact nav button {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
}

body.density-compact .feed-tabs {
  margin-bottom: 0.75rem;
  padding: 0.25rem;
}

body.density-compact .feed-tab {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

body.density-compact .new-post textarea {
  padding: 0.6rem;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

body.density-compact .reply-item {
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.15rem;
  margin-left: 0;
  border-radius: 4px;
  background: #FAFAFA;
}

body.density-compact .reply-item:last-child {
  margin-bottom: 0;
}

body.density-compact .reply-form-inline {
  padding: 0.6rem;
  margin: 0.5rem 0;
  background: #FAFAFA;
  border-radius: 4px;
}

body.density-compact .reply-form-inline textarea {
  padding: 0.6rem;
  font-size: 0.9rem;
}

body.density-compact .message-bubble {
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.35rem;
}

body.density-compact .conversation-item {
  padding: 0.75rem;
  margin-bottom: 0;
  border-radius: 0;
  border-bottom: 1px solid #EEEEEE;
}

body.density-compact .conversation-item:first-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

body.density-compact .conversation-item:last-child {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border-bottom: none;
}

body.density-compact .timestamp {
  font-size: 0.8rem;
}

body.density-compact h1 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

body.density-compact h2 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

body.density-compact .sidebar {
  top: 0.5rem;
}

body.density-compact .user-stats-widget,
body.density-compact .trending-widget {
  padding: 1rem;
  margin-bottom: 1rem;
}

body.density-compact .stat-item {
  padding: 0.5rem;
  margin-bottom: 0.35rem;
}


/* Pagination Styles */
.pagination-wrapper {
  margin: 2rem 0;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 2px solid #EEEEEE;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.875rem;
  border: 2px solid #222831;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #222831;
  background: white;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.pagination a:hover {
  background: #134686;
  border-color: #134686;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(19, 70, 134, 0.3);
}

.pagination .current {
  background: #134686;
  color: white;
  border-color: #134686;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(19, 70, 134, 0.4);
}

.pagination .disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  background: #f5f5f5;
  border-color: #d1d5db;
  color: #9ca3af;
}

.pagination .first,
.pagination .last,
.pagination .prev,
.pagination .next {
  font-weight: 700;
  background: #FDF4E3;
  border-color: #222831;
}

.pagination .first:hover,
.pagination .last:hover,
.pagination .prev:hover,
.pagination .next:hover {
  background: #ED3F27;
  border-color: #ED3F27;
  color: white;
}

.pagination .gap {
  border: none;
  background: none;
  color: #222831;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: none;
}

/* Responsive pagination */
@media (max-width: 640px) {
  .pagination a,
  .pagination span {
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    font-size: 0.8125rem;
  }

  .pagination .first,
  .pagination .last {
    display: none;
  }
}

/* Vote Controls */
.vote-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem;
}

.vote-btn {
  background: transparent;
  border: 2px solid #EEEEEE;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #666;
  width: 32px;
  height: 32px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
}

.vote-btn:hover:not(:disabled) {
  border-color: #134686;
  background: #FDF4E3;
}

.vote-btn.upvote.active {
  border-color: #134686;
  background: #134686;
  color: white;
}

.vote-btn.downvote.active {
  border-color: #ED3F27;
  background: #ED3F27;
  color: white;
}

.vote-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.vote-count {
  font-weight: 700;
  color: #222831;
  min-width: 24px;
  text-align: center;
  font-size: 0.95rem;
}

body.density-compact .vote-controls {
  gap: 0.35rem;
  padding: 0.15rem;
}

body.density-compact .vote-btn {
  width: 24px;
  height: 24px;
  padding: 0.2rem;
}

body.density-compact .vote-count {
  font-size: 0.85rem;
  min-width: 20px;
}

body.density-comfortable .vote-controls {
  gap: 0.4rem;
  padding: 0.2rem;
}

body.density-comfortable .vote-btn {
  width: 26px;
  height: 26px;
}

/* Dark Mode */
body.theme-dark {
  background: #1a1a1a;
  color: #e0e0e0;
}

body.theme-dark nav {
  background: #0f3460;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

body.theme-dark .search-input {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: white;
}

body.theme-dark .search-input:focus {
  background: rgba(255,255,255,0.2);
  color: white;
  border-color: #FEB21A;
}

body.theme-dark .notice {
  background: #2a2a2a;
  color: #4db8ff;
  border-color: #134686;
}

body.theme-dark .alert {
  background: #2a2a2a;
  color: #ff6b6b;
  border-color: #ED3F27;
}

body.theme-dark .new-post,
body.theme-dark .post,
body.theme-dark .settings-form,
body.theme-dark .reply-form,
body.theme-dark .reply-form-inline,
body.theme-dark .user-stats-widget,
body.theme-dark .trending-widget,
body.theme-dark .feed-tabs,
body.theme-dark .profile-stats,
body.theme-dark .hashtag-header,
body.theme-dark .conversation-item,
body.theme-dark .messages-container,
body.theme-dark .message-form,
body.theme-dark .pagination-wrapper {
  background: #2a2a2a;
  border-color: #3a3a3a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

body.theme-dark .post:hover {
  border-color: #4db8ff;
}

body.theme-dark .post.private-post {
  background: linear-gradient(135deg, #2a2520 0%, #2a2a2a 100%);
  border-color: #d4941a;
}

body.theme-dark .post strong,
body.theme-dark .container a,
body.theme-dark .hashtag,
body.theme-dark .tag-name,
body.theme-dark .profile-stats,
body.theme-dark .profile-tabs,
body.theme-dark .user-list-item {
  background: #2a2a2a;
  border-color: #3a3a3a;
}

body.theme-dark .stat-link {
  color: #e0e0e0;
}

body.theme-dark .stat-link:hover {
  background: #3a3a3a;
}

body.theme-dark .stat-link strong {
  color: #4db8ff;
}

body.theme-dark .profile-tab {
  color: #e0e0e0;
}

body.theme-dark .profile-tab:hover {
  background: #3a3a3a;
  color: #4db8ff;
}

body.theme-dark .profile-tab.active {
  background: #4db8ff;
  color: #1a1a1a;
  border-color: #4db8ff;
}

body.theme-dark .user-list-item:hover {
  border-color: #4db8ff;
}

body.theme-dark .user-link {
  color: #e0e0e0;
}

body.theme-dark .user-info strong {
  color: #4db8ff;
}

body.theme-dark .user-stats-mini {
  color: #999;
}

body.theme-dark .btn-primary-small {
  background: #FEB21A;
  color: #1a1a1a;
  border-color: #FEB21A;
}

body.theme-dark .btn-primary-small:hover {
  background: #4db8ff;
  border-color: #4db8ff;
  color: #1a1a1a;
}

body.theme-dark .btn-secondary-small {
  background: #3a3a3a;
  color: #e0e0e0;
  border-color: #3a3a3a;
}

body.theme-dark .btn-secondary-small:hover {
  background: #ED3F27;
  border-color: #ED3F27;
  color: white;
}

body.theme-dark .profile-stats strong,
body.theme-dark .stat-value,
body.theme-dark .trending-widget h3,
body.theme-dark .user-stats-widget h3,
body.theme-dark h1,
body.theme-dark h2,
body.theme-dark .conversation-header strong,
body.theme-dark .feed-title h1,
body.theme-dark .empty-state h3 {
  color: #4db8ff;
}

body.theme-dark .feed-subtitle,
body.theme-dark .empty-state p {
  color: #b0b0b0;
}

body.theme-dark .feed-tab {
  color: #e0e0e0;
}

body.theme-dark .feed-tab:hover {
  background: #3a3a3a;
  color: #4db8ff;
}

body.theme-dark .feed-tab.active {
  background: #4db8ff;
  color: #1a1a1a;
  border-color: #4db8ff;
}

body.theme-dark .feed-tab.active:hover {
  background: #4db8ff;
  color: #1a1a1a;
}

body.theme-dark .welcome-banner {
  background: linear-gradient(135deg, #1a4d7a 0%, #2a5a8a 100%);
}

body.theme-dark .welcome-actions .btn-primary {
  background: #FEB21A;
  color: #1a1a1a;
  border-color: #FEB21A;
}

body.theme-dark .welcome-actions .btn-primary:hover {
  background: #ED3F27;
  border-color: #ED3F27;
  color: white;
}

body.theme-dark .welcome-actions .btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

body.theme-dark .welcome-actions .btn-secondary:hover {
  background: white;
  color: #1a4d7a;
}

body.theme-dark .empty-state {
  background: #2a2a2a;
  border-color: #3a3a3a;
}

body.theme-dark .post p,
body.theme-dark .timestamp,
body.theme-dark .stat-label,
body.theme-dark .tag-count,
body.theme-dark .reply-count,
body.theme-dark .last-message {
  color: #b0b0b0;
}

body.theme-dark .widget-header-link h3 {
  color: #4db8ff;
}

body.theme-dark .widget-header-link:hover {
  background: #3a3a3a;
}

body.theme-dark .view-profile-hint {
  color: #999;
}

body.theme-dark .stat-item {
  background: #1f1f1f;
}

body.theme-dark .stat-item-link:hover {
  background: #4db8ff;
}

body.theme-dark .stat-item-link:hover .stat-label {
  color: #1a1a1a;
}

body.theme-dark .stat-item-link:hover .stat-value {
  color: #1a1a1a;
}

body.theme-dark .stat-label {
  color: #e0e0e0;
}

body.theme-dark .stat-value {
  color: #4db8ff;
}

body.theme-dark .post button,
body.theme-dark .btn-secondary {
  background: #3a3a3a;
  border-color: #3a3a3a;
  color: #e0e0e0;
}

body.theme-dark .post button:hover,
body.theme-dark .btn-secondary:hover {
  background: #ED3F27;
  border-color: #ED3F27;
  color: white;
}

body.theme-dark .new-post textarea,
body.theme-dark .reply-form textarea,
body.theme-dark .reply-form-inline textarea,
body.theme-dark form input[type="text"],
body.theme-dark form input[type="email"],
body.theme-dark form input[type="password"],
body.theme-dark .form-input,
body.theme-dark .message-input-wrapper textarea {
  background: #1a1a1a;
  border-color: #3a3a3a;
  color: #e0e0e0;
}

body.theme-dark .new-post textarea:focus,
body.theme-dark .reply-form textarea:focus,
body.theme-dark .reply-form-inline textarea:focus,
body.theme-dark form input[type="text"]:focus,
body.theme-dark form input[type="email"]:focus,
body.theme-dark form input[type="password"]:focus,
body.theme-dark .form-input:focus,
body.theme-dark .message-input-wrapper textarea:focus {
  border-color: #4db8ff;
}

body.theme-dark .feed-tab {
  color: #e0e0e0;
}

body.theme-dark .feed-tab:hover {
  background: #3a3a3a;
  color: #4db8ff;
}

body.theme-dark .feed-tab.active {
  background: #0f3460;
  color: white;
  border-color: #0f3460;
}

body.theme-dark .stat-item,
body.theme-dark .privacy-toggle:hover,
body.theme-dark .trending-list a:hover {
  background: #3a3a3a;
}

body.theme-dark .hashtag-suggestions,
body.theme-dark .hashtag-search .hashtag-suggestions {
  background: #2a2a2a;
  border-color: #4db8ff;
  box-shadow: 0 4px 12px rgba(77, 184, 255, 0.2);
}

body.theme-dark .suggestion-item {
  border-bottom-color: #3a3a3a;
}

body.theme-dark .suggestion-item:hover,
body.theme-dark .suggestion-item.selected {
  background: #3a3a3a;
}

body.theme-dark .suggestion-tag,
body.theme-dark .hashtag-search .suggestion-tag {
  color: #4db8ff;
}

body.theme-dark .suggestion-count,
body.theme-dark .hashtag-search .suggestion-count {
  background: #3a3a3a;
  color: #b0b0b0;
}

body.theme-dark .suggestion-item.selected .suggestion-tag,
body.theme-dark .hashtag-search .suggestion-item.selected .suggestion-tag {
  color: #FEB21A;
}

body.theme-dark .suggestion-section {
  background: #3a3a3a;
  border-bottom-color: #3a3a3a;
}

body.theme-dark .hashtag-suggestions::before {
  background: #3a3a3a;
  border-bottom-color: #3a3a3a;
  color: #b0b0b0;
}

body.theme-dark .message-bubble.sent {
  background: #0f3460;
}

body.theme-dark .message-bubble.received {
  background: #3a3a3a;
  color: #e0e0e0;
}

body.theme-dark .reply-item {
  background: #2a2a2a;
  border-color: #3a3a3a;
}

body.theme-dark .reply-item:hover {
  border-color: #4db8ff;
}

body.theme-dark .reply-item::before {
  background: #3a3a3a;
}

body.theme-dark .reply-form-inline {
  background: #1f1f1f;
  border-color: #3a3a3a;
}

body.theme-dark .replies-container {
  border-left-color: #3a3a3a;
}

body.theme-dark .density-option {
  background: #2a2a2a;
  border-color: #3a3a3a;
}

body.theme-dark .density-option:hover {
  border-color: #4db8ff;
  background: #3a3a3a;
}

body.theme-dark .density-option.selected {
  border-color: #4db8ff;
  background: #3a3a3a;
}

body.theme-dark .density-preview strong {
  color: #4db8ff;
}

body.theme-dark .density-preview p,
body.theme-dark .form-hint {
  color: #b0b0b0;
}

/* Dark Theme - New Settings Page */
body.theme-dark .settings-page {
  background: transparent;
}

body.theme-dark .settings-header {
  border-bottom-color: #3a3a3a;
}

body.theme-dark .settings-header h1 {
  color: #4db8ff;
}

body.theme-dark .btn-secondary-small {
  background: #3a3a3a;
  color: #e0e0e0;
}

body.theme-dark .btn-secondary-small:hover {
  background: #4db8ff;
  color: #1a1a1a;
}

body.theme-dark .settings-card {
  background: #2a2a2a;
  border-color: #3a3a3a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

body.theme-dark .settings-card-title {
  color: #4db8ff;
  border-bottom-color: #3a3a3a;
}

body.theme-dark .settings-label {
  color: #e0e0e0;
}

body.theme-dark .settings-option-compact {
  background: #1f1f1f;
  border-color: #3a3a3a;
}

body.theme-dark .settings-option-compact:hover {
  border-color: #4db8ff;
  background: #3a3a3a;
}

body.theme-dark .settings-option-compact.selected {
  border-color: #4db8ff;
  background: #3a3a3a;
}

body.theme-dark .settings-option-compact span {
  color: #e0e0e0;
}

body.theme-dark .settings-select,
body.theme-dark .settings-input {
  background: #1f1f1f;
  border-color: #3a3a3a;
  color: #e0e0e0;
}

body.theme-dark .settings-select:focus,
body.theme-dark .settings-input:focus {
  border-color: #4db8ff;
}

body.theme-dark .settings-actions {
  border-top-color: #3a3a3a;
}

/* Dark Theme - Auth Forms */
body.theme-dark .auth-form {
  background: #2a2a2a;
  border-color: #3a3a3a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

body.theme-dark .auth-form h1 {
  color: #4db8ff;
}

body.theme-dark .auth-subtitle {
  color: #b0b0b0;
}

body.theme-dark .auth-form .form-group label {
  color: #e0e0e0;
}

body.theme-dark .auth-form .form-input {
  background: #1f1f1f;
  border-color: #3a3a3a;
  color: #e0e0e0;
}

body.theme-dark .auth-form .form-input:focus {
  border-color: #4db8ff;
  box-shadow: 0 0 0 3px rgba(77, 184, 255, 0.1);
}

body.theme-dark .auth-form .form-input::placeholder {
  color: #666;
}

body.theme-dark .auth-links {
  border-top-color: #3a3a3a;
}

body.theme-dark .auth-links p {
  color: #b0b0b0;
}

body.theme-dark .auth-links a {
  color: #4db8ff;
}

body.theme-dark .auth-links a:hover {
  color: #FEB21A;
}

body.theme-dark .auth-link-highlight {
  color: #FEB21A !important;
}

body.theme-dark .auth-link-highlight:hover {
  color: #4db8ff !important;
}

body.theme-dark .auth-errors {
  background: #3a2a2a;
  border-left-color: #ED3F27;
}

body.theme-dark .auth-errors strong {
  color: #ff6b6b;
}

body.theme-dark .auth-errors li {
  color: #e0e0e0;
}

body.theme-dark .form-hint {
  color: #999;
}

body.theme-dark .auth-divider::before {
  background: #3a3a3a;
}

body.theme-dark .auth-divider span {
  background: #2a2a2a;
  color: #b0b0b0;
}

body.theme-dark .oauth-btn {
  background: #1f1f1f;
  border-color: #3a3a3a;
  color: #e0e0e0;
}

body.theme-dark .oauth-btn:hover {
  border-color: #4db8ff;
  background: #2a2a2a;
}

body.theme-dark .oauth-btn-google:hover {
  background: #2a2a2a;
}

body.theme-dark .pagination a,
body.theme-dark .pagination span {
  background: #2a2a2a;
  border-color: #e0e0e0;
  color: #e0e0e0;
}

body.theme-dark .pagination a:hover {
  background: #0f3460;
  border-color: #0f3460;
  color: white;
}

body.theme-dark .pagination .current {
  background: #0f3460;
  border-color: #0f3460;
}

body.theme-dark .pagination .disabled {
  background: #1a1a1a;
  border-color: #3a3a3a;
  color: #5a5a5a;
}

body.theme-dark .pagination .first,
body.theme-dark .pagination .last,
body.theme-dark .pagination .prev,
body.theme-dark .pagination .next {
  background: #3a3a3a;
  border-color: #e0e0e0;
}

body.theme-dark .vote-btn {
  border-color: #3a3a3a;
  color: #b0b0b0;
}

body.theme-dark .vote-btn:hover:not(:disabled) {
  border-color: #4db8ff;
  background: #3a3a3a;
}

body.theme-dark .vote-count {
  color: #e0e0e0;
}

body.theme-dark .errors {
  background: #2a2a2a;
  border-color: #ED3F27;
}

/* Profile Bio */
.profile-bio {
  margin: 0.75rem 0 0 0;
  color: #666;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 600px;
}

/* Settings Textarea */
.settings-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  font-size: 1rem;
  color: #222831;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  resize: vertical;
  transition: border-color 0.2s;
}

.settings-textarea:focus {
  outline: none;
  border-color: #134686;
}

/* User Hover Tooltip */
.user-tooltip {
  position: relative;
  display: inline-block;
}

.user-tooltip .tooltip-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: #222831;
  padding: 1rem;
  border-radius: 8px;
  border: 2px solid #134686;
  box-shadow: 0 4px 12px rgba(19, 70, 134, 0.2);
  z-index: 1000;
  min-width: 250px;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
}

.user-tooltip .tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #134686;
}

.user-tooltip:hover .tooltip-content {
  visibility: visible;
  opacity: 1;
}

.tooltip-username {
  color: #134686;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
}

.tooltip-bio {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.tooltip-stats {
  display: flex;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #EEEEEE;
  font-size: 0.85rem;
}

.tooltip-stat {
  color: #666;
}

.tooltip-stat strong {
  color: #134686;
  font-weight: 700;
}

/* Repost Styles */
.repost-post {
  border-left: 4px solid #FEB21A !important;
}

.repost-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #EEEEEE;
}

.repost-indicator svg {
  color: #FEB21A;
}

.repost-comment {
  margin: 0.75rem 0;
  color: #222831;
  line-height: 1.5;
  font-weight: 500;
}

.quoted-post {
  margin: 0.75rem 0;
  padding: 1rem;
  background: #FDF4E3;
  border-left: 4px solid #134686;
  border-radius: 8px;
}

.quoted-post-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.quoted-post p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.4;
}

.btn-repost {
  background: #EEEEEE;
  border: 2px solid #EEEEEE;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #222831;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.btn-repost:hover {
  background: #FEB21A;
  border-color: #FEB21A;
  color: #222831;
}

.repost-count {
  color: #666;
  font-size: 0.9rem;
  margin-left: 0.25rem;
}

.repost-form-inline {
  background: white;
  border: 2px solid #FEB21A;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(254, 178, 26, 0.15);
}

.repost-form-inline .textarea-wrapper {
  margin-bottom: 1rem;
}

.repost-form-inline textarea {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  resize: vertical;
  color: #222831;
  transition: border-color 0.2s;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 80px;
}

.repost-form-inline textarea:focus {
  outline: none;
  border-color: #FEB21A;
  box-shadow: 0 0 0 3px rgba(254, 178, 26, 0.1);
}

.repost-form-inline textarea::placeholder {
  color: #999;
}

.repost-preview {
  background: #FDF4E3;
  border-left: 4px solid #134686;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.repost-preview-header {
  margin-bottom: 0.5rem;
  color: #134686;
  font-size: 0.9rem;
  font-weight: 600;
}

.repost-preview-content {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Thread/Post Landing Page */
.thread-header {
  margin-bottom: 2rem;
}

.thread-container {
  max-width: 800px;
  margin: 0 auto;
}

.main-post {
  margin-bottom: 2rem;
}

.engagement-stats {
  display: flex;
  gap: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  border: 2px solid #EEEEEE;
  margin-bottom: 2rem;
  justify-content: center;
}

.engagement-stats .stat-item {
  text-align: center;
}

.engagement-stats .stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: #134686;
  margin-bottom: 0.25rem;
}

.engagement-stats .stat-item span {
  color: #666;
  font-size: 0.9rem;
}

.thread-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: white;
  border-radius: 12px;
  padding: 0.5rem;
  border: 2px solid #EEEEEE;
}

.thread-tab {
  flex: 1;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: #222831;
  font-weight: 600;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.thread-tab:hover {
  background: #FDF4E3;
  color: #134686;
}

.thread-tab.active {
  background: #134686;
  color: white;
  border-color: #134686;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.reply-form {
  background: white;
  border: 2px solid #134686;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.reply-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  resize: vertical;
  color: #222831;
  transition: border-color 0.2s;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin-bottom: 1rem;
  min-height: 100px;
}

.reply-form textarea:focus {
  outline: none;
  border-color: #134686;
}

.replies-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reply-item {
  background: white;
  border: 2px solid #EEEEEE;
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.reply-item:hover {
  border-color: #134686;
}

.reply-content .post-header {
  margin-bottom: 0.75rem;
}

.btn-delete-small {
  background: #ED3F27;
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  transition: all 0.2s;
}

.btn-delete-small:hover {
  background: #d63520;
}

.empty-state-small {
  text-align: center;
  padding: 2rem;
  background: white;
  border: 2px dashed #EEEEEE;
  border-radius: 12px;
  color: #666;
}

.reposts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.repost-item {
  background: white;
  border: 2px solid #EEEEEE;
  border-left: 4px solid #FEB21A;
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.repost-item:hover {
  border-color: #FEB21A;
}

.repost-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.repost-no-comment {
  color: #999;
  font-style: italic;
  margin: 0;
}

.timestamp-link {
  text-decoration: none;
  transition: opacity 0.2s;
}

.timestamp-link:hover {
  opacity: 0.7;
}

.timestamp-link .timestamp {
  cursor: pointer;
}
