/* Ensure news image container is relative for badge positioning */
.news-image {
  position: relative;
}
/* Modern comments section */

.news-content .comments-section {
  background: #18181f !important;
  border: 1.5px solid #ff4081 !important;
  border-radius: 14px !important;
  padding: 22px 18px 10px 18px !important;
  margin: 18px 0 0 0 !important;
  box-shadow: 0 2px 12px 0 #0002 !important;
}

.news-content .comment-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(180deg, rgba(14,14,18,0.6), rgba(20,20,26,0.6));
  border: 1px solid rgba(233,30,99,0.10);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  padding: 14px 16px;
  margin-bottom: 14px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.comment-avatar img,
.profile-img.small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e91e63;
}

.avatar-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #444;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  border: 2px solid #e91e63;
}

.comment-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.comment-meta,
.comment-time {
  position: static !important;
}

/* Show comments-section only when active */
.news-content .comments-section.active {
  display: block !important;
}

/* Removed empty ruleset for .news-content .comments-section */
.news-content .comments-section.active .news-comment-form {
  display: flex !important;
}
/* Forțează afișarea și stilizarea comentariilor DOAR pe pagina de news, indiferent de index.css */
.news-content .comments-section {
   background: rgba(0, 0, 0, 0.6) !important;
  ;
  padding: 18px 18px 10px 18px !important;
  margin: 12px 0 0 0 !important;
  z-index: 1 !important;
  position: relative !important;
  display: none !important;
}

.news-content .comments-list {
  display: block !important;
  max-height: 350px !important;
  overflow-y: auto !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  background: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.news-content .comment-item {
  display: flex;
  gap: 12px;
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(233,30,99,0.06);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.news-content .comment-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
  border-color: rgba(233,30,99,0.14);
}
  
.comment-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e91e63;
}

.comment-avatar {
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment-body .comment-text {
  color: #d8d8d8;
  line-height: 1.6;
  margin-top: 6px;
  font-size: 0.98rem;
  white-space: pre-wrap;
}

.comment-body .comment-header .comment-username .premium-badge {
  margin-left: 6px;
  transform: translateY(-1px);
}

/* Comment form and submit button */
.news-comment-form {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.news-comment-form .news-comment-input {
  flex: 1 1 auto !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  background: rgba(10,10,12,0.45) !important;
  border: 1px solid rgba(255,255,255,0.04) !important;
}

.news-comment-form .news-submit-comment {
  background: linear-gradient(180deg,#ff5c98,#e91e63);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(233,30,99,0.14);
}

.news-comment-form .news-submit-comment:active { transform: translateY(1px); }

.comment-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

/* Username + timp grupate pe stânga */
.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-username {
  font-weight: 600;
  color: #ff4081;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.08em;
}

.username-link {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  cursor: pointer;
}

.username-link:hover {
  text-decoration: underline;
}

/* Badge styles moved to /css/badges.css */

.comment-time {
  font-size: 0.88em;
  color: #888;
  margin-left: 12px;
  white-space: nowrap;
}
.news-content .news-comment-input {
    flex: 1 1 auto !important;
    padding: 10px 16px !important;
    border: 1.5px solid #23232b !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 1em !important;
    outline: none !important;
    margin-right: 10px !important;
    box-shadow: none !important;
    transition: border 0.18s;
}

/* Ascunde scrollbar-ul la lista de comentarii */
.news-content .comments-list {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.news-content .comments-list::-webkit-scrollbar {
  display: none;
}

/* Move char-count numbers lower in news section */
.news-section .char-count {
  margin-top: 12px; /* ajustează cât vrei, 12-20px arată bine */
  margin-left: 16px; /* aliniere cu inputul, ajustează dacă vrei */
  display: block;
  color: #aaa;
  font-size: 1rem;
}

/* Add spacing below input labels in news section */
.news-section .input-group label {
  margin-bottom: 10px;
  display: block;
}

/* News post card styles moved from news.html */

/* Discover-style news card */
.news-post {
  cursor: pointer;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.13);
  background: #23232b;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1.5px solid #23232b;
  transition: box-shadow 0.18s, border 0.18s, background 0.18s, transform 0.14s;
  position: relative;
}

.news-post:hover,
.news-post:focus {
  border: 1.5px solid #e91e63;
  background: #262636;
  box-shadow: 0 4px 24px 0 rgba(233,30,99,0.13);
  transform: translateY(-2px) scale(1.012);
}

.news-post:active {
  outline: none;
  box-shadow: 0 0 0 2px #e91e63;
  background: #23232b;
}


/* Simplified news-source style */

/* Improved news-source style: modern, clean, slightly accentuated */

/* Simple & professional news-source style */




.news-source {
  display: inline-flex;
  align-items: center;
  background: #23232b !important;
  color: #bdbdbd;
  border: none;
  border-radius: 7px;
  padding: 2px 8px;
  font-size: 0.93em;
  font-weight: 500;
  margin: 6px 8px 0 2px;
  text-decoration: none;
  gap: 5px;
  transition: background 0.14s, color 0.14s;
}

.news-source i {
  color: #888;
  font-size: 0.98em;
  margin-right: 4px;
  filter: none;
  transition: color 0.14s;
}




.news-source:hover,
.news-source:focus {
  background: #23232b !important;
  color: #fff;
  border: none;
  text-decoration: none;
}

.news-source:hover i,
.news-source:focus i {
  color: #fff;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.nav-item {
  text-decoration: none;
  margin-bottom: 10px;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.nav-item:hover {
  background-color: #333;
}

.nav-item i {
  margin-right: 15px;
  width: 20px;
}

.nav-item.active {
  background-color: #333;
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 20px;
}

/* Search Trigger */
.search-trigger {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

/* News Page Specific Styles */
.news-content {
  margin-left: 250px;
  padding: 40px 20px;
  max-width: 100%;
  width: calc(100% - 250px);
  box-sizing: border-box;
}

/* News Header */
.news-header {
  margin-bottom: 30px;
  padding: 20px 20px 16px 20px;
  border-bottom: 2px solid rgba(233, 30, 99, 0.4);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px 12px 0 0;
  text-align: center;
}

.news-header h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}

.news-header i {
  color: #e91e63;
  font-size: 26px;
}

.news-header p {
  color: #bbb;
  font-size: 15px;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.news-header a,
.news-header button {
  background: linear-gradient(135deg, #e91e63, #ff4081);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.news-header a:hover,
.news-header button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(233, 30, 99, 0.5);
}

/* News Feed */
.news-feed {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

/* News Post */
.news-post {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(233, 30, 99, 0.25);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.news-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(233, 30, 99, 0.3);
  border-color: rgba(233, 30, 99, 0.5);
}

/* News Image */
.news-image {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.news-post:hover .news-image img {
  transform: scale(1.08);
}

.news-category {
  position: absolute;
  top: 18px;
  left: 18px;
  background: linear-gradient(135deg, #e91e63, #ff4081);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
  z-index: 1;
}

/* News Content */
.news-post .news-content {
  padding: 24px 28px;
  margin-left: 0;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

.news-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
  color: #bbb;
  font-size: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Specific styling for news time */
.news-time {
  color: #ff4081 !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 0 8px rgba(255, 64, 129, 0.3);
}

.news-source {
  color: #999 !important;
  transition: color 0.3s ease;
}

.news-source:hover {
  color: #fff !important;
}

.news-title {
  color: #fff;
  font-size: 24px;
  margin-bottom: 14px;
  line-height: 1.4;
  font-weight: 800;
  background: linear-gradient(90deg, #ff4081 0%, #e91e63 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-title:hover {
  background: linear-gradient(90deg, #fff 0%, #ff4081 50%, #e91e63 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.news-excerpt {
  color: #bbb;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.news-excerpt.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt-container {
  margin-bottom: 20px;
}

.show-more-btn {
  background: rgba(255, 64, 129, 0.1);
  border: 1px solid rgba(255, 64, 129, 0.3);
  border-radius: 6px;
  color: #ff4081;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.show-more-btn:hover {
  background: rgba(255, 64, 129, 0.15);
  border-color: rgba(255, 64, 129, 0.5);
  transform: translateY(-1px);
}

.show-more-btn:active {
  transform: translateY(0);
}


/* News Actions */
.news-actions {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0 0 0;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.action-btn {
  color: rgba(255, 255, 255, 0.8);
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.action-btn:hover {
  color: #e91e63;
  transform: scale(1.05);
}

.action-btn i {
  color: #e91e63;
}

.action-btn:hover i {
  animation: pulse 0.3s ease;
}

.action-btn i {
  font-size: 16px;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* ============================================
   RESPONSIVE DESIGN - Mobile First Approach
   ============================================ */

/* Tablet & Medium Screens */
@media (max-width: 1200px) {
    .news-content {
        margin-left: 250px;
        width: calc(100% - 250px);
        padding: 2rem 1.5rem;
    }

    .news-feed {
        max-width: 650px;
    }
}

/* Tablets & Small Laptops */
@media (max-width: 768px) {
    /* Sidebar collapse */
    .sidebar {
        width: 70px;
    }
    
    .nav-item span {
        display: none;
    }
    
    .logo img {
        max-width: 40px;
    }

    /* Main content area */
    .news-content {
        margin-left: 70px;
        width: calc(100% - 70px);
        padding: 1.5rem 1rem;
    }

    .news-feed {
        max-width: 100%;
        gap: 1.5rem;
    }

    .news-post {
        width: 100%;
    }

    /* Header adjustments */
    .news-header {
        margin-bottom: 1.5rem;
    }

    .news-header h1 {
        font-size: 20px;
    }

    .news-header p {
        font-size: 13px;
    }
    
    /* Post elements */
    .news-image {
        height: 280px;
    }

    .news-info {
        padding: 16px;
    }

    .news-title {
        font-size: 17px;
    }

    .news-description {
        font-size: 14px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    /* Override container grid on news page */
    .container {
        display: block !important;
        grid-template-columns: none !important;
        padding: 0 !important;
    }

    /* Hide sidebar completely */
    .sidebar {
        display: none !important;
    }

    /* Full width content with centered feed */
    .news-content {
        margin: 0 auto !important;
        width: 100% !important;
        padding: 1rem 1rem 6rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    .news-feed {
        gap: 1.25rem !important;
        width: 100% !important;
        max-width: 380px !important;
        margin: 0 auto !important;
        padding: 0 0 1rem 0 !important;
    }

    .news-post {
        border-radius: 18px !important;
        width: 100% !important;
        margin: 0 auto !important;
        max-width: 380px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
        border: 1.5px solid rgba(233, 30, 99, 0.25) !important;
        overflow: hidden !important;
        transition: all 0.3s ease !important;
    }

    .news-post:active {
        transform: scale(0.98) !important;
    }

    /* Header compact & modern */
    .news-header {
        margin-bottom: 1.25rem !important;
        padding: 0.75rem 0.5rem !important;
        width: 100% !important;
        max-width: 380px !important;
        border-bottom: 1px solid rgba(233, 30, 99, 0.3) !important;
        text-align: center !important;
        background: rgba(0, 0, 0, 0.3) !important;
        border-radius: 12px 12px 0 0 !important;
    }

    .news-header h1 {
        font-size: 20px !important;
        gap: 8px !important;
        justify-content: center !important;
        margin-bottom: 0.5rem !important;
        font-weight: 700 !important;
    }

    .news-header p {
        font-size: 12px !important;
        margin-left: 0 !important;
        color: #999 !important;
        line-height: 1.4 !important;
        margin-bottom: 0.5rem !important;
    }

    /* Apply button in header */
    .news-header a,
    .news-header button {
        font-size: 12px !important;
        padding: 6px 12px !important;
        border-radius: 8px !important;
        display: inline-block !important;
        margin-top: 0.25rem !important;
    }
    
    /* Post elements - more modern & compact */
    .news-image {
        height: 200px !important;
        border-radius: 16px 16px 0 0 !important;
        object-fit: cover !important;
    }

    /* News content padding on mobile */
    .news-post .news-content {
        padding: 16px 18px 12px 18px !important;
    }

    .news-info {
        padding: 16px !important;
    }

    .news-title {
        font-size: 17px !important;
        line-height: 1.4 !important;
        margin-bottom: 0.5rem !important;
        font-weight: 600 !important;
    }

    .news-description {
        font-size: 14px !important;
        line-height: 1.6 !important;
        color: #bbb !important;
        margin-bottom: 0.75rem !important;
    }

    .news-meta {
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 0.75rem !important;
    }

    .news-category {
        font-size: 11px !important;
        padding: 4px 10px !important;
        border-radius: 12px !important;
        font-weight: 600 !important;
    }

    .news-source {
        font-size: 11px !important;
        padding: 3px 8px !important;
        border-radius: 8px !important;
    }

    .news-actions {
        gap: 16px !important;
        padding: 0.75rem 0 0 0 !important;
        margin-top: 0.5rem !important;
        margin-bottom: 0 !important;
        border-top: 1px solid rgba(233, 30, 99, 0.1) !important;
    }

    .action-btn {
        font-size: 14px !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
        transition: all 0.2s ease !important;
    }

    .action-btn:hover {
        background: rgba(233, 30, 99, 0.1) !important;
        transform: scale(1.05) !important;
    }

    /* Comments Section on Mobile */
    .news-content .comments-section {
        margin: 1rem 0 0 0 !important;
        padding: 1rem !important;
        border-radius: 16px !important;
        background: rgba(0, 0, 0, 0.6) !important;
        border: 1px solid rgba(233, 30, 99, 0.2) !important;
    }

    .news-content .comments-list {
        max-height: 300px !important;
        margin-bottom: 1rem !important;
    }

    .news-content .comment-item {
        padding: 12px !important;
        margin-bottom: 10px !important;
        border-radius: 12px !important;
        background: rgba(0, 0, 0, 0.4) !important;
    }

    .comment-avatar img {
        width: 36px !important;
        height: 36px !important;
    }

    .comment-username {
        font-size: 14px !important;
    }

    .comment-text {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .comment-time {
        font-size: 11px !important;
    }

    /* Comment Form on Mobile */
    .news-content .news-comment-form {
        display: flex !important;
        gap: 8px !important;
        align-items: center !important;
        padding: 0 !important;
    }

    .news-content .news-comment-input {
        flex: 1 !important;
        padding: 10px 12px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
        background: rgba(0, 0, 0, 0.5) !important;
        border: 1px solid rgba(233, 30, 99, 0.2) !important;
        color: #fff !important;
        margin-right: 0 !important;
    }

    .news-content .news-comment-input::placeholder {
        color: #888 !important;
    }

    .news-content .news-comment-form button,
    .news-content .news-comment-form .send-btn {
        padding: 10px 16px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
        margin-left: 0 !important;
        white-space: nowrap !important;
    }
}


/* Search bar */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: flex-start;
}

.search-overlay.active {
  display: flex;
}

.search-container {
  width: 100%;
  max-width: 600px;
  background-color: #121212;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.search-header {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #333;
}

.search-header i {
  color: #e91e63;
  margin-right: 12px;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  outline: none;
}

.search-input::placeholder {
  color: #666;
}

.close-search {
  background: none;
  border: none;
  color: #e91e63;
  cursor: pointer;
  padding: 8px;
}

.close-search:hover {
  color: #ff4081;
}

.search-results {
  max-height: 70vh;
  overflow-y: auto;
}

.search-section {
  padding: 16px;
  border-bottom: 1px solid #333;
}

.search-section h3 {
  color: #e91e63;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  color: white;
}

.search-item:hover {
  background-color: #333;
}

.item-meta {
  color: #e91e63;
  font-size: 14px;
}

/* Modificăm butonul de search din sidebar să fie button în loc de link */
.search-trigger {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

/* Responsive adjustments for search */
@media (max-width: 768px) {
  .search-container {
    margin: 0;
    height: 100%;
    max-width: none;
    border-radius: 0;
  }

  .search-results {
    max-height: calc(100vh - 70px);
  }
}

/* Breaking News Badge */
.breaking-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ff4757, #ff3742);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  animation: pulse 2s infinite;
}

.breaking-badge i {
  margin-right: 4px;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
  }
}

/* No News / Error Messages */
.no-news,
.error-message {
  text-align: center;
  padding: 60px 20px;
  color: #888;
}

.no-news i,
.error-message i {
  font-size: 48px;
  color: #666;
  margin-bottom: 20px;
}

.no-news p,
.error-message p {
  font-size: 18px;
  color: #888;
}

.error-message {
  color: #ff4757;
}

.error-message i {
  color: #ff4757;
}

/* Loading Spinner */
.loading-spinner {
  text-align: center;
  padding: 60px 20px;
  color: #e91e63;
}

.loading-spinner i {
  font-size: 48px;
  margin-bottom: 20px;
}

.loading-spinner p {
  font-size: 18px;
  color: #888;
}
.comment-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e91e63;
}
.profile-img.small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e91e63;
}

.avatar-initial {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #444;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  border: 2px solid #e91e63;
}

/* Badge styles moved to /css/badges.css */

.username-link {
  color: inherit;         /* Păstrează culoarea textului părinte */
  text-decoration: none;  /* Elimină sublinierea */
  font-weight: bold;      /* Ca să pară nume de utilizator */
  cursor: pointer;
}

.username-link:hover {
  text-decoration: underline; /* (opțional) subliniere la hover */
}
.news-content .comments-list {
  scrollbar-width: none;         /* Firefox */
  -ms-overflow-style: none;      /* IE 10+ */
}
.news-content .comments-list::-webkit-scrollbar {
  display: none;                 /* Chrome, Safari, Opera */
}

.news-content .news-comment-form button,
.news-content .news-comment-form .send-btn {
  background: #ff4081;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 18px;
  font-size: 0.98em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s;
  margin-left: 10px;
  box-shadow: 0 2px 8px 0 #ff408122;
}

.news-content .news-comment-form button:hover,
.news-content .news-comment-form .send-btn:hover {
  background: #e91e63;
  transform: scale(1.04);
}