body {
    font-family: Vazir, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    direction: rtl;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
}

.header nav {
    margin-top: 1rem;
}

.header nav a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
}

.header nav a:hover {
    text-decoration: underline;
}

.post {
    background: #fafafa;
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.post h2 {
    margin-top: 0;
    font-size: 1.4rem;
    color: #222;
}

.post p {
    color: #444;
    line-height: 1.6;
}

.meta {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.reply {
    background: #f1f1f1;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.reply .meta {
    font-size: 0.85rem;
    color: #555;
}

form textarea, form input, form button {
    width: 100%;
    font-family: Vazir, sans-serif;
    margin-bottom: 1rem;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

form button {
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0056b3;
}
