/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #2d4a3e;
    /* DARK BACKGROUND WITH GOLDEN DIAGONAL LINES - Like template */
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 215, 0, 0.08) 2px,
            rgba(255, 215, 0, 0.08) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(255, 215, 0, 0.05) 2px,
            rgba(255, 215, 0, 0.05) 4px
        );
    min-height: 100vh;
}

/* UPDATED Color Palette - Exact Template Colors */
:root {
    --welsh-green: #5d8b73;
    --dark-welsh-green: #4a6b5a;
    --light-welsh-green: #7ba490;
    --cream: #f7f5f3;
    --dark-cream: #f0ede8;
    --accent-orange: #d97706;
    
    /* DARK THEME COLORS */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #3a3a3a;
    
    /* LIGHT CONTENT AREAS */
    --content-bg: #f7f5f3;
    --content-secondary: #f0ede8;
    
    --text-primary: #2d4a3e;
    --text-secondary: #5d6d66;
    --text-light: #e8e5e0;
    --text-muted: #a8a8a8;
    
    --border-color: #444444;
    --border-light: #d4d8d6;
}

/* Loading State */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    background: var(--bg-primary);
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--welsh-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-state {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 32rem;
    margin: 0 auto;
    background: var(--content-bg);
    border-radius: 1rem;
    color: var(--text-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.error-icon {
    width: 4rem;
    height: 4rem;
    color: #ef4444;
    margin: 0 auto 1rem;
}

/* Navigation - Dark with Proton Branding */
.navigation {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.back-link {
    display: flex;
    align-items: center;
    color: var(--light-welsh-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent-orange);
}

.back-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* UPDATED: Proton Logo Design - Using actual logo */
.nav-logo {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-circle {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ea580c 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
    position: relative;
    overflow: hidden;
}

/* Actual Proton Logo - Multi-colored geometric star */
/* New Proton Logo - Custom Image */
.logo-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('theproton.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo-text {
    display: none; /* Hide P completely */
}

.logo-content {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: -0.025em;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--light-welsh-green);
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-top: -0.25rem;
}

/* REMOVED: Share button completely */

/* Article Header - Cream Background with Welsh Green Text */
.article-header {
    background: var(--cream);
    color: var(--text-primary);
    padding: 3rem 0 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--welsh-green) 0%, var(--light-welsh-green) 100%);
    opacity: 0.05;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.article-category {
    display: inline-flex;
    align-items: center;
    background: var(--welsh-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(93, 139, 115, 0.3);
}

.category-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--welsh-green);
}

.article-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 48rem;
    color: var(--text-secondary);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.875rem;
}

.meta-item {
    display: flex;
    align-items: center;
    background: rgba(93, 139, 115, 0.1);
    color: var(--welsh-green);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(93, 139, 115, 0.2);
}

.meta-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Article Content - Dark background with golden lines */
.article-content {
    background: var(--bg-primary);
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 215, 0, 0.08) 2px,
            rgba(255, 215, 0, 0.08) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(255, 215, 0, 0.05) 2px,
            rgba(255, 215, 0, 0.05) 4px
        );
    min-height: 100vh;
    padding: 2rem 0;
}

.content-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* Main Content - Cream background */
.main-content {
    background: var(--content-bg);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--welsh-green);
    position: relative;
}

/* Decorative lines like template */
.main-content::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 3rem;
    height: 3px;
    background: var(--welsh-green);
    border-radius: 2px;
}

.main-content::after {
    content: '';
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3px;
    background: var(--light-welsh-green);
    border-radius: 2px;
}

.article-image {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--welsh-green);
}

.article-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--welsh-green);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-welsh-green);
}

.article-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--welsh-green);
    margin: 1.5rem 0 0.75rem;
}

.article-text p {
    margin-bottom: 1.5rem;
}

.article-text blockquote {
    background: linear-gradient(135deg, var(--welsh-green) 0%, var(--dark-welsh-green) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 2rem 0;
    border-left: 4px solid var(--accent-orange);
    font-style: italic;
    font-size: 1.1rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(93, 139, 115, 0.3);
}

.article-text blockquote::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    opacity: 0.3;
}

.highlight-box {
    background: linear-gradient(135deg, var(--dark-cream) 0%, #e8e2db 100%);
    border: 2px solid var(--light-welsh-green);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 16px rgba(93, 139, 115, 0.1);
    position: relative;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 2rem;
    height: 2px;
    background: var(--welsh-green);
    border-radius: 1px;
}

.highlight-box h4 {
    color: var(--welsh-green);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.highlight-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--welsh-green);
}

.image-caption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Sidebar - REMOVED: Author info, stats, and related articles */
.sidebar {
    display: none; /* Hide entire sidebar */
}

.sidebar-card {
    background: var(--content-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--welsh-green);
    position: relative;
}

.sidebar-card::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 2rem;
    height: 2px;
    background: var(--light-welsh-green);
    border-radius: 1px;
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--welsh-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.sidebar-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--welsh-green) 0%, var(--light-welsh-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    margin-right: 0.75rem;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(93, 139, 115, 0.3);
    border: 2px solid var(--welsh-green);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-bio {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--dark-cream) 0%, #ebe6e0 100%);
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--welsh-green);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.related-articles {
    list-style: none;
}

.related-article {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.related-article:hover {
    color: var(--welsh-green);
    transform: translateX(0.25rem);
}

.related-article:last-child {
    border-bottom: none;
}

.related-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.75rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--light-welsh-green);
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.action-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.like-btn {
    background: linear-gradient(135deg, #fef3e2 0%, #fed7aa 100%);
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
}

.like-btn:hover {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.like-btn.liked {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ea580c 100%);
    color: white;
}

/* REMOVED: Share button styles */

.btn-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Reading Progress */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(135deg, var(--welsh-green) 0%, var(--light-welsh-green) 100%);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Responsive Design */
@media (min-width: 640px) {
    .article-title {
        font-size: 3.5rem;
    }

    .main-content {
        padding: 3rem;
    }

    .article-image {
        height: 24rem;
    }
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr; /* Single column, no sidebar */
        gap: 4rem;
        max-width: 900px; /* Center the content */
        margin: 0 auto;
    }

    .article-title {
        font-size: 4rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content,
.sidebar-card {
    animation: fadeInUp 0.6s ease-out;
}

.sidebar-card:nth-child(2) {
    animation-delay: 0.2s;
}

.sidebar-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Author Card */
.author-card {
    background: rgba(93, 139, 115, 0.1);
    border: 2px solid var(--light-welsh-green);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(93, 139, 115, 0.15);
     width: fit-content; 
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--welsh-green) 0%, var(--light-welsh-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(93, 139, 115, 0.3);
    flex-shrink: 0;
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--welsh-green);
    margin-bottom: 0.25rem;
}

.author-institution {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

/* Responsive for author card */
@media (max-width: 640px) {
    .author-card {
        padding: 1rem;
    }
    
    .author-info {
        gap: 0.75rem;
    }
    
    .author-avatar {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
    
    .author-name {
        font-size: 1.125rem;
    }
    
    .author-institution {
        font-size: 0.875rem;
    }
}

/* Simple Feedback & Comments CSS */
.simple-feedback-section,
.simple-comments-section {
    margin-top: 3rem;
}

.feedback-card,
.comments-card {
    background: var(--content-bg);
    border: 2px solid var(--welsh-green);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.feedback-card::before,
.comments-card::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 3rem;
    height: 3px;
    background: var(--light-welsh-green);
    border-radius: 2px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--welsh-green);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.section-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.75rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.simple-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group input,
.input-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: 0.5rem;
    font-size: 1rem;
    background: white;
    color: var(--text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--welsh-green);
    box-shadow: 0 0 0 3px rgba(93, 139, 115, 0.1);
}

.input-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--welsh-green) 0%, var(--dark-welsh-green) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(93, 139, 115, 0.3);
    width: fit-content;
    align-self: flex-end;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--dark-welsh-green) 0%, var(--welsh-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 139, 115, 0.4);
}

.btn-icon {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success-message {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #10b981;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    color: #065f46;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.success-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: #10b981;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success-message p {
    margin: 0;
    font-weight: 600;
}

/* Comments Display */
.comments-display {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.no-comments {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 2rem;
}

.comment-item {
    background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.comment-item:hover {
    box-shadow: 0 4px 16px rgba(93, 139, 115, 0.1);
    border-color: var(--light-welsh-green);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.comment-author {
    font-weight: 700;
    color: var(--welsh-green);
    font-size: 1rem;
}

.comment-time {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.comment-text {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.like-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.like-btn:hover {
    background: rgba(93, 139, 115, 0.1);
    color: var(--welsh-green);
}

.like-btn.liked {
    color: #ef4444;
}

.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feedback-card,
    .comments-card {
        padding: 1.5rem;
    }
    
    .simple-form {
        gap: 0.75rem;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Animation for new comments */
@keyframes slideInComment {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comment-item.new {
    animation: slideInComment 0.5s ease-out;
}

/* Star Rating Styles */
.rating-label {
    font-weight: 600;
    color: var(--welsh-green);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    justify-content: center;
}

.star {
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.3;
    transform: scale(1);
}

.star:hover,
.star.active {
    opacity: 1;
    transform: scale(1.1);
}

.star.active {
    filter: drop-shadow(0 0 5px rgba(255, 193, 7, 0.5));
}

@media (max-width: 768px) {
    .star-rating {
        justify-content: flex-start;
    }
    
    .star {
        font-size: 1.25rem;
    }
}