/* LSS Positive Mentions - Frontend Styles */

.lss-mentions-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.lss-mentions-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.lss-mentions-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #333;
}

.lss-mentions-header p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

/* Search Bar */
.lss-search-bar {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.lss-search-inputs {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    align-items: center;
}

.lss-search-query {
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: border-color 0.3s;
}

.lss-search-query:focus {
    outline: none;
    border-color: #0073aa;
}

.lss-search-button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background 0.3s;
}

.lss-search-button:hover:not(:disabled) {
    background: #005a87;
}

.lss-search-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.lss-search-button .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Tabs */
.lss-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.lss-tab {
    background: #f5f5f5;
    border: 2px solid transparent;
    padding: 12px 20px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s;
    color: #666;
    font-weight: 500;
}

.lss-tab:hover {
    background: #e8e8e8;
    color: #333;
}

.lss-tab.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.lss-tab .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.lss-mentions-controls {
    text-align: center;
    margin-bottom: 30px;
}

.lss-refresh-mentions {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.lss-refresh-mentions:hover {
    background: #005a87;
}

.lss-refresh-mentions .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.lss-loading {
    margin-top: 15px;
    color: #666;
    font-style: italic;
}

.lss-loading .spinner {
    float: none;
    margin: 0 8px 0 0;
}

.lss-section {
    margin-bottom: 40px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.lss-section-title {
    margin: 0 0 20px 0;
    font-size: 22px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

.lss-section-title .dashicons {
    color: #0073aa;
}

.lss-placeholder {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 40px 20px;
}

/* News Items */
.lss-news-item {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 4px solid #0073aa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.lss-news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.lss-news-item h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.lss-news-item h4 a {
    color: #0073aa;
    text-decoration: none;
}

.lss-news-item h4 a:hover {
    text-decoration: underline;
}

.lss-news-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.lss-news-source {
    font-weight: 600;
    color: #333;
}

.lss-news-date {
    margin-left: 10px;
}

/* Video Items */
.lss-video-item {
    background: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    gap: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lss-video-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.lss-video-thumbnail {
    flex-shrink: 0;
}

.lss-video-thumbnail img {
    width: 200px;
    height: auto;
    border-radius: 6px;
    display: block;
}

.lss-video-info {
    flex: 1;
}

.lss-video-info h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.lss-video-info h4 a {
    color: #0073aa;
    text-decoration: none;
}

.lss-video-info h4 a:hover {
    text-decoration: underline;
}

.lss-video-channel {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.lss-video-channel strong {
    color: #333;
}

.lss-video-description {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.lss-video-date {
    color: #999;
    font-size: 13px;
}

/* Tweet Items */
.lss-tweet-item {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 4px solid #1DA1F2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.lss-tweet-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.lss-tweet-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.lss-tweet-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.lss-tweet-username {
    color: #666;
    font-size: 14px;
}

.lss-tweet-text {
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    margin: 10px 0;
}

.lss-tweet-metrics {
    display: flex;
    gap: 20px;
    margin: 10px 0;
    font-size: 14px;
    color: #666;
}

.lss-tweet-link {
    display: inline-block;
    color: #1DA1F2;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}

.lss-tweet-link:hover {
    text-decoration: underline;
}

.lss-tweet-date {
    color: #999;
    font-size: 13px;
    margin-top: 10px;
}

/* LinkedIn Items */
.lss-linkedin-item {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 4px solid: #0077B5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.lss-linkedin-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.lss-linkedin-item h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

.lss-linkedin-item a {
    color: #0077B5;
    text-decoration: none;
    font-weight: 600;
}

.lss-linkedin-item a:hover {
    text-decoration: underline;
}

.lss-linkedin-description {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.lss-info {
    background: #d1ecf1;
    color: #0c5460;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #bee5eb;
    margin: 10px 0;
    font-size: 14px;
}

.lss-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #f5c6cb;
    margin: 10px 0;
}

.lss-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #c3e6cb;
    margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lss-search-inputs {
        grid-template-columns: 1fr;
    }
    
    .lss-search-button {
        width: 100%;
        justify-content: center;
    }
    
    .lss-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .lss-tab {
        flex-shrink: 0;
    }
    
    .lss-video-item {
        flex-direction: column;
    }
    
    .lss-video-thumbnail img {
        width: 100%;
    }
    
    .lss-mentions-container {
        padding: 10px;
    }
}
