/* Community feed custom styling */
.community-feed {
    background: linear-gradient(135deg, #f5f7fb 0%, #eef2f7 100%);
}

.community-feed .card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.community-feed .card .card-body {
    padding: 1.25rem 1.5rem;
}

.community-feed h2 {
    font-weight: 700;
    letter-spacing: -0.3px;
}

.community-feed .badge-primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
}

.community-feed .form-control,
.community-feed .form-control-file,
.community-feed textarea {
    border-radius: 10px;
    border-color: #e5e7eb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.community-feed .form-control:focus,
.community-feed textarea:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.community-feed .btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.25);
}

.community-feed .btn-outline-primary,
.community-feed .btn-outline-danger,
.community-feed .btn-outline-warning,
.community-feed .btn-outline-secondary {
    border-radius: 10px;
}

.community-feed .post-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

.community-feed .avatar img {
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.community-feed .comments-area {
    border-top: 1px solid #f0f2f5;
    margin-top: 1rem;
    padding-top: 1rem;
}

.community-feed .comments-area .bg-light {
    background: #f8fafc !important;
    border: 1px solid #eef2f7;
}

.community-feed .badge-secondary {
    background-color: #e5e7eb;
    color: #111827;
}

.community-feed .btn-xs {
    padding: 0.25rem 0.55rem;
    font-size: 0.8rem;
    border-radius: 8px;
}

.community-feed .alert-info {
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #e0f2fe, #e0f7ff);
    color: #0f172a;
}

.community-feed .collapse .card {
    border: 1px dashed #f59e0b;
    background: #fffaf0;
}

.community-feed .section-helper {
    background: #fff;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.community-feed .badge-info {
    background: #cffafe;
    color: #0e7490;
}

.community-feed .badge-secondary,
.community-feed .badge-success {
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
}

.community-feed .post-card {
    overflow: hidden;
    border: 1px solid #eef2f7;
}

.community-feed .action-bar .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
}

.community-feed .action-btn {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #111827;
    border-radius: 12px;
    padding: 0.35rem 0.7rem;
    font-weight: 600;
    letter-spacing: -0.1px;
    transition: all 0.2s ease;
}

.community-feed .action-btn.icon-only {
    padding: 0.25rem 0.55rem;
    min-width: 46px;
    justify-content: center;
}

.community-feed .comment-submit {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.4rem 0.65rem;
    box-shadow: 0 10px 18px rgba(16, 185, 129, 0.25);
    transition: all 0.2s ease;
}

.community-feed .comment-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(16, 185, 129, 0.35);
}

.community-feed .action-btn:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4338ca;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.12);
}

.community-feed .action-btn.liked {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 18px rgba(99, 102, 241, 0.3);
}

.community-feed .action-btn.outline {
    background: #fff;
    color: #1f2937;
}

.community-feed .action-btn.warning {
    border-color: #f59e0b;
    color: #b45309;
}

.community-feed .action-btn.outline {
    background: #fff;
}

.community-feed .reply-btn {
    min-width: 42px;
}

.community-feed .action-btn.danger {
    border-color: #f87171;
    color: #b91c1c;
}

.community-feed .action-btn .count {
    font-weight: 600;
    color: inherit;
    font-size: 0.9rem;
    margin-left: 4px;
}

.community-feed .media-attachment {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
