:root {
    --primary-orange: #FFCB00;
    --secondary-orange: #e6c36f;
    --light-gray: #f8f9fa;
    --text-dark: #333;
    --text-muted: #888;
    /* --border-light: #e5e5e5; */
    --border-light: #BABABA;
}

body {
    background-color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
}

/* Header/Navbar */
/* .navbar {
            background: white;
            border-bottom: 1px solid var(--border-light);
            padding: 1rem 0;
        }

        .navbar-brand {
            font-weight: 700;
            color: var(--text-dark) !important;
            font-size: 1.5rem;
        }

        .navbar-nav .nav-link {
            color: var(--text-muted) !important;
            margin: 0 1rem;
            font-weight: 500;
        }

        .btn-orange {
            background: var(--primary-orange);
            color: white;
            border: none;
            border-radius: 6px;
            padding: 0.5rem 1.5rem;
            font-weight: 500;
        }

        .btn-orange:hover {
            background: #e55a2b;
            color: white;
        } */

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("../img/forum.jpg");
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Category Pills */
.category-section {
    background: white;
    padding: 1.5rem 0;
    /* border-bottom: 1px solid var(--border-light); */
}

.category-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    /* justify-content: space-between; */
}

.category-pill {
    /* background: #f8f9fa; */
    color: var(--text-dark);
    border: none;
    border-radius: 20px;
    padding: 0.2rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.category-pill:hover {
    background: #e9ecef;
    color: var(--text-dark);
}

.category-pill.active {
    background: var(--primary-orange);
    color: var(--text-dark);
}

/* .category-pill.active::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-orange);
    border-radius: 50%;
} */

/* Main Content */
.main-content {
    /* max-width: 800px; */
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Forum Cards */
.forum-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.forum-card-body {
    padding: 1.5rem;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-orange);
}

.appreciation-badge {
    background: #E5F2FF;
    color: var(--text-dark);
    border-radius: 15px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.post-content {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Comments Section */
.comments-section {
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
}

.comments-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.comment-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--secondary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

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

.comment-author {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.comment-time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.comment-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Add Comment */
.add-comment {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
}

.comment-input {
    flex: 1;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    outline: none;
}

.comment-input:focus {
    border-color: var(--primary-orange);
}

.send-button {
    background: #e6c36f;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.2s ease;
}

.send-button:hover {
    background: transparent;
    border: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .category-pills {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
    }
}
