/* =============== POST CREATION STYLE =============== */

.post-container {
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    margin: 20px auto;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.post-container:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.post-container h1 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.post-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.post-form-group label {
    display: block;
    color: var(--accent-color);
    margin-bottom: 8px;
    font-size: 16px;
    width: 100%;
    text-align: left;
}

.post-form-group input, 
.post-form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(16, 21, 47, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s;
}

.post-form-group input:focus, 
.post-form-group textarea:focus {
    border-color: var(--accent-color);
}

.post-form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-post-btn {
    width: 100%;
    margin-top: 10px;
    /* Réutilisation du style de tes boutons existants */
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    vertical-align: middle;
}

/* =============== COMMENTAIRE STYLE =============== */

.comment-item {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 8px;
}

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

.comment-author {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 14px;
}

.comment-date {
    font-size: 11px;
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.3);
}

.comment-actions {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.comment-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.report-btn {
    margin-left: 10px;
}