body {
    font-family: 'Vazir', sans-serif;
}

.content-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(to bottom, rgba(14, 162, 189, 0.05) 0%, rgba(14, 162, 189, 0.1) 100%);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(to bottom, rgba(14, 162, 189, 0.05) 0%, rgba(14, 162, 189, 0.1) 100%);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.rating-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.rating-number {
    color: #b38f00;
    font-weight: bold;
}

.rating-text {
    color: #666;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
    direction: ltr;
}

.star {
    font-size: 1.5rem;
    cursor: pointer;
    color: #ddd;
    position: relative;
    display: inline-block;
}

.star i {
    -webkit-text-stroke: 1px #b38f00;
}

.star.active i.bi-star-fill,
.star.active i.bi-star-half {
    color: #ffd700;
}

.star.active i.bi-star {
    color: #ddd;
}

.reaction-buttons {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.reaction-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reaction-btn:hover {
    background: #f5f5f5;
}

.reaction-btn.active {
    background: #e6f7ff;
    border-color: #1890ff;
    color: #1890ff;
}

.submit-btn {
    padding: 0.75rem 1.5rem;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #40a9ff;
}

.main-content {
    margin-top: 8.5rem;
}


.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(14, 162, 189, 0.2);
}

    .article-meta > div {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #666;
        font-size: 0.9rem;
    }

    .article-meta i {
        color: rgba(14, 162, 189, 0.8);
        font-size: 1.1rem;
    }

.article-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .article-rating i {
        color: #ffd700;
        -webkit-text-stroke: 1px #b38f00;
    }

.section-title {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(14, 162, 189, 0.2);
}

.previous-comments {
    margin-bottom: 3rem;
}

.comment-item {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.commenter-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.commenter-name {
    font-weight: 600;
    color: #333;
}

.comment-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

    .comment-rating i {
        color: #ffd700;
        -webkit-text-stroke: 1px #b38f00;
    }

.comment-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

    .comment-date i {
        color: rgba(14, 162, 189, 0.8);
    }

.comment-body {
    margin-bottom: 1rem;
    line-height: 1.6;
}

    .comment-body p {
        margin: 0;
        color: #444;
    }

.comment-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(14, 162, 189, 0.1);
}

.comment-reaction {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.text-success {
    color: #4caf50;
}

.text-danger {
    color: #f44336;
}


.article-content {
    width: 100%;
}

    .article-content p {
        line-height: 1.8;
    }

        .article-content p img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 1.5rem auto;
            border-radius: 8px;
        }

@media (max-width: 768px) {
    .article-meta {
        gap: 0.75rem;
    }

        .article-meta > div {
            font-size: 0.8rem;
            gap: 0.25rem;
        }

        .article-meta i {
            font-size: 0.9rem;
        }

        .article-meta span {
            font-size: 0.75rem;
        }
}

@media (max-width: 480px) {
    .article-meta {
        gap: 0.5rem;
    }

        .article-meta > div {
            font-size: 0.7rem;
        }

        .article-meta i {
            font-size: 0.8rem;
        }
} 