/* 左侧顶部：核心信息区域（标签、标题、元数据、描述、快捷操作） */

/* 标签组 */
.tags-group {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tags-group .tag {
    padding: 6px 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #475569;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.tags-group .tag:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    transform: translateY(-1px);
}

.tags-group .tag.primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.tags-group .tag.primary:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.prompt-title {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* AI工具菜单 */
.tools-menu-container {
    position: relative;
}

.tools-menu-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tools-menu-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #f8fafc;
}

.tools-dropdown {
    position: absolute;
    top: 52px;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
}

.tools-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tools-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

.tools-dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
}

.tools-dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.tools-dropdown-item:hover {
    background: #f8fafc;
    color: #2563eb;
}

.tools-dropdown-item.disabled {
    color: #94a3b8;
    pointer-events: none;
    position: relative;
}

.tools-dropdown-item.disabled:hover::after {
    content: '敬请期待';
    position: absolute;
    right: 16px;
    font-size: 11px;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
}

.tools-dropdown-item svg {
    flex-shrink: 0;
}

.favorite-icon-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.favorite-icon-btn:hover {
    border-color: #f59e0b;
    color: #f59e0b;
    background: #fffbeb;
    transform: scale(1.1);
}

.favorite-icon-btn:active {
    transform: scale(0.95);
}

.prompt-meta {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: #64748b;
    flex-wrap: wrap;
}

.prompt-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.prompt-description {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    padding: 24px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    border-left: 4px solid #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

/* 快速操作栏 */
.quick-actions {
    display: flex;
    gap: 12px;
}

.quick-action-btn {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.quick-action-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}