/* Table Content Specific Styles */

/* Product analysis column styles */
.product-analysis-content .product-analysis-item a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-analysis-more, .official-media-more{
    color: var(--theme-color, #0073aa);
    font-size: 12px;
    cursor: pointer;
}

/* Recruitment entry styles */
.recruitment-entry-content {
    font-size: 12px;
    line-height: 1.4;
}

.recruitment-title {
    margin-bottom: 4px;
}

.recruitment-link {
    color: var(--theme-color, #0073aa);
    text-decoration: none;
    font-weight: 500;
}

.recruitment-link:hover {
    text-decoration: underline;
}

/* All links in table - no underlines by default, show on hover */
.sammi-recruitment-table-widget a {
    text-decoration: none;
    font-weight: bold;
}

.sammi-recruitment-table-widget a:hover {
    text-decoration: underline;
}

.referral-info {
    font-size: 12px;
    color: var(--muted-color, #666);
}

.referral-code-btn {
    background-color: var(--theme-color, #0073aa);
    color: white;
    border: none;
    padding: 2px 6px;
    border-radius: var(--main-radius, 3px);
    font-size: 12px;
    cursor: pointer;
}

.referral-code-btn:hover {
    background-color: var(--focus-color, #005a87);
}

.referral-code-btn:disabled {
    background-color: #28a745;
    cursor: default;
}

.qrcode-icon {
    cursor: pointer;
    font-size: 12px;
    display: inline-block;
    padding: 1px 3px;
    border-radius: var(--main-radius, 3px);
    background-color: var(--muted-bg-color, #f0f0f0);
}

.qrcode-icon:hover {
    background-color: var(--muted-border-color, #e0e0e0);
}

/* Three-line ellipsis for text columns */
.three-line-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 4.2em; /* 3 lines × 1.4 line-height */
    word-break: break-word;
    hyphens: auto;
}

/* Two-line ellipsis for comment content */
.two-line-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em; /* 2 lines × 1.4 line-height */
    word-break: break-word;
    hyphens: auto;
}

/* Comments display container */
.comments-display {
    /*display: flex;*/
    /*flex-direction: column;*/
    /*gap: 8px;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    /*min-height: 60px;*/
}

.first-comment-content {
    font-size: 12px;
    color: var(--key-color, #2c3338);
    width: 100%;
    box-sizing: border-box;
}

/* Write comment text link for when comments exist */
.write-comment-text-link {
    color: var(--theme-color, #0073aa);
    font-size: 12px;
    margin-top: 2px;
    cursor: pointer;
    text-align: center;
    transition: color 0.3s ease;
}

.write-comment-text-link:hover {
    color: var(--focus-color, #005a87);
    text-decoration: underline;
}