/*
Theme Name: TouchDial Theme
Theme URI: https://example.com/touchdial-theme
Author: AlfredoRamirezPacheco
Author URI: https://example.com/
Description: A premium, minimalist dark mode theme designed for the TouchDial Forum.
Version: 0.3.03
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: touchdial-theme
*/

/* Comments (v0.0.95 Refined) */
.comment-list .comment-body {
    background-color: var(--td-surface);
    border: 1px solid var(--td-border);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* (v0.1.1) Username Size 12px */
.wp-block-comment-author-name,
.comment-author cite,
.comment-author .fn {
    font-size: 12px !important;
    font-weight: 700;
    font-style: normal;
    color: var(--td-text);
}

/* (v0.1.1) Footer Date Styling */
.td-comment-date-footer {
    order: 3;
    width: 100%;
    font-size: 12px;
    color: #888;
    margin-top: 15px;
    padding-bottom: 10px;
    border-top: none !important;
    /* Ensure no top line */
    border-bottom: 1px solid #333;
    /* Only keep line below */
}

/* (v0.1.5) User Reputation Badge */
.td-user-reputation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid var(--td-primary);
    /* Square border */
    color: var(--td-primary);
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    /* Slight rounded square */
    margin-left: 8px;
    cursor: help;
    vertical-align: middle;
}

/* (v0.1.6) Share Link */
.td-share-link {
    font-size: 10px;
    color: var(--td-meta);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.td-share-link:hover {
    color: var(--td-primary);
    text-decoration: underline;
}

/* Pin Comment Button (Absolute Top Right of Comment) - Scoped to prevent header leaks (v0.2.16) */
.comment-body .td-pin-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 11px;
    /* Slightly smaller */
    font-weight: 700;
    text-decoration: none;
    color: var(--td-primary);
    z-index: 20;
    background: rgba(0, 0, 0, 0.4);
    /* Add subtle bg for better legibility */
    padding: 2px 6px;
    border-radius: 4px;
}

.comment-body .td-pin-btn:hover {
    background: var(--td-primary);
    color: white;
}

/* Ensure the container is visible (we un-hide it from v0.1.1) */
.wp-block-comment-date {
    display: block !important;
    margin-bottom: 5px;
}

.comment-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* (v0.2.31) Header Logo Styling */
.td-logo-link {
    display: inline-block;
    line-height: 0;
}

.td-logo-img {
    height: 40px;
    /* Match approximate height of previous text */
    width: auto;
    display: block;
}