/* 1. Main Section Overrides */
.commentify-wrapper section {
    background: #fdfdfd !important; /* Soft white background */
    padding: 40px 0 !important;
    border-radius: 12px;
}

.commentify-wrapper .max-w-2xl {
    max-width: 800px !important; /* Wider for better readability */
    border: 1px solid #eee;
    background: white;
    padding: 30px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

/* 2. Header & Titles */
.commentify-wrapper h2 {
    font-family: 'Inter', system-ui, sans-serif !important;
    color: #111 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    border-bottom: 3px solid #3490dc;
    display: inline-block;
    padding-bottom: 5px;
}

/* 3. The "Sort By" Button (Custom Styling) */
.commentify-wrapper button[type="button"] {
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    color: #374151 !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease;
}

.commentify-wrapper button[type="button"]:hover {
    background-color: #f9fafb !important;
    border-color: #9ca3af !important;
}

/* 4. Login Prompt Link */
.commentify-wrapper a[href*="login"] {
    display: block;
    background: #3490dc;
    color: white !important;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    text-align: center;
    font-weight: bold;
    margin: 20px 0;
    transition: background 0.3s;
}

.commentify-wrapper a[href*="login"]:hover {
    background: #2779bd;
}

/* 5. Custom Dropdown Styling */
.commentify-wrapper .absolute.shadow-lg {
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.commentify-wrapper .absolute ul li button {
    padding: 10px 15px !important;
    font-size: 14px !important;
}

/* 6. Dark Mode Specifics (Overrides system prefs) */
.commentify-wrapper.dark section {
    background: #1a202c !important;
}

.commentify-wrapper.dark .max-w-2xl {
    background: #2d3748 !important;
    border-color: #4a5568 !important;
}

.commentify-wrapper.dark h2, 
.commentify-wrapper.dark button {
    color: #f7fafc !important;
}




/* 1. Main Section Container */
div.comments {
    max-width: 850px !important;
    margin: 50px auto !important;
    padding: 0 15px !important;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

/* 2. The Comment Card */
div.cmt-card { 
    background: #ffffff !important; 
    border: 1px solid #e1e4e8 !important; 
    border-left: 4px solid #3490dc !important; /* Blue accent strip */
    border-radius: 6px !important; 
    padding: 24px !important;
    margin-bottom: 20px !important;
    display: block !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.2s ease !important;
}

div.cmt-card:hover {
    border-color: #3490dc !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05) !important;
}

/* 3. Header: Avatar and Name */
.cmt-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid #f0f2f5 !important;
    padding-bottom: 10px !important;
}

.cmt-user-info { display: flex !important; align-items: center !important; gap: 12px !important; }

img.cmt-avatar {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    border: 2px solid #fff !important;
    box-shadow: 0 0 0 1px #ddd !important;
}

.cmt-name {
    font-weight: 700 !important;
    color: #1a202c !important;
    font-size: 16px !important;
}

.cmt-date {
    font-size: 13px !important;
    color: #718096 !important;
}

/* 4. The Comment Text */
div.cmt-body {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #2d3748 !important;
    margin: 15px 0 !important;
}

/* 5. Interaction Bar (Likes & Reply) */
.cmt-actions {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
    margin-top: 15px !important;
}

/* Custom Reply Button - No Tailwind Look */
.cmt-reply-link button {
    background: #111827 !important;
    color: #f8fafc !important;
    border: 1px solid #1f2937 !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.3s, color 0.3s !important;
}

.cmt-reply-link button:hover {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}


/* 1. Force the Wrapper to be wide */
.commentify-wrapper .max-w-2xl {
    max-width: 1000px !important; /* Increases width from 672px to 1000px */
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 2. Remove the "auto" squishing on child elements */
.commentify-wrapper section {
    width: 100% !important;
    display: block !important;
}

/* 3. Ensure the inner discussion area expands */
.commentify-wrapper div.mx-auto {
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* 4. Optional: Make the comment card fill the new width */
div.cmt-card {
    width: 100% !important;
    box-sizing: border-box !important;
}


/* 1. Style the Textarea (The input box) */
.commentify-wrapper textarea {
    width: 100% !important;
    background-color: #f9fafb !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 15px !important;
    font-size: 16px !important;
    color: #2d3748 !important;
    min-height: 120px !important;
    margin-bottom: 10px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    outline: none !important;
}

.commentify-wrapper textarea:focus {
    border-color: #3490dc !important;
    box-shadow: 0 0 0 3px rgba(52, 144, 220, 0.1) !important;
    background-color: #fff !important;
}

/* 2. Style the "Post Comment" Button */
.commentify-wrapper button[type="submit"],
.commentify-wrapper button[wire\:click="postComment"] {
    background-color: #3490dc !important;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
    float: right !important; /* Positions it to the right */
    margin-top: 10px !important;
}

.commentify-wrapper button[type="submit"]:hover {
    background-color: #2779bd !important;
}

/* Clearfix for the float button */
.commentify-wrapper form::after {
    content: "";
    clear: both;
    display: table;
}

/* Target the emoji trigger specifically to override the big button styles */
.commentify-wrapper button.emoji-picker-button, 
.commentify-wrapper .emoji-button,
.commentify-wrapper button[type="button"]:has(svg),
.commentify-wrapper div > button:not(.cmt-reply-link button) {
    width: auto !important;
    height: auto !important;
    padding: 5px !important; /* Small padding for the icon */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-width: unset !important;
}

/* Ensure the smiley icon inside doesn't blow up */
.commentify-wrapper .emoji-picker-button svg {
    width: 20px !important;
    height: 20px !important;
}


/* 1. Reset the Like Button Container */
.commentify-wrapper span.inline-flex.items-center {
    display: inline-flex !important;
    vertical-align: middle !important;
}

/* 2. Style the Like Button itself */
.commentify-wrapper button[wire\:click="like"] {
    background: transparent !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important; /* Pill shape */
    padding: 4px 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    color: #718096 !important; /* Default Gray */
}

/* 3. Hover state */
.commentify-wrapper button[wire\:click="like"]:hover {
    background-color: #f7fafc !important;
    border-color: #cbd5e0 !important;
    color: #4a5568 !important;
}

/* 4. Active/Liked state (Green theme to match your Blade logic) */
/* We target the button when it contains the Tailwind green class used in your PHP if-statement */
.commentify-wrapper button[wire\:click="like"].text-green-400,
.commentify-wrapper button[wire\:click="like"].text-green-500 {
    color: #2f855a !important; /* Professional Dark Green */
    background-color: #f0fff4 !important; /* Light Green Bg */
    border-color: #9ae6b4 !important;
}

/* 5. The Thumbs-up Icon (SVG) */
.commentify-wrapper button[wire\:click="like"] svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
    transition: transform 0.2s ease !important;
}

.commentify-wrapper button[wire\:click="like"]:hover svg {
    transform: scale(1.1) !important;
}

/* 6. The Like Count Number */
.commentify-wrapper span.font-medium {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: inherit !important; /* Matches the green or gray of the button */
}

/* 1. Style the 'Reply' button to match the 'Like' pill */
.commentify-wrapper button[wire\:click*="isReplying"] {
    background: #111827 !important; /* Dark charcoal */
    color: #f8fafc !important;
    border: 1px solid #1f2937 !important;
    border-radius: 20px !important;
    padding: 4px 14px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important; /* Remove tailwind underline */
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.commentify-wrapper button[wire\:click*="isReplying"]:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* 2. Style the 'View/Hide Replies' toggle */
.commentify-wrapper button[wire\:click*="hasReplies"] {
    background: transparent !important;
    color: #111827 !important; /* Dark theme text */
    font-weight: 700 !important;
    border: none !important;
    margin-top: 10px !important;
    padding: 5px 0 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.commentify-wrapper button[wire\:click*="hasReplies"]:hover {
    color: #000000 !important;
    text-decoration: underline !important;
}

/* 3. Icon inside Reply Button */
.commentify-wrapper button[wire\:click*="isReplying"] svg {
    width: 14px !important;
    height: 14px !important;
    margin-right: 6px !important;
    color: inherit !important; /* Matches text color */
}

/* 4. Indentation for Child Comments */
/* This ensures replies look nested and not just like a flat list */
.commentify-wrapper .ml-12, 
.commentify-wrapper [class*="ml-"] {
    margin-left: 40px !important;
    border-left: 2px solid #e2e8f0 !important;
    padding-left: 20px !important;
    margin-top: 15px !important;
}

/* 5. Loading Spinner Alignment */
.commentify-wrapper div[wire\:loading] {
    margin-left: 10px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* 1. Force the spinner to be small so it doesn't break the layout */
.commentify-wrapper svg[role="status"] {
    width: 18px !important;
    height: 18px !important;
    display: none; /* Hide by default */
}

/* 2. Only show the spinner when Livewire is loading */
.commentify-wrapper [wire\:loading] svg[role="status"],
.commentify-wrapper [wire\:loading\.flex] svg[role="status"] {
    display: inline-block !important;
    animation: spin 1s linear infinite !important;
}

/* 3. The rotation animation (in case Tailwind's 'animate-spin' is missing) */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 4. Fix color so it's visible but not 'stuck' */
.commentify-wrapper svg[role="status"] path:last-child {
    fill: #3490dc !important; /* Your blue theme */
}


/* 1. THE NESTING LINE (The Vertical Thread) */
/* This creates the line on the left of replies to show they are connected */
.commentify-wrapper .ml-12, 
.commentify-wrapper [class*="ml-"] {
    margin-left: 3rem !important; /* Space for the thread line */
    border-left: 2px solid #e2e8f0 !important; /* The vertical line */
    padding-left: 1.5rem !important;
    position: relative !important;
}

/* 2. THE REPLY BUTTON (Pill Style) */
.commentify-wrapper button[wire\:click*="isReplying"] {
    background: #111827 !important;
    color: #f8fafc !important;
    border: 1px solid #1f2937 !important;
    border-radius: 20px !important;
    padding: 6px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.commentify-wrapper button[wire\:click*="isReplying"]:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* 3. THE VIEW REPLIES TOGGLE */
.commentify-wrapper button[wire\:click*="hasReplies"] {
    background: transparent !important;
    border: none !important;
    color: #111827 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    margin-top: 10px !important;
    cursor: pointer !important;
}

/* 4. THE REPLY INPUT FORM (When it pops up) */
/* Makes the reply box look slightly different than the main comment box */
.commentify-wrapper .reply-form-container {
    background: #f1f5f9 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    margin-top: 10px !important;
    border: 1px dashed #cbd5e1 !important;
}

/* 5. LOADER (Inside Reply) */
.commentify-wrapper div[wire\:target*="isReplying"] svg {
    width: 16px !important;
    height: 16px !important;
    color: #3490dc !important;
}

/* Target the Submit button specifically to shrink it */
.commentify-wrapper button[type="submit"], 
.commentify-wrapper button[wire\:click*="post"] {
    width: auto !important;             /* Stops it from stretching */
    min-width: 140px !important;        /* Gives it a solid base */
    height: 45px !important;            /* Standard button height */
    padding: 0 25px !important;         /* Control the internal spacing */
    font-size: 14px !important;
    float: right !important;            /* Keep it on the right side */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 10px !important;
}

/* Ensure the form container doesn't force the button to stretch */
.commentify-wrapper form {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important; /* Clears the float */
}


/* --- MAIN CARD & CONTAINER --- */
.cmt-container {
    margin-bottom: 24px;
    position: relative;
}

.cmt-card { 
    background: #ffffff !important; 
    border: 1px solid #e2e8f0 !important; 
    border-radius: 12px !important; 
    padding: 20px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

/* --- HEADER: USER & OPTIONS --- */
.cmt-header { 
    display: flex !important; 
    justify-content: space-between !important; 
    align-items: flex-start !important; 
    margin-bottom: 12px !important; 
}

.cmt-user-info { display: flex !important; align-items: center !important; gap: 10px !important; }

.cmt-avatar { 
    width: 40px !important; 
    height: 40px !important; 
    border-radius: 50% !important; 
    object-fit: cover !important;
}

.cmt-name { font-weight: 700 !important; color: #1a202c !important; font-size: 15px !important; }
.cmt-date { font-size: 12px !important; color: #718096 !important; }

/* --- THE DOTS/OPTIONS DROPDOWN --- */
.cmt-options-wrapper { position: relative !important; }

.cmt-options-trigger {
    background: transparent !important;
    border: none !important;
    color: #a0aec0 !important;
    cursor: pointer !important;
    padding: 5px !important;
    border-radius: 50% !important;
}

.cmt-options-trigger:hover { background: #f7fafc !important; color: #4a5568 !important; }

.icon-dots { width: 20px !important; height: 20px !important; }

/* Fixed Dropdown Styling */
.cmt-dropdown {
    position: absolute !important;
    right: 0 !important;
    top: 100% !important;
    z-index: 50 !important;
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
    min-width: 130px !important;
    overflow: hidden !important;
}

.cmt-dropdown-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }

.cmt-dropdown-list li button {
    width: 100% !important;
    text-align: left !important;
    padding: 10px 15px !important;
    font-size: 13px !important;
    border: none !important;
    background: white !important;
    cursor: pointer !important;
    color: #4a5568 !important;
}

.cmt-dropdown-list li button:hover {
    background: #f8fafc !important;
    color: #e53e3e !important; /* Red for delete/edit hover */
}

/* --- COMMENT BODY --- */
.cmt-body {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #2d3748 !important;
    margin-bottom: 15px !important;
}

/* --- ACTIONS: LIKE & REPLY --- */
.cmt-actions {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding-top: 12px !important;
    border-top: 1px solid #f1f5f9 !important;
}

/* Reusing your pill style for Reply */
.cmt-reply-link button {
    background: #f1f5f9 !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 5px 15px !important;
    font-size: 13px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}


/* --- 1. ENSURE REPLY FORM IS VISIBLE --- */
.cmt-reply-box, 
.commentify-wrapper [wire\:loading\.remove] + div {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* --- 2. EMOJI PICKER FIX --- */
/* Your theme might be setting all buttons to uppercase or hiding icons */
.commentify-wrapper .emoji-picker-button {
    all: unset !important; /* Reset theme button styles */
    cursor: pointer !important;
    display: inline-flex !important;
    padding: 5px !important;
}

.commentify-wrapper .emoji-picker-button svg {
    width: 20px !important;
    height: 20px !important;
    fill: #ffcc00 !important; /* Make smiley yellow */
}

/* --- 3. REBUSH THE SUBMIT BUTTON --- */
/* Ensure it's not transparent or hidden */
.commentify-wrapper button[type="submit"] {
    background-color: #3490dc !important;
    color: #ffffff !important;
    opacity: 1 !important;
    z-index: 10 !important;
}


/* Style the Main Post Comment Button */
.commentify-wrapper button[type="submit"] {
    background-color: #3490dc !important; /* Your Blue */
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 6px !important;
    font-weight: bold !important;
    width: auto !important; /* Fixes the 'Big Button' issue */
    display: inline-flex !important;
    float: right !important;
    border: none !important;
    cursor: pointer !important;
}

/* Ensure the form doesn't collapse after floating the button */
.commentify-wrapper form::after {
    content: "";
    clear: both;
    display: table;
}

.commentify-wrapper .emoji-picker-button {
    background: transparent !important;
    border: none !important;
    padding: 5px !important;
    display: inline-flex !important;
}

/* --- REPLY SECTION & FORM FIX --- */

/* 1. Indent the Replies and add a Thread Line */
.commentify-wrapper .ml-12, 
.commentify-wrapper [class*="ml-"] {
    margin-left: 40px !important;
    border-left: 2px solid #e2e8f0 !important;
    padding-left: 20px !important;
    margin-top: 15px !important;
    position: relative !important;
}

/* 2. Force the Reply Input Box to be visible when toggled */
.commentify-wrapper .cmt-reply-box,
.commentify-wrapper div[wire\:loading\.remove] + div,
.commentify-wrapper form[wire\:submit\.prevent="postReply"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #f8fafc !important; /* Light contrast for reply area */
    padding: 15px !important;
    border-radius: 8px !important;
    border: 1px dashed #3490dc !important;
    margin-top: 10px !important;
}

/* 3. Style the "View Replies" Toggle Text */
.commentify-wrapper button[wire\:click*="hasReplies"] {
    background: transparent !important;
    border: none !important;
    color: #3490dc !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    margin-top: 10px !important;
}

.commentify-wrapper button[wire\:click*="hasReplies"]:hover {
    text-decoration: underline !important;
}

/* 4. Ensure the Loader doesn't stay stuck over the form */
.commentify-wrapper div[wire\:loading][wire\:target*="isReplying"] {
    display: none;
}


/* Style for the Reply Form that appears */
.cmt-reply-box, .cmt-edit-box {
    margin-top: 15px !important;
    padding: 20px !important;
    background: #f8fafc !important; 
    border: 1px dashed #3490dc !important;
    border-radius: 10px !important;
    /* This indents the form under the parent comment */
    margin-left: 40px !important; 
}

/* Ensure the emoji picker inside the reply box stays small */
.cmt-reply-box button.emoji-picker-button {
    background: transparent !important;
    border: none !important;
    padding: 5px !important;
    width: auto !important;
}

/* Fix for nested replies (the thread line) */
.commentify-wrapper .ml-12 {
    border-left: 2px solid #e2e8f0 !important;
    padding-left: 20px !important;
    margin-left: 40px !important;
}

/* 1. Style the 'View Replies' / 'Hide Replies' Toggle */
.commentify-wrapper button[wire\:click*="hasReplies"] {
    background: transparent !important;
    border: none !important;
    color: #3490dc !important; /* Brand Blue */
    font-weight: 700 !important;
    font-size: 14px !important;
    margin-top: 12px !important;
    margin-bottom: 5px !important;
    padding: 0 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.commentify-wrapper button[wire\:click*="hasReplies"]:hover {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}

/* 2. Visual Thread Line for Nested Replies */
/* This targets the auto-generated Tailwind margin classes from the package */
.commentify-wrapper .ml-12, 
.commentify-wrapper [class*="ml-"] {
    margin-left: 35px !important; /* Indent level */
    border-left: 2px solid #e2e8f0 !important; /* The vertical line */
    padding-left: 20px !important;
    margin-top: 10px !important;
    position: relative !important;
}

/* 3. Style the Loader that appears when fetching replies */
.commentify-wrapper div[wire\:target*="hasReplies"] svg {
    width: 16px !important;
    height: 16px !important;
    color: #3490dc !important;
    margin-left: 10px !important;
}



/* The View Replies Button */
.cmt-view-replies-btn {
    background: transparent !important;
    border: none !important;
    color: #3490dc !important; /* Your blue */
    font-weight: 700 !important;
    padding: 10px 0 !important;
    cursor: pointer !important;
    font-size: 14px !important;
}

/* The Thread Line and Indentation */
.cmt-nested-children {
    margin-left: 30px !important; /* Indent level */
    border-left: 2px solid #e2e8f0 !important; /* The vertical line */
    padding-left: 20px !important;
    margin-top: 10px !important;
}

/* Animation for the spinner when loading replies */
.cmt-replies-toggle + div[wire\:loading] {
    margin-left: 10px;
    color: #3490dc;
}


/* --- HEADER BLOCK STYLING --- */

/* 1. Header Container */
.cmt-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 15px !important; /* Block padding */
    margin-bottom: 15px !important;
    background-color: #f8fafc !important; /* Soft background block */
    border-radius: 8px !important;
    border: 1px solid #f1f5f9 !important;
}

/* 2. User Info Grouping */
.cmt-user-info {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important; /* Spacing between avatar and text */
}

/* 3. Avatar Styling */
img.cmt-avatar {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    object-fit: cover !important;
    display: block !important;
}

/* 4. Name & Time Block */
.cmt-author {
    display: flex !important;
    flex-direction: column !important; /* Stack name and time */
    margin: 0 !important;
    padding: 0 !important;
}

.cmt-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.2 !important;
}

.cmt-date {
    font-size: 12px !important;
    color: #64748b !important;
    margin-top: 2px !important;
}

/* 5. Space between Header and Body */
.cmt-body {
    padding: 5px 15px 15px 15px !important;
    font-size: 16px !important;
}
