/* reaction/dashboard.css */

/* General Container Styles */
.container {
    display: flex;
}

/* Leftbar, Content, and Rightbar Styles */
.content {
    flex: 1;
    padding: 20px;
}

/* Post Styles */
.post {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    margin-left: 15px;
}

.post-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.profile-name a {
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.post-date {
    font-size: 0.9em;
    color: #777;
}

.post-content img.post-image {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 10px;
}

.post-content iframe {
    border-radius: 10px;
    margin-top: 10px;
}

 /* Reaction Buttons Styles */
.reaction-buttons {
    display: flex;
    gap: 10px; /* Reduced space between buttons */
    margin-top: 10px; /* Reduced margin on top */
    padding-left:10px;
}

.reaction-buttons button {
    background-color: #f0f0f0; /* Neutral background */
    border: none;
    border-radius: 20px; /* Smaller round corners */
    padding: 6px 12px; /* Reduced padding */
    font-size: 14px; /* Smaller font size */
    color: #333; /* Text color */
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out; /* Smooth transitions */
    display: flex;
    align-items: center;
    gap: 6px; /* Reduced space between icon and text */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Smaller shadow for depth */
}

.reaction-buttons button i {
    font-size: 16px; /* Adjust icon size */
    color: #555; /* Icon color */
    transition: color 0.3s ease;
}

/* Like Button Specific Styles */
.reaction-buttons .like-btn {
    background-color: #ff6b6b;
    color: #fff;
}

.reaction-buttons .like-btn i {
    color: #fff;
}

/* Comment Button Specific Styles */
.reaction-buttons .comment-btn {
    background-color: #4db6ac;
    color: #fff;
}

.reaction-buttons .comment-btn i {
    color: #fff;
}

/* Share Button Specific Styles */
.reaction-buttons .share-btn {
    background-color: #64b5f6;
    color: #fff;
}

.reaction-buttons .share-btn i {
    color: #fff;
}

/* Hover Effects */
.reaction-buttons button:hover {
    transform: translateY(-3px); /* Slight lift */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

/* Active/Clicked State */
.reaction-buttons button:active {
    transform: translateY(1px); /* Button slightly pressed */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Less shadow on active */
}

/* Like Button Active State */
.reaction-buttons .like-btn.liked {
    background-color: #e74c3c; /* Darker red for liked state */
}

/* Responsive: Adjust font and padding on smaller screens */
@media (max-width: 600px) {
    .reaction-buttons button {
        font-size: 12px; /* Even smaller font size on small screens */
        padding: 4px 8px; /* Even smaller padding */
    }
}
 


 /* Comments Section Styles */
.comments-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd; 
}

.comment-list {
    list-style-type: none;
    padding-left: 0;
}

.comment-list li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.new-comment {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    resize: vertical;
}

.submit-comment {
    margin-top: 10px;
    padding: 5px 12px;              /* Smaller padding */
    border: none;
    border-radius: 4px;            /* Slightly smaller border radius */
    background-color: #4db6ac;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;              /* Smaller font size */
    transition: background-color 0.3s;
}

.submit-comment:hover {
    background-color: #388e3c;
}

.commenter-photo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

.old-comment-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.old-comment-list li img {
    margin-right: 10px;
}

.comment-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.user-photo {
    width: 50px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.user-name {
    font-weight: bold;
    font-size: .80rem;
    margin-right: 10px;
    color: #007bff;
    text-decoration: none;
    margin-bottom: 10px;
}

.user-name:hover {
    text-decoration: underline;
}

.comment-text {
    display: block;
    font-size: 0.9rem;             /* Smaller font size for a more compact look */
    color: #333;                   /* Darker color for better readability */
    background-color: #f1f1f1;     /* Light gray background for a subtle look */
    padding: 8px;                  /* Reduced padding */
    border-radius: 6px;            /* Slightly larger border radius */
    margin-top: 8px;               /* Reduced margin between name and comment text */
    border: 1px solid #ccc;        /* Lighter border color */
    width: calc(100% - 2px);       /* Adjust width to fit within the border */
}

.old-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
