
.my-comment-container,
.my-comment-container * {
    box-sizing: border-box;
}

.my-comment-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: transparent;
    border-radius: 0;
    padding: 20px 0;
    box-shadow: none;
    border: none;
}

/* Form at the top */
.comment-form-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-bottom: 40px;
    border-left: 8px solid #2563eb;
    width: 100%;
}

.comment-form-header {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-submit-btn {
    margin-top: 15px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 25px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.comment-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

/* Feed section */
.comment-feed-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #475569;
    margin: 20px 0;
    padding-left: 5px;
    border-left: 3px solid #cbd5e1;
}

.comment-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 15px;
    max-width: 100%;
}

.comment-row {
    width: 100%;
    margin-bottom: 5px;
}

.comment-item {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-bottom: 10px;
    animation: slideInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar .userimg img, 
.comment-avatar .userphoto,
.comment-avatar img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.comment-avatar a:hover img,
.comment-avatar img:hover {
    transform: scale(1.15) rotate(3deg);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    border-color: #3b82f6;
}

.comment-avatar .userimg,
.comment-avatar .pictoimg {
    display: inline-block;
    vertical-align: middle;
}

.comment-bubble {
    flex-grow: 1;
    background: #ffffff;
    padding: 24px 30px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    border-left: 6px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.comment-bubble:hover {
    transform: translateX(5px) scale(1.01);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border-left-color: #3b82f6;
}

.comment-item.own-comment .comment-bubble {
    background: linear-gradient(135deg, #ffffff 0%, #f9fcff 100%);
    border-left-color: #3b82f6;
    border-left-width: 8px;
}

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

.comment-user {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.15em;
    letter-spacing: -0.01em;
}

.comment-date-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-date {
    font-size: 0.85em;
    font-weight: 500;
    color: #94a3b8;
    background: #f8fafc;
    padding: 4px 12px;
    border-radius: 8px;
}

.comment-date.modified {
    background: transparent;
    color: #94a3b8;
    font-style: normal;
    font-weight: 700;
    padding: 0 5px;
    font-size: 0.75em;
    cursor: help;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comment-text {
    color: #334155;
    line-height: 1.6;
    font-size: 1.1em;
}

.comment-actions {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.comment-actions a {
    font-size: 0.9em;
    font-weight: 600;
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.2s;
}

.comment-actions a:hover {
    color: #2563eb;
}

/* Dot for user status */
.badge-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 8px;
}
.badge-primary { background-color: #3b82f6; }

.badge-comment-count {
    background: #ef4444;
    color: #fff;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.7em;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}



